Interface Visitable

All Known Subinterfaces:
Assignment, Condition, Delete, Expression, Insert, Segment, Select, TableLike, Update
All Known Implementing Classes:
AnalyticFunction, AnalyticFunction.Partition, AndCondition, AssignValue, AsteriskFromTable, Between, BindMarker, BooleanLiteral, Cast, Column, Comparison, ConstantCondition, Expressions.SimpleExpression, FalseCondition, From, In, InlineQuery, Into, IsNull, Join, Like, Literal, MultipleCondition, NestedCondition, Not, NumericLiteral, OrCondition, OrderBy, OrderByField, SegmentList, SelectList, SimpleCondition, SimpleFunction, SimpleSegment, StringLiteral, SubselectExpression, Table, TrueCondition, Values, Where

public interface Visitable
Interface for implementations that wish to be visited by a Visitor.
Since:
1.1
Author:
Mark Paluch
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    visit(Visitor visitor)
    Accept a Visitor visiting this Visitable and its nested Visitables if applicable.
  • Method Details

    • visit

      default void visit(Visitor visitor)
      Accept a Visitor visiting this Visitable and its nested Visitables if applicable.
      Parameters:
      visitor - the visitor to notify, must not be null.