mondrian.rolap.aggmatcher
Class ExplicitRules.PatternTableDef
java.lang.Object
mondrian.rolap.aggmatcher.ExplicitRules.TableDef
mondrian.rolap.aggmatcher.ExplicitRules.PatternTableDef
- Enclosing class:
- ExplicitRules
public static class ExplicitRules.PatternTableDef
- extends ExplicitRules.TableDef
This class matches candidate aggregate table name with a pattern.
-
-
Methods inherited from class mondrian.rolap.aggmatcher.ExplicitRules.TableDef |
add, add, addFK, addIgnoreColumnName, addLevelTo, addMeasureTo, columnsOK, getAggGroup, getAggregateFK, getCube, getFactCountMatcher, getFactCountName, getId, getIgnoreColumnNames, getIgnoreMatcher, getLevels, getMeasures, getStar, isIgnoreCase, make, setFactCountName, toString |
ExplicitRules.PatternTableDef
public ExplicitRules.PatternTableDef(String pattern,
boolean ignoreCase,
ExplicitRules.Group group)
make
static ExplicitRules.PatternTableDef make(MondrianDef.AggPattern aggPattern,
ExplicitRules.Group group)
- Make a PatternTableDef from the catalog schema.
getPattern
public Pattern getPattern()
- Get the Pattern.
getExcludes
public List<mondrian.rolap.aggmatcher.ExplicitRules.Exclude> getExcludes()
- Get an Iterator over the list of Excludes.
matches
public boolean matches(String tableName)
- Return true if the tableName 1) matches the pattern and 2) is not
matched by any of the Excludes.
- Specified by:
matches
in class ExplicitRules.TableDef
validate
public void validate(MessageRecorder msgRecorder)
- Validate excludes and base class.
- Overrides:
validate
in class ExplicitRules.TableDef
print
public void print(PrintWriter pw,
String prefix)
- Overrides:
print
in class ExplicitRules.TableDef