public class AggStar.FactTable extends AggStar.Table
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AggStar.FactTable.Measure
This is a Column that is a Measure (contains an aggregator). 
 | 
AggStar.Table.Column, AggStar.Table.ForeignKey, AggStar.Table.JoinCondition, AggStar.Table.Levelchildren, levels| Constructor and Description | 
|---|
FactTable(JdbcSchema.Table aggTable)  | 
FactTable(String name,
         MondrianDef.Relation relation,
         int totalColumnSize,
         int numberOfRows)  | 
| Modifier and Type | Method and Description | 
|---|---|
List<AggStar.Table.Column> | 
getColumns()
Returns a list of the columns in this table. 
 | 
AggStar.Table.JoinCondition | 
getJoinCondition()  | 
List<AggStar.FactTable.Measure> | 
getMeasures()
Returns a list of all measures. 
 | 
int | 
getNumberOfRows()
Get the number of rows in this aggregate table. 
 | 
AggStar.Table | 
getParent()
Get the parent table (returns null if this table is a FactTable). 
 | 
int | 
getTotalColumnSize()
Get the total size of all columns in a row. 
 | 
int | 
getVolume()
Get the volume of the table (now of rows * size of a row). 
 | 
boolean | 
hasJoinCondition()
Return true if this table has a join condition (only DimTables have
 join conditions, FactTable instances do not). 
 | 
boolean | 
hasMeasures()
Return true it table has measures 
 | 
boolean | 
hasParent()
Return true if this table has a parent table (FactTable instances
 do not have parent tables, all other do). 
 | 
void | 
print(PrintWriter pw,
     String prefix)  | 
(package private) void | 
setNumberOfRows(int numberOfRows)
This is for testing ONLY. 
 | 
addLevel, addTable, addToFrom, convertChildren, convertColumns, convertTable, findDescendant, getAggStar, getChildTables, getLevels, getName, getRelation, getSqlQuery, hasChildren, hasLevels, toStringFactTable(JdbcSchema.Table aggTable)
FactTable(String name, MondrianDef.Relation relation, int totalColumnSize, int numberOfRows)
public AggStar.Table getParent()
AggStar.TablegetParent in class AggStar.Tablepublic boolean hasParent()
AggStar.TablehasParent in class AggStar.Tablepublic boolean hasJoinCondition()
AggStar.TablehasJoinCondition in class AggStar.Tablepublic AggStar.Table.JoinCondition getJoinCondition()
getJoinCondition in class AggStar.Tablepublic int getVolume()
public int getTotalColumnSize()
public int getNumberOfRows()
void setNumberOfRows(int numberOfRows)
public List<AggStar.FactTable.Measure> getMeasures()
public boolean hasMeasures()
public List<AggStar.Table.Column> getColumns()
public void print(PrintWriter pw, String prefix)
print in class AggStar.Table