mondrian.rolap.aggmatcher
Class DefaultDef.ForeignKeyMatch
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.ForeignKeyMatch
- All Implemented Interfaces:
- Serializable, Cloneable, NodeDef
- Enclosing class:
- DefaultDef
public static class DefaultDef.ForeignKeyMatch
- extends DefaultDef.NameMatcher
This is used to identify foreign key columns in a candidate
aggregate table given the name of a foreign key column of the
base fact table. This allows such foreign keys to be identified
by using a regular exprsssion. The default is to simply
match the base fact table's foreign key column name.
- See Also:
- Serialized Form
-
-
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, getMixedChildren_new, getMixedChildren, getText, getType, getWrapper, hashCode, toCompactXML, toString, toXML, verifyEqual |
DefaultDef.ForeignKeyMatch
public DefaultDef.ForeignKeyMatch()
DefaultDef.ForeignKeyMatch
public DefaultDef.ForeignKeyMatch(DOMWrapper _def)
throws XOMException
- Throws:
XOMException
getName
public String getName()
- Specified by:
getName
in interface NodeDef
- Overrides:
getName
in class DefaultDef.NameMatcher
display
public void display(PrintWriter _out,
int _indent)
- Specified by:
display
in interface NodeDef
- Overrides:
display
in class DefaultDef.NameMatcher
displayXML
public void displayXML(XMLOutput _out,
int _indent)
- Specified by:
displayXML
in interface NodeDef
- Overrides:
displayXML
in class DefaultDef.NameMatcher
displayDiff
public boolean displayDiff(ElementDef _other,
PrintWriter _out,
int _indent)
- Overrides:
displayDiff
in class DefaultDef.NameMatcher
validate
public void validate(DefaultDef.AggRules rules,
MessageRecorder msgRecorder)
- Overrides:
validate
in class DefaultDef.NameMatcher
getMatcher
public Recognizer.Matcher getMatcher(String foreignKeyName)
- Overrides:
getMatcher
in class DefaultDef.NameMatcher