public class GetIndexTemplatesRequest extends MasterNodeReadOperationRequest<GetIndexTemplatesRequest>
TransportRequest.Empty
local
DEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
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, local, readLocal, readLocal, writeLocal, writeLocal
masterNodeTimeout, masterNodeTimeout, masterNodeTimeout
listenerThreaded, listenerThreaded
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddress
contextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, putInContext
public 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 Streamable
readFrom
in class MasterNodeOperationRequest<GetIndexTemplatesRequest>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class MasterNodeOperationRequest<GetIndexTemplatesRequest>
IOException
Copyright © 2009–2015. All rights reserved.