public class SumFloatFunction extends MultiFloatFunction
SumFloatFunction returns the sum of its components.sources| Constructor and Description |
|---|
SumFloatFunction(ValueSource[] sources) |
| Modifier and Type | Method and Description |
|---|---|
protected float |
func(int doc,
FunctionValues[] valsArr) |
protected String |
name() |
createWeight, description, equals, exists, getValues, hashCodeasDoubleValuesSource, asLongValuesSource, fromDoubleValuesSource, getSortField, newContext, toStringpublic SumFloatFunction(ValueSource[] sources)
protected String name()
name in class MultiFloatFunctionprotected float func(int doc,
FunctionValues[] valsArr)
throws IOException
func in class MultiFloatFunctionIOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.