All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.blazebit.persistence.parser.SQLParserVisitor Maven / Gradle / Ivy

There is a newer version: 1.6.12
Show newest version
// Generated from com\blazebit\persistence\parser\SQLParser.g4 by ANTLR 4.7.2
package com.blazebit.persistence.parser;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;

/**
 * This interface defines a complete generic visitor for a parse tree produced
 * by {@link SQLParser}.
 *
 * @param  The return type of the visit operation. Use {@link Void} for
 * operations with no return type.
 */
public interface SQLParserVisitor extends ParseTreeVisitor {
	/**
	 * Visit a parse tree produced by {@link SQLParser#parseSelectStatement}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitParseSelectStatement(SQLParser.ParseSelectStatementContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#parseFrom}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitParseFrom(SQLParser.ParseFromContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#expression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitExpression(SQLParser.ExpressionContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#primitive_expression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPrimitive_expression(SQLParser.Primitive_expressionContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#case_expression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitCase_expression(SQLParser.Case_expressionContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#unary_operator_expression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitUnary_operator_expression(SQLParser.Unary_operator_expressionContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#bracket_expression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitBracket_expression(SQLParser.Bracket_expressionContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#constant_expression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitConstant_expression(SQLParser.Constant_expressionContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#select_statement}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitSelect_statement(SQLParser.Select_statementContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#subquery}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitSubquery(SQLParser.SubqueryContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#search_condition}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitSearch_condition(SQLParser.Search_conditionContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#search_condition_and}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitSearch_condition_and(SQLParser.Search_condition_andContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#search_condition_not}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitSearch_condition_not(SQLParser.Search_condition_notContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#predicate}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPredicate(SQLParser.PredicateContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#query_expression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitQuery_expression(SQLParser.Query_expressionContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#sql_union}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitSql_union(SQLParser.Sql_unionContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#query_specification}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitQuery_specification(SQLParser.Query_specificationContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#top_clause}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitTop_clause(SQLParser.Top_clauseContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#top_percent}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitTop_percent(SQLParser.Top_percentContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#top_count}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitTop_count(SQLParser.Top_countContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#order_by_clause}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitOrder_by_clause(SQLParser.Order_by_clauseContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#order_by_expression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitOrder_by_expression(SQLParser.Order_by_expressionContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#group_by_item}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitGroup_by_item(SQLParser.Group_by_itemContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#select_list}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitSelect_list(SQLParser.Select_listContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#column_elem}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitColumn_elem(SQLParser.Column_elemContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#expression_elem}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitExpression_elem(SQLParser.Expression_elemContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#select_list_elem}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitSelect_list_elem(SQLParser.Select_list_elemContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#table_sources}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitTable_sources(SQLParser.Table_sourcesContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#table_source}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitTable_source(SQLParser.Table_sourceContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#table_source_item_joined}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitTable_source_item_joined(SQLParser.Table_source_item_joinedContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#table_source_item}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitTable_source_item(SQLParser.Table_source_itemContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#join_part}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitJoin_part(SQLParser.Join_partContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#derived_table}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitDerived_table(SQLParser.Derived_tableContext ctx);
	/**
	 * Visit a parse tree produced by the {@code CAST}
	 * labeled alternative in {@link SQLParser#function_call}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitCAST(SQLParser.CASTContext ctx);
	/**
	 * Visit a parse tree produced by the {@code CONVERT}
	 * labeled alternative in {@link SQLParser#function_call}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitCONVERT(SQLParser.CONVERTContext ctx);
	/**
	 * Visit a parse tree produced by the {@code CURRENT_TIMESTAMP}
	 * labeled alternative in {@link SQLParser#function_call}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitCURRENT_TIMESTAMP(SQLParser.CURRENT_TIMESTAMPContext ctx);
	/**
	 * Visit a parse tree produced by the {@code CURRENT_USER}
	 * labeled alternative in {@link SQLParser#function_call}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitCURRENT_USER(SQLParser.CURRENT_USERContext ctx);
	/**
	 * Visit a parse tree produced by the {@code DATEADD}
	 * labeled alternative in {@link SQLParser#function_call}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitDATEADD(SQLParser.DATEADDContext ctx);
	/**
	 * Visit a parse tree produced by the {@code DATEDIFF}
	 * labeled alternative in {@link SQLParser#function_call}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitDATEDIFF(SQLParser.DATEDIFFContext ctx);
	/**
	 * Visit a parse tree produced by the {@code DATENAME}
	 * labeled alternative in {@link SQLParser#function_call}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitDATENAME(SQLParser.DATENAMEContext ctx);
	/**
	 * Visit a parse tree produced by the {@code DATEPART}
	 * labeled alternative in {@link SQLParser#function_call}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitDATEPART(SQLParser.DATEPARTContext ctx);
	/**
	 * Visit a parse tree produced by the {@code MIN_ACTIVE_ROWVERSION}
	 * labeled alternative in {@link SQLParser#function_call}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitMIN_ACTIVE_ROWVERSION(SQLParser.MIN_ACTIVE_ROWVERSIONContext ctx);
	/**
	 * Visit a parse tree produced by the {@code SESSION_USER}
	 * labeled alternative in {@link SQLParser#function_call}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitSESSION_USER(SQLParser.SESSION_USERContext ctx);
	/**
	 * Visit a parse tree produced by the {@code SYSTEM_USER}
	 * labeled alternative in {@link SQLParser#function_call}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitSYSTEM_USER(SQLParser.SYSTEM_USERContext ctx);
	/**
	 * Visit a parse tree produced by the {@code IFF}
	 * labeled alternative in {@link SQLParser#function_call}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitIFF(SQLParser.IFFContext ctx);
	/**
	 * Visit a parse tree produced by the {@code COUNT}
	 * labeled alternative in {@link SQLParser#function_call}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitCOUNT(SQLParser.COUNTContext ctx);
	/**
	 * Visit a parse tree produced by the {@code ANY_FUNC}
	 * labeled alternative in {@link SQLParser#function_call}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitANY_FUNC(SQLParser.ANY_FUNCContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#switch_section}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitSwitch_section(SQLParser.Switch_sectionContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#switch_search_condition_section}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitSwitch_search_condition_section(SQLParser.Switch_search_condition_sectionContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#as_column_alias}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitAs_column_alias(SQLParser.As_column_aliasContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#as_table_alias}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitAs_table_alias(SQLParser.As_table_aliasContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#table_alias}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitTable_alias(SQLParser.Table_aliasContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#column_alias_list}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitColumn_alias_list(SQLParser.Column_alias_listContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#column_alias}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitColumn_alias(SQLParser.Column_aliasContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#table_value_constructor}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitTable_value_constructor(SQLParser.Table_value_constructorContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#expression_list}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitExpression_list(SQLParser.Expression_listContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#over_clause}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitOver_clause(SQLParser.Over_clauseContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#row_or_range_clause}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitRow_or_range_clause(SQLParser.Row_or_range_clauseContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#window_frame_extent}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitWindow_frame_extent(SQLParser.Window_frame_extentContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#window_frame_bound}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitWindow_frame_bound(SQLParser.Window_frame_boundContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#window_frame_preceding}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitWindow_frame_preceding(SQLParser.Window_frame_precedingContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#window_frame_following}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitWindow_frame_following(SQLParser.Window_frame_followingContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#table_name}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitTable_name(SQLParser.Table_nameContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#full_column_name}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitFull_column_name(SQLParser.Full_column_nameContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#null_notnull}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitNull_notnull(SQLParser.Null_notnullContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#data_type}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitData_type(SQLParser.Data_typeContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#constant}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitConstant(SQLParser.ConstantContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#sign}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitSign(SQLParser.SignContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#id}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitId(SQLParser.IdContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#simple_id}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitSimple_id(SQLParser.Simple_idContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#comparison_operator}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitComparison_operator(SQLParser.Comparison_operatorContext ctx);
	/**
	 * Visit a parse tree produced by {@link SQLParser#assignment_operator}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitAssignment_operator(SQLParser.Assignment_operatorContext ctx);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy