Class NanoSQLTranslator
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- edu.caltech.nanodb.sqlparse.NanoSQLBaseVisitor<java.lang.Object>
-
- edu.caltech.nanodb.sqlparse.NanoSQLTranslator
-
- All Implemented Interfaces:
NanoSQLVisitor<java.lang.Object>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<java.lang.Object>
public class NanoSQLTranslator extends NanoSQLBaseVisitor<java.lang.Object>
This class translates NanoSQL parse trees generated by the ANTLR4 grammar into the corresponding hierarchy ofCommand
andExpression
objects used by the server for command execution.
-
-
Field Summary
Fields Modifier and Type Field Description private FunctionDirectory
functionDirectory
A function directory for resolving function calls.
-
Constructor Summary
Constructors Constructor Description NanoSQLTranslator()
NanoSQLTranslator(FunctionDirectory functionDirectory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
visitAnalyzeStmt(NanoSQLParser.AnalyzeStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.analyzeStmt()
.java.lang.Object
visitBeginTxnStmt(NanoSQLParser.BeginTxnStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.beginTxnStmt()
.java.lang.Object
visitCascadeOptCascade(NanoSQLParser.CascadeOptCascadeContext ctx)
Visit a parse tree produced by theCascadeOptCascade
labeled alternative inNanoSQLParser.cascadeOption()
.java.lang.Object
visitCascadeOptRestrict(NanoSQLParser.CascadeOptRestrictContext ctx)
Visit a parse tree produced by theCascadeOptRestrict
labeled alternative inNanoSQLParser.cascadeOption()
.java.lang.Object
visitCascadeOptSetNull(NanoSQLParser.CascadeOptSetNullContext ctx)
Visit a parse tree produced by theCascadeOptSetNull
labeled alternative inNanoSQLParser.cascadeOption()
.java.lang.Object
visitCmdProperties(NanoSQLParser.CmdPropertiesContext ctx)
Visit a parse tree produced byNanoSQLParser.cmdProperties()
.java.lang.Object
visitColConstraintForeignKey(NanoSQLParser.ColConstraintForeignKeyContext ctx)
Visit a parse tree produced by theColConstraintForeignKey
labeled alternative inNanoSQLParser.columnConstraint()
.java.lang.Object
visitColConstraintNotNull(NanoSQLParser.ColConstraintNotNullContext ctx)
Visit a parse tree produced by theColConstraintNotNull
labeled alternative inNanoSQLParser.columnConstraint()
.java.lang.Object
visitColConstraintPrimaryKey(NanoSQLParser.ColConstraintPrimaryKeyContext ctx)
Visit a parse tree produced by theColConstraintPrimaryKey
labeled alternative inNanoSQLParser.columnConstraint()
.java.lang.Object
visitColConstraintUnique(NanoSQLParser.ColConstraintUniqueContext ctx)
Visit a parse tree produced by theColConstraintUnique
labeled alternative inNanoSQLParser.columnConstraint()
.java.lang.Object
visitColRefNoTable(NanoSQLParser.ColRefNoTableContext ctx)
Visit a parse tree produced by theColRefNoTable
labeled alternative inNanoSQLParser.columnRef()
.java.lang.Object
visitColRefTable(NanoSQLParser.ColRefTableContext ctx)
Visit a parse tree produced by theColRefTable
labeled alternative inNanoSQLParser.columnRef()
.java.lang.Object
visitColRefWildcardNoTable(NanoSQLParser.ColRefWildcardNoTableContext ctx)
Visit a parse tree produced by theColRefWildcardNoTable
labeled alternative inNanoSQLParser.columnRef()
.java.lang.Object
visitColRefWildcardTable(NanoSQLParser.ColRefWildcardTableContext ctx)
Visit a parse tree produced by theColRefWildcardTable
labeled alternative inNanoSQLParser.columnRef()
.java.lang.Object
visitColTypeBigInt(NanoSQLParser.ColTypeBigIntContext ctx)
Visit a parse tree produced by theColTypeBigInt
labeled alternative inNanoSQLParser.columnType()
.java.lang.Object
visitColTypeChar(NanoSQLParser.ColTypeCharContext ctx)
Visit a parse tree produced by theColTypeChar
labeled alternative inNanoSQLParser.columnType()
.java.lang.Object
visitColTypeDate(NanoSQLParser.ColTypeDateContext ctx)
Visit a parse tree produced by theColTypeDate
labeled alternative inNanoSQLParser.columnType()
.java.lang.Object
visitColTypeDateTime(NanoSQLParser.ColTypeDateTimeContext ctx)
Visit a parse tree produced by theColTypeDateTime
labeled alternative inNanoSQLParser.columnType()
.java.lang.Object
visitColTypeDecimal(NanoSQLParser.ColTypeDecimalContext ctx)
Visit a parse tree produced by theColTypeDecimal
labeled alternative inNanoSQLParser.columnType()
.java.lang.Object
visitColTypeDouble(NanoSQLParser.ColTypeDoubleContext ctx)
Visit a parse tree produced by theColTypeDouble
labeled alternative inNanoSQLParser.columnType()
.java.lang.Object
visitColTypeFloat(NanoSQLParser.ColTypeFloatContext ctx)
Visit a parse tree produced by theColTypeFloat
labeled alternative inNanoSQLParser.columnType()
.java.lang.Object
visitColTypeInt(NanoSQLParser.ColTypeIntContext ctx)
Visit a parse tree produced by theColTypeInt
labeled alternative inNanoSQLParser.columnType()
.java.lang.Object
visitColTypeTime(NanoSQLParser.ColTypeTimeContext ctx)
Visit a parse tree produced by theColTypeTime
labeled alternative inNanoSQLParser.columnType()
.java.lang.Object
visitColTypeTimestamp(NanoSQLParser.ColTypeTimestampContext ctx)
Visit a parse tree produced by theColTypeTimestamp
labeled alternative inNanoSQLParser.columnType()
.java.lang.Object
visitColTypeVarChar(NanoSQLParser.ColTypeVarCharContext ctx)
Visit a parse tree produced by theColTypeVarChar
labeled alternative inNanoSQLParser.columnType()
.java.lang.Object
visitCommand(NanoSQLParser.CommandContext ctx)
Visit a parse tree produced byNanoSQLParser.command()
.java.lang.Object
visitCommands(NanoSQLParser.CommandsContext ctx)
Visit a parse tree produced byNanoSQLParser.commands()
.java.lang.Object
visitCommitTxnStmt(NanoSQLParser.CommitTxnStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.commitTxnStmt()
.java.lang.Object
visitCrashStmt(NanoSQLParser.CrashStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.crashStmt()
.java.lang.Object
visitCreateIndexStmt(NanoSQLParser.CreateIndexStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.createIndexStmt()
.java.lang.Object
visitCreateTableStmt(NanoSQLParser.CreateTableStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.createTableStmt()
.java.lang.Object
visitDeleteStmt(NanoSQLParser.DeleteStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.deleteStmt()
.java.lang.Object
visitDropIndexStmt(NanoSQLParser.DropIndexStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.dropIndexStmt()
.java.lang.Object
visitDropTableStmt(NanoSQLParser.DropTableStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.dropTableStmt()
.java.lang.Object
visitDumpIndexStmt(NanoSQLParser.DumpIndexStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.dumpIndexStmt()
.java.lang.Object
visitDumpTableStmt(NanoSQLParser.DumpTableStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.dumpTableStmt()
.java.lang.Object
visitExitStmt(NanoSQLParser.ExitStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.exitStmt()
.java.lang.Object
visitExplainDelete(NanoSQLParser.ExplainDeleteContext ctx)
Visit a parse tree produced by theExplainDelete
labeled alternative inNanoSQLParser.explainStmt()
.java.lang.Object
visitExplainInsert(NanoSQLParser.ExplainInsertContext ctx)
Visit a parse tree produced by theExplainInsert
labeled alternative inNanoSQLParser.explainStmt()
.java.lang.Object
visitExplainSelect(NanoSQLParser.ExplainSelectContext ctx)
Visit a parse tree produced by theExplainSelect
labeled alternative inNanoSQLParser.explainStmt()
.java.lang.Object
visitExplainUpdate(NanoSQLParser.ExplainUpdateContext ctx)
Visit a parse tree produced by theExplainUpdate
labeled alternative inNanoSQLParser.explainStmt()
.java.lang.Object
visitExprAdd(NanoSQLParser.ExprAddContext ctx)
Visit a parse tree produced by theExprAdd
labeled alternative inNanoSQLParser.expression()
.java.lang.Object
visitExprAnd(NanoSQLParser.ExprAndContext ctx)
Visit a parse tree produced by theExprAnd
labeled alternative inNanoSQLParser.expression()
.java.lang.Object
visitExprBetween(NanoSQLParser.ExprBetweenContext ctx)
Visit a parse tree produced by theExprBetween
labeled alternative inNanoSQLParser.expression()
.java.lang.Object
visitExprColumnRef(NanoSQLParser.ExprColumnRefContext ctx)
Visit a parse tree produced by theExprColumnRef
labeled alternative inNanoSQLParser.expression()
.java.lang.Object
visitExprCompare(NanoSQLParser.ExprCompareContext ctx)
Visit a parse tree produced by theExprCompare
labeled alternative inNanoSQLParser.expression()
.java.lang.Object
visitExpressionList(NanoSQLParser.ExpressionListContext ctx)
Visit a parse tree produced byNanoSQLParser.expressionList()
.java.lang.Object
visitExprExists(NanoSQLParser.ExprExistsContext ctx)
Visit a parse tree produced by theExprExists
labeled alternative inNanoSQLParser.expression()
.java.lang.Object
visitExprFunctionCall(NanoSQLParser.ExprFunctionCallContext ctx)
Visit a parse tree produced by theExprFunctionCall
labeled alternative inNanoSQLParser.expression()
.java.lang.Object
visitExprIsNull(NanoSQLParser.ExprIsNullContext ctx)
Visit a parse tree produced by theExprIsNull
labeled alternative inNanoSQLParser.expression()
.java.lang.Object
visitExprLike(NanoSQLParser.ExprLikeContext ctx)
Visit a parse tree produced by theExprLike
labeled alternative inNanoSQLParser.expression()
.java.lang.Object
visitExprLiteral(NanoSQLParser.ExprLiteralContext ctx)
Visit a parse tree produced by theExprLiteral
labeled alternative inNanoSQLParser.expression()
.java.lang.Object
visitExprMul(NanoSQLParser.ExprMulContext ctx)
Visit a parse tree produced by theExprMul
labeled alternative inNanoSQLParser.expression()
.java.lang.Object
visitExprMultiColInSubquery(NanoSQLParser.ExprMultiColInSubqueryContext ctx)
Visit a parse tree produced by theExprMultiColInSubquery
labeled alternative inNanoSQLParser.expression()
.java.lang.Object
visitExprNot(NanoSQLParser.ExprNotContext ctx)
Visit a parse tree produced by theExprNot
labeled alternative inNanoSQLParser.expression()
.java.lang.Object
visitExprOneColInSubquery(NanoSQLParser.ExprOneColInSubqueryContext ctx)
Visit a parse tree produced by theExprOneColInSubquery
labeled alternative inNanoSQLParser.expression()
.java.lang.Object
visitExprOneColInValues(NanoSQLParser.ExprOneColInValuesContext ctx)
Visit a parse tree produced by theExprOneColInValues
labeled alternative inNanoSQLParser.expression()
.java.lang.Object
visitExprOr(NanoSQLParser.ExprOrContext ctx)
Visit a parse tree produced by theExprOr
labeled alternative inNanoSQLParser.expression()
.java.lang.Object
visitExprParen(NanoSQLParser.ExprParenContext ctx)
Visit a parse tree produced by theExprParen
labeled alternative inNanoSQLParser.expression()
.java.lang.Object
visitExprScalarSubquery(NanoSQLParser.ExprScalarSubqueryContext ctx)
Visit a parse tree produced by theExprScalarSubquery
labeled alternative inNanoSQLParser.expression()
.java.lang.Object
visitExprSimilarTo(NanoSQLParser.ExprSimilarToContext ctx)
Visit a parse tree produced by theExprSimilarTo
labeled alternative inNanoSQLParser.expression()
.java.lang.Object
visitExprUnarySign(NanoSQLParser.ExprUnarySignContext ctx)
Visit a parse tree produced by theExprUnarySign
labeled alternative inNanoSQLParser.expression()
.java.lang.Object
visitFlushStmt(NanoSQLParser.FlushStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.flushStmt()
.java.lang.Object
visitFromCrossJoin(NanoSQLParser.FromCrossJoinContext ctx)
Visit a parse tree produced by theFromCrossJoin
labeled alternative inNanoSQLParser.fromExpr()
.java.lang.Object
visitFromImplicitCrossJoin(NanoSQLParser.FromImplicitCrossJoinContext ctx)
Visit a parse tree produced by theFromImplicitCrossJoin
labeled alternative inNanoSQLParser.fromExpr()
.java.lang.Object
visitFromJoinOn(NanoSQLParser.FromJoinOnContext ctx)
Visit a parse tree produced by theFromJoinOn
labeled alternative inNanoSQLParser.fromExpr()
.java.lang.Object
visitFromJoinUsing(NanoSQLParser.FromJoinUsingContext ctx)
Visit a parse tree produced by theFromJoinUsing
labeled alternative inNanoSQLParser.fromExpr()
.java.lang.Object
visitFromNaturalJoin(NanoSQLParser.FromNaturalJoinContext ctx)
Visit a parse tree produced by theFromNaturalJoin
labeled alternative inNanoSQLParser.fromExpr()
.java.lang.Object
visitFromNestedSelect(NanoSQLParser.FromNestedSelectContext ctx)
Visit a parse tree produced by theFromNestedSelect
labeled alternative inNanoSQLParser.fromExpr()
.java.lang.Object
visitFromParens(NanoSQLParser.FromParensContext ctx)
Visit a parse tree produced by theFromParens
labeled alternative inNanoSQLParser.fromExpr()
.java.lang.Object
visitFromTable(NanoSQLParser.FromTableContext ctx)
Visit a parse tree produced by theFromTable
labeled alternative inNanoSQLParser.fromExpr()
.java.lang.Object
visitFromTableFunction(NanoSQLParser.FromTableFunctionContext ctx)
Visit a parse tree produced by theFromTableFunction
labeled alternative inNanoSQLParser.fromExpr()
.java.lang.Object
visitFunctionCall(NanoSQLParser.FunctionCallContext ctx)
Visit a parse tree produced byNanoSQLParser.functionCall()
.java.lang.Object
visitInsertStmt(NanoSQLParser.InsertStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.insertStmt()
.java.lang.Object
visitJoinTypeFullOuter(NanoSQLParser.JoinTypeFullOuterContext ctx)
Visit a parse tree produced by theJoinTypeFullOuter
labeled alternative inNanoSQLParser.joinType()
.java.lang.Object
visitJoinTypeInner(NanoSQLParser.JoinTypeInnerContext ctx)
Visit a parse tree produced by theJoinTypeInner
labeled alternative inNanoSQLParser.joinType()
.java.lang.Object
visitJoinTypeLeftOuter(NanoSQLParser.JoinTypeLeftOuterContext ctx)
Visit a parse tree produced by theJoinTypeLeftOuter
labeled alternative inNanoSQLParser.joinType()
.java.lang.Object
visitJoinTypeRightOuter(NanoSQLParser.JoinTypeRightOuterContext ctx)
Visit a parse tree produced by theJoinTypeRightOuter
labeled alternative inNanoSQLParser.joinType()
.java.lang.Object
visitLiteralDecimal(NanoSQLParser.LiteralDecimalContext ctx)
Visit a parse tree produced by theLiteralDecimal
labeled alternative inNanoSQLParser.literalValue()
.java.lang.Object
visitLiteralFalse(NanoSQLParser.LiteralFalseContext ctx)
Visit a parse tree produced by theLiteralFalse
labeled alternative inNanoSQLParser.literalValue()
.java.lang.Object
visitLiteralInteger(NanoSQLParser.LiteralIntegerContext ctx)
Visit a parse tree produced by theLiteralInteger
labeled alternative inNanoSQLParser.literalValue()
.java.lang.Object
visitLiteralInterval(NanoSQLParser.LiteralIntervalContext ctx)
Visit a parse tree produced by theLiteralInterval
labeled alternative inNanoSQLParser.literalValue()
.java.lang.Object
visitLiteralNull(NanoSQLParser.LiteralNullContext ctx)
Visit a parse tree produced by theLiteralNull
labeled alternative inNanoSQLParser.literalValue()
.java.lang.Object
visitLiteralString(NanoSQLParser.LiteralStringContext ctx)
Visit a parse tree produced by theLiteralString
labeled alternative inNanoSQLParser.literalValue()
.java.lang.Object
visitLiteralTrue(NanoSQLParser.LiteralTrueContext ctx)
Visit a parse tree produced by theLiteralTrue
labeled alternative inNanoSQLParser.literalValue()
.java.lang.Object
visitOptimizeStmt(NanoSQLParser.OptimizeStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.optimizeStmt()
.java.lang.Object
visitOrderByExpr(NanoSQLParser.OrderByExprContext ctx)
Visit a parse tree produced byNanoSQLParser.orderByExpr()
.java.lang.Object
visitRollbackTxnStmt(NanoSQLParser.RollbackTxnStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.rollbackTxnStmt()
.java.lang.Object
visitSelectStmt(NanoSQLParser.SelectStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.selectStmt()
.java.lang.Object
visitSelectValue(NanoSQLParser.SelectValueContext ctx)
Visit a parse tree produced byNanoSQLParser.selectValue()
.java.lang.Object
visitSetPropStmt(NanoSQLParser.SetPropStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.setPropStmt()
.java.lang.Object
visitShowPropsStmt(NanoSQLParser.ShowPropsStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.showPropsStmt()
.java.lang.Object
visitShowSystemStatsStmt(NanoSQLParser.ShowSystemStatsStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.showSystemStatsStmt()
.java.lang.Object
visitShowTablesStmt(NanoSQLParser.ShowTablesStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.showTablesStmt()
.java.lang.Object
visitShowTableStatsStmt(NanoSQLParser.ShowTableStatsStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.showTableStatsStmt()
.java.lang.Object
visitTableColDecl(NanoSQLParser.TableColDeclContext ctx)
Visit a parse tree produced byNanoSQLParser.tableColDecl()
.java.lang.Object
visitTblConstraintForeignKey(NanoSQLParser.TblConstraintForeignKeyContext ctx)
Visit a parse tree produced by theTblConstraintForeignKey
labeled alternative inNanoSQLParser.tableConstraint()
.java.lang.Object
visitTblConstraintPrimaryKey(NanoSQLParser.TblConstraintPrimaryKeyContext ctx)
Visit a parse tree produced by theTblConstraintPrimaryKey
labeled alternative inNanoSQLParser.tableConstraint()
.java.lang.Object
visitTblConstraintUnique(NanoSQLParser.TblConstraintUniqueContext ctx)
Visit a parse tree produced by theTblConstraintUnique
labeled alternative inNanoSQLParser.tableConstraint()
.java.lang.Object
visitUpdateStmt(NanoSQLParser.UpdateStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.updateStmt()
.java.lang.Object
visitVerifyStmt(NanoSQLParser.VerifyStmtContext ctx)
Visit a parse tree produced byNanoSQLParser.verifyStmt()
.-
Methods inherited from class edu.caltech.nanodb.sqlparse.NanoSQLBaseVisitor
visitCommandNoSemicolon
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Field Detail
-
functionDirectory
private FunctionDirectory functionDirectory
A function directory for resolving function calls.
-
-
Constructor Detail
-
NanoSQLTranslator
public NanoSQLTranslator(FunctionDirectory functionDirectory)
-
NanoSQLTranslator
public NanoSQLTranslator()
-
-
Method Detail
-
visitCommands
public java.lang.Object visitCommands(NanoSQLParser.CommandsContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.commands()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCommands
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitCommands
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCommand
public java.lang.Object visitCommand(NanoSQLParser.CommandContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.command()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCommand
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitCommand
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBeginTxnStmt
public java.lang.Object visitBeginTxnStmt(NanoSQLParser.BeginTxnStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.beginTxnStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBeginTxnStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitBeginTxnStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCommitTxnStmt
public java.lang.Object visitCommitTxnStmt(NanoSQLParser.CommitTxnStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.commitTxnStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCommitTxnStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitCommitTxnStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRollbackTxnStmt
public java.lang.Object visitRollbackTxnStmt(NanoSQLParser.RollbackTxnStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.rollbackTxnStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitRollbackTxnStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitRollbackTxnStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFlushStmt
public java.lang.Object visitFlushStmt(NanoSQLParser.FlushStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.flushStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFlushStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitFlushStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExitStmt
public java.lang.Object visitExitStmt(NanoSQLParser.ExitStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.exitStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExitStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExitStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCrashStmt
public java.lang.Object visitCrashStmt(NanoSQLParser.CrashStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.crashStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCrashStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitCrashStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitShowPropsStmt
public java.lang.Object visitShowPropsStmt(NanoSQLParser.ShowPropsStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.showPropsStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitShowPropsStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitShowPropsStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSetPropStmt
public java.lang.Object visitSetPropStmt(NanoSQLParser.SetPropStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.setPropStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSetPropStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitSetPropStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitShowSystemStatsStmt
public java.lang.Object visitShowSystemStatsStmt(NanoSQLParser.ShowSystemStatsStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.showSystemStatsStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitShowSystemStatsStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitShowSystemStatsStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitShowTablesStmt
public java.lang.Object visitShowTablesStmt(NanoSQLParser.ShowTablesStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.showTablesStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitShowTablesStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitShowTablesStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnalyzeStmt
public java.lang.Object visitAnalyzeStmt(NanoSQLParser.AnalyzeStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.analyzeStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAnalyzeStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitAnalyzeStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOptimizeStmt
public java.lang.Object visitOptimizeStmt(NanoSQLParser.OptimizeStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.optimizeStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitOptimizeStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitOptimizeStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVerifyStmt
public java.lang.Object visitVerifyStmt(NanoSQLParser.VerifyStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.verifyStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitVerifyStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitVerifyStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDumpTableStmt
public java.lang.Object visitDumpTableStmt(NanoSQLParser.DumpTableStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.dumpTableStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDumpTableStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitDumpTableStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDumpIndexStmt
public java.lang.Object visitDumpIndexStmt(NanoSQLParser.DumpIndexStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.dumpIndexStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDumpIndexStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitDumpIndexStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitShowTableStatsStmt
public java.lang.Object visitShowTableStatsStmt(NanoSQLParser.ShowTableStatsStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.showTableStatsStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitShowTableStatsStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitShowTableStatsStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCmdProperties
public java.lang.Object visitCmdProperties(NanoSQLParser.CmdPropertiesContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.cmdProperties()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCmdProperties
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitCmdProperties
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCreateTableStmt
public java.lang.Object visitCreateTableStmt(NanoSQLParser.CreateTableStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.createTableStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCreateTableStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitCreateTableStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTableColDecl
public java.lang.Object visitTableColDecl(NanoSQLParser.TableColDeclContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.tableColDecl()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTableColDecl
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitTableColDecl
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitColTypeInt
public java.lang.Object visitColTypeInt(NanoSQLParser.ColTypeIntContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theColTypeInt
labeled alternative inNanoSQLParser.columnType()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitColTypeInt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitColTypeInt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitColTypeBigInt
public java.lang.Object visitColTypeBigInt(NanoSQLParser.ColTypeBigIntContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theColTypeBigInt
labeled alternative inNanoSQLParser.columnType()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitColTypeBigInt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitColTypeBigInt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitColTypeDecimal
public java.lang.Object visitColTypeDecimal(NanoSQLParser.ColTypeDecimalContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theColTypeDecimal
labeled alternative inNanoSQLParser.columnType()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitColTypeDecimal
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitColTypeDecimal
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitColTypeFloat
public java.lang.Object visitColTypeFloat(NanoSQLParser.ColTypeFloatContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theColTypeFloat
labeled alternative inNanoSQLParser.columnType()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitColTypeFloat
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitColTypeFloat
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitColTypeDouble
public java.lang.Object visitColTypeDouble(NanoSQLParser.ColTypeDoubleContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theColTypeDouble
labeled alternative inNanoSQLParser.columnType()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitColTypeDouble
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitColTypeDouble
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitColTypeChar
public java.lang.Object visitColTypeChar(NanoSQLParser.ColTypeCharContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theColTypeChar
labeled alternative inNanoSQLParser.columnType()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitColTypeChar
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitColTypeChar
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitColTypeVarChar
public java.lang.Object visitColTypeVarChar(NanoSQLParser.ColTypeVarCharContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theColTypeVarChar
labeled alternative inNanoSQLParser.columnType()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitColTypeVarChar
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitColTypeVarChar
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitColTypeDate
public java.lang.Object visitColTypeDate(NanoSQLParser.ColTypeDateContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theColTypeDate
labeled alternative inNanoSQLParser.columnType()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitColTypeDate
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitColTypeDate
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitColTypeTime
public java.lang.Object visitColTypeTime(NanoSQLParser.ColTypeTimeContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theColTypeTime
labeled alternative inNanoSQLParser.columnType()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitColTypeTime
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitColTypeTime
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitColTypeDateTime
public java.lang.Object visitColTypeDateTime(NanoSQLParser.ColTypeDateTimeContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theColTypeDateTime
labeled alternative inNanoSQLParser.columnType()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitColTypeDateTime
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitColTypeDateTime
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitColTypeTimestamp
public java.lang.Object visitColTypeTimestamp(NanoSQLParser.ColTypeTimestampContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theColTypeTimestamp
labeled alternative inNanoSQLParser.columnType()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitColTypeTimestamp
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitColTypeTimestamp
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitColConstraintNotNull
public java.lang.Object visitColConstraintNotNull(NanoSQLParser.ColConstraintNotNullContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theColConstraintNotNull
labeled alternative inNanoSQLParser.columnConstraint()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitColConstraintNotNull
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitColConstraintNotNull
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitColConstraintUnique
public java.lang.Object visitColConstraintUnique(NanoSQLParser.ColConstraintUniqueContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theColConstraintUnique
labeled alternative inNanoSQLParser.columnConstraint()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitColConstraintUnique
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitColConstraintUnique
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitColConstraintPrimaryKey
public java.lang.Object visitColConstraintPrimaryKey(NanoSQLParser.ColConstraintPrimaryKeyContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theColConstraintPrimaryKey
labeled alternative inNanoSQLParser.columnConstraint()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitColConstraintPrimaryKey
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitColConstraintPrimaryKey
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitColConstraintForeignKey
public java.lang.Object visitColConstraintForeignKey(NanoSQLParser.ColConstraintForeignKeyContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theColConstraintForeignKey
labeled alternative inNanoSQLParser.columnConstraint()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitColConstraintForeignKey
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitColConstraintForeignKey
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTblConstraintUnique
public java.lang.Object visitTblConstraintUnique(NanoSQLParser.TblConstraintUniqueContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theTblConstraintUnique
labeled alternative inNanoSQLParser.tableConstraint()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTblConstraintUnique
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitTblConstraintUnique
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTblConstraintPrimaryKey
public java.lang.Object visitTblConstraintPrimaryKey(NanoSQLParser.TblConstraintPrimaryKeyContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theTblConstraintPrimaryKey
labeled alternative inNanoSQLParser.tableConstraint()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTblConstraintPrimaryKey
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitTblConstraintPrimaryKey
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTblConstraintForeignKey
public java.lang.Object visitTblConstraintForeignKey(NanoSQLParser.TblConstraintForeignKeyContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theTblConstraintForeignKey
labeled alternative inNanoSQLParser.tableConstraint()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTblConstraintForeignKey
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitTblConstraintForeignKey
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCascadeOptRestrict
public java.lang.Object visitCascadeOptRestrict(NanoSQLParser.CascadeOptRestrictContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theCascadeOptRestrict
labeled alternative inNanoSQLParser.cascadeOption()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCascadeOptRestrict
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitCascadeOptRestrict
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCascadeOptCascade
public java.lang.Object visitCascadeOptCascade(NanoSQLParser.CascadeOptCascadeContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theCascadeOptCascade
labeled alternative inNanoSQLParser.cascadeOption()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCascadeOptCascade
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitCascadeOptCascade
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCascadeOptSetNull
public java.lang.Object visitCascadeOptSetNull(NanoSQLParser.CascadeOptSetNullContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theCascadeOptSetNull
labeled alternative inNanoSQLParser.cascadeOption()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCascadeOptSetNull
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitCascadeOptSetNull
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDropTableStmt
public java.lang.Object visitDropTableStmt(NanoSQLParser.DropTableStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.dropTableStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDropTableStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitDropTableStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCreateIndexStmt
public java.lang.Object visitCreateIndexStmt(NanoSQLParser.CreateIndexStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.createIndexStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCreateIndexStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitCreateIndexStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDropIndexStmt
public java.lang.Object visitDropIndexStmt(NanoSQLParser.DropIndexStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.dropIndexStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDropIndexStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitDropIndexStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSelectStmt
public java.lang.Object visitSelectStmt(NanoSQLParser.SelectStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.selectStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSelectStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitSelectStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSelectValue
public java.lang.Object visitSelectValue(NanoSQLParser.SelectValueContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.selectValue()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSelectValue
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitSelectValue
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitJoinTypeInner
public java.lang.Object visitJoinTypeInner(NanoSQLParser.JoinTypeInnerContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theJoinTypeInner
labeled alternative inNanoSQLParser.joinType()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitJoinTypeInner
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitJoinTypeInner
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitJoinTypeLeftOuter
public java.lang.Object visitJoinTypeLeftOuter(NanoSQLParser.JoinTypeLeftOuterContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theJoinTypeLeftOuter
labeled alternative inNanoSQLParser.joinType()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitJoinTypeLeftOuter
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitJoinTypeLeftOuter
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitJoinTypeRightOuter
public java.lang.Object visitJoinTypeRightOuter(NanoSQLParser.JoinTypeRightOuterContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theJoinTypeRightOuter
labeled alternative inNanoSQLParser.joinType()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitJoinTypeRightOuter
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitJoinTypeRightOuter
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitJoinTypeFullOuter
public java.lang.Object visitJoinTypeFullOuter(NanoSQLParser.JoinTypeFullOuterContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theJoinTypeFullOuter
labeled alternative inNanoSQLParser.joinType()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitJoinTypeFullOuter
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitJoinTypeFullOuter
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFromCrossJoin
public java.lang.Object visitFromCrossJoin(NanoSQLParser.FromCrossJoinContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theFromCrossJoin
labeled alternative inNanoSQLParser.fromExpr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFromCrossJoin
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitFromCrossJoin
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFromNaturalJoin
public java.lang.Object visitFromNaturalJoin(NanoSQLParser.FromNaturalJoinContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theFromNaturalJoin
labeled alternative inNanoSQLParser.fromExpr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFromNaturalJoin
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitFromNaturalJoin
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFromJoinOn
public java.lang.Object visitFromJoinOn(NanoSQLParser.FromJoinOnContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theFromJoinOn
labeled alternative inNanoSQLParser.fromExpr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFromJoinOn
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitFromJoinOn
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFromJoinUsing
public java.lang.Object visitFromJoinUsing(NanoSQLParser.FromJoinUsingContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theFromJoinUsing
labeled alternative inNanoSQLParser.fromExpr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFromJoinUsing
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitFromJoinUsing
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFromImplicitCrossJoin
public java.lang.Object visitFromImplicitCrossJoin(NanoSQLParser.FromImplicitCrossJoinContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theFromImplicitCrossJoin
labeled alternative inNanoSQLParser.fromExpr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFromImplicitCrossJoin
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitFromImplicitCrossJoin
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFromTable
public java.lang.Object visitFromTable(NanoSQLParser.FromTableContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theFromTable
labeled alternative inNanoSQLParser.fromExpr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFromTable
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitFromTable
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFromTableFunction
public java.lang.Object visitFromTableFunction(NanoSQLParser.FromTableFunctionContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theFromTableFunction
labeled alternative inNanoSQLParser.fromExpr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFromTableFunction
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitFromTableFunction
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFromNestedSelect
public java.lang.Object visitFromNestedSelect(NanoSQLParser.FromNestedSelectContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theFromNestedSelect
labeled alternative inNanoSQLParser.fromExpr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFromNestedSelect
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitFromNestedSelect
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFromParens
public java.lang.Object visitFromParens(NanoSQLParser.FromParensContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theFromParens
labeled alternative inNanoSQLParser.fromExpr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFromParens
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitFromParens
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOrderByExpr
public java.lang.Object visitOrderByExpr(NanoSQLParser.OrderByExprContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.orderByExpr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitOrderByExpr
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitOrderByExpr
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInsertStmt
public java.lang.Object visitInsertStmt(NanoSQLParser.InsertStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.insertStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInsertStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitInsertStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUpdateStmt
public java.lang.Object visitUpdateStmt(NanoSQLParser.UpdateStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.updateStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitUpdateStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitUpdateStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDeleteStmt
public java.lang.Object visitDeleteStmt(NanoSQLParser.DeleteStmtContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.deleteStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDeleteStmt
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitDeleteStmt
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExplainSelect
public java.lang.Object visitExplainSelect(NanoSQLParser.ExplainSelectContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExplainSelect
labeled alternative inNanoSQLParser.explainStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExplainSelect
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExplainSelect
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExplainInsert
public java.lang.Object visitExplainInsert(NanoSQLParser.ExplainInsertContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExplainInsert
labeled alternative inNanoSQLParser.explainStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExplainInsert
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExplainInsert
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExplainUpdate
public java.lang.Object visitExplainUpdate(NanoSQLParser.ExplainUpdateContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExplainUpdate
labeled alternative inNanoSQLParser.explainStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExplainUpdate
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExplainUpdate
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExplainDelete
public java.lang.Object visitExplainDelete(NanoSQLParser.ExplainDeleteContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExplainDelete
labeled alternative inNanoSQLParser.explainStmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExplainDelete
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExplainDelete
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralNull
public java.lang.Object visitLiteralNull(NanoSQLParser.LiteralNullContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theLiteralNull
labeled alternative inNanoSQLParser.literalValue()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralNull
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitLiteralNull
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralTrue
public java.lang.Object visitLiteralTrue(NanoSQLParser.LiteralTrueContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theLiteralTrue
labeled alternative inNanoSQLParser.literalValue()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralTrue
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitLiteralTrue
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralFalse
public java.lang.Object visitLiteralFalse(NanoSQLParser.LiteralFalseContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theLiteralFalse
labeled alternative inNanoSQLParser.literalValue()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralFalse
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitLiteralFalse
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralInteger
public java.lang.Object visitLiteralInteger(NanoSQLParser.LiteralIntegerContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theLiteralInteger
labeled alternative inNanoSQLParser.literalValue()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralInteger
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitLiteralInteger
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralDecimal
public java.lang.Object visitLiteralDecimal(NanoSQLParser.LiteralDecimalContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theLiteralDecimal
labeled alternative inNanoSQLParser.literalValue()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralDecimal
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitLiteralDecimal
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralString
public java.lang.Object visitLiteralString(NanoSQLParser.LiteralStringContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theLiteralString
labeled alternative inNanoSQLParser.literalValue()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralString
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitLiteralString
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralInterval
public java.lang.Object visitLiteralInterval(NanoSQLParser.LiteralIntervalContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theLiteralInterval
labeled alternative inNanoSQLParser.literalValue()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralInterval
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitLiteralInterval
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitColRefTable
public java.lang.Object visitColRefTable(NanoSQLParser.ColRefTableContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theColRefTable
labeled alternative inNanoSQLParser.columnRef()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitColRefTable
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitColRefTable
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitColRefNoTable
public java.lang.Object visitColRefNoTable(NanoSQLParser.ColRefNoTableContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theColRefNoTable
labeled alternative inNanoSQLParser.columnRef()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitColRefNoTable
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitColRefNoTable
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitColRefWildcardTable
public java.lang.Object visitColRefWildcardTable(NanoSQLParser.ColRefWildcardTableContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theColRefWildcardTable
labeled alternative inNanoSQLParser.columnRef()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitColRefWildcardTable
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitColRefWildcardTable
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitColRefWildcardNoTable
public java.lang.Object visitColRefWildcardNoTable(NanoSQLParser.ColRefWildcardNoTableContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theColRefWildcardNoTable
labeled alternative inNanoSQLParser.columnRef()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitColRefWildcardNoTable
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitColRefWildcardNoTable
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionCall
public java.lang.Object visitFunctionCall(NanoSQLParser.FunctionCallContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.functionCall()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFunctionCall
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitFunctionCall
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressionList
public java.lang.Object visitExpressionList(NanoSQLParser.ExpressionListContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced byNanoSQLParser.expressionList()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpressionList
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExpressionList
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprLiteral
public java.lang.Object visitExprLiteral(NanoSQLParser.ExprLiteralContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExprLiteral
labeled alternative inNanoSQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprLiteral
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExprLiteral
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprColumnRef
public java.lang.Object visitExprColumnRef(NanoSQLParser.ExprColumnRefContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExprColumnRef
labeled alternative inNanoSQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprColumnRef
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExprColumnRef
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprFunctionCall
public java.lang.Object visitExprFunctionCall(NanoSQLParser.ExprFunctionCallContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExprFunctionCall
labeled alternative inNanoSQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprFunctionCall
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExprFunctionCall
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprUnarySign
public java.lang.Object visitExprUnarySign(NanoSQLParser.ExprUnarySignContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExprUnarySign
labeled alternative inNanoSQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprUnarySign
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExprUnarySign
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprMul
public java.lang.Object visitExprMul(NanoSQLParser.ExprMulContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExprMul
labeled alternative inNanoSQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprMul
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExprMul
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprAdd
public java.lang.Object visitExprAdd(NanoSQLParser.ExprAddContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExprAdd
labeled alternative inNanoSQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprAdd
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExprAdd
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprCompare
public java.lang.Object visitExprCompare(NanoSQLParser.ExprCompareContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExprCompare
labeled alternative inNanoSQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprCompare
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExprCompare
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprIsNull
public java.lang.Object visitExprIsNull(NanoSQLParser.ExprIsNullContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExprIsNull
labeled alternative inNanoSQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprIsNull
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExprIsNull
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprBetween
public java.lang.Object visitExprBetween(NanoSQLParser.ExprBetweenContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExprBetween
labeled alternative inNanoSQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprBetween
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExprBetween
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprLike
public java.lang.Object visitExprLike(NanoSQLParser.ExprLikeContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExprLike
labeled alternative inNanoSQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprLike
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExprLike
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprSimilarTo
public java.lang.Object visitExprSimilarTo(NanoSQLParser.ExprSimilarToContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExprSimilarTo
labeled alternative inNanoSQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprSimilarTo
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExprSimilarTo
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprOneColInValues
public java.lang.Object visitExprOneColInValues(NanoSQLParser.ExprOneColInValuesContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExprOneColInValues
labeled alternative inNanoSQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprOneColInValues
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExprOneColInValues
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprOneColInSubquery
public java.lang.Object visitExprOneColInSubquery(NanoSQLParser.ExprOneColInSubqueryContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExprOneColInSubquery
labeled alternative inNanoSQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprOneColInSubquery
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExprOneColInSubquery
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprMultiColInSubquery
public java.lang.Object visitExprMultiColInSubquery(NanoSQLParser.ExprMultiColInSubqueryContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExprMultiColInSubquery
labeled alternative inNanoSQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprMultiColInSubquery
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExprMultiColInSubquery
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprExists
public java.lang.Object visitExprExists(NanoSQLParser.ExprExistsContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExprExists
labeled alternative inNanoSQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprExists
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExprExists
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprNot
public java.lang.Object visitExprNot(NanoSQLParser.ExprNotContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExprNot
labeled alternative inNanoSQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprNot
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExprNot
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprAnd
public java.lang.Object visitExprAnd(NanoSQLParser.ExprAndContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExprAnd
labeled alternative inNanoSQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprAnd
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExprAnd
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprOr
public java.lang.Object visitExprOr(NanoSQLParser.ExprOrContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExprOr
labeled alternative inNanoSQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprOr
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExprOr
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprScalarSubquery
public java.lang.Object visitExprScalarSubquery(NanoSQLParser.ExprScalarSubqueryContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExprScalarSubquery
labeled alternative inNanoSQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprScalarSubquery
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExprScalarSubquery
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprParen
public java.lang.Object visitExprParen(NanoSQLParser.ExprParenContext ctx)
Description copied from class:NanoSQLBaseVisitor
Visit a parse tree produced by theExprParen
labeled alternative inNanoSQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprParen
in interfaceNanoSQLVisitor<java.lang.Object>
- Overrides:
visitExprParen
in classNanoSQLBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-