Class FieldUsageStats.PerFieldUsageStats

java.lang.Object
org.elasticsearch.index.search.stats.FieldUsageStats.PerFieldUsageStats
All Implemented Interfaces:
Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment
Enclosing class:
FieldUsageStats

public static class FieldUsageStats.PerFieldUsageStats extends Object implements org.elasticsearch.common.xcontent.ToXContentFragment, Writeable
  • Constructor Details

    • PerFieldUsageStats

      public PerFieldUsageStats(long any, long proximity, long terms, long postings, long termFrequencies, long positions, long offsets, long docValues, long storedFields, long norms, long payloads, long termVectors, long points)
    • PerFieldUsageStats

      public PerFieldUsageStats(StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details

    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      IOException
    • keySet

    • getTerms

      public long getTerms()
    • getPostings

      public long getPostings()
    • getTermFrequencies

      public long getTermFrequencies()
    • getPositions

      public long getPositions()
    • getOffsets

      public long getOffsets()
    • getDocValues

      public long getDocValues()
    • getStoredFields

      public long getStoredFields()
    • getNorms

      public long getNorms()
    • getPayloads

      public long getPayloads()
    • getTermVectors

      public long getTermVectors()
    • getPoints

      public long getPoints()
    • getProximity

      public long getProximity()
    • getAny

      public long getAny()
    • toString

      public String toString()
      Overrides:
      toString in class Object