public class IndicesAliasesRequest extends AcknowledgedRequest<IndicesAliasesRequest>
Modifier and Type | Class and Description |
---|---|
static class |
IndicesAliasesRequest.AliasActions
Request to take one or more actions on one or more indexes and alias combinations.
|
TransportRequest.Empty
DEFAULT_ACK_TIMEOUT, timeout
DEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
Constructor and Description |
---|
IndicesAliasesRequest() |
Modifier and Type | Method and Description |
---|---|
IndicesAliasesRequest |
addAliasAction(IndicesAliasesRequest.AliasActions aliasAction)
Add the action to this request and validate it.
|
java.util.List<IndicesAliasesRequest.AliasActions> |
getAliasActions() |
IndicesOptions |
indicesOptions() |
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.
|
ackTimeout, readTimeout, timeout, timeout, timeout, writeTimeout
masterNodeTimeout, masterNodeTimeout, masterNodeTimeout
getShouldStoreResult
getParentTask, setParentTask
remoteAddress, remoteAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
masterNodeTimeout
createTask, getDescription, setParentTask
public IndicesAliasesRequest addAliasAction(IndicesAliasesRequest.AliasActions aliasAction)
public java.util.List<IndicesAliasesRequest.AliasActions> getAliasActions()
public ActionRequestValidationException validate()
validate
in class ActionRequest
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class AcknowledgedRequest<IndicesAliasesRequest>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class AcknowledgedRequest<IndicesAliasesRequest>
java.io.IOException
public IndicesOptions indicesOptions()