public class MultiGetShardRequest extends SingleShardRequest<MultiGetShardRequest>
TransportRequest.Empty
IndicesRequest.Replaceable
index, INDICES_OPTIONS
Constructor and Description |
---|
MultiGetShardRequest() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
indices()
Returns the array of indices that the action relates to
|
java.lang.String |
preference() |
MultiGetShardRequest |
preference(java.lang.String preference)
Sets the preference to execute the search.
|
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
boolean |
realtime() |
MultiGetShardRequest |
realtime(boolean realtime) |
boolean |
refresh() |
MultiGetShardRequest |
refresh(boolean refresh) |
int |
shardId() |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
index, index, indicesOptions, operationThreaded, operationThreaded, validateNonNullIndex
getShouldStoreResult
getParentTask, setParentTask
remoteAddress, remoteAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTask, getDescription, setParentTask
public ActionRequestValidationException validate()
validate
in class ActionRequest
public int shardId()
public MultiGetShardRequest preference(java.lang.String preference)
public java.lang.String preference()
public boolean realtime()
public MultiGetShardRequest realtime(boolean realtime)
public boolean refresh()
public MultiGetShardRequest refresh(boolean refresh)
public java.lang.String[] indices()
IndicesRequest
indices
in interface IndicesRequest
indices
in class SingleShardRequest<MultiGetShardRequest>
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class SingleShardRequest<MultiGetShardRequest>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class SingleShardRequest<MultiGetShardRequest>
java.io.IOException