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, hashCode
asDoubleValuesSource, asLongValuesSource, fromDoubleValuesSource, getSortField, newContext, toString
public SumFloatFunction(ValueSource[] sources)
protected String name()
name
in class MultiFloatFunction
protected float func(int doc, FunctionValues[] valsArr) throws IOException
func
in class MultiFloatFunction
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.