public class DfsSearchResult extends TransportResponse implements SearchPhaseResult
TransportResponse.Emptyheaders| コンストラクタと説明 |
|---|
DfsSearchResult() |
DfsSearchResult(long id,
SearchShardTarget shardTarget) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static long |
addOne(long value) |
com.carrotsearch.hppc.ObjectObjectHashMap<String,org.apache.lucene.search.CollectionStatistics> |
fieldStatistics() |
DfsSearchResult |
fieldStatistics(com.carrotsearch.hppc.ObjectObjectHashMap<String,org.apache.lucene.search.CollectionStatistics> fieldStatistics) |
long |
id() |
int |
maxDoc() |
DfsSearchResult |
maxDoc(int maxDoc) |
static DfsSearchResult |
readDfsSearchResult(StreamInput in) |
static com.carrotsearch.hppc.ObjectObjectHashMap<String,org.apache.lucene.search.CollectionStatistics> |
readFieldStats(StreamInput in) |
static com.carrotsearch.hppc.ObjectObjectHashMap<String,org.apache.lucene.search.CollectionStatistics> |
readFieldStats(StreamInput in,
com.carrotsearch.hppc.ObjectObjectHashMap<String,org.apache.lucene.search.CollectionStatistics> fieldStatistics) |
void |
readFrom(StreamInput in) |
static org.apache.lucene.search.TermStatistics[] |
readTermStats(StreamInput in,
org.apache.lucene.index.Term[] terms) |
SearchShardTarget |
shardTarget() |
void |
shardTarget(SearchShardTarget shardTarget) |
static long |
subOne(long value) |
org.apache.lucene.index.Term[] |
terms() |
DfsSearchResult |
termsStatistics(org.apache.lucene.index.Term[] terms,
org.apache.lucene.search.TermStatistics[] termStatistics) |
org.apache.lucene.search.TermStatistics[] |
termStatistics() |
static void |
writeFieldStats(StreamOutput out,
com.carrotsearch.hppc.ObjectObjectHashMap<String,org.apache.lucene.search.CollectionStatistics> fieldStatistics) |
static void |
writeSingleTermStats(StreamOutput out,
org.apache.lucene.search.TermStatistics termStatistic) |
static void |
writeTermStats(StreamOutput out,
org.apache.lucene.search.TermStatistics[] termStatistics) |
void |
writeTo(StreamOutput out) |
remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic DfsSearchResult()
public DfsSearchResult(long id,
SearchShardTarget shardTarget)
public long id()
id インタフェース内 SearchPhaseResultpublic SearchShardTarget shardTarget()
shardTarget インタフェース内 SearchPhaseResultpublic void shardTarget(SearchShardTarget shardTarget)
shardTarget インタフェース内 SearchPhaseResultpublic DfsSearchResult maxDoc(int maxDoc)
public int maxDoc()
public DfsSearchResult termsStatistics(org.apache.lucene.index.Term[] terms, org.apache.lucene.search.TermStatistics[] termStatistics)
public DfsSearchResult fieldStatistics(com.carrotsearch.hppc.ObjectObjectHashMap<String,org.apache.lucene.search.CollectionStatistics> fieldStatistics)
public org.apache.lucene.index.Term[] terms()
public org.apache.lucene.search.TermStatistics[] termStatistics()
public com.carrotsearch.hppc.ObjectObjectHashMap<String,org.apache.lucene.search.CollectionStatistics> fieldStatistics()
public static DfsSearchResult readDfsSearchResult(StreamInput in) throws IOException, ClassNotFoundException
public void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 TransportMessage<TransportResponse>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 TransportMessage<TransportResponse>IOExceptionpublic static void writeFieldStats(StreamOutput out, com.carrotsearch.hppc.ObjectObjectHashMap<String,org.apache.lucene.search.CollectionStatistics> fieldStatistics) throws IOException
IOExceptionpublic static void writeTermStats(StreamOutput out, org.apache.lucene.search.TermStatistics[] termStatistics) throws IOException
IOExceptionpublic static void writeSingleTermStats(StreamOutput out, org.apache.lucene.search.TermStatistics termStatistic) throws IOException
IOExceptionpublic static com.carrotsearch.hppc.ObjectObjectHashMap<String,org.apache.lucene.search.CollectionStatistics> readFieldStats(StreamInput in) throws IOException
IOExceptionpublic static com.carrotsearch.hppc.ObjectObjectHashMap<String,org.apache.lucene.search.CollectionStatistics> readFieldStats(StreamInput in, com.carrotsearch.hppc.ObjectObjectHashMap<String,org.apache.lucene.search.CollectionStatistics> fieldStatistics) throws IOException
IOExceptionpublic static org.apache.lucene.search.TermStatistics[] readTermStats(StreamInput in, org.apache.lucene.index.Term[] terms) throws IOException
IOExceptionpublic static long addOne(long value)
public static long subOne(long value)
Copyright © 2009–2016. All rights reserved.