Class 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.
    • Constructor Detail

    • Method Detail

      • 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.