public class MultiTermVectorsShardRequest extends SingleShardRequest<MultiTermVectorsShardRequest>
TransportRequest.Empty
IndicesRequest.Replaceable
index, INDICES_OPTIONS
headers
Constructor and Description |
---|
MultiTermVectorsShardRequest() |
Modifier and Type | Method and Description |
---|---|
void |
add(int location,
TermVectorsRequest request) |
String[] |
indices()
Returns the array of indices that the action relates to
|
String |
preference() |
MultiTermVectorsShardRequest |
preference(String preference)
Sets the preference to execute the search.
|
void |
readFrom(StreamInput in) |
int |
shardId() |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out) |
index, index, indicesOptions, operationThreaded, operationThreaded, validateNonNullIndex
createTask, getDescription
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public ActionRequestValidationException validate()
validate
in class ActionRequest<MultiTermVectorsShardRequest>
public int shardId()
public MultiTermVectorsShardRequest preference(String preference)
public String preference()
public void add(int location, TermVectorsRequest request)
public String[] indices()
IndicesRequest
indices
in interface IndicesRequest
indices
in class SingleShardRequest<MultiTermVectorsShardRequest>
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class SingleShardRequest<MultiTermVectorsShardRequest>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class SingleShardRequest<MultiTermVectorsShardRequest>
IOException
Copyright © 2009–2016. All rights reserved.