Class AggregateManager


  • public class AggregateManager
    extends java.lang.Object
    This class is used for managing aggregates; mainly for mapping aggregate types to corresponding Aggregates.
    • Constructor Summary

      Constructors 
      Constructor Description
      AggregateManager​(Context context)
      Creates a new AggregateManager.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cleanup()
      Cleans up the aggregates that were used.
      void createForColumn​(Column col)
      Creates the aggregate for the specified column.
      Aggregate getForColumn​(Column col)
      Gets the aggregate for the specified column.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AggregateManager

        public AggregateManager​(Context context)
        Creates a new AggregateManager.
        Parameters:
        context - The context for creating the report
    • Method Detail

      • createForColumn

        public void createForColumn​(Column col)
        Creates the aggregate for the specified column.
        Parameters:
        col - The aggregate for the specified column
      • getForColumn

        public Aggregate getForColumn​(Column col)
        Gets the aggregate for the specified column.
        Parameters:
        col - The column
        Returns:
        The aggregate; null if no aggregate is available for the specified column
      • cleanup

        public void cleanup()
        Cleans up the aggregates that were used.