mondrian.rolap.aggmatcher
Class DefaultDef.TableMatch

java.lang.Object
  extended by org.eigenbase.xom.ElementDef
      extended by mondrian.rolap.aggmatcher.DefaultDef.Base
          extended by mondrian.rolap.aggmatcher.DefaultDef.CaseMatcher
              extended by mondrian.rolap.aggmatcher.DefaultDef.NameMatcher
                  extended by mondrian.rolap.aggmatcher.DefaultDef.TableMatch
All Implemented Interfaces:
Serializable, Cloneable, NodeDef
Enclosing class:
DefaultDef

public static class DefaultDef.TableMatch
extends DefaultDef.NameMatcher

This is used to identify which tables in the database might be aggregate table of a given fact table. It is expected that aggregate table names will include the base fact table name with additional text before and/or after. It is not allow for both the prepending and appending regular expression text to be null (if it were, then only aggregate tables who names were the same as (modulo case) would match - which is surely not allowed).

See Also:
Serialized Form
 

Field Summary
 
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
DefaultDef.TableMatch()
           
DefaultDef.TableMatch(DOMWrapper _def)
           
 
Method Summary
 void display(PrintWriter _out, int _indent)
           
 boolean displayDiff(ElementDef _other, PrintWriter _out, int _indent)
           
 void displayXML(XMLOutput _out, int _indent)
           
 Recognizer.Matcher getMatcher(String name)
           
 String getName()
           
 void validate(DefaultDef.AggRules rules, MessageRecorder msgRecorder)
           
 
Methods inherited from class mondrian.rolap.aggmatcher.DefaultDef.NameMatcher
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, getMixedChildren_new, getMixedChildren, getText, getType, getWrapper, hashCode, toCompactXML, toString, toXML, verifyEqual
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultDef.TableMatch

public DefaultDef.TableMatch()

DefaultDef.TableMatch

public DefaultDef.TableMatch(DOMWrapper _def)
                      throws XOMException
Throws:
XOMException
Method Detail

getName

public String getName()
Specified by:
getName in interface NodeDef
Overrides:
getName in class DefaultDef.NameMatcher

display

public void display(PrintWriter _out,
                    int _indent)
Specified by:
display in interface NodeDef
Overrides:
display in class DefaultDef.NameMatcher

displayXML

public void displayXML(XMLOutput _out,
                       int _indent)
Specified by:
displayXML in interface NodeDef
Overrides:
displayXML in class DefaultDef.NameMatcher

displayDiff

public boolean displayDiff(ElementDef _other,
                           PrintWriter _out,
                           int _indent)
Overrides:
displayDiff in class DefaultDef.NameMatcher

validate

public void validate(DefaultDef.AggRules rules,
                     MessageRecorder msgRecorder)
Overrides:
validate in class DefaultDef.NameMatcher

getMatcher

public Recognizer.Matcher getMatcher(String name)
Overrides:
getMatcher in class DefaultDef.NameMatcher

SourceForge.net_Logo