public static class ExplicitRules.PatternTableDef extends ExplicitRules.TableDef
ExplicitRules.TableDef.Level, ExplicitRules.TableDef.Measure
aggGroup, approxRowCount, factCountName, id, ignoreCase, ignoreColumnNames
Constructor and Description |
---|
ExplicitRules.PatternTableDef(String pattern,
boolean ignoreCase,
ExplicitRules.Group group) |
Modifier and Type | Method and Description |
---|---|
List<mondrian.rolap.aggmatcher.ExplicitRules.Exclude> |
getExcludes()
Get an Iterator over the list of Excludes.
|
Pattern |
getPattern()
Get the Pattern.
|
(package private) static ExplicitRules.PatternTableDef |
make(MondrianDef.AggPattern aggPattern,
ExplicitRules.Group group)
Make a PatternTableDef from the catalog schema.
|
boolean |
matches(String tableName)
Return true if the tableName 1) matches the pattern and 2) is not
matched by any of the Excludes.
|
void |
print(PrintWriter pw,
String prefix) |
void |
validate(MessageRecorder msgRecorder)
Validate excludes and base class.
|
add, add, addFK, addIgnoreColumnName, addLevelTo, addMeasureTo, columnsOK, getAggGroup, getAggregateFK, getApproxRowCount, getCube, getFactCountMatcher, getFactCountName, getIgnoreColumnNames, getIgnoreMatcher, getLevels, getMeasures, getStar, isIgnoreCase, make, setFactCountName, toString
public ExplicitRules.PatternTableDef(String pattern, boolean ignoreCase, ExplicitRules.Group group)
static ExplicitRules.PatternTableDef make(MondrianDef.AggPattern aggPattern, ExplicitRules.Group group)
public Pattern getPattern()
public List<mondrian.rolap.aggmatcher.ExplicitRules.Exclude> getExcludes()
public boolean matches(String tableName)
matches
in class ExplicitRules.TableDef
public void validate(MessageRecorder msgRecorder)
validate
in class ExplicitRules.TableDef
public void print(PrintWriter pw, String prefix)
print
in class ExplicitRules.TableDef