Package org.elasticsearch.client.core
Class TermVectorsResponse.TermVector.FieldStatistics
java.lang.Object
org.elasticsearch.client.core.TermVectorsResponse.TermVector.FieldStatistics
- Enclosing class:
- TermVectorsResponse.TermVector
public static final class TermVectorsResponse.TermVector.FieldStatistics
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description FieldStatistics(long sumDocFreq, int docCount, long sumTotalTermFreq)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
static TermVectorsResponse.TermVector.FieldStatistics
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
int
getDocCount()
long
getSumDocFreq()
Returns the sum of document frequencies for all terms in this fieldlong
getSumTotalTermFreq()
Returns the sum of total term frequencies of all terms in this fieldint
hashCode()
-
Constructor Details
-
FieldStatistics
public FieldStatistics(long sumDocFreq, int docCount, long sumTotalTermFreq)
-
-
Method Details
-
fromXContent
public static TermVectorsResponse.TermVector.FieldStatistics fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) -
getDocCount
public int getDocCount() -
getSumDocFreq
public long getSumDocFreq()Returns the sum of document frequencies for all terms in this field -
getSumTotalTermFreq
public long getSumTotalTermFreq()Returns the sum of total term frequencies of all terms in this field -
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-