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, range, slowAdvance
protected NumericDocValues()
public abstract long longValue() throws IOException
advanceExact(int)
returned false
.IOException
public 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()
returns target
.IOException
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.