public class QuerySearchRequest extends TransportRequest implements IndicesRequest
TransportRequest.Empty
IndicesRequest.Replaceable
headers
Constructor and Description |
---|
QuerySearchRequest() |
QuerySearchRequest(SearchRequest request,
long id,
AggregatedDfs dfs) |
Modifier and Type | Method and Description |
---|---|
AggregatedDfs |
dfs() |
long |
id() |
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) |
void |
writeTo(StreamOutput out) |
createTask, getDescription
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public QuerySearchRequest()
public QuerySearchRequest(SearchRequest request, long id, AggregatedDfs dfs)
public long id()
public AggregatedDfs dfs()
public String[] indices()
IndicesRequest
indices
in interface IndicesRequest
public IndicesOptions indicesOptions()
IndicesRequest
indicesOptions
in interface IndicesRequest
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class TransportMessage<TransportRequest>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class TransportMessage<TransportRequest>
IOException
Copyright © 2009–2016. All rights reserved.