public static class ExplicitRules.Group extends Object
Modifier and Type | Method and Description |
---|---|
void |
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.
|
String |
getCatalogName()
Get the database catalog name associated with this Group's
RolapStar's fact table.
|
RolapCube |
getCube()
Get the RolapCube associated with this Group.
|
ExplicitRules.TableDef |
getIncludeByTableDef(String tableName)
Is the given tableName included either by exact name or by pattern.
|
String |
getName()
Get the name of this Group (its the name of its RolapCube).
|
String |
getSchemaName()
Get the database schema name associated with this Group's RolapStar's
fact table.
|
RolapStar |
getStar()
Get the RolapStar associated with this Group's RolapCube.
|
String |
getTableName()
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) |
String |
toString() |
void |
validate(MessageRecorder msgRecorder)
Validate the content and structure of this Group.
|
public Group(RolapCube cube)
public static ExplicitRules.Group make(RolapCube cube, MondrianDef.Cube xmlCube)
public RolapCube getCube()
public RolapStar getStar()
public String getName()
public boolean hasRules()
public void addExclude(mondrian.rolap.aggmatcher.ExplicitRules.Exclude exclude)
public void addTableDef(ExplicitRules.TableDef tableDef)
public boolean excludeTable(String tableName)
public ExplicitRules.TableDef getIncludeByTableDef(String tableName)
public String getTableName()
public String getSchemaName()
public String getCatalogName()
public void validate(MessageRecorder msgRecorder)
public void print(PrintWriter pw, String prefix)
Copyright © 2018 Hitachi Vantara. All rights reserved.