Package mondrian.rolap.aggmatcher
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExplicitRules.GroupThis class forms a collection of aggregate table explicit rules for a given cube.static classExplicitRules.PatternTableDefThis class matches candidate aggregate table name with a pattern.static classExplicitRules.TableDefThis 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 booleanexcludeTable(String tableName, List<ExplicitRules.Group> aggGroups)Returns whether the given is tableName explicitly excluded from consideration as a candidate aggregate table.static ExplicitRules.TableDefgetIncludeByTableDef(String tableName, List<ExplicitRules.Group> aggGroups)Returns theExplicitRules.TableDeffor a tableName that is a candidate aggregate table.
-
-
-
Method Detail
-
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 theExplicitRules.TableDeffor 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.
-
-