IndicesRequest
, Streamable
, Writeable
, TaskAwareRequest
public class QuerySearchRequest extends TransportRequest implements IndicesRequest
IndicesRequest.Replaceable
TransportRequest.Empty
Writeable.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, wait
setParentTask
remoteAddress, remoteAddress
getParentTask, setParentTask
public QuerySearchRequest()
public QuerySearchRequest(OriginalIndices originalIndices, long id, AggregatedDfs dfs)
public long id()
public AggregatedDfs dfs()
public java.lang.String[] indices()
IndicesRequest
indices
in interface IndicesRequest
public IndicesOptions indicesOptions()
IndicesRequest
indicesOptions
in interface IndicesRequest
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class TransportRequest
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in interface Writeable
writeTo
in class TransportRequest
java.io.IOException
public Task createTask(long id, java.lang.String type, java.lang.String action, TaskId parentTaskId, java.util.Map<java.lang.String,java.lang.String> headers)
TaskAwareRequest
createTask
in interface TaskAwareRequest
public java.lang.String getDescription()
TaskAwareRequest
getDescription
in interface TaskAwareRequest