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 field
    long getSumTotalTermFreq()
    Returns the sum of total term frequencies of all terms in this field
    int hashCode()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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 class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object