Class DefaultDef.NameMatcher

  • All Implemented Interfaces:
    Serializable, Cloneable, org.eigenbase.xom.NodeDef
    Direct Known Subclasses:
    DefaultDef.FactCountMatch, DefaultDef.ForeignKeyMatch, DefaultDef.TableMatch
    Enclosing class:
    DefaultDef

    public abstract static class DefaultDef.NameMatcher
    extends DefaultDef.CaseMatcher
    A NameMatcher is a CaseMatcher that prepends and appends regular expressions to a given string as part of creating the matching regular expression. Both the pre/post regular expression can be null in which case matches are applied simply against the name (modulo case considerations). The purpose of this class is to allow aggregate tables to be identified when their table names are formed by placing text before and/or after the base fact table name.
    See Also:
    Serialized Form
    • Field Detail

      • pretemplate

        public String pretemplate
      • posttemplate

        public String posttemplate
      • basename

        public String basename
    • Constructor Detail

      • NameMatcher

        public NameMatcher()
      • NameMatcher

        public NameMatcher​(org.eigenbase.xom.DOMWrapper _def)
                    throws org.eigenbase.xom.XOMException
        Throws:
        org.eigenbase.xom.XOMException