public class AggTableManager extends Object
It is used as follows:
RolapSchema creates an AggTableManager,
and stores it in a member variable to ensure that it is not
garbage-collected.
AggTableManager creates and registers
Trigger objects, so that it is notified
when properties pertinent to aggregate tables change.
RolapSchema calls initialize(),
which scans the JDBC catalog and identifies aggregate tables.
AggStar and calls
RolapStar.addAggStar(AggStar).| Constructor and Description |
|---|
AggTableManager(RolapSchema schema) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
bindToStar(JdbcSchema.Table dbFactTable,
RolapStar star,
MessageRecorder msgRecorder)
This method mines the RolapStar and annotes the JdbcSchema.Table
dbFactTable by creating JdbcSchema.Table.Column.Usage instances.
|
void |
finalCleanUp()
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 every
ExplicitRules.Group in every
cubes in a given RolapStar. |
org.apache.log4j.Logger |
getLogger()
Get the Logger.
|
void |
initialize()
Initializes this object, loading all aggregate tables and associating
them with
RolapStars. |
public AggTableManager(RolapSchema schema)
public void finalCleanUp()
public org.apache.log4j.Logger getLogger()
public void initialize()
RolapStars.
This method should only be called once.protected List<ExplicitRules.Group> getAggGroups(RolapStar star)
ExplicitRules.Group in every
cubes in a given RolapStar.void bindToStar(JdbcSchema.Table dbFactTable, RolapStar star, MessageRecorder msgRecorder) throws SQLException
dbFactTable - star - msgRecorder - SQLException