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, NodeDef
- Enclosing class:
- DefaultDef
public static class DefaultDef.AggRule
- extends DefaultDef.Base
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:
- 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 |
tag
public String tag
countColumn
public String countColumn
ignoreMap
public DefaultDef.IgnoreMap ignoreMap
ignoreMapRef
public DefaultDef.IgnoreMapRef ignoreMapRef
factCountMatch
public DefaultDef.FactCountMatch factCountMatch
factCountMatchRef
public DefaultDef.FactCountMatchRef factCountMatchRef
foreignKeyMatch
public DefaultDef.ForeignKeyMatch foreignKeyMatch
foreignKeyMatchRef
public DefaultDef.ForeignKeyMatchRef foreignKeyMatchRef
tableMatch
public DefaultDef.TableMatch tableMatch
tableMatchRef
public DefaultDef.TableMatchRef tableMatchRef
levelMap
public DefaultDef.LevelMap levelMap
levelMapRef
public DefaultDef.LevelMapRef levelMapRef
measureMap
public DefaultDef.MeasureMap measureMap
measureMapRef
public DefaultDef.MeasureMapRef measureMapRef
DefaultDef.AggRule
public DefaultDef.AggRule()
DefaultDef.AggRule
public DefaultDef.AggRule(DOMWrapper _def)
throws XOMException
- Throws:
XOMException
getName
public String getName()
- Specified by:
getName
in interface NodeDef
- Overrides:
getName
in class DefaultDef.Base
display
public void display(PrintWriter _out,
int _indent)
- Specified by:
display
in interface NodeDef
- Overrides:
display
in class DefaultDef.Base
displayXML
public void displayXML(XMLOutput _out,
int _indent)
- Specified by:
displayXML
in interface NodeDef
- Overrides:
displayXML
in class DefaultDef.Base
displayDiff
public boolean displayDiff(ElementDef _other,
PrintWriter _out,
int _indent)
- Overrides:
displayDiff
in class DefaultDef.Base
validate
public void validate(DefaultDef.AggRules rules,
MessageRecorder msgRecorder)
- Specified by:
validate
in class DefaultDef.Base
getTag
public String getTag()
- Specified by:
getTag
in class DefaultDef.Base
getCountColumn
public String getCountColumn()
getFactCountMatch
public DefaultDef.FactCountMatch getFactCountMatch()
getForeignKeyMatch
public DefaultDef.ForeignKeyMatch getForeignKeyMatch()
getTableMatch
public DefaultDef.TableMatch getTableMatch()
getLevelMap
public DefaultDef.LevelMap getLevelMap()
getMeasureMap
public DefaultDef.MeasureMap getMeasureMap()
getIgnoreMap
public DefaultDef.IgnoreMap getIgnoreMap()