Class FunctionValues.ValueFiller
- java.lang.Object
-
- org.apache.lucene.queries.function.FunctionValues.ValueFiller
-
- Enclosing class:
- FunctionValues
public abstract static class FunctionValues.ValueFiller extends Object
Abstraction of the logic required to fill the value of a specified doc into a reusableMutableValue. Implementations ofFunctionValuesare 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
Constructors Constructor Description ValueFiller()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidfillValue(int doc)MutableValue will be reused across calls.abstract MutableValuegetValue()MutableValue will be reused across calls
-
-
-
Method Detail
-
getValue
public abstract MutableValue getValue()
MutableValue will be reused across calls
-
fillValue
public abstract void fillValue(int doc) throws IOExceptionMutableValue will be reused across calls. Returns true if the value exists.- Throws:
IOException
-
-