public abstract class DoubleValues
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static DoubleValues |
EMPTY
An empty DoubleValues instance that always returns
false from advanceExact(int) |
Constructor and Description |
---|
DoubleValues() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
advanceExact(int doc)
Advance this instance to the given document id
|
abstract double |
doubleValue()
Get the double value for the current document
|
static DoubleValues |
withDefault(DoubleValues in,
double missingValue)
Wrap a DoubleValues instance, returning a default if the wrapped instance has no value
|
public static final DoubleValues EMPTY
false
from advanceExact(int)
public abstract double doubleValue() throws java.io.IOException
java.io.IOException
public abstract boolean advanceExact(int doc) throws java.io.IOException
java.io.IOException
public static DoubleValues withDefault(DoubleValues in, double missingValue)