public class GetIndexTemplatesRequest extends MasterNodeReadRequest<GetIndexTemplatesRequest>
TransportRequest.EmptylocalDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeoutheaders| Constructor and Description |
|---|
GetIndexTemplatesRequest() |
GetIndexTemplatesRequest(String... names) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
names()
The names of the index templates.
|
GetIndexTemplatesRequest |
names(String... names)
Sets the names of the index templates.
|
void |
readFrom(StreamInput in) |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out) |
local, localmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutcreateTask, createTask, setParentTaskgetDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic GetIndexTemplatesRequest()
public GetIndexTemplatesRequest(String... names)
public ActionRequestValidationException validate()
validate in class ActionRequest<GetIndexTemplatesRequest>public GetIndexTemplatesRequest names(String... names)
public String[] names()
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class MasterNodeReadRequest<GetIndexTemplatesRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class MasterNodeReadRequest<GetIndexTemplatesRequest>IOExceptionCopyright © 2009–2017. All rights reserved.