public abstract class DoubleValues extends 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 IOException
IOExceptionpublic abstract boolean advanceExact(int doc)
                              throws IOException
IOExceptionpublic static DoubleValues withDefault(DoubleValues in, double missingValue)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.