public class IndicesExistsRequest extends MasterNodeReadRequest<IndicesExistsRequest> implements IndicesRequest.Replaceable
TransportRequest.EmptyIndicesRequest.ReplaceablelocalDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout| Constructor and Description |
|---|
IndicesExistsRequest() |
IndicesExistsRequest(java.lang.String... indices) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
indices()
Returns the array of indices that the action relates to
|
IndicesExistsRequest |
indices(java.lang.String... indices)
Sets the indices that the action relates to.
|
IndicesOptions |
indicesOptions()
Returns the indices options used to resolve indices.
|
IndicesExistsRequest |
indicesOptions(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.
|
local, localmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutgetShouldStoreResultgetParentTask, setParentTaskremoteAddress, remoteAddressclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTask, getDescription, setParentTaskpublic IndicesExistsRequest()
public IndicesExistsRequest(java.lang.String... indices)
public java.lang.String[] indices()
IndicesRequestindices in interface IndicesRequestpublic IndicesExistsRequest indices(java.lang.String... indices)
IndicesRequest.Replaceableindices in interface IndicesRequest.Replaceablepublic IndicesOptions indicesOptions()
IndicesRequestindicesOptions in interface IndicesRequestpublic IndicesExistsRequest indicesOptions(IndicesOptions indicesOptions)
public ActionRequestValidationException validate()
validate in class ActionRequestpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class MasterNodeReadRequest<IndicesExistsRequest>java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in class MasterNodeReadRequest<IndicesExistsRequest>java.io.IOException