Class ExplicitRules

java.lang.Object
mondrian.rolap.aggmatcher.ExplicitRules

public class ExplicitRules extends Object
A class containing a RolapCube's Aggregate tables exclude/include criteria.
Author:
Richard M. Emberson
  • Method Details

    • excludeTable

      public static boolean excludeTable(String tableName, List<ExplicitRules.Group> aggGroups)
      Returns whether the given is tableName explicitly excluded from consideration as a candidate aggregate table.
    • getIncludeByTableDef

      public static ExplicitRules.TableDef getIncludeByTableDef(String tableName, List<ExplicitRules.Group> aggGroups)
      Returns the ExplicitRules.TableDef for a tableName that is a candidate aggregate table. If null is returned, then the default rules are used otherwise if not null, then the ExplicitRules.TableDef is used.