public abstract class SimpleFloatFunction extends SingleFunction
source| Constructor and Description |
|---|
SimpleFloatFunction(ValueSource source) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract float |
func(int doc,
FunctionValues vals) |
FunctionValues |
getValues(java.util.Map context,
LeafReaderContext readerContext)
Gets the values for this reader and the context that was previously
passed to createWeight().
|
createWeight, description, equals, hashCode, nameasDoubleValuesSource, asLongValuesSource, fromDoubleValuesSource, getSortField, newContext, toStringpublic SimpleFloatFunction(ValueSource source)
protected abstract float func(int doc,
FunctionValues vals)
throws java.io.IOException
java.io.IOExceptionpublic FunctionValues getValues(java.util.Map context, LeafReaderContext readerContext) throws java.io.IOException
ValueSourcegetValues in class ValueSourcejava.io.IOExceptionCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.