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.
-
-
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 |
AggStar.DimTable
AggStar.DimTable(AggStar.Table parent,
String name,
MondrianDef.Relation relation,
AggStar.Table.JoinCondition joinCondition)
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 class AggStar.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 class AggStar.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 class AggStar.Table
getJoinCondition
public AggStar.Table.JoinCondition getJoinCondition()
- Specified by:
getJoinCondition
in class AggStar.Table
addColumnsToList
public void addColumnsToList(List<AggStar.Table.Column> list)
- Add all of this Table's columns to the list parameter and then add
all child table columns.
- Parameters:
list
-
print
public void print(PrintWriter pw,
String prefix)
- Specified by:
print
in class AggStar.Table