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, name
asDoubleValuesSource, asLongValuesSource, fromDoubleValuesSource, getSortField, newContext, toString
public SimpleFloatFunction(ValueSource source)
protected abstract float func(int doc, FunctionValues vals) throws IOException
IOException
public FunctionValues getValues(Map context, LeafReaderContext readerContext) throws IOException
ValueSource
getValues
in class ValueSource
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.