Class LongMultiValues
java.lang.Object
org.hibernate.search.backend.lucene.lowlevel.docvalues.impl.LongMultiValues
- Direct Known Subclasses:
LongMultiValues.DocValuesLongMultiValues
A per-document, unordered sequence of long values.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LongMultiValuesAn empty DoubleMultiValues instance that always returnsfalsefromadvanceExact(int) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanadvanceExact(int doc) Advance this instance to the given document idstatic LongMultiValuesfromDocValues(org.apache.lucene.index.SortedNumericDocValues docValues) abstract booleanabstract long
-
Field Details
-
EMPTY
An empty DoubleMultiValues instance that always returnsfalsefromadvanceExact(int)
-
-
Constructor Details
-
LongMultiValues
protected LongMultiValues()Sole constructor. (For invocation by subclass constructors, typically implicit.)
-
-
Method Details
-
advanceExact
Advance this instance to the given document id- Returns:
- true if there is a value for this document
- Throws:
IOException
-
hasNextValue
- Returns:
- true if there is a next value for this document, i.e. if nextValue() can be called.
- Throws:
IOException
-
nextValue
- 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)
-