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(org.apache.lucene.queries.function.ValueSource[] sources) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
func(int doc,
org.apache.lucene.queries.function.FunctionValues[] valsArr) |
protected String |
name() |
createWeight, description, equals, getValues, hashCodepublic static final String NAME
public AddDoubleFunction(org.apache.lucene.queries.function.ValueSource[] sources)
protected String name()
name in class MultiDoubleFunctionprotected double func(int doc,
org.apache.lucene.queries.function.FunctionValues[] valsArr)
func in class MultiDoubleFunctionCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.