public class AggGen extends Object
Constructor and Description |
---|
AggGen(String cubeName,
RolapStar star,
RolapStar.Column[] columns) |
Modifier and Type | Method and Description |
---|---|
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.
|
public AggGen(String cubeName, RolapStar star, RolapStar.Column[] columns)
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)
public String createLost()
public String insertIntoLost()
public String createCollapsed()
public String insertIntoCollapsed()
Copyright © 2018 Hitachi Vantara. All rights reserved.