IndicesRequest, Streamable, Writeable, TaskAwareRequestpublic class QuerySearchRequest extends TransportRequest implements IndicesRequest
IndicesRequest.ReplaceableTransportRequest.EmptyWriteable.Reader<V>, Writeable.Writer<V>| Constructor | Description |
|---|---|
QuerySearchRequest() |
|
QuerySearchRequest(OriginalIndices originalIndices,
long id,
AggregatedDfs dfs) |
| Modifier and Type | Method | Description |
|---|---|---|
Task |
createTask(long id,
java.lang.String type,
java.lang.String action,
TaskId parentTaskId,
java.util.Map<java.lang.String,java.lang.String> headers) |
Returns the task object that should be used to keep track of the processing of the request.
|
AggregatedDfs |
dfs() |
|
java.lang.String |
getDescription() |
Returns optional description of the request to be displayed by the task manager
|
long |
id() |
|
java.lang.String[] |
indices() |
Returns the array of 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.
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewWriteableReadersetParentTaskremoteAddress, remoteAddressgetParentTask, setParentTaskpublic QuerySearchRequest()
public QuerySearchRequest(OriginalIndices originalIndices, long id, AggregatedDfs dfs)
public long id()
public AggregatedDfs dfs()
public java.lang.String[] indices()
IndicesRequestindices in interface IndicesRequestpublic IndicesOptions indicesOptions()
IndicesRequestindicesOptions in interface IndicesRequestpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class TransportRequestjava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in interface WriteablewriteTo in class TransportRequestjava.io.IOExceptionpublic Task createTask(long id, java.lang.String type, java.lang.String action, TaskId parentTaskId, java.util.Map<java.lang.String,java.lang.String> headers)
TaskAwareRequestcreateTask in interface TaskAwareRequestpublic java.lang.String getDescription()
TaskAwareRequestgetDescription in interface TaskAwareRequest