Class ExpressionDefaultVisitor<T>
- java.lang.Object
-
- org.apache.flink.table.expressions.ExpressionDefaultVisitor<T>
-
- All Implemented Interfaces:
ExpressionVisitor<T>
- Direct Known Subclasses:
DeclarativeExpressionResolver
,SqlAggFunctionVisitor
@Internal public abstract class ExpressionDefaultVisitor<T> extends Object implements ExpressionVisitor<T>
Implementation ofExpressionVisitor
that redirects all calls todefaultMethod(Expression)
.
-
-
Constructor Summary
Constructors Constructor Description ExpressionDefaultVisitor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract T
defaultMethod(Expression expression)
T
visit(CallExpression call)
T
visit(Expression other)
T
visit(FieldReferenceExpression fieldReference)
T
visit(NestedFieldReferenceExpression nestedFieldReference)
T
visit(TypeLiteralExpression typeLiteral)
T
visit(ValueLiteralExpression valueLiteral)
-
-
-
Method Detail
-
visit
public T visit(CallExpression call)
- Specified by:
visit
in interfaceExpressionVisitor<T>
-
visit
public T visit(ValueLiteralExpression valueLiteral)
- Specified by:
visit
in interfaceExpressionVisitor<T>
-
visit
public T visit(FieldReferenceExpression fieldReference)
- Specified by:
visit
in interfaceExpressionVisitor<T>
-
visit
public T visit(TypeLiteralExpression typeLiteral)
- Specified by:
visit
in interfaceExpressionVisitor<T>
-
visit
public T visit(Expression other)
- Specified by:
visit
in interfaceExpressionVisitor<T>
-
visit
public T visit(NestedFieldReferenceExpression nestedFieldReference)
- Specified by:
visit
in interfaceExpressionVisitor<T>
-
defaultMethod
protected abstract T defaultMethod(Expression expression)
-
-