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

public class FieldStats extends Object implements org.elasticsearch.xcontent.ToXContentObject, Writeable
  • Field Details

    • PARSER

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

  • Method Details

    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • 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
    • toIntegerIfInteger

      public static Number toIntegerIfInteger(double d)
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object