public abstract class NumericDocValues extends DocIdSetIterator
NO_MORE_DOCS| Modifier | Constructor and Description |
|---|---|
protected |
NumericDocValues()
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
advanceExact(int target)
Advance the iterator to exactly
target and return whether
target has a value. |
abstract long |
longValue()
Returns the numeric value for the current document ID.
|
advance, all, cost, docID, empty, nextDoc, slowAdvanceprotected NumericDocValues()
public abstract long longValue()
throws IOException
advanceExact(int)
returned false.IOExceptionpublic abstract boolean advanceExact(int target)
throws IOException
target and return whether
target has a value.
target must be greater than or equal to the current
doc ID and must be a valid doc ID, ie. ≥ 0 and
< maxDoc.
After this method returns, DocIdSetIterator.docID() retuns target.IOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.