public static class ExplicitRules.PatternTableDef extends ExplicitRules.TableDef
ExplicitRules.TableDef.Level, ExplicitRules.TableDef.MeasureaggGroup, approxRowCount, factCountName, id, ignoreCase, ignoreColumnNames| Constructor and Description |
|---|
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, toStringpublic 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.TableDefpublic void validate(MessageRecorder msgRecorder)
validate in class ExplicitRules.TableDefpublic void print(PrintWriter pw, String prefix)
print in class ExplicitRules.TableDef