Package mondrian.rolap.aggmatcher
Class AggStar.FactTable
java.lang.Object
mondrian.rolap.aggmatcher.AggStar.Table
mondrian.rolap.aggmatcher.AggStar.FactTable
- Enclosing class:
- AggStar
This is an aggregate fact table.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassThis is a Column that is a Measure (contains an aggregator).Nested classes/interfaces inherited from class mondrian.rolap.aggmatcher.AggStar.Table
AggStar.Table.Column, AggStar.Table.JoinCondition, AggStar.Table.Level -
Field Summary
Fields inherited from class mondrian.rolap.aggmatcher.AggStar.Table
children, levels -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of the columns in this table.Returns a list of all measures.longGet the number of rows in this aggregate table.Get the parent table (returns null if this table is a FactTable).longGet the total size of all columns in a row.longGet the volume of the table (now of rows * size of a row).booleanReturn true if this table has a join condition (only DimTables have join conditions, FactTable instances do not).booleanReturn true it table has measuresbooleanReturn true if this table has a parent table (FactTable instances do not have parent tables, all other do).voidprint(PrintWriter pw, String prefix) Methods inherited from class mondrian.rolap.aggmatcher.AggStar.Table
addLevel, addTable, addToFrom, convertChildren, convertColumns, convertTable, findDescendant, getAggStar, getChildTables, getLevels, getName, getRelation, getSqlQuery, hasChildren, hasLevels, toString
-
Method Details
-
getParent
Description copied from class:AggStar.TableGet the parent table (returns null if this table is a FactTable).- Specified by:
getParentin classAggStar.Table
-
hasParent
public boolean hasParent()Description copied from class:AggStar.TableReturn true if this table has a parent table (FactTable instances do not have parent tables, all other do).- Specified by:
hasParentin classAggStar.Table
-
hasJoinCondition
public boolean hasJoinCondition()Description copied from class:AggStar.TableReturn true if this table has a join condition (only DimTables have join conditions, FactTable instances do not).- Specified by:
hasJoinConditionin classAggStar.Table
-
getJoinCondition
- Specified by:
getJoinConditionin classAggStar.Table
-
getVolume
public long getVolume()Get the volume of the table (now of rows * size of a row). -
getTotalColumnSize
public long getTotalColumnSize()Get the total size of all columns in a row. -
getNumberOfRows
public long getNumberOfRows()Get the number of rows in this aggregate table. -
getMeasures
Returns a list of all measures. -
hasMeasures
public boolean hasMeasures()Return true it table has measures -
getColumns
Returns a list of the columns in this table. -
print
- Specified by:
printin classAggStar.Table
-