Package com.blazebit.persistence.parser
Interface SQLParserVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
SQLParserBaseVisitor
public interface SQLParserVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
SQLParser.-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced by theANY_FUNClabeled alternative inSQLParser.function_call().Visit a parse tree produced bySQLParser.as_column_alias().Visit a parse tree produced bySQLParser.as_table_alias().Visit a parse tree produced bySQLParser.assignment_operator().Visit a parse tree produced bySQLParser.bracket_expression().Visit a parse tree produced bySQLParser.case_expression().Visit a parse tree produced by theCASTlabeled alternative inSQLParser.function_call().Visit a parse tree produced bySQLParser.column_alias().Visit a parse tree produced bySQLParser.column_alias_list().Visit a parse tree produced bySQLParser.column_elem().Visit a parse tree produced bySQLParser.comparison_operator().Visit a parse tree produced bySQLParser.constant().Visit a parse tree produced bySQLParser.constant_expression().Visit a parse tree produced by theCONVERTlabeled alternative inSQLParser.function_call().Visit a parse tree produced by theCOUNTlabeled alternative inSQLParser.function_call().Visit a parse tree produced by theCURRENT_TIMESTAMPlabeled alternative inSQLParser.function_call().Visit a parse tree produced by theCURRENT_USERlabeled alternative inSQLParser.function_call().Visit a parse tree produced bySQLParser.data_type().Visit a parse tree produced by theDATEADDlabeled alternative inSQLParser.function_call().Visit a parse tree produced by theDATEDIFFlabeled alternative inSQLParser.function_call().Visit a parse tree produced by theDATENAMElabeled alternative inSQLParser.function_call().Visit a parse tree produced by theDATEPARTlabeled alternative inSQLParser.function_call().Visit a parse tree produced bySQLParser.derived_table().Visit a parse tree produced bySQLParser.expression().Visit a parse tree produced bySQLParser.expression_elem().Visit a parse tree produced bySQLParser.expression_list().Visit a parse tree produced bySQLParser.full_column_name().Visit a parse tree produced bySQLParser.group_by_item().Visit a parse tree produced bySQLParser.id().Visit a parse tree produced by theIFFlabeled alternative inSQLParser.function_call().Visit a parse tree produced bySQLParser.join_part().Visit a parse tree produced by theMIN_ACTIVE_ROWVERSIONlabeled alternative inSQLParser.function_call().Visit a parse tree produced bySQLParser.null_notnull().Visit a parse tree produced bySQLParser.order_by_clause().Visit a parse tree produced bySQLParser.order_by_expression().Visit a parse tree produced bySQLParser.over_clause().Visit a parse tree produced bySQLParser.parseFrom().Visit a parse tree produced bySQLParser.parseSelectStatement().Visit a parse tree produced bySQLParser.predicate().Visit a parse tree produced bySQLParser.primitive_expression().Visit a parse tree produced bySQLParser.query_expression().Visit a parse tree produced bySQLParser.query_specification().Visit a parse tree produced bySQLParser.row_or_range_clause().Visit a parse tree produced bySQLParser.search_condition().Visit a parse tree produced bySQLParser.search_condition_and().Visit a parse tree produced bySQLParser.search_condition_not().Visit a parse tree produced bySQLParser.select_list().Visit a parse tree produced bySQLParser.select_list_elem().Visit a parse tree produced bySQLParser.select_statement().Visit a parse tree produced by theSESSION_USERlabeled alternative inSQLParser.function_call().Visit a parse tree produced bySQLParser.sign().Visit a parse tree produced bySQLParser.simple_id().Visit a parse tree produced bySQLParser.sql_union().Visit a parse tree produced bySQLParser.subquery().Visit a parse tree produced bySQLParser.switch_search_condition_section().Visit a parse tree produced bySQLParser.switch_section().Visit a parse tree produced by theSYSTEM_USERlabeled alternative inSQLParser.function_call().Visit a parse tree produced bySQLParser.table_alias().Visit a parse tree produced bySQLParser.table_name().Visit a parse tree produced bySQLParser.table_source().Visit a parse tree produced bySQLParser.table_source_item().Visit a parse tree produced bySQLParser.table_source_item_joined().Visit a parse tree produced bySQLParser.table_sources().Visit a parse tree produced bySQLParser.table_value_constructor().Visit a parse tree produced bySQLParser.top_clause().Visit a parse tree produced bySQLParser.top_count().Visit a parse tree produced bySQLParser.top_percent().Visit a parse tree produced bySQLParser.unary_operator_expression().Visit a parse tree produced bySQLParser.window_frame_bound().Visit a parse tree produced bySQLParser.window_frame_extent().Visit a parse tree produced bySQLParser.window_frame_following().Visit a parse tree produced bySQLParser.window_frame_preceding().Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitParseSelectStatement
Visit a parse tree produced bySQLParser.parseSelectStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParseFrom
Visit a parse tree produced bySQLParser.parseFrom().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced bySQLParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimitive_expression
Visit a parse tree produced bySQLParser.primitive_expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCase_expression
Visit a parse tree produced bySQLParser.case_expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnary_operator_expression
Visit a parse tree produced bySQLParser.unary_operator_expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBracket_expression
Visit a parse tree produced bySQLParser.bracket_expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstant_expression
Visit a parse tree produced bySQLParser.constant_expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSelect_statement
Visit a parse tree produced bySQLParser.select_statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubquery
Visit a parse tree produced bySQLParser.subquery().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSearch_condition
Visit a parse tree produced bySQLParser.search_condition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSearch_condition_and
Visit a parse tree produced bySQLParser.search_condition_and().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSearch_condition_not
Visit a parse tree produced bySQLParser.search_condition_not().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPredicate
Visit a parse tree produced bySQLParser.predicate().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQuery_expression
Visit a parse tree produced bySQLParser.query_expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSql_union
Visit a parse tree produced bySQLParser.sql_union().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQuery_specification
Visit a parse tree produced bySQLParser.query_specification().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTop_clause
Visit a parse tree produced bySQLParser.top_clause().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTop_percent
Visit a parse tree produced bySQLParser.top_percent().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTop_count
Visit a parse tree produced bySQLParser.top_count().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOrder_by_clause
Visit a parse tree produced bySQLParser.order_by_clause().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOrder_by_expression
Visit a parse tree produced bySQLParser.order_by_expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGroup_by_item
Visit a parse tree produced bySQLParser.group_by_item().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSelect_list
Visit a parse tree produced bySQLParser.select_list().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitColumn_elem
Visit a parse tree produced bySQLParser.column_elem().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression_elem
Visit a parse tree produced bySQLParser.expression_elem().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSelect_list_elem
Visit a parse tree produced bySQLParser.select_list_elem().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTable_sources
Visit a parse tree produced bySQLParser.table_sources().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTable_source
Visit a parse tree produced bySQLParser.table_source().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTable_source_item_joined
Visit a parse tree produced bySQLParser.table_source_item_joined().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTable_source_item
Visit a parse tree produced bySQLParser.table_source_item().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitJoin_part
Visit a parse tree produced bySQLParser.join_part().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDerived_table
Visit a parse tree produced bySQLParser.derived_table().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCAST
Visit a parse tree produced by theCASTlabeled alternative inSQLParser.function_call().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCONVERT
Visit a parse tree produced by theCONVERTlabeled alternative inSQLParser.function_call().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCURRENT_TIMESTAMP
Visit a parse tree produced by theCURRENT_TIMESTAMPlabeled alternative inSQLParser.function_call().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCURRENT_USER
Visit a parse tree produced by theCURRENT_USERlabeled alternative inSQLParser.function_call().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDATEADD
Visit a parse tree produced by theDATEADDlabeled alternative inSQLParser.function_call().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDATEDIFF
Visit a parse tree produced by theDATEDIFFlabeled alternative inSQLParser.function_call().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDATENAME
Visit a parse tree produced by theDATENAMElabeled alternative inSQLParser.function_call().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDATEPART
Visit a parse tree produced by theDATEPARTlabeled alternative inSQLParser.function_call().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMIN_ACTIVE_ROWVERSION
Visit a parse tree produced by theMIN_ACTIVE_ROWVERSIONlabeled alternative inSQLParser.function_call().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSESSION_USER
Visit a parse tree produced by theSESSION_USERlabeled alternative inSQLParser.function_call().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSYSTEM_USER
Visit a parse tree produced by theSYSTEM_USERlabeled alternative inSQLParser.function_call().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIFF
Visit a parse tree produced by theIFFlabeled alternative inSQLParser.function_call().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCOUNT
Visit a parse tree produced by theCOUNTlabeled alternative inSQLParser.function_call().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitANY_FUNC
Visit a parse tree produced by theANY_FUNClabeled alternative inSQLParser.function_call().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitch_section
Visit a parse tree produced bySQLParser.switch_section().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitch_search_condition_section
Visit a parse tree produced bySQLParser.switch_search_condition_section().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAs_column_alias
Visit a parse tree produced bySQLParser.as_column_alias().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAs_table_alias
Visit a parse tree produced bySQLParser.as_table_alias().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTable_alias
Visit a parse tree produced bySQLParser.table_alias().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitColumn_alias_list
Visit a parse tree produced bySQLParser.column_alias_list().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitColumn_alias
Visit a parse tree produced bySQLParser.column_alias().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTable_value_constructor
Visit a parse tree produced bySQLParser.table_value_constructor().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression_list
Visit a parse tree produced bySQLParser.expression_list().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOver_clause
Visit a parse tree produced bySQLParser.over_clause().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRow_or_range_clause
Visit a parse tree produced bySQLParser.row_or_range_clause().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWindow_frame_extent
Visit a parse tree produced bySQLParser.window_frame_extent().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWindow_frame_bound
Visit a parse tree produced bySQLParser.window_frame_bound().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWindow_frame_preceding
Visit a parse tree produced bySQLParser.window_frame_preceding().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWindow_frame_following
Visit a parse tree produced bySQLParser.window_frame_following().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTable_name
Visit a parse tree produced bySQLParser.table_name().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFull_column_name
Visit a parse tree produced bySQLParser.full_column_name().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNull_notnull
Visit a parse tree produced bySQLParser.null_notnull().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitData_type
Visit a parse tree produced bySQLParser.data_type().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstant
Visit a parse tree produced bySQLParser.constant().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSign
Visit a parse tree produced bySQLParser.sign().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitId
Visit a parse tree produced bySQLParser.id().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSimple_id
Visit a parse tree produced bySQLParser.simple_id().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparison_operator
Visit a parse tree produced bySQLParser.comparison_operator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignment_operator
Visit a parse tree produced bySQLParser.assignment_operator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-