Class TagFilter
- java.lang.Object
-
- org.apache.derby.iapi.sql.compile.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 statementsstatic 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.
-
-
-
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
-
-
Method Detail
-
accept
public boolean accept(Visitable visitable) throws StandardException
Description copied from interface:VisitableFilter
Return true if the Visitable passes the filter.- Specified by:
accept
in interfaceVisitableFilter
- Throws:
StandardException
-
-