public abstract class LongDocValues extends FunctionValues
FunctionValues implementation which supports retrieving long values.
Implementations can control how the long values are loaded through longVal(int)}FunctionValues.ValueFiller| Modifier and Type | Field and Description |
|---|---|
protected ValueSource |
vs |
| Constructor and Description |
|---|
LongDocValues(ValueSource vs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
boolVal(int doc) |
byte |
byteVal(int doc) |
double |
doubleVal(int doc) |
protected long |
externalToLong(String extVal) |
float |
floatVal(int doc) |
ValueSourceScorer |
getRangeScorer(IndexReader reader,
String lowerVal,
String upperVal,
boolean includeLower,
boolean includeUpper) |
FunctionValues.ValueFiller |
getValueFiller() |
int |
intVal(int doc) |
abstract 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 LongDocValues(ValueSource vs)
public byte byteVal(int doc)
byteVal in class FunctionValuespublic short shortVal(int doc)
shortVal in class FunctionValuespublic float floatVal(int doc)
floatVal in class FunctionValuespublic int intVal(int doc)
intVal in class FunctionValuespublic abstract long longVal(int doc)
longVal in class FunctionValuespublic double doubleVal(int doc)
doubleVal in class FunctionValuespublic boolean boolVal(int doc)
boolVal in class FunctionValuespublic String strVal(int doc)
strVal in class FunctionValuespublic Object objectVal(int doc)
FunctionValuesobjectVal in class FunctionValuespublic String toString(int doc)
toString in class FunctionValuesprotected long externalToLong(String extVal)
public ValueSourceScorer getRangeScorer(IndexReader reader, String lowerVal, String upperVal, boolean includeLower, boolean includeUpper)
getRangeScorer in class FunctionValuespublic FunctionValues.ValueFiller getValueFiller()
getValueFiller in class FunctionValuesCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.