Package mondrian.rolap.aggmatcher
Class ExplicitRules.Group
java.lang.Object
mondrian.rolap.aggmatcher.ExplicitRules.Group
- Enclosing class:
- ExplicitRules
This class forms a collection of aggregate table explicit rules for a
given cube.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExclude
(mondrian.rolap.aggmatcher.ExplicitRules.Exclude exclude) Add an exclude rule.void
addTableDef
(ExplicitRules.TableDef tableDef) Add a name or pattern (table) rule.boolean
excludeTable
(String tableName) Returns whether the given tableName is excluded.Get the database catalog name associated with this Group's RolapStar's fact table.getCube()
Get the RolapCube associated with this Group.getIncludeByTableDef
(String tableName) Is the given tableName included either by exact name or by pattern.getName()
Get the name of this Group (its the name of its RolapCube).Get the database schema name associated with this Group's RolapStar's fact table.getStar()
Get the RolapStar associated with this Group's RolapCube.Get the database table name associated with this Group's RolapStar's fact table.boolean
hasRules()
Are there any rules associated with this Group.static ExplicitRules.Group
make
(RolapCube cube, MondrianDef.Cube xmlCube) Make an ExplicitRules.Group for a given RolapCube given the MondrianDef.Cube associated with that cube.void
print
(PrintWriter pw, String prefix) toString()
void
validate
(MessageRecorder msgRecorder) Validate the content and structure of this Group.
-
Constructor Details
-
Group
-
-
Method Details
-
make
Make an ExplicitRules.Group for a given RolapCube given the MondrianDef.Cube associated with that cube. -
getCube
Get the RolapCube associated with this Group. -
getStar
Get the RolapStar associated with this Group's RolapCube. -
getName
Get the name of this Group (its the name of its RolapCube). -
hasRules
public boolean hasRules()Are there any rules associated with this Group. -
addExclude
public void addExclude(mondrian.rolap.aggmatcher.ExplicitRules.Exclude exclude) Add an exclude rule. -
addTableDef
Add a name or pattern (table) rule. -
excludeTable
Returns whether the given tableName is excluded. -
getIncludeByTableDef
Is the given tableName included either by exact name or by pattern. -
getTableName
Get the database table name associated with this Group's RolapStar's fact table. -
getSchemaName
Get the database schema name associated with this Group's RolapStar's fact table. -
getCatalogName
Get the database catalog name associated with this Group's RolapStar's fact table. Note: this currently this always returns null. -
validate
Validate the content and structure of this Group. -
toString
-
print
-