public class GetSettingsRequest extends MasterNodeReadRequest<GetSettingsRequest> implements IndicesRequest.Replaceable
TransportRequest.Empty
IndicesRequest.Replaceable
local
DEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
Constructor and Description |
---|
GetSettingsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
humanReadable() |
GetSettingsRequest |
humanReadable(boolean humanReadable) |
java.lang.String[] |
indices()
Returns the array of indices that the action relates to
|
GetSettingsRequest |
indices(java.lang.String... indices)
Sets the indices that the action relates to.
|
IndicesOptions |
indicesOptions()
Returns the indices options used to resolve indices.
|
GetSettingsRequest |
indicesOptions(IndicesOptions indicesOptions) |
java.lang.String[] |
names() |
GetSettingsRequest |
names(java.lang.String... names) |
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.
|
local, local
masterNodeTimeout, masterNodeTimeout, masterNodeTimeout
createTask, getDescription, getParentTask, setParentTask, setParentTask
remoteAddress, remoteAddress
public GetSettingsRequest indices(java.lang.String... indices)
IndicesRequest.Replaceable
indices
in interface IndicesRequest.Replaceable
public GetSettingsRequest indicesOptions(IndicesOptions indicesOptions)
public java.lang.String[] indices()
IndicesRequest
indices
in interface IndicesRequest
public IndicesOptions indicesOptions()
IndicesRequest
indicesOptions
in interface IndicesRequest
public java.lang.String[] names()
public GetSettingsRequest names(java.lang.String... names)
public boolean humanReadable()
public GetSettingsRequest humanReadable(boolean humanReadable)
public ActionRequestValidationException validate()
validate
in class ActionRequest<GetSettingsRequest>
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class MasterNodeReadRequest<GetSettingsRequest>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class MasterNodeReadRequest<GetSettingsRequest>
java.io.IOException