Class TagFilter

  • All Implemented Interfaces:
    VisitableFilter

    public class TagFilter
    extends java.lang.Object
    implements VisitableFilter
    Filter which passes Visitables which have been marked with a given tag.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String _tag  
      static java.lang.String NEED_PRIVS_FOR_UPDATE_STMT
      Tag placed on QueryTreeNodes which need privilege checks for UPDATE statements
      static java.lang.String ORIG_UPDATE_COL
      Tag placed on the original ColumnReferences in an UPDATE, before unreferenced columns are added
    • Constructor Summary

      Constructors 
      Constructor Description
      TagFilter​(java.lang.String tag)
      Construct a filter for the given tag.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(Visitable visitable)
      Return true if the Visitable passes the filter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NEED_PRIVS_FOR_UPDATE_STMT

        public static final java.lang.String NEED_PRIVS_FOR_UPDATE_STMT
        Tag placed on QueryTreeNodes which need privilege checks for UPDATE statements
        See Also:
        Constant Field Values
      • ORIG_UPDATE_COL

        public static final java.lang.String ORIG_UPDATE_COL
        Tag placed on the original ColumnReferences in an UPDATE, before unreferenced columns are added
        See Also:
        Constant Field Values
      • _tag

        private java.lang.String _tag
    • Constructor Detail

      • TagFilter

        public TagFilter​(java.lang.String tag)
        Construct a filter for the given tag.