Streamable, Writeable, TaskAwareRequestpublic class GetIndexTemplatesRequest extends MasterNodeReadRequest<GetIndexTemplatesRequest>
TransportRequest.EmptyWriteable.Reader<V>, Writeable.Writer<V>localDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout| Constructor | Description |
|---|---|
GetIndexTemplatesRequest() |
|
GetIndexTemplatesRequest(java.lang.String... names) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String[] |
names() |
The names of the index templates.
|
GetIndexTemplatesRequest |
names(java.lang.String... names) |
Sets the names of the index templates.
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
ActionRequestValidationException |
validate() |
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
getShouldStoreResultlocal, localmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewWriteableReadercreateTask, getDescription, setParentTaskremoteAddress, remoteAddressgetParentTask, setParentTaskpublic GetIndexTemplatesRequest()
public GetIndexTemplatesRequest(java.lang.String... names)
public ActionRequestValidationException validate()
validate in class ActionRequestpublic GetIndexTemplatesRequest names(java.lang.String... names)
public java.lang.String[] names()
public void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class MasterNodeReadRequest<GetIndexTemplatesRequest>java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in interface WriteablewriteTo in class MasterNodeReadRequest<GetIndexTemplatesRequest>java.io.IOException