public class IndicesExistsRequest extends MasterNodeReadOperationRequest<IndicesExistsRequest> implements IndicesRequest.Replaceable
TransportRequest.Empty
IndicesRequest.Replaceable
local
DEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
Constructor and Description |
---|
IndicesExistsRequest(String... indices) |
Modifier and Type | Method and Description |
---|---|
String[] |
indices()
Returns the array of indices that the action relates to
|
IndicesExistsRequest |
indices(String[] indices) |
IndicesOptions |
indicesOptions()
Returns the indices options used to resolve indices.
|
IndicesExistsRequest |
indicesOptions(IndicesOptions indicesOptions) |
void |
readFrom(StreamInput in) |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out) |
local, local, readLocal, readLocal, writeLocal, writeLocal
masterNodeTimeout, masterNodeTimeout, masterNodeTimeout
listenerThreaded, listenerThreaded
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddress
contextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, putInContext
public IndicesExistsRequest(String... indices)
public String[] indices()
IndicesRequest
indices
in interface IndicesRequest
public IndicesExistsRequest indices(String[] indices)
indices
in interface IndicesRequest.Replaceable
public IndicesOptions indicesOptions()
IndicesRequest
indicesOptions
in interface IndicesRequest
public IndicesExistsRequest indicesOptions(IndicesOptions indicesOptions)
public ActionRequestValidationException validate()
validate
in class ActionRequest<IndicesExistsRequest>
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class MasterNodeOperationRequest<IndicesExistsRequest>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class MasterNodeOperationRequest<IndicesExistsRequest>
IOException
Copyright © 2009–2015. All rights reserved.