Streamable
, Writeable
, TaskAwareRequest
public class GetIndexTemplatesRequest extends MasterNodeReadRequest<GetIndexTemplatesRequest>
TransportRequest.Empty
Writeable.Reader<V>, Writeable.Writer<V>
local
DEFAULT_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.
|
getShouldStoreResult
local, local
masterNodeTimeout, masterNodeTimeout, masterNodeTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTask, getDescription, setParentTask
remoteAddress, remoteAddress
getParentTask, setParentTask
public GetIndexTemplatesRequest()
public GetIndexTemplatesRequest(java.lang.String... names)
public ActionRequestValidationException validate()
validate
in class ActionRequest
public GetIndexTemplatesRequest names(java.lang.String... names)
public java.lang.String[] names()
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class MasterNodeReadRequest<GetIndexTemplatesRequest>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in interface Writeable
writeTo
in class MasterNodeReadRequest<GetIndexTemplatesRequest>
java.io.IOException