Package mondrian.rolap.aggmatcher
Class DefaultDef.TableMatch
java.lang.Object
org.eigenbase.xom.ElementDef
mondrian.rolap.aggmatcher.DefaultDef.Base
mondrian.rolap.aggmatcher.DefaultDef.CaseMatcher
mondrian.rolap.aggmatcher.DefaultDef.NameMatcher
mondrian.rolap.aggmatcher.DefaultDef.TableMatch
- All Implemented Interfaces:
Serializable
,Cloneable
,org.eigenbase.xom.NodeDef
- Enclosing class:
- DefaultDef
This is used to identify which tables in the database might
be aggregate table of a given fact table.
It is expected that aggregate table names will include the
base fact table name with additional text before and/or
after.
It is not allow for both the prepending and appending
regular expression text to be null (if it were, then only
aggregate tables who names were the same as (modulo case)
would match - which is surely not allowed).
- See Also:
-
Field Summary
Fields inherited from class mondrian.rolap.aggmatcher.DefaultDef.NameMatcher
basename, posttemplate, pretemplate
Fields inherited from class mondrian.rolap.aggmatcher.DefaultDef.CaseMatcher
_charcase_values, charcase, id
Fields inherited from class mondrian.rolap.aggmatcher.DefaultDef.Base
enabled
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
display
(PrintWriter _out, int _indent) boolean
displayDiff
(org.eigenbase.xom.ElementDef _other, PrintWriter _out, int _indent) void
displayXML
(org.eigenbase.xom.XMLOutput _out, int _indent) mondrian.rolap.aggmatcher.Recognizer.Matcher
getMatcher
(String name) getName()
void
validate
(DefaultDef.AggRules rules, MessageRecorder msgRecorder) Methods inherited from class mondrian.rolap.aggmatcher.DefaultDef.NameMatcher
getRegex
Methods inherited from class mondrian.rolap.aggmatcher.DefaultDef.CaseMatcher
getCharCase, getId, getTag
Methods inherited from class mondrian.rolap.aggmatcher.DefaultDef.Base
isEnabled
Methods inherited from class org.eigenbase.xom.ElementDef
addChild, addChildren, clone, constructElement, constructElement, deepCopy, diff, displayAttribute, displayAttributeDiff, displayElement, displayElementArray, displayElementArrayDiff, displayElementDiff, displayIndent, displayString, displayStringArray, displayStringArrayDiff, displayStringDiff, displayXML, displayXMLElement, displayXMLElementArray, displayXMLString, displayXMLStringArray, equals, getChildren, getElementChildren, getElementClass, getLocation, getMixedChildren, getMixedChildren_new, getText, getType, getWrapper, hashCode, toCompactXML, toString, toXML, verifyEqual
-
Constructor Details
-
TableMatch
public TableMatch() -
TableMatch
public TableMatch(org.eigenbase.xom.DOMWrapper _def) throws org.eigenbase.xom.XOMException - Throws:
org.eigenbase.xom.XOMException
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
getName
in classDefaultDef.NameMatcher
-
display
- Specified by:
display
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
display
in classDefaultDef.NameMatcher
-
displayXML
public void displayXML(org.eigenbase.xom.XMLOutput _out, int _indent) - Specified by:
displayXML
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
displayXML
in classDefaultDef.NameMatcher
-
displayDiff
- Overrides:
displayDiff
in classDefaultDef.NameMatcher
-
validate
- Overrides:
validate
in classDefaultDef.NameMatcher
-
getMatcher
- Overrides:
getMatcher
in classDefaultDef.NameMatcher
-