public abstract class ClusterInfoRequest<T extends ClusterInfoRequest<T>> extends MasterNodeReadRequest<T> implements IndicesRequest.Replaceable
TransportRequest.EmptyIndicesRequest.ReplaceablelocalDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeoutheaders| Constructor and Description |
|---|
ClusterInfoRequest() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
indices()
Returns the array of indices that the action relates to
|
T |
indices(String... indices) |
IndicesOptions |
indicesOptions()
Returns the indices options used to resolve indices.
|
T |
indicesOptions(IndicesOptions indicesOptions) |
void |
readFrom(StreamInput in) |
String[] |
types() |
T |
types(String... types) |
void |
writeTo(StreamOutput out) |
local, localmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutcreateTask, createTask, setParentTaskvalidategetDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic T indices(String... indices)
indices in interface IndicesRequest.Replaceablepublic T indicesOptions(IndicesOptions indicesOptions)
public String[] indices()
IndicesRequestindices in interface IndicesRequestpublic String[] types()
public IndicesOptions indicesOptions()
IndicesRequestindicesOptions in interface IndicesRequestpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class MasterNodeReadRequest<T extends ClusterInfoRequest<T>>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class MasterNodeReadRequest<T extends ClusterInfoRequest<T>>IOExceptionCopyright © 2009–2017. All rights reserved.