SortingNumericDoubleValues
public abstract class SortedNumericDoubleValues
extends java.lang.Object
SortedNumericDocValues
for double values.Modifier | Constructor | Description |
---|---|---|
protected |
SortedNumericDoubleValues() |
Sole constructor.
|
Modifier and Type | Method | Description |
---|---|---|
abstract boolean |
advanceExact(int target) |
Advance the iterator to exactly
target and return whether
target has a value. |
abstract int |
docValueCount() |
Retrieves the number of values for the current document.
|
abstract double |
nextValue() |
Iterates to the next value in the current document.
|
protected SortedNumericDoubleValues()
public abstract boolean advanceExact(int target) throws java.io.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
.java.io.IOException
public abstract double nextValue() throws java.io.IOException
docValueCount()
times for the document.java.io.IOException
public abstract int docValueCount()
advanceExact(int)
returned false
.