Class FunctionValues.ValueFiller
java.lang.Object
org.apache.lucene.queries.function.FunctionValues.ValueFiller
- Enclosing class:
- FunctionValues
Abstraction of the logic required to fill the value of a specified doc into a reusable
MutableValue
. Implementations of FunctionValues
are encouraged to define their own
implementations of ValueFiller if their value is not a float.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
fillValue
(int doc) MutableValue will be reused across calls.abstract MutableValue
getValue()
MutableValue will be reused across calls
-
Constructor Details
-
ValueFiller
public ValueFiller()
-
-
Method Details
-
getValue
MutableValue will be reused across calls -
fillValue
MutableValue will be reused across calls. Returns true if the value exists.- Throws:
IOException
-