com.citra.pivot.table.aggregator
Class Functions.MaxFunction
java.lang.Object
com.citra.pivot.table.aggregator.Functions.MaxFunction
- All Implemented Interfaces:
- Functions.Function
- Enclosing class:
- Functions
public static class Functions.MaxFunction
- extends Object
- implements Functions.Function
The max function.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Functions.MaxFunction
public Functions.MaxFunction()
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