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