Package mondrian.rolap.aggmatcher
Class ExplicitRules
- java.lang.Object
-
- mondrian.rolap.aggmatcher.ExplicitRules
-
public class ExplicitRules extends java.lang.Object
A class containing a RolapCube's Aggregate tables exclude/include criteria.- Author:
- Richard M. Emberson
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExplicitRules.Group
This class forms a collection of aggregate table explicit rules for a given cube.(package private) static class
ExplicitRules.NameTableDef
static class
ExplicitRules.PatternTableDef
This class matches candidate aggregate table name with a pattern.static class
ExplicitRules.TableDef
This is the base class for the exact name based and name pattern based aggregate table mapping definitions.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
excludeTable(java.lang.String tableName, java.util.List<ExplicitRules.Group> aggGroups)
Returns whether the given is tableName explicitly excluded from consideration as a candidate aggregate table.static ExplicitRules.TableDef
getIncludeByTableDef(java.lang.String tableName, java.util.List<ExplicitRules.Group> aggGroups)
Returns theExplicitRules.TableDef
for a tableName that is a candidate aggregate table.
-
-
-
Method Detail
-
excludeTable
public static boolean excludeTable(java.lang.String tableName, java.util.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(java.lang.String tableName, java.util.List<ExplicitRules.Group> aggGroups)
Returns theExplicitRules.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.
-
-