Class Avg


  • public class Avg
    extends Sum
    Accumulates (per tuple) and calculates the average of the values of a column. The type of the result varies depending on the type of the input AggregateSymbol - the type will not be an integral type but will always be some kind of decimal type.