Package mondrian.rolap.aggmatcher
Class DefaultDef.AggRule
java.lang.Object
org.eigenbase.xom.ElementDef
mondrian.rolap.aggmatcher.DefaultDef.Base
mondrian.rolap.aggmatcher.DefaultDef.AggRule
- All Implemented Interfaces:
Serializable
,Cloneable
,org.eigenbase.xom.NodeDef
- Enclosing class:
- DefaultDef
A RolapConnection uses one AggRule. If no name is specified, then
the AggRule which is marked as default==true is used (validation
fails if one and only one AggRule is not marked as the default).
An AggRule has manditory child elements for matching the
aggregate table names, aggregate table fact count column,
foreign key columns, the measure columns, and the hierarchy level
columns. These child elements can be specified as direct children
of an AggRule element or by reference to elements defined as a
pier to the AggRule (using references allows reuse of the child
elements and with one quick edit the reference to use can be
changed by changing the refid attribute value).
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionFields 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) getName()
getTag()
void
validate
(DefaultDef.AggRules rules, MessageRecorder msgRecorder) 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
-
Field Details
-
tag
-
countColumn
-
ignoreMap
-
ignoreMapRef
-
factCountMatch
-
factCountMatchRef
-
foreignKeyMatch
-
foreignKeyMatchRef
-
tableMatch
-
tableMatchRef
-
levelMap
-
levelMapRef
-
measureMap
-
measureMapRef
-
-
Constructor Details
-
AggRule
public AggRule() -
AggRule
public AggRule(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.Base
-
display
- Specified by:
display
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
display
in classDefaultDef.Base
-
displayXML
public void displayXML(org.eigenbase.xom.XMLOutput _out, int _indent) - Specified by:
displayXML
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
displayXML
in classDefaultDef.Base
-
displayDiff
- Overrides:
displayDiff
in classDefaultDef.Base
-
validate
- Specified by:
validate
in classDefaultDef.Base
-
getTag
- Specified by:
getTag
in classDefaultDef.Base
-
getCountColumn
-
getFactCountMatch
-
getForeignKeyMatch
-
getTableMatch
-
getLevelMap
-
getMeasureMap
-
getIgnoreMap
-