IndicesRequest
, IndicesRequest.Replaceable
, Streamable
, Writeable
, TaskAwareRequest
public class IndicesExistsRequest extends MasterNodeReadRequest<IndicesExistsRequest> implements IndicesRequest.Replaceable
IndicesRequest.Replaceable
TransportRequest.Empty
Writeable.Reader<V>, Writeable.Writer<V>
local
DEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
Constructor | Description |
---|---|
IndicesExistsRequest() |
|
IndicesExistsRequest(java.lang.String... indices) |
Modifier and Type | Method | Description |
---|---|---|
IndicesExistsRequest |
expandWilcardsClosed(boolean expandWildcardsClosed) |
|
IndicesExistsRequest |
expandWilcardsOpen(boolean expandWildcardsOpen) |
|
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.
|
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.
|
getShouldStoreResult
local, local
masterNodeTimeout, masterNodeTimeout, masterNodeTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTask, getDescription, setParentTask
remoteAddress, remoteAddress
getParentTask, setParentTask
public IndicesExistsRequest()
public IndicesExistsRequest(java.lang.String... indices)
public java.lang.String[] indices()
IndicesRequest
indices
in interface IndicesRequest
public IndicesExistsRequest indices(java.lang.String... indices)
IndicesRequest.Replaceable
indices
in interface IndicesRequest.Replaceable
public IndicesOptions indicesOptions()
IndicesRequest
indicesOptions
in interface IndicesRequest
public IndicesExistsRequest expandWilcardsOpen(boolean expandWildcardsOpen)
public IndicesExistsRequest expandWilcardsClosed(boolean expandWildcardsClosed)
public ActionRequestValidationException validate()
validate
in class ActionRequest
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class MasterNodeReadRequest<IndicesExistsRequest>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in interface Writeable
writeTo
in class MasterNodeReadRequest<IndicesExistsRequest>
java.io.IOException