public abstract class IntDocValues extends FunctionValues
FunctionValues
implementation which supports retrieving int values.
Implementations can control how the int values are loaded through intVal(int)
FunctionValues.ValueFiller
Modifier and Type | Field and Description |
---|---|
protected ValueSource |
vs |
Constructor and Description |
---|
IntDocValues(ValueSource vs) |
Modifier and Type | Method and Description |
---|---|
byte |
byteVal(int doc) |
double |
doubleVal(int doc) |
float |
floatVal(int doc) |
ValueSourceScorer |
getRangeScorer(LeafReaderContext readerContext,
String lowerVal,
String upperVal,
boolean includeLower,
boolean includeUpper)
Yields a
Scorer that matches documents with values between the specified range,
and that which produces scores equal to FunctionValues.floatVal(int) . |
FunctionValues.ValueFiller |
getValueFiller() |
abstract int |
intVal(int doc) |
long |
longVal(int doc) |
Object |
objectVal(int doc)
Native Java Object representation of the value
|
short |
shortVal(int doc) |
String |
strVal(int doc) |
String |
toString(int doc) |
protected final ValueSource vs
public IntDocValues(ValueSource vs)
public byte byteVal(int doc)
byteVal
in class FunctionValues
public short shortVal(int doc)
shortVal
in class FunctionValues
public float floatVal(int doc)
floatVal
in class FunctionValues
public abstract int intVal(int doc)
intVal
in class FunctionValues
public long longVal(int doc)
longVal
in class FunctionValues
public double doubleVal(int doc)
doubleVal
in class FunctionValues
public String strVal(int doc)
strVal
in class FunctionValues
public Object objectVal(int doc)
FunctionValues
objectVal
in class FunctionValues
public String toString(int doc)
toString
in class FunctionValues
public ValueSourceScorer getRangeScorer(LeafReaderContext readerContext, String lowerVal, String upperVal, boolean includeLower, boolean includeUpper)
FunctionValues
Scorer
that matches documents with values between the specified range,
and that which produces scores equal to FunctionValues.floatVal(int)
.getRangeScorer
in class FunctionValues
public FunctionValues.ValueFiller getValueFiller()
getValueFiller
in class FunctionValues
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.