public class GetSettingsRequest extends MasterNodeReadRequest<GetSettingsRequest> implements IndicesRequest.Replaceable
TransportRequest.EmptyIndicesRequest.ReplaceablelocalDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeoutheaders| Constructor and Description |
|---|
GetSettingsRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
humanReadable() |
GetSettingsRequest |
humanReadable(boolean humanReadable) |
String[] |
indices()
Returns the array of indices that the action relates to
|
GetSettingsRequest |
indices(String... indices) |
IndicesOptions |
indicesOptions()
Returns the indices options used to resolve indices.
|
GetSettingsRequest |
indicesOptions(IndicesOptions indicesOptions) |
String[] |
names() |
GetSettingsRequest |
names(String... names) |
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 GetSettingsRequest indices(String... indices)
indices in interface IndicesRequest.Replaceablepublic GetSettingsRequest indicesOptions(IndicesOptions indicesOptions)
public String[] indices()
IndicesRequestindices in interface IndicesRequestpublic IndicesOptions indicesOptions()
IndicesRequestindicesOptions in interface IndicesRequestpublic String[] names()
public GetSettingsRequest names(String... names)
public boolean humanReadable()
public GetSettingsRequest humanReadable(boolean humanReadable)
public ActionRequestValidationException validate()
validate in class ActionRequest<GetSettingsRequest>public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class MasterNodeReadRequest<GetSettingsRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class MasterNodeReadRequest<GetSettingsRequest>IOExceptionCopyright © 2009–2017. All rights reserved.