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 booleanequals(java.lang.Object obj)static TermVectorsResponse.TermVector.FieldStatisticsfromXContent(XContentParser parser)intgetDocCount()longgetSumDocFreq()Returns the sum of document frequencies for all terms in this fieldlonggetSumTotalTermFreq()Returns the sum of total term frequencies of all terms in this fieldinthashCode()
-
-
-
Method Detail
-
fromXContent
public static TermVectorsResponse.TermVector.FieldStatistics fromXContent(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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-