java.lang.Object
org.elasticsearch.client.textstructure.structurefinder.FieldStats
All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class FieldStats extends Object implements org.elasticsearch.xcontent.ToXContentObject
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent

    org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ConstructingObjectParser<FieldStats,Void>
     
    static final org.elasticsearch.xcontent.ParseField
     

    Fields inherited from interface org.elasticsearch.xcontent.ToXContent

    EMPTY_PARAMS
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object other)
     
    int
     
    long
     
     
     
     
     
     
     
     
    int
     
    org.elasticsearch.xcontent.XContentBuilder
    toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params)
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject

    isFragment
  • Field Details

    • COUNT

      public static final org.elasticsearch.xcontent.ParseField COUNT
    • CARDINALITY

      public static final org.elasticsearch.xcontent.ParseField CARDINALITY
    • MIN_VALUE

      public static final org.elasticsearch.xcontent.ParseField MIN_VALUE
    • MAX_VALUE

      public static final org.elasticsearch.xcontent.ParseField MAX_VALUE
    • MEAN_VALUE

      public static final org.elasticsearch.xcontent.ParseField MEAN_VALUE
    • MEDIAN_VALUE

      public static final org.elasticsearch.xcontent.ParseField MEDIAN_VALUE
    • EARLIEST

      public static final org.elasticsearch.xcontent.ParseField EARLIEST
    • LATEST

      public static final org.elasticsearch.xcontent.ParseField LATEST
    • TOP_HITS

      public static final org.elasticsearch.xcontent.ParseField TOP_HITS
    • PARSER

      public static final org.elasticsearch.xcontent.ConstructingObjectParser<FieldStats,Void> PARSER
  • Method Details

    • getCount

      public long getCount()
    • getCardinality

      public int getCardinality()
    • getMinValue

      public Double getMinValue()
    • getMaxValue

      public Double getMaxValue()
    • getMeanValue

      public Double getMeanValue()
    • getMedianValue

      public Double getMedianValue()
    • getEarliestTimestamp

      public String getEarliestTimestamp()
    • getLatestTimestamp

      public String getLatestTimestamp()
    • getTopHits

      public List<Map<String,Object>> getTopHits()
    • toXContent

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object