Module org.apache.lucene.queries
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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.queries.function.FunctionValues
FunctionValues.ValueFiller
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final float
(package private) DocIdSetIterator
(package private) int
(package private) final Query
(package private) final LeafReaderContext
(package private) Scorer
(package private) Boolean
(package private) TwoPhaseIterator
(package private) final Weight
Fields inherited from class org.apache.lucene.queries.function.docvalues.FloatDocValues
vs
-
Constructor Summary
ConstructorsConstructorDescriptionQueryDocValues
(QueryValueSource vs, LeafReaderContext readerContext, Map<Object, Object> fcontext) -
Method Summary
Methods inherited from class org.apache.lucene.queries.function.docvalues.FloatDocValues
boolVal, byteVal, doubleVal, intVal, longVal, shortVal, strVal
Methods inherited from class org.apache.lucene.queries.function.FunctionValues
bytesVal, byteVal, byteVectorVal, cost, doubleVal, explain, floatVal, floatVectorVal, getRangeScorer, getScorer, intVal, longVal, numOrd, ordVal, shortVal, strVal
-
Field Details
-
readerContext
-
weight
-
defVal
final float defVal -
fcontext
-
q
-
scorer
Scorer scorer -
disi
DocIdSetIterator disi -
tpi
TwoPhaseIterator tpi -
thisDocMatches
Boolean thisDocMatches -
lastDocRequested
int lastDocRequested
-
-
Constructor Details
-
QueryDocValues
public QueryDocValues(QueryValueSource vs, LeafReaderContext readerContext, Map<Object, Object> fcontext) throws IOException- Throws:
IOException
-
-
Method Details
-
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
Description copied from class:FunctionValues
Native Java Object representation of the value- Overrides:
objectVal
in classFloatDocValues
-
getValueFiller
- Overrides:
getValueFiller
in classFloatDocValues
-
toString
- Overrides:
toString
in classFloatDocValues
-