Package org.apache.calcite.sql.util
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
result()
Returns the result of visiting all children of a call to an operator, then the call itself.R
visitChild(SqlVisitor<R> visitor, SqlNode expr, int i, SqlNode operand)
Visits a particular operand of a call, using a given visitor.
-
-
-
Method Detail
-
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, SqlNode operand)
Visits a particular operand of a call, using a given visitor.
-
-