Class QueryDocValues
- java.lang.Object
-
- org.apache.lucene.queries.function.FunctionValues
-
- org.apache.lucene.queries.function.docvalues.FloatDocValues
-
- org.apache.lucene.queries.function.valuesource.QueryDocValues
-
class QueryDocValues extends FloatDocValues
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.queries.function.FunctionValues
FunctionValues.ValueFiller
-
-
Field Summary
Fields Modifier and Type Field Description (package private) float
defVal
(package private) DocIdSetIterator
disi
(package private) java.util.Map<java.lang.Object,java.lang.Object>
fcontext
(package private) int
lastDocRequested
(package private) Query
q
(package private) LeafReaderContext
readerContext
(package private) Scorer
scorer
(package private) java.lang.Boolean
thisDocMatches
(package private) TwoPhaseIterator
tpi
(package private) Weight
weight
-
Fields inherited from class org.apache.lucene.queries.function.docvalues.FloatDocValues
vs
-
-
Constructor Summary
Constructors Constructor Description QueryDocValues(QueryValueSource vs, LeafReaderContext readerContext, java.util.Map<java.lang.Object,java.lang.Object> fcontext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exists(int doc)
Returns true if there is a value for this documentfloat
floatVal(int doc)
FunctionValues.ValueFiller
getValueFiller()
java.lang.Object
objectVal(int doc)
Native Java Object representation of the valuejava.lang.String
toString(int doc)
-
Methods inherited from class org.apache.lucene.queries.function.docvalues.FloatDocValues
boolVal, byteVal, doubleVal, intVal, longVal, shortVal, strVal
-
-
-
-
Field Detail
-
readerContext
final LeafReaderContext readerContext
-
weight
final Weight weight
-
defVal
final float defVal
-
fcontext
final java.util.Map<java.lang.Object,java.lang.Object> fcontext
-
q
final Query q
-
scorer
Scorer scorer
-
disi
DocIdSetIterator disi
-
tpi
TwoPhaseIterator tpi
-
thisDocMatches
java.lang.Boolean thisDocMatches
-
lastDocRequested
int lastDocRequested
-
-
Constructor Detail
-
QueryDocValues
public QueryDocValues(QueryValueSource vs, LeafReaderContext readerContext, java.util.Map<java.lang.Object,java.lang.Object> fcontext) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
floatVal
public float floatVal(int doc)
- Specified by:
floatVal
in classFloatDocValues
-
exists
public boolean exists(int doc)
Description copied from class:FunctionValues
Returns true if there is a value for this document- Overrides:
exists
in classFunctionValues
-
objectVal
public java.lang.Object objectVal(int doc)
Description copied from class:FunctionValues
Native Java Object representation of the value- Overrides:
objectVal
in classFloatDocValues
-
getValueFiller
public FunctionValues.ValueFiller getValueFiller()
- Overrides:
getValueFiller
in classFloatDocValues
-
toString
public java.lang.String toString(int doc)
- Overrides:
toString
in classFloatDocValues
-
-