Package mondrian.rolap.aggmatcher
Class DefaultDef.MeasureMap
java.lang.Object
org.eigenbase.xom.ElementDef
mondrian.rolap.aggmatcher.DefaultDef.Base
mondrian.rolap.aggmatcher.DefaultDef.RegexMapper
mondrian.rolap.aggmatcher.DefaultDef.MeasureMap
- All Implemented Interfaces:
Serializable
,Cloneable
,org.eigenbase.xom.NodeDef
- Enclosing class:
- DefaultDef
This is the template that maps from a combination of measure
measure_name,
measure_column_name, and
aggregate_name ("count", "sum", "avg", "min", "max",
"distinct-count").
- See Also:
-
Field Summary
Fields inherited from class mondrian.rolap.aggmatcher.DefaultDef.RegexMapper
id, regexs
Fields 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) protected mondrian.rolap.aggmatcher.Recognizer.Matcher
getMatcher
(String measureName, String measuerColumnName, String aggregateName) getName()
protected String[]
This must be defined in derived classes.Methods inherited from class mondrian.rolap.aggmatcher.DefaultDef.RegexMapper
getMatcher, getTag, validate
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
-
Constructor Details
-
MeasureMap
public MeasureMap() -
MeasureMap
public MeasureMap(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.RegexMapper
-
display
- Specified by:
display
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
display
in classDefaultDef.RegexMapper
-
displayXML
public void displayXML(org.eigenbase.xom.XMLOutput _out, int _indent) - Specified by:
displayXML
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
displayXML
in classDefaultDef.RegexMapper
-
displayDiff
- Overrides:
displayDiff
in classDefaultDef.RegexMapper
-
getTemplateNames
Description copied from class:DefaultDef.RegexMapper
This must be defined in derived classes. It returns an array of symbolic names that are the symbolic names allowed to appear in the regular expression templates.- Specified by:
getTemplateNames
in classDefaultDef.RegexMapper
- Returns:
- array of symbol names
-
getMatcher
-