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, namegetSortField, newContext, toStringpublic SimpleFloatFunction(ValueSource source)
protected abstract float func(int doc,
FunctionValues vals)
public FunctionValues getValues(Map context, LeafReaderContext readerContext) throws IOException
ValueSourcegetValues in class ValueSourceIOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.