Class DoubleDocValues
- java.lang.Object
-
- org.apache.lucene.queries.function.FunctionValues
-
- org.apache.lucene.queries.function.docvalues.DoubleDocValues
-
public abstract class DoubleDocValues extends FunctionValues
AbstractFunctionValues
implementation which supports retrieving double values. Implementations can control how the double values are loaded throughdoubleVal(int)
}
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.queries.function.FunctionValues
FunctionValues.ValueFiller
-
-
Constructor Summary
Constructors Constructor Description DoubleDocValues(ValueSource vs)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
boolVal(int doc)
byte
byteVal(int doc)
abstract double
doubleVal(int doc)
float
floatVal(int doc)
ValueSourceScorer
getRangeScorer(IndexReader reader, java.lang.String lowerVal, java.lang.String upperVal, boolean includeLower, boolean includeUpper)
FunctionValues.ValueFiller
getValueFiller()
int
intVal(int doc)
long
longVal(int doc)
java.lang.Object
objectVal(int doc)
Native Java Object representation of the valueshort
shortVal(int doc)
java.lang.String
strVal(int doc)
java.lang.String
toString(int doc)
-
-
-
Constructor Detail
-
DoubleDocValues
public DoubleDocValues(ValueSource vs)
-
-
Method Detail
-
byteVal
public byte byteVal(int doc)
- Overrides:
byteVal
in classFunctionValues
-
shortVal
public short shortVal(int doc)
- Overrides:
shortVal
in classFunctionValues
-
floatVal
public float floatVal(int doc)
- Overrides:
floatVal
in classFunctionValues
-
intVal
public int intVal(int doc)
- Overrides:
intVal
in classFunctionValues
-
longVal
public long longVal(int doc)
- Overrides:
longVal
in classFunctionValues
-
boolVal
public boolean boolVal(int doc)
- Overrides:
boolVal
in classFunctionValues
-
doubleVal
public abstract double doubleVal(int doc)
- Overrides:
doubleVal
in classFunctionValues
-
strVal
public java.lang.String strVal(int doc)
- Overrides:
strVal
in classFunctionValues
-
objectVal
public java.lang.Object objectVal(int doc)
Description copied from class:FunctionValues
Native Java Object representation of the value- Overrides:
objectVal
in classFunctionValues
-
toString
public java.lang.String toString(int doc)
- Specified by:
toString
in classFunctionValues
-
getRangeScorer
public ValueSourceScorer getRangeScorer(IndexReader reader, java.lang.String lowerVal, java.lang.String upperVal, boolean includeLower, boolean includeUpper)
- Overrides:
getRangeScorer
in classFunctionValues
-
getValueFiller
public FunctionValues.ValueFiller getValueFiller()
- Overrides:
getValueFiller
in classFunctionValues
-
-