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
FieldsModifier 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddisplay(PrintWriter _out, int _indent) booleandisplayDiff(org.eigenbase.xom.ElementDef _other, PrintWriter _out, int _indent) voiddisplayXML(org.eigenbase.xom.XMLOutput _out, int _indent) getAggRule(String tag) protected static org.apache.logging.log4j.LoggergetName()getTag()booleanhasAggRule(String id) booleanbooleanbooleanhasIgnoreMap(String id) booleanhasLevelMap(String id) booleanhasMeasureMap(String id) booleanhasTableMatch(String id) lookupAggRule(String id) lookupLevelMap(String id) voidvalidate(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:
getNamein interfaceorg.eigenbase.xom.NodeDef- Overrides:
getNamein classorg.eigenbase.xom.ElementDef
-
display
-
displayXML
public void displayXML(org.eigenbase.xom.XMLOutput _out, int _indent) - Specified by:
displayXMLin interfaceorg.eigenbase.xom.NodeDef- Overrides:
displayXMLin classorg.eigenbase.xom.ElementDef
-
displayDiff
- Overrides:
displayDiffin 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
-