Package org.elasticsearch.search.dfs
Class AggregatedDfs
java.lang.Object
org.elasticsearch.search.dfs.AggregatedDfs
- All Implemented Interfaces:
Writeable
public class AggregatedDfs extends java.lang.Object implements Writeable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
Constructors Constructor Description AggregatedDfs(com.carrotsearch.hppc.ObjectObjectHashMap<org.apache.lucene.index.Term,org.apache.lucene.search.TermStatistics> termStatistics, com.carrotsearch.hppc.ObjectObjectHashMap<java.lang.String,org.apache.lucene.search.CollectionStatistics> fieldStatistics, long maxDoc)
AggregatedDfs(StreamInput in)
-
Method Summary
Modifier and Type Method Description com.carrotsearch.hppc.ObjectObjectHashMap<java.lang.String,org.apache.lucene.search.CollectionStatistics>
fieldStatistics()
long
maxDoc()
com.carrotsearch.hppc.ObjectObjectHashMap<org.apache.lucene.index.Term,org.apache.lucene.search.TermStatistics>
termStatistics()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.
-
Constructor Details
-
AggregatedDfs
- Throws:
java.io.IOException
-
AggregatedDfs
public AggregatedDfs(com.carrotsearch.hppc.ObjectObjectHashMap<org.apache.lucene.index.Term,org.apache.lucene.search.TermStatistics> termStatistics, com.carrotsearch.hppc.ObjectObjectHashMap<java.lang.String,org.apache.lucene.search.CollectionStatistics> fieldStatistics, long maxDoc)
-
-
Method Details
-
termStatistics
public com.carrotsearch.hppc.ObjectObjectHashMap<org.apache.lucene.index.Term,org.apache.lucene.search.TermStatistics> termStatistics() -
fieldStatistics
public com.carrotsearch.hppc.ObjectObjectHashMap<java.lang.String,org.apache.lucene.search.CollectionStatistics> fieldStatistics() -
maxDoc
public long maxDoc() -
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.
-