public class MeanFunction extends AbstractFunction
A Java UDF for calculating the mean of a collection of values.
Pseudo-declaration of function:
<DefineFunction name="..." dataType="double">
<ParameterField name="values" dataType="collection of numbers"/>
</DefineFunction>
Mean| Constructor and Description |
|---|
MeanFunction() |
MeanFunction(String name) |
| Modifier and Type | Method and Description |
|---|---|
FieldValue |
evaluate(List<FieldValue> arguments) |
cast, checkArguments, checkArguments, checkVariableArguments, checkVariableArguments, getName, integerToDoublepublic MeanFunction()
public MeanFunction(String name)
public FieldValue evaluate(List<FieldValue> arguments)
Copyright © 2016. All Rights Reserved.