IndicesRequest, IndicesRequest.Replaceable, Streamable, Writeable, TaskAwareRequestpublic class GetIndexRequest extends ClusterInfoRequest<GetIndexRequest>
| Modifier and Type | Class | Description |
|---|---|---|
static class |
GetIndexRequest.Feature |
IndicesRequest.ReplaceableTransportRequest.EmptyWriteable.Reader<V>, Writeable.Writer<V>localDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout| Constructor | Description |
|---|---|
GetIndexRequest() |
| Modifier and Type | Method | Description |
|---|---|---|
GetIndexRequest |
addFeatures(GetIndexRequest.Feature... features) |
|
GetIndexRequest.Feature[] |
features() |
|
GetIndexRequest |
features(GetIndexRequest.Feature... features) |
|
boolean |
humanReadable() |
|
GetIndexRequest |
humanReadable(boolean humanReadable) |
|
boolean |
includeDefaults() |
Whether to return all default settings for each of the indices.
|
GetIndexRequest |
includeDefaults(boolean includeDefaults) |
Sets the value of "include_defaults".
|
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.
|
getShouldStoreResultindices, indices, indicesOptions, indicesOptions, types, typeslocal, localmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTask, getDescription, setParentTaskremoteAddress, remoteAddressgetParentTask, setParentTaskpublic GetIndexRequest features(GetIndexRequest.Feature... features)
public GetIndexRequest addFeatures(GetIndexRequest.Feature... features)
public GetIndexRequest.Feature[] features()
public ActionRequestValidationException validate()
validate in class ActionRequestpublic GetIndexRequest humanReadable(boolean humanReadable)
public boolean humanReadable()
public GetIndexRequest includeDefaults(boolean includeDefaults)
includeDefaults - value of "include_defaults" to be set.public boolean includeDefaults()
true if defaults settings for each of the indices need to returned;
false otherwise.public void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class ClusterInfoRequest<GetIndexRequest>java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in interface WriteablewriteTo in class ClusterInfoRequest<GetIndexRequest>java.io.IOException