Package com.day.cq.reporting
Class AggregateManager
java.lang.Object
com.day.cq.reporting.AggregateManager
This class is used for managing aggregates; mainly for mapping aggregate types
to corresponding
Aggregates.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()Cleans up the aggregates that were used.voidcreateForColumn(Column col) Creates the aggregate for the specified column.getForColumn(Column col) Gets the aggregate for the specified column.
-
Constructor Details
-
AggregateManager
Creates a new AggregateManager.- Parameters:
context- The context for creating the report
-
-
Method Details
-
createForColumn
Creates the aggregate for the specified column.- Parameters:
col- The aggregate for the specified column
-
getForColumn
Gets the aggregate for the specified column.- Parameters:
col- The column- Returns:
- The aggregate;
nullif no aggregate is available for the specified column
-
cleanup
public void cleanup()Cleans up the aggregates that were used.
-