'Constructor
@param method: the aggregation method (count, sum, min, max, avg)
@param key: the attribute key
@param values: the attribute values'

def __init__(self, method, key, values):

    self.method = method
    self.key = key
    self.values = values
    self.result = self.__compute(method, values)
