Package mondrian.rolap.aggmatcher
Class DefaultDef.FactCountMatch
- java.lang.Object
-
- org.eigenbase.xom.ElementDef
-
- mondrian.rolap.aggmatcher.DefaultDef.Base
-
- mondrian.rolap.aggmatcher.DefaultDef.CaseMatcher
-
- mondrian.rolap.aggmatcher.DefaultDef.NameMatcher
-
- mondrian.rolap.aggmatcher.DefaultDef.FactCountMatch
-
- All Implemented Interfaces:
Serializable,Cloneable,NodeDef
- Enclosing class:
- DefaultDef
public static class DefaultDef.FactCountMatch extends DefaultDef.NameMatcher
This is used to identify the "fact_count" column in an aggregate table. It allows one to match using regular exprssions. The default is that the name of the fact count colum is simply the string "fact_count".- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description StringfactCountName-
Fields inherited from class mondrian.rolap.aggmatcher.DefaultDef.NameMatcher
basename, baseNamePattern, posttemplate, pretemplate
-
Fields inherited from class mondrian.rolap.aggmatcher.DefaultDef.CaseMatcher
_charcase_values, charcase, id
-
Fields inherited from class mondrian.rolap.aggmatcher.DefaultDef.Base
enabled
-
-
Constructor Summary
Constructors Constructor Description FactCountMatch()FactCountMatch(DOMWrapper _def)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisplay(PrintWriter _out, int _indent)booleandisplayDiff(ElementDef _other, PrintWriter _out, int _indent)voiddisplayXML(XMLOutput _out, int _indent)Recognizer.MatchergetMatcher()StringgetName()voidvalidate(DefaultDef.AggRules rules, MessageRecorder msgRecorder)-
Methods inherited from class mondrian.rolap.aggmatcher.DefaultDef.NameMatcher
getMatcher, getRegex
-
Methods inherited from class mondrian.rolap.aggmatcher.DefaultDef.CaseMatcher
getCharCase, getId, getTag
-
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 Detail
-
factCountName
public String factCountName
-
-
Constructor Detail
-
FactCountMatch
public FactCountMatch()
-
FactCountMatch
public FactCountMatch(DOMWrapper _def) throws XOMException
- Throws:
XOMException
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceNodeDef- Overrides:
getNamein classDefaultDef.NameMatcher
-
display
public void display(PrintWriter _out, int _indent)
- Specified by:
displayin interfaceNodeDef- Overrides:
displayin classDefaultDef.NameMatcher
-
displayXML
public void displayXML(XMLOutput _out, int _indent)
- Specified by:
displayXMLin interfaceNodeDef- Overrides:
displayXMLin classDefaultDef.NameMatcher
-
displayDiff
public boolean displayDiff(ElementDef _other, PrintWriter _out, int _indent)
- Overrides:
displayDiffin classDefaultDef.NameMatcher
-
validate
public void validate(DefaultDef.AggRules rules, MessageRecorder msgRecorder)
- Overrides:
validatein classDefaultDef.NameMatcher
-
getMatcher
public Recognizer.Matcher getMatcher()
-
-