io.trino.plugin.deltalake.expression.SparkExpressionBaseVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trino-delta-lake Show documentation
Show all versions of trino-delta-lake Show documentation
Trino - Delta Lake connector
// Generated from io/trino/plugin/deltalake/expression/SparkExpressionBase.g4 by ANTLR 4.13.1
package io.trino.plugin.deltalake.expression;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
/**
* This interface defines a complete generic visitor for a parse tree produced
* by {@link SparkExpressionBaseParser}.
*
* @param The return type of the visit operation. Use {@link Void} for
* operations with no return type.
*/
public interface SparkExpressionBaseVisitor extends ParseTreeVisitor {
/**
* Visit a parse tree produced by {@link SparkExpressionBaseParser#standaloneExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitStandaloneExpression(SparkExpressionBaseParser.StandaloneExpressionContext ctx);
/**
* Visit a parse tree produced by {@link SparkExpressionBaseParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression(SparkExpressionBaseParser.ExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code predicated}
* labeled alternative in {@link SparkExpressionBaseParser#booleanExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPredicated(SparkExpressionBaseParser.PredicatedContext ctx);
/**
* Visit a parse tree produced by the {@code or}
* labeled alternative in {@link SparkExpressionBaseParser#booleanExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitOr(SparkExpressionBaseParser.OrContext ctx);
/**
* Visit a parse tree produced by the {@code and}
* labeled alternative in {@link SparkExpressionBaseParser#booleanExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAnd(SparkExpressionBaseParser.AndContext ctx);
/**
* Visit a parse tree produced by the {@code comparison}
* labeled alternative in {@link SparkExpressionBaseParser#predicate}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitComparison(SparkExpressionBaseParser.ComparisonContext ctx);
/**
* Visit a parse tree produced by the {@code between}
* labeled alternative in {@link SparkExpressionBaseParser#predicate}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBetween(SparkExpressionBaseParser.BetweenContext ctx);
/**
* Visit a parse tree produced by the {@code valueExpressionDefault}
* labeled alternative in {@link SparkExpressionBaseParser#valueExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitValueExpressionDefault(SparkExpressionBaseParser.ValueExpressionDefaultContext ctx);
/**
* Visit a parse tree produced by the {@code arithmeticBinary}
* labeled alternative in {@link SparkExpressionBaseParser#valueExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitArithmeticBinary(SparkExpressionBaseParser.ArithmeticBinaryContext ctx);
/**
* Visit a parse tree produced by the {@code numericLiteral}
* labeled alternative in {@link SparkExpressionBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNumericLiteral(SparkExpressionBaseParser.NumericLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code booleanLiteral}
* labeled alternative in {@link SparkExpressionBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBooleanLiteral(SparkExpressionBaseParser.BooleanLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code nullLiteral}
* labeled alternative in {@link SparkExpressionBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNullLiteral(SparkExpressionBaseParser.NullLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code stringLiteral}
* labeled alternative in {@link SparkExpressionBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitStringLiteral(SparkExpressionBaseParser.StringLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code columnReference}
* labeled alternative in {@link SparkExpressionBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitColumnReference(SparkExpressionBaseParser.ColumnReferenceContext ctx);
/**
* Visit a parse tree produced by the {@code unicodeStringLiteral}
* labeled alternative in {@link SparkExpressionBaseParser#string}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitUnicodeStringLiteral(SparkExpressionBaseParser.UnicodeStringLiteralContext ctx);
/**
* Visit a parse tree produced by {@link SparkExpressionBaseParser#comparisonOperator}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitComparisonOperator(SparkExpressionBaseParser.ComparisonOperatorContext ctx);
/**
* Visit a parse tree produced by {@link SparkExpressionBaseParser#booleanValue}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBooleanValue(SparkExpressionBaseParser.BooleanValueContext ctx);
/**
* Visit a parse tree produced by the {@code unquotedIdentifier}
* labeled alternative in {@link SparkExpressionBaseParser#identifier}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitUnquotedIdentifier(SparkExpressionBaseParser.UnquotedIdentifierContext ctx);
/**
* Visit a parse tree produced by the {@code backQuotedIdentifier}
* labeled alternative in {@link SparkExpressionBaseParser#identifier}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBackQuotedIdentifier(SparkExpressionBaseParser.BackQuotedIdentifierContext ctx);
/**
* Visit a parse tree produced by the {@code integerLiteral}
* labeled alternative in {@link SparkExpressionBaseParser#number}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitIntegerLiteral(SparkExpressionBaseParser.IntegerLiteralContext ctx);
}