|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mondrian.rolap.aggmatcher.AggGen
public class AggGen
This class is used to create "lost" and "collapsed" aggregate table creation sql (creates the rdbms table and inserts into it from the base fact table).
Constructor Summary | |
---|---|
AggGen(String cubeName,
RolapStar star,
RolapStar.Column[] columns)
|
Method Summary | |
---|---|
protected void |
addForeignKeyToNotLostColumnUsages(JdbcSchema.Table.Column column)
|
String |
createCollapsed()
Return a String containing the sql code to create a collapsed dimension table. |
String |
createLost()
Return a String containing the sql code to create a lost dimension table. |
protected JdbcSchema.Table.Column |
getColumn(JdbcSchema.Table table,
String name)
|
protected String |
getFactCount()
|
protected RolapStar.Table |
getFactTable()
|
protected String |
getFactTableName()
|
protected String |
getRolapStarColumnName(RolapStar.Column rColumn)
|
protected SqlQuery |
getSqlQuery()
|
protected JdbcSchema.Table |
getTable(JdbcSchema db,
RolapStar.Table rt)
|
protected JdbcSchema.Table |
getTable(JdbcSchema db,
String name)
|
String |
insertIntoCollapsed()
Return the sql code to populate a collapsed dimension table from the fact table. |
String |
insertIntoLost()
Return the sql code to populate a lost dimension table from the fact table. |
boolean |
isReady()
Return true if this instance is ready to generate the sql. |
(package private) String |
makeCollapsedAggregateTableName(String factTableName)
|
(package private) String |
makeLostAggregateTableName(String factTableName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AggGen(String cubeName, RolapStar star, RolapStar.Column[] columns)
Method Detail |
---|
public boolean isReady()
protected RolapStar.Table getFactTable()
protected String getFactTableName()
protected SqlQuery getSqlQuery()
protected String getFactCount()
protected JdbcSchema.Table getTable(JdbcSchema db, RolapStar.Table rt)
protected JdbcSchema.Table getTable(JdbcSchema db, String name)
protected JdbcSchema.Table.Column getColumn(JdbcSchema.Table table, String name)
protected String getRolapStarColumnName(RolapStar.Column rColumn)
protected void addForeignKeyToNotLostColumnUsages(JdbcSchema.Table.Column column)
String makeLostAggregateTableName(String factTableName)
String makeCollapsedAggregateTableName(String factTableName)
public String createLost()
public String insertIntoLost()
public String createCollapsed()
public String insertIntoCollapsed()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |