Class InfluxDBSqlParserBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.apache.iotdb.db.qp.sql.InfluxDBSqlParserBaseVisitor<T>
-
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>,InfluxDBSqlParserVisitor<T>
public class InfluxDBSqlParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements InfluxDBSqlParserVisitor<T>
This class provides an empty implementation ofInfluxDBSqlParserVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description InfluxDBSqlParserBaseVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitSingleStatement
public T visitSingleStatement(InfluxDBSqlParser.SingleStatementContext ctx)
Visit a parse tree produced byInfluxDBSqlParser.singleStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSingleStatementin interfaceInfluxDBSqlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSelectStatement
public T visitSelectStatement(InfluxDBSqlParser.SelectStatementContext ctx)
Visit a parse tree produced by theselectStatementlabeled alternative inInfluxDBSqlParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSelectStatementin interfaceInfluxDBSqlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSelectClause
public T visitSelectClause(InfluxDBSqlParser.SelectClauseContext ctx)
Visit a parse tree produced byInfluxDBSqlParser.selectClause().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSelectClausein interfaceInfluxDBSqlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResultColumn
public T visitResultColumn(InfluxDBSqlParser.ResultColumnContext ctx)
Visit a parse tree produced byInfluxDBSqlParser.resultColumn().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitResultColumnin interfaceInfluxDBSqlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
public T visitExpression(InfluxDBSqlParser.ExpressionContext ctx)
Visit a parse tree produced byInfluxDBSqlParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionin interfaceInfluxDBSqlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhereClause
public T visitWhereClause(InfluxDBSqlParser.WhereClauseContext ctx)
Visit a parse tree produced byInfluxDBSqlParser.whereClause().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWhereClausein interfaceInfluxDBSqlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOrExpression
public T visitOrExpression(InfluxDBSqlParser.OrExpressionContext ctx)
Visit a parse tree produced byInfluxDBSqlParser.orExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOrExpressionin interfaceInfluxDBSqlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAndExpression
public T visitAndExpression(InfluxDBSqlParser.AndExpressionContext ctx)
Visit a parse tree produced byInfluxDBSqlParser.andExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAndExpressionin interfaceInfluxDBSqlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPredicate
public T visitPredicate(InfluxDBSqlParser.PredicateContext ctx)
Visit a parse tree produced byInfluxDBSqlParser.predicate().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPredicatein interfaceInfluxDBSqlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFromClause
public T visitFromClause(InfluxDBSqlParser.FromClauseContext ctx)
Visit a parse tree produced byInfluxDBSqlParser.fromClause().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFromClausein interfaceInfluxDBSqlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNodeName
public T visitNodeName(InfluxDBSqlParser.NodeNameContext ctx)
Visit a parse tree produced byInfluxDBSqlParser.nodeName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNodeNamein interfaceInfluxDBSqlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstant
public T visitConstant(InfluxDBSqlParser.ConstantContext ctx)
Visit a parse tree produced byInfluxDBSqlParser.constant().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConstantin interfaceInfluxDBSqlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionAttribute
public T visitFunctionAttribute(InfluxDBSqlParser.FunctionAttributeContext ctx)
Visit a parse tree produced byInfluxDBSqlParser.functionAttribute().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionAttributein interfaceInfluxDBSqlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparisonOperator
public T visitComparisonOperator(InfluxDBSqlParser.ComparisonOperatorContext ctx)
Visit a parse tree produced byInfluxDBSqlParser.comparisonOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComparisonOperatorin interfaceInfluxDBSqlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDateExpression
public T visitDateExpression(InfluxDBSqlParser.DateExpressionContext ctx)
Visit a parse tree produced byInfluxDBSqlParser.dateExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDateExpressionin interfaceInfluxDBSqlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRealLiteral
public T visitRealLiteral(InfluxDBSqlParser.RealLiteralContext ctx)
Visit a parse tree produced byInfluxDBSqlParser.realLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRealLiteralin interfaceInfluxDBSqlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDatetimeLiteral
public T visitDatetimeLiteral(InfluxDBSqlParser.DatetimeLiteralContext ctx)
Visit a parse tree produced byInfluxDBSqlParser.datetimeLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDatetimeLiteralin interfaceInfluxDBSqlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifier
public T visitIdentifier(InfluxDBSqlParser.IdentifierContext ctx)
Visit a parse tree produced byInfluxDBSqlParser.identifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdentifierin interfaceInfluxDBSqlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyWords
public T visitKeyWords(InfluxDBSqlParser.KeyWordsContext ctx)
Visit a parse tree produced byInfluxDBSqlParser.keyWords().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKeyWordsin interfaceInfluxDBSqlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-