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 boolean
advanceExact(int doc)
Advance this instance to the given document idabstract HistogramValue
histogram()
Get theHistogramValue
associated with the current document.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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 theHistogramValue
associated with the current document. The returnedHistogramValue
might be reused across calls.- Throws:
java.io.IOException
-