Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.table.aggregator
Interface Functions.Function

All Known Implementing Classes:
Functions.AverageFunction, Functions.CountFunction, Functions.FirstFunction, Functions.LastFunction, Functions.MaxFunction, Functions.MinFunction, Functions.ScaledSumFunction, Functions.SumFunction, Functions.WeightedAverageFunction, Functions.WeightedSumFunction
Enclosing class:
Functions

public static interface Functions.Function

Function defines a method for evaluating an aggregate given a list of values.


Method Summary
 Object evaluate(List values, OlapType type)
          Produces an aggregate from a list of values.
 

Method Detail

evaluate

Object evaluate(List values,
                OlapType type)
Produces an aggregate from a list of values.

Parameters:
values - the list of values
type - the data type the evaluation will be based on
Returns:
the aggregate value

Copyright © 2011 Citra Technologies. All Rights Reserved.