Package org.elasticsearch.search.dfs
Class AggregatedDfs
- java.lang.Object
-
- org.elasticsearch.search.dfs.AggregatedDfs
-
- All Implemented Interfaces:
Streamable
public class AggregatedDfs extends java.lang.Object implements Streamable
-
-
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)
-
Method Summary
Modifier and Type Method Description com.carrotsearch.hppc.ObjectObjectHashMap<java.lang.String,org.apache.lucene.search.CollectionStatistics>
fieldStatistics()
long
maxDoc()
static AggregatedDfs
readAggregatedDfs(StreamInput in)
void
readFrom(StreamInput in)
Set this object's fields from a StreamInput.com.carrotsearch.hppc.ObjectObjectHashMap<org.apache.lucene.index.Term,org.apache.lucene.search.TermStatistics>
termStatistics()
void
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
-
-
-
Constructor Detail
-
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 Detail
-
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()
-
readAggregatedDfs
public static AggregatedDfs readAggregatedDfs(StreamInput in) throws java.io.IOException
- Throws:
java.io.IOException
-
readFrom
public void readFrom(StreamInput in) throws java.io.IOException
Description copied from interface:Streamable
Set this object's fields from a StreamInput.- Specified by:
readFrom
in interfaceStreamable
- Throws:
java.io.IOException
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
Description copied from interface:Streamable
Write this object's fields to a StreamOutput.- Specified by:
writeTo
in interfaceStreamable
- Throws:
java.io.IOException
-
-