public class QuerySearchRequest extends TransportRequest implements IndicesRequest
TransportRequest.Empty
IndicesRequest.Replaceable
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) |
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddress
contextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, 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–2015. All rights reserved.