Package mondrian.rolap.aggmatcher
Class DefaultDef.AggRules
java.lang.Object
org.eigenbase.xom.ElementDef
mondrian.rolap.aggmatcher.DefaultDef.AggRules
- All Implemented Interfaces:
Serializable
,Cloneable
,org.eigenbase.xom.NodeDef
- Enclosing class:
- DefaultDef
public static class DefaultDef.AggRules
extends org.eigenbase.xom.ElementDef
The set of "named" rules for matching aggregate tables.
Only one rule can be applied to a given connection. In
addition, one rule must be set as the default - this rule
is always the choice when not selecting by name.
It is very important that the AggRules validate method is called
prior to using any of the object.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionAll AggRules (at least one).All shared FactCountMatches.All shared ForeignKeyMatches.All shared IgnoreMap.All shared LevelMap.All shared MeasureMap.All shared TableMatches. -
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) getAggRule
(String tag) protected static org.apache.logging.log4j.Logger
getName()
getTag()
boolean
hasAggRule
(String id) boolean
boolean
boolean
hasIgnoreMap
(String id) boolean
hasLevelMap
(String id) boolean
hasMeasureMap
(String id) boolean
hasTableMatch
(String id) lookupAggRule
(String id) lookupLevelMap
(String id) void
validate
(MessageRecorder msgRecorder) 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
-
tableMatches
All shared TableMatches. -
factCountMatches
All shared FactCountMatches. -
foreignKeyMatches
All shared ForeignKeyMatches. -
levelMaps
All shared LevelMap. -
measureMaps
All shared MeasureMap. -
ignoreMaps
All shared IgnoreMap. -
aggRules
All AggRules (at least one). Also, one of them must be marked with default=true.
-
-
Constructor Details
-
AggRules
public AggRules() -
AggRules
public AggRules(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 classorg.eigenbase.xom.ElementDef
-
display
-
displayXML
public void displayXML(org.eigenbase.xom.XMLOutput _out, int _indent) - Specified by:
displayXML
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
displayXML
in classorg.eigenbase.xom.ElementDef
-
displayDiff
- Overrides:
displayDiff
in classorg.eigenbase.xom.ElementDef
-
getLogger
protected static org.apache.logging.log4j.Logger getLogger() -
getTag
-
getAggRule
-
validate
-
hasIgnoreMap
-
lookupIgnoreMap
-
hasFactCountMatch
-
lookupFactCountMatch
-
hasForeignKeyMatch
-
lookupForeignKeyMatch
-
hasTableMatch
-
lookupTableMatch
-
hasLevelMap
-
lookupLevelMap
-
hasMeasureMap
-
lookupMeasureMap
-
hasAggRule
-
lookupAggRule
-
getIgnoreMaps
-
getFactCountMatches
-
getForeignKeyMatches
-
getTableMatches
-
getLevelMaps
-
getMeasureMaps
-
getAggRules
-