Class HistogramValue

org.elasticsearch.index.fielddata.HistogramValue

public abstract class HistogramValue extends
Per-document histogram value. Every value of the histogram consist on a value and a count.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract int
    The current count of the histogram
    abstract boolean
    Advance this instance to the next value of the histogram
    abstract double
    the current value of the histogram

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Constructor Details

    • HistogramValue

      public HistogramValue()
  • Method Details

    • next

      public abstract boolean next() throws
      Advance this instance to the next value of the histogram
      Returns:
      true if there is a next value
      Throws:
    • value

      public abstract double value()
      the current value of the histogram
      Returns:
      the current value of the histogram
    • count

      public abstract int count()
      The current count of the histogram
      Returns:
      the current count of the histogram