|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.rolap.aggmatcher.AggTableManager
public class AggTableManager
Manages aggregate tables.
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 Summary | |
|---|---|
AggTableManager(RolapSchema schema)
|
|
| Method Summary | |
|---|---|
(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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AggTableManager(RolapSchema schema)
| Method Detail |
|---|
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
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||