Class RolapAggregator.SumFromAvg

  • All Implemented Interfaces:
    Aggregator, EnumeratedValues.Value
    Enclosing class:
    RolapAggregator

    public static class RolapAggregator.SumFromAvg
    extends RolapAggregator.BaseAggor
    This is an aggregator used for aggregate tables implementing the sum aggregator. It uses the aggregate table fact_count column and an average measure to create the query used to generate a sum:
     sum == sum( column_avg * factcount )
     
    If the fact table has both a sum and average over the same column and the aggregate table only has an average and fact count column, then the sum aggregator can be generated using this aggregator.