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
-
Method Summary
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Constructor Details
-
HistogramValue
public HistogramValue()
-
-
Method Details
-
next
public abstract boolean next() throwsAdvance 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
-