Class LongDocValues
java.lang.Object
org.apache.lucene.queries.function.FunctionValues
org.apache.lucene.queries.function.docvalues.LongDocValues
Abstract
FunctionValues
implementation which supports retrieving long values.
Implementations can control how the long values are loaded through longVal(int)
}-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.queries.function.FunctionValues
FunctionValues.ValueFiller
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolVal
(int doc) byte
byteVal
(int doc) double
doubleVal
(int doc) float
floatVal
(int doc) getRangeScorer
(IndexReader reader, String lowerVal, String upperVal, boolean includeLower, boolean includeUpper) int
intVal
(int doc) abstract long
longVal
(int doc) objectVal
(int doc) Native Java Object representation of the valueshort
shortVal
(int doc) strVal
(int doc) toString
(int doc)
-
Constructor Details
-
LongDocValues
-
-
Method Details
-
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 abstract long longVal(int doc) - Overrides:
longVal
in classFunctionValues
-
doubleVal
public double doubleVal(int doc) - Overrides:
doubleVal
in classFunctionValues
-
boolVal
public boolean boolVal(int doc) - Overrides:
boolVal
in classFunctionValues
-
strVal
- Overrides:
strVal
in classFunctionValues
-
objectVal
Description copied from class:FunctionValues
Native Java Object representation of the value- Overrides:
objectVal
in classFunctionValues
-
toString
- Specified by:
toString
in classFunctionValues
-
getRangeScorer
public ValueSourceScorer getRangeScorer(IndexReader reader, String lowerVal, String upperVal, boolean includeLower, boolean includeUpper) - Overrides:
getRangeScorer
in classFunctionValues
-
getValueFiller
- Overrides:
getValueFiller
in classFunctionValues
-