Package org.apache.lucene.search
Class LongValues
- java.lang.Object
-
- org.apache.lucene.search.LongValues
-
public abstract class LongValues extends java.lang.ObjectPer-segment, per-document long values, which can be calculated at search-time
-
-
Constructor Summary
Constructors Constructor Description LongValues()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract booleanadvanceExact(int doc)Advance this instance to the given document idabstract longlongValue()Get the long value for the current document
-
-
-
Method Detail
-
longValue
public abstract long longValue() throws java.io.IOExceptionGet the long value for the current document- Throws:
java.io.IOException
-
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
-
-