com.citra.pivot.table.aggregator
Class Functions.SumFunction
java.lang.Object
com.citra.pivot.table.aggregator.Functions.SumFunction
- All Implemented Interfaces:
- Functions.Function
- Enclosing class:
- Functions
public static class Functions.SumFunction
- extends Object
- implements Functions.Function
The sum function.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Functions.SumFunction
public Functions.SumFunction()
evaluate
public Object evaluate(List values,
OlapType type)
- Produces an aggregate from a list of values.
- Specified by:
evaluate
in interface Functions.Function
- Parameters:
values
- the list of valuestype
- the data type the evaluation will be based on
- Returns:
- the aggregate value