Package 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
,org.eigenbase.xom.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
-
-
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
Constructors Constructor Description ForeignKeyMatch()
ForeignKeyMatch(org.eigenbase.xom.DOMWrapper _def)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 foreignKeyName)
String
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
-
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
getName
in classDefaultDef.NameMatcher
-
display
public void display(PrintWriter _out, int _indent)
- 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
public boolean displayDiff(org.eigenbase.xom.ElementDef _other, PrintWriter _out, int _indent)
- Overrides:
displayDiff
in classDefaultDef.NameMatcher
-
validate
public void validate(DefaultDef.AggRules rules, MessageRecorder msgRecorder)
- Overrides:
validate
in classDefaultDef.NameMatcher
-
getMatcher
public mondrian.rolap.aggmatcher.Recognizer.Matcher getMatcher(String foreignKeyName)
- Overrides:
getMatcher
in classDefaultDef.NameMatcher
-
-