Package mondrian.rolap.aggmatcher
Class ExplicitRules.Group
- java.lang.Object
-
- mondrian.rolap.aggmatcher.ExplicitRules.Group
-
- Enclosing class:
- ExplicitRules
public static class ExplicitRules.Group extends Object
This class forms a collection of aggregate table explicit rules for a given cube.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExclude(mondrian.rolap.aggmatcher.ExplicitRules.Exclude exclude)Add an exclude rule.voidaddTableDef(ExplicitRules.TableDef tableDef)Add a name or pattern (table) rule.booleanexcludeTable(String tableName)Returns whether the given tableName is excluded.StringgetCatalogName()Get the database catalog name associated with this Group's RolapStar's fact table.RolapCubegetCube()Get the RolapCube associated with this Group.ExplicitRules.TableDefgetIncludeByTableDef(String tableName)Is the given tableName included either by exact name or by pattern.StringgetName()Get the name of this Group (its the name of its RolapCube).StringgetSchemaName()Get the database schema name associated with this Group's RolapStar's fact table.RolapStargetStar()Get the RolapStar associated with this Group's RolapCube.StringgetTableName()Get the database table name associated with this Group's RolapStar's fact table.booleanhasRules()Are there any rules associated with this Group.static ExplicitRules.Groupmake(RolapCube cube, MondrianDef.Cube xmlCube)Make an ExplicitRules.Group for a given RolapCube given the MondrianDef.Cube associated with that cube.voidprint(PrintWriter pw, String prefix)StringtoString()voidvalidate(MessageRecorder msgRecorder)Validate the content and structure of this Group.
-
-
-
Constructor Detail
-
Group
public Group(RolapCube cube)
-
-
Method Detail
-
make
public 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.
-
getCube
public RolapCube getCube()
Get the RolapCube associated with this Group.
-
getStar
public RolapStar getStar()
Get the RolapStar associated with this Group's RolapCube.
-
getName
public String 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
public void addTableDef(ExplicitRules.TableDef tableDef)
Add a name or pattern (table) rule.
-
excludeTable
public boolean excludeTable(String tableName)
Returns whether the given tableName is excluded.
-
getIncludeByTableDef
public ExplicitRules.TableDef getIncludeByTableDef(String tableName)
Is the given tableName included either by exact name or by pattern.
-
getTableName
public String getTableName()
Get the database table name associated with this Group's RolapStar's fact table.
-
getSchemaName
public String getSchemaName()
Get the database schema name associated with this Group's RolapStar's fact table.
-
getCatalogName
public String getCatalogName()
Get the database catalog name associated with this Group's RolapStar's fact table. Note: this currently this always returns null.
-
validate
public void validate(MessageRecorder msgRecorder)
Validate the content and structure of this Group.
-
print
public void print(PrintWriter pw, String prefix)
-
-