mondrian.rolap.aggmatcher
Class ExplicitRules

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

public class ExplicitRules
extends Object

A class containing a RolapCube's Aggregate tables exclude/include criteria.

Version:
$Id: //open/mondrian/src/main/mondrian/rolap/aggmatcher/ExplicitRules.java#25 $
Author:
Richard M. Emberson

Nested Class Summary
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
static boolean excludeTable(String tableName, List<ExplicitRules.Group> aggGroups)
          Returns whether the given is tableName explicitly excluded from consideration as a candidate aggregate table.
static ExplicitRules.TableDef getIncludeByTableDef(String tableName, List<ExplicitRules.Group> aggGroups)
          Returns the ExplicitRules.TableDef for a tableName that is a candidate aggregate table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads