public class AddDoubleFunction extends MultiDoubleFunction
AddDoubleFunction
returns the sum of its components.Modifier and Type | Field and Description |
---|---|
static String |
NAME |
sources
Constructor and Description |
---|
AddDoubleFunction(ValueSource[] sources) |
Modifier and Type | Method and Description |
---|---|
protected double |
func(int doc,
FunctionValues[] valsArr) |
protected String |
name() |
createWeight, description, equals, getValues, hashCode
getSortField, newContext, toString
public static final String NAME
public AddDoubleFunction(ValueSource[] sources)
protected String name()
name
in class MultiDoubleFunction
protected double func(int doc, FunctionValues[] valsArr)
func
in class MultiDoubleFunction
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.