Class IntDocValues
- java.lang.Object
-
- org.apache.lucene.queries.function.FunctionValues
-
- org.apache.lucene.queries.function.docvalues.IntDocValues
-
public abstract class IntDocValues extends FunctionValues
AbstractFunctionValuesimplementation which supports retrieving int values. Implementations can control how the int values are loaded throughintVal(int)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.queries.function.FunctionValues
FunctionValues.ValueFiller
-
-
Constructor Summary
Constructors Constructor Description IntDocValues(ValueSource vs)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description bytebyteVal(int doc)doubledoubleVal(int doc)floatfloatVal(int doc)ValueSourceScorergetRangeScorer(IndexReader reader, java.lang.String lowerVal, java.lang.String upperVal, boolean includeLower, boolean includeUpper)FunctionValues.ValueFillergetValueFiller()abstract intintVal(int doc)longlongVal(int doc)java.lang.ObjectobjectVal(int doc)Native Java Object representation of the valueshortshortVal(int doc)java.lang.StringstrVal(int doc)java.lang.StringtoString(int doc)
-
-
-
Constructor Detail
-
IntDocValues
public IntDocValues(ValueSource vs)
-
-
Method Detail
-
byteVal
public byte byteVal(int doc)
- Overrides:
byteValin classFunctionValues
-
shortVal
public short shortVal(int doc)
- Overrides:
shortValin classFunctionValues
-
floatVal
public float floatVal(int doc)
- Overrides:
floatValin classFunctionValues
-
intVal
public abstract int intVal(int doc)
- Overrides:
intValin classFunctionValues
-
longVal
public long longVal(int doc)
- Overrides:
longValin classFunctionValues
-
doubleVal
public double doubleVal(int doc)
- Overrides:
doubleValin classFunctionValues
-
strVal
public java.lang.String strVal(int doc)
- Overrides:
strValin classFunctionValues
-
objectVal
public java.lang.Object objectVal(int doc)
Description copied from class:FunctionValuesNative Java Object representation of the value- Overrides:
objectValin classFunctionValues
-
toString
public java.lang.String toString(int doc)
- Specified by:
toStringin classFunctionValues
-
getRangeScorer
public ValueSourceScorer getRangeScorer(IndexReader reader, java.lang.String lowerVal, java.lang.String upperVal, boolean includeLower, boolean includeUpper)
- Overrides:
getRangeScorerin classFunctionValues
-
getValueFiller
public FunctionValues.ValueFiller getValueFiller()
- Overrides:
getValueFillerin classFunctionValues
-
-