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