@Internal public abstract class ApiExpressionDefaultVisitor<T> extends ApiExpressionVisitor<T>
ApiExpressionVisitor
that calls defaultMethod(Expression)
by default,
unless other methods are overridden explicitly.Constructor and Description |
---|
ApiExpressionDefaultVisitor() |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
defaultMethod(Expression expression) |
T |
visit(CallExpression call) |
T |
visit(FieldReferenceExpression fieldReference) |
T |
visit(LocalReferenceExpression localReference) |
T |
visit(LookupCallExpression lookupCall) |
T |
visit(NestedFieldReferenceExpression nestedFieldReference) |
T |
visit(ResolvedExpression other)
For resolved expressions created by the planner.
|
T |
visit(SqlCallExpression sqlCall) |
T |
visit(TableReferenceExpression tableReference) |
T |
visit(TypeLiteralExpression typeLiteral) |
T |
visit(UnresolvedCallExpression unresolvedCall) |
T |
visit(UnresolvedReferenceExpression unresolvedReference) |
T |
visit(ValueLiteralExpression valueLiteral) |
T |
visitNonApiExpression(Expression other) |
visit
protected abstract T defaultMethod(Expression expression)
public T visit(CallExpression call)
public T visit(ValueLiteralExpression valueLiteral)
public T visit(FieldReferenceExpression fieldReference)
public T visit(TypeLiteralExpression typeLiteral)
public T visit(TableReferenceExpression tableReference)
visit
in class ApiExpressionVisitor<T>
public T visit(LocalReferenceExpression localReference)
visit
in class ApiExpressionVisitor<T>
public T visit(ResolvedExpression other)
ApiExpressionVisitor
visit
in class ApiExpressionVisitor<T>
public T visit(UnresolvedReferenceExpression unresolvedReference)
visit
in class ApiExpressionVisitor<T>
public T visit(LookupCallExpression lookupCall)
visit
in class ApiExpressionVisitor<T>
public T visit(UnresolvedCallExpression unresolvedCall)
visit
in class ApiExpressionVisitor<T>
public T visit(SqlCallExpression sqlCall)
visit
in class ApiExpressionVisitor<T>
public T visitNonApiExpression(Expression other)
visitNonApiExpression
in class ApiExpressionVisitor<T>
public T visit(NestedFieldReferenceExpression nestedFieldReference)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.