public class QuerySearchResult extends QuerySearchResultProvider
TransportResponse.Emptyheaders| コンストラクタと説明 |
|---|
QuerySearchResult() |
QuerySearchResult(long id,
SearchShardTarget shardTarget) |
remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic QuerySearchResult()
public QuerySearchResult(long id,
SearchShardTarget shardTarget)
public boolean includeFetch()
QuerySearchResultProviderincludeFetch クラス内 QuerySearchResultProviderpublic QuerySearchResult queryResult()
queryResult クラス内 QuerySearchResultProviderpublic long id()
public SearchShardTarget shardTarget()
public void shardTarget(SearchShardTarget shardTarget)
public void searchTimedOut(boolean searchTimedOut)
public boolean searchTimedOut()
public void terminatedEarly(boolean terminatedEarly)
public Boolean terminatedEarly()
public org.apache.lucene.search.TopDocs topDocs()
public void topDocs(org.apache.lucene.search.TopDocs topDocs)
public Aggregations aggregations()
public void aggregations(InternalAggregations aggregations)
@Nullable public List<ProfileShardResult> profileResults()
public void profileResults(List<ProfileShardResult> shardResults)
shardResults - The finalized profilepublic List<SiblingPipelineAggregator> pipelineAggregators()
public void pipelineAggregators(List<SiblingPipelineAggregator> pipelineAggregators)
public Suggest suggest()
public void suggest(Suggest suggest)
public int from()
public QuerySearchResult from(int from)
public int size()
public QuerySearchResult size(int size)
public static QuerySearchResult readQuerySearchResult(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 TransportMessage<TransportResponse>IOExceptionpublic void readFromWithId(long id,
StreamInput in)
throws IOException
IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 TransportMessage<TransportResponse>IOExceptionpublic void writeToNoId(StreamOutput out) throws IOException
IOExceptionCopyright © 2009–2016. All rights reserved.