Class SQL92StatementVisitor
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.apache.shardingsphere.sql.parser.autogen.SQL92StatementBaseVisitor<ASTNode>
-
- org.apache.shardingsphere.sql.parser.sql92.visitor.statement.SQL92StatementVisitor
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<ASTNode>,SQL92StatementVisitor<ASTNode>
- Direct Known Subclasses:
SQL92DALStatementVisitor,SQL92DCLStatementVisitor,SQL92DDLStatementVisitor,SQL92DMLStatementVisitor,SQL92TCLStatementVisitor
public abstract class SQL92StatementVisitor extends SQL92StatementBaseVisitor<ASTNode>
Statement visitor for SQL92.
-
-
Constructor Summary
Constructors Constructor Description SQL92StatementVisitor()
-
Method Summary
-
Methods inherited from class org.apache.shardingsphere.sql.parser.autogen.SQL92StatementBaseVisitor
visitAddColumnSpecification, visitAddConstraintSpecification, visitAggregationFunctionName, visitAlias, visitAlterDefinitionClause, visitAlterTable, visitAndOperator, visitAssignment, visitAssignmentValue, visitAssignmentValues, visitBlobValue, visitCaseElse, visitCaseExpression, visitCaseWhen, visitCharacterSet, visitCharacterSetName, visitCheckConstraintDefinition, visitCollateClause, visitColumnDefinition, visitCombineClause, visitCommit, visitComparisonOperator, visitConstraintDefinition, visitConstraintName, visitConvertFunction, visitCreateDatabase, visitCreateDatabaseSpecification_, visitCreateDefinition, visitCreateDefinitionClause, visitCreateLikeClause, visitCreateTable, visitCreateTableSpecification, visitCreateView, visitDataTypeOption, visitDateTimeLiterals, visitDelete, visitDistinct, visitDropBehaviour, visitDropColumnSpecification, visitDropConstraintSpecification, visitDropDatabase, visitDropTable, visitDropView, visitDuplicateSpecification, visitEscapedTableReference, visitExecute, visitExtractFunction, visitForeignKeyOption, visitFromClause, visitGrant, visitGrantee, visitGroupByClause, visitHavingClause, visitIgnoredIdentifier, visitInsert, visitInsertSelectClause, visitInsertValuesClause, visitIntervalUnit, visitJoinedTable, visitJoinSpecification, visitKeyPart, visitKeyParts, visitLevelOfIsolation, visitLimitClause, visitLimitOffset, visitLimitRowCount, visitMatchExpression, visitModifyColumnSpecification, visitName, visitNotOperator, visitObjectType, visitOnObjectClause, visitOrOperator, visitOwner, visitPositionFunction, visitPrimaryKey, visitPrimaryKeyOption, visitPrivilegeClause, visitPrivilegeLevel, visitPrivileges, visitPrivilegeType, visitProjection, visitProjections, visitQualifiedShorthand, visitReferenceDefinition, visitReferenceOption, visitRegularFunctionName, visitRevoke, visitRollback, visitSelect, visitSelectClause, visitSelectSpecification, visitSetAssignmentsClause, visitSetTransaction, visitSingleTableClause, visitSubquery, visitSubstringFunction, visitTableFactor, visitTableReference, visitTableReferences, visitTrimFunction, visitUniqueOption, visitUnqualifiedShorthand, visitUpdate, visitVariable, visitViewName, visitWhereClause
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitParameterMarker
public final ASTNode visitParameterMarker(SQL92StatementParser.ParameterMarkerContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.parameterMarker().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParameterMarkerin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitParameterMarkerin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiterals
public final ASTNode visitLiterals(SQL92StatementParser.LiteralsContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.literals().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralsin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitLiteralsin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStringLiterals
public final ASTNode visitStringLiterals(SQL92StatementParser.StringLiteralsContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.stringLiterals().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStringLiteralsin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitStringLiteralsin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumberLiterals
public final ASTNode visitNumberLiterals(SQL92StatementParser.NumberLiteralsContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.numberLiterals().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNumberLiteralsin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitNumberLiteralsin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHexadecimalLiterals
public final ASTNode visitHexadecimalLiterals(SQL92StatementParser.HexadecimalLiteralsContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.hexadecimalLiterals().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitHexadecimalLiteralsin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitHexadecimalLiteralsin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBitValueLiterals
public final ASTNode visitBitValueLiterals(SQL92StatementParser.BitValueLiteralsContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.bitValueLiterals().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBitValueLiteralsin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitBitValueLiteralsin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBooleanLiterals
public final ASTNode visitBooleanLiterals(SQL92StatementParser.BooleanLiteralsContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.booleanLiterals().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBooleanLiteralsin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitBooleanLiteralsin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNullValueLiterals
public final ASTNode visitNullValueLiterals(SQL92StatementParser.NullValueLiteralsContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.nullValueLiterals().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNullValueLiteralsin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitNullValueLiteralsin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifier
public final ASTNode visitIdentifier(SQL92StatementParser.IdentifierContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.identifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdentifierin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitIdentifierin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnreservedWord
public final ASTNode visitUnreservedWord(SQL92StatementParser.UnreservedWordContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.unreservedWord().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnreservedWordin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitUnreservedWordin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSchemaName
public final ASTNode visitSchemaName(SQL92StatementParser.SchemaNameContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.schemaName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSchemaNamein interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitSchemaNamein classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTableName
public final ASTNode visitTableName(SQL92StatementParser.TableNameContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.tableName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTableNamein interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitTableNamein classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitColumnName
public final ASTNode visitColumnName(SQL92StatementParser.ColumnNameContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.columnName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitColumnNamein interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitColumnNamein classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTableNames
public final ASTNode visitTableNames(SQL92StatementParser.TableNamesContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.tableNames().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTableNamesin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitTableNamesin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitColumnNames
public final ASTNode visitColumnNames(SQL92StatementParser.ColumnNamesContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.columnNames().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitColumnNamesin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitColumnNamesin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpr
public final ASTNode visitExpr(SQL92StatementParser.ExprContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExprin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitExprin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBooleanPrimary
public final ASTNode visitBooleanPrimary(SQL92StatementParser.BooleanPrimaryContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.booleanPrimary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBooleanPrimaryin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitBooleanPrimaryin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPredicate
public final ASTNode visitPredicate(SQL92StatementParser.PredicateContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.predicate().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPredicatein interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitPredicatein classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBitExpr
public final ASTNode visitBitExpr(SQL92StatementParser.BitExprContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.bitExpr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBitExprin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitBitExprin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSimpleExpr
public final ASTNode visitSimpleExpr(SQL92StatementParser.SimpleExprContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.simpleExpr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSimpleExprin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitSimpleExprin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntervalExpression
public final ASTNode visitIntervalExpression(SQL92StatementParser.IntervalExpressionContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.intervalExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIntervalExpressionin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitIntervalExpressionin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionCall
public final ASTNode visitFunctionCall(SQL92StatementParser.FunctionCallContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.functionCall().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionCallin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitFunctionCallin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAggregationFunction
public final ASTNode visitAggregationFunction(SQL92StatementParser.AggregationFunctionContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.aggregationFunction().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAggregationFunctionin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitAggregationFunctionin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSpecialFunction
public final ASTNode visitSpecialFunction(SQL92StatementParser.SpecialFunctionContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.specialFunction().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSpecialFunctionin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitSpecialFunctionin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCastFunction
public final ASTNode visitCastFunction(SQL92StatementParser.CastFunctionContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.castFunction().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCastFunctionin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitCastFunctionin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRegularFunction
public final ASTNode visitRegularFunction(SQL92StatementParser.RegularFunctionContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.regularFunction().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRegularFunctionin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitRegularFunctionin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDataTypeName
public final ASTNode visitDataTypeName(SQL92StatementParser.DataTypeNameContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.dataTypeName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDataTypeNamein interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitDataTypeNamein classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOrderByClause
public final ASTNode visitOrderByClause(SQL92StatementParser.OrderByClauseContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.orderByClause().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOrderByClausein interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitOrderByClausein classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOrderByItem
public final ASTNode visitOrderByItem(SQL92StatementParser.OrderByItemContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.orderByItem().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOrderByItemin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitOrderByItemin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDataType
public final ASTNode visitDataType(SQL92StatementParser.DataTypeContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.dataType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDataTypein interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitDataTypein classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDataTypeLength
public final ASTNode visitDataTypeLength(SQL92StatementParser.DataTypeLengthContext ctx)
Description copied from class:SQL92StatementBaseVisitorVisit a parse tree produced bySQL92StatementParser.dataTypeLength().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDataTypeLengthin interfaceSQL92StatementVisitor<ASTNode>- Overrides:
visitDataTypeLengthin classSQL92StatementBaseVisitor<ASTNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
getOriginalText
protected String getOriginalText(org.antlr.v4.runtime.ParserRuleContext ctx)
Get original text.- Parameters:
ctx- context- Returns:
- original text
-
-