Class HistogramValues
java.lang.Object
org.elasticsearch.index.fielddata.HistogramValues
public abstract class HistogramValues
extends java.lang.Object
Per-segment histogram values.
-
Constructor Summary
Constructors Constructor Description HistogramValues() -
Method Summary
Modifier and Type Method Description abstract booleanadvanceExact(int doc)Advance this instance to the given document idabstract HistogramValuehistogram()Get theHistogramValueassociated with the current document.
-
Constructor Details
-
HistogramValues
public HistogramValues()
-
-
Method Details
-
advanceExact
public abstract boolean advanceExact(int doc) throws java.io.IOExceptionAdvance this instance to the given document id- Returns:
- true if there is a value for this document
- Throws:
java.io.IOException
-
histogram
Get theHistogramValueassociated with the current document. The returnedHistogramValuemight be reused across calls.- Throws:
java.io.IOException
-