Package mondrian.rolap.aggmatcher
Class AggTableManager
- java.lang.Object
-
- mondrian.rolap.aggmatcher.AggTableManager
-
public class AggTableManager extends Object
Manages aggregate tables.It is used as follows:
- A
RolapSchemacreates anAggTableManager, and stores it in a member variable to ensure that it is not garbage-collected. - The
RolapSchemacallsinitialize(PropertyList), which scans the JDBC catalog and identifies aggregate tables. - For each aggregate table, it creates an
AggStarand callsRolapStar.addAggStar(AggStar).
- Author:
- Richard M. Emberson
- A
-
-
Constructor Summary
Constructors Constructor Description AggTableManager(RolapSchema schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidfinalCleanUp()This should ONLY be called if the AggTableManager is no longer going to be used.protected List<ExplicitRules.Group>getAggGroups(RolapStar star)Returns a list containing everyExplicitRules.Groupin every cubes in a givenRolapStar.org.apache.logging.log4j.LoggergetLogger()Get the Logger.voidinitialize()Deprecated.API updated to pass the Mondrian connection properties.voidinitialize(Util.PropertyList connectInfo)Initializes this object, loading all aggregate tables and associating them withRolapStars.
-
-
-
Constructor Detail
-
AggTableManager
public AggTableManager(RolapSchema schema)
-
-
Method Detail
-
finalCleanUp
public void finalCleanUp()
This should ONLY be called if the AggTableManager is no longer going to be used. In fact, it should only be called indirectly by its associated RolapSchema object.
-
getLogger
public org.apache.logging.log4j.Logger getLogger()
Get the Logger.
-
initialize
@Deprecated public void initialize()
Deprecated.API updated to pass the Mondrian connection properties. Seeinitialize(PropertyList)
-
initialize
public void initialize(Util.PropertyList connectInfo)
Initializes this object, loading all aggregate tables and associating them withRolapStars. This method should only be called once.- Parameters:
connectInfo- The Mondrian connection properties
-
getAggGroups
protected List<ExplicitRules.Group> getAggGroups(RolapStar star)
Returns a list containing everyExplicitRules.Groupin every cubes in a givenRolapStar.
-
-