Interface SqlBasicVisitor.ArgHandler<R>

Type Parameters:
R - result type
All Known Implementing Classes:
SqlBasicVisitor.ArgHandlerImpl, SqlShuttle.CallCopyingArgHandler
Enclosing class:
SqlBasicVisitor<R>

public static interface SqlBasicVisitor.ArgHandler<R>
Argument handler.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the result of visiting all children of a call to an operator, then the call itself.
    visitChild(SqlVisitor<R> visitor, SqlNode expr, int i, @Nullable SqlNode operand)
    Visits a particular operand of a call, using a given visitor.
  • Method Details

    • result

      R result()
      Returns the result of visiting all children of a call to an operator, then the call itself.

      Typically the result will be the result of the last child visited, or (if R is Boolean) whether all children were visited successfully.

    • visitChild

      R visitChild(SqlVisitor<R> visitor, SqlNode expr, int i, @Nullable SqlNode operand)
      Visits a particular operand of a call, using a given visitor.