Interface Visitable

All Known Subinterfaces:
Optimizable
All Known Implementing Classes:
AggregateNode, AggregateWindowFunctionNode, AllResultColumn, AlterTableNode, AndNode, AndNoShortCircuitNode, BaseColumnNode, BetweenOperatorNode, BinaryArithmeticOperatorNode, BinaryComparisonOperatorNode, BinaryListOperatorNode, BinaryLogicalOperatorNode, BinaryOperatorNode, BinaryRelationalOperatorNode, BitConstantNode, BooleanConstantNode, CachedValueNode, CallStatementNode, CastNode, CharConstantNode, CoalesceFunctionNode, ColumnDefinitionNode, ColumnReference, ConcatenationOperatorNode, ConditionalNode, ConstantNode, ConstraintDefinitionNode, CreateAliasNode, CreateIndexNode, CreateRoleNode, CreateSchemaNode, CreateSequenceNode, CreateTableNode, CreateTriggerNode, CreateViewNode, CurrentDatetimeOperatorNode, CurrentOfNode, CurrentRowLocationNode, CursorNode, DB2LengthOperatorNode, DDLStatementNode, DefaultNode, DeleteNode, DistinctNode, DMLModGeneratedColumnsStatementNode, DMLModStatementNode, DMLStatementNode, DropAliasNode, DropIndexNode, DropRoleNode, DropSchemaNode, DropSequenceNode, DropTableNode, DropTriggerNode, DropViewNode, ExecSPSNode, ExtractOperatorNode, FKConstraintDefinitionNode, FromBaseTable, FromList, FromSubquery, FromTable, FromVTI, GenerationClauseNode, GetCurrentConnectionNode, GrantNode, GrantRoleNode, GroupByColumn, GroupByList, GroupByNode, HalfOuterJoinNode, HashTableNode, IndexToBaseRowNode, InListOperatorNode, InsertNode, IntersectOrExceptNode, IsNode, IsNullNode, JavaToSQLValueNode, JavaValueNode, JoinNode, LengthOperatorNode, LikeEscapeOperatorNode, LockTableNode, MatchingClauseNode, MaterializeResultSetNode, MaterializeSubqueryNode, MergeNode, MethodCallNode, MiscellaneousStatementNode, ModifyColumnNode, NewInvocationNode, NextSequenceNode, NonStaticMethodCallNode, NOPStatementNode, NormalizeResultSetNode, NotNode, NumericConstantNode, OperatorNode, OrderByColumn, OrderByList, OrderByNode, OrderedColumn, OrderedColumnList, OrNode, ParameterNode, Predicate, PredicateList, PrivilegeNode, ProjectRestrictNode, QueryTreeNode, QueryTreeNodeVector, RenameNode, ResultColumn, ResultColumnList, ResultSetNode, RevokeNode, RevokeRoleNode, RowCountNode, RowNumberFunctionNode, RowResultSetNode, SavepointNode, ScrollInsensitiveResultSetNode, SelectNode, SetConstraintsNode, SetOperatorNode, SetRoleNode, SetSchemaNode, SetTransactionIsolationNode, SimpleStringOperatorNode, SingleChildResultSetNode, SpecialFunctionNode, SQLToJavaValueNode, StatementNode, StaticClassFieldReferenceNode, StaticMethodCallNode, SubqueryList, SubqueryNode, TableElementList, TableElementNode, TableName, TableOperatorNode, TablePrivilegesNode, TernaryOperatorNode, TestConstraintNode, TimestampOperatorNode, TransactionStatementNode, UnaryArithmeticOperatorNode, UnaryComparisonOperatorNode, UnaryDateTimestampOperatorNode, UnaryLogicalOperatorNode, UnaryOperatorNode, UnionNode, UntypedNullConstantNode, UpdateNode, UserTypeConstantNode, ValueNode, ValueNodeList, VarbitConstantNode, VirtualColumnNode, WindowDefinitionNode, WindowFunctionNode, WindowList, WindowNode, WindowReferenceNode, WindowResultSetNode, XMLConstantNode

public interface Visitable
A Visitable is something that can be visited by a Visitor
  • Method Summary

    Modifier and Type
    Method
    Description
    Accept a visitor, and call v.visit() on child nodes as necessary.
    void
    Add a tag to this Visitable.
    boolean
    Return true if this Visitable is tagged with the indicated tag.
  • Method Details

    • accept

      Accept a visitor, and call v.visit() on child nodes as necessary.
      Parameters:
      v - the visitor
      Throws:
      StandardException - on error
    • addTag

      void addTag(String tag)
      Add a tag to this Visitable.
    • taggedWith

      boolean taggedWith(String tag)
      Return true if this Visitable is tagged with the indicated tag.