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 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanboolVal(int doc) bytebyteVal(int doc) doubledoubleVal(int doc) protected longexternalToLong(String extVal) floatfloatVal(int doc) getRangeScorer(LeafReaderContext readerContext, String lowerVal, String upperVal, boolean includeLower, boolean includeUpper) Yields aScorerthat matches documents with values between the specified range, and that which produces scores equal toFunctionValues.floatVal(int).intintVal(int doc) abstract longlongVal(int doc) objectVal(int doc) Native Java Object representation of the valueshortshortVal(int doc) strVal(int doc) toString(int doc)
-
Field Details
-
vs
-
-
Constructor Details
-
LongDocValues
-
-
Method Details
-
byteVal
- Overrides:
byteValin classFunctionValues- Throws:
IOException
-
shortVal
- Overrides:
shortValin classFunctionValues- Throws:
IOException
-
floatVal
- Overrides:
floatValin classFunctionValues- Throws:
IOException
-
intVal
- Overrides:
intValin classFunctionValues- Throws:
IOException
-
longVal
- Overrides:
longValin classFunctionValues- Throws:
IOException
-
doubleVal
- Overrides:
doubleValin classFunctionValues- Throws:
IOException
-
boolVal
- Overrides:
boolValin classFunctionValues- Throws:
IOException
-
strVal
- Overrides:
strValin classFunctionValues- Throws:
IOException
-
objectVal
Description copied from class:FunctionValuesNative Java Object representation of the value- Overrides:
objectValin classFunctionValues- Throws:
IOException
-
toString
- Specified by:
toStringin classFunctionValues- Throws:
IOException
-
externalToLong
-
getRangeScorer
public ValueSourceScorer getRangeScorer(LeafReaderContext readerContext, String lowerVal, String upperVal, boolean includeLower, boolean includeUpper) Description copied from class:FunctionValuesYields aScorerthat matches documents with values between the specified range, and that which produces scores equal toFunctionValues.floatVal(int).- Overrides:
getRangeScorerin classFunctionValues
-
getValueFiller
- Overrides:
getValueFillerin classFunctionValues
-