Package mondrian.rolap.aggmatcher
Class AggStar.DimTable
- java.lang.Object
-
- mondrian.rolap.aggmatcher.AggStar.Table
-
- mondrian.rolap.aggmatcher.AggStar.DimTable
-
- Enclosing class:
- AggStar
public class AggStar.DimTable extends AggStar.Table
This class represents a dimension table.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class mondrian.rolap.aggmatcher.AggStar.Table
AggStar.Table.Column, AggStar.Table.ForeignKey, AggStar.Table.JoinCondition, AggStar.Table.Level
-
-
Field Summary
-
Fields inherited from class mondrian.rolap.aggmatcher.AggStar.Table
children, levels
-
-
Constructor Summary
Constructors Constructor Description DimTable(AggStar.Table parent, java.lang.String name, MondrianDef.Relation relation, AggStar.Table.JoinCondition joinCondition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addColumnsToList(java.util.List<AggStar.Table.Column> list)
Add all of this Table's columns to the list parameter and then add all child table columns.AggStar.Table.JoinCondition
getJoinCondition()
AggStar.Table
getParent()
Get the parent table (returns null if this table is a FactTable).boolean
hasJoinCondition()
Return true if this table has a join condition (only DimTables have join conditions, FactTable instances do not).boolean
hasParent()
Return true if this table has a parent table (FactTable instances do not have parent tables, all other do).void
print(java.io.PrintWriter pw, java.lang.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
-
-
-
-
Constructor Detail
-
DimTable
DimTable(AggStar.Table parent, java.lang.String name, MondrianDef.Relation relation, AggStar.Table.JoinCondition joinCondition)
-
-
Method Detail
-
getParent
public AggStar.Table getParent()
Description copied from class:AggStar.Table
Get the parent table (returns null if this table is a FactTable).- Specified by:
getParent
in classAggStar.Table
-
hasParent
public boolean hasParent()
Description copied from class:AggStar.Table
Return true if this table has a parent table (FactTable instances do not have parent tables, all other do).- Specified by:
hasParent
in classAggStar.Table
-
hasJoinCondition
public boolean hasJoinCondition()
Description copied from class:AggStar.Table
Return true if this table has a join condition (only DimTables have join conditions, FactTable instances do not).- Specified by:
hasJoinCondition
in classAggStar.Table
-
getJoinCondition
public AggStar.Table.JoinCondition getJoinCondition()
- Specified by:
getJoinCondition
in classAggStar.Table
-
addColumnsToList
public void addColumnsToList(java.util.List<AggStar.Table.Column> list)
Add all of this Table's columns to the list parameter and then add all child table columns.
-
print
public void print(java.io.PrintWriter pw, java.lang.String prefix)
- Specified by:
print
in classAggStar.Table
-
-