Class LongMultiValues
- java.lang.Object
-
- org.hibernate.search.backend.lucene.lowlevel.docvalues.impl.LongMultiValues
-
public abstract class LongMultiValues extends Object
A per-document, unordered sequence of long values.
-
-
Field Summary
Fields Modifier and Type Field Description static LongMultiValuesEMPTYAn empty DoubleMultiValues instance that always returnsfalsefromadvanceExact(int)
-
Constructor Summary
Constructors Modifier Constructor Description protectedLongMultiValues()Sole constructor.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleanadvanceExact(int doc)Advance this instance to the given document idstatic LongMultiValuesfromDocValues(org.apache.lucene.index.SortedNumericDocValues docValues)abstract booleanhasNextValue()abstract longnextValue()
-
-
-
Field Detail
-
EMPTY
public static final LongMultiValues EMPTY
An empty DoubleMultiValues instance that always returnsfalsefromadvanceExact(int)
-
-
Method Detail
-
advanceExact
public abstract boolean advanceExact(int doc) throws IOExceptionAdvance this instance to the given document id- Returns:
- true if there is a value for this document
- Throws:
IOException
-
hasNextValue
public abstract boolean hasNextValue() throws IOException- Returns:
- true if there is a next value for this document, i.e. if nextValue() can be called.
- Throws:
IOException
-
nextValue
public abstract long nextValue() throws IOException- Returns:
- The next value for the current document.
Can only be called after
hasNextValue()returnedtrue. - Throws:
IOException
-
fromDocValues
public static LongMultiValues fromDocValues(org.apache.lucene.index.SortedNumericDocValues docValues)
-
-