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(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 IOException
IOExceptionpublic FunctionValues getValues(Map context, LeafReaderContext readerContext) throws IOException
ValueSourcegetValues in class ValueSourceIOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.