Class SparkExpressionBaseBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
SparkExpressionBaseVisitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- Direct Known Subclasses:
SparkExpressionBuilder
SparkExpressionBaseVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced by theandlabeled alternative inSparkExpressionBaseParser.booleanExpression().Visit a parse tree produced by thearithmeticBinarylabeled alternative inSparkExpressionBaseParser.valueExpression().Visit a parse tree produced by thebackQuotedIdentifierlabeled alternative inSparkExpressionBaseParser.identifier().Visit a parse tree produced by thebetweenlabeled alternative inSparkExpressionBaseParser.predicate(org.antlr.v4.runtime.ParserRuleContext).Visit a parse tree produced by thebooleanLiterallabeled alternative inSparkExpressionBaseParser.primaryExpression().Visit a parse tree produced bySparkExpressionBaseParser.booleanValue().Visit a parse tree produced by thecolumnReferencelabeled alternative inSparkExpressionBaseParser.primaryExpression().Visit a parse tree produced by thecomparisonlabeled alternative inSparkExpressionBaseParser.predicate(org.antlr.v4.runtime.ParserRuleContext).Visit a parse tree produced bySparkExpressionBaseParser.comparisonOperator().Visit a parse tree produced bySparkExpressionBaseParser.expression().Visit a parse tree produced by theintegerLiterallabeled alternative inSparkExpressionBaseParser.number().Visit a parse tree produced by thenullLiterallabeled alternative inSparkExpressionBaseParser.primaryExpression().Visit a parse tree produced by thenumericLiterallabeled alternative inSparkExpressionBaseParser.primaryExpression().Visit a parse tree produced by theorlabeled alternative inSparkExpressionBaseParser.booleanExpression().Visit a parse tree produced by thepredicatedlabeled alternative inSparkExpressionBaseParser.booleanExpression().Visit a parse tree produced bySparkExpressionBaseParser.standaloneExpression().Visit a parse tree produced by thestringLiterallabeled alternative inSparkExpressionBaseParser.primaryExpression().Visit a parse tree produced by theunicodeStringLiterallabeled alternative inSparkExpressionBaseParser.string().Visit a parse tree produced by theunquotedIdentifierlabeled alternative inSparkExpressionBaseParser.identifier().Visit a parse tree produced by thevalueExpressionDefaultlabeled alternative inSparkExpressionBaseParser.valueExpression().Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
SparkExpressionBaseBaseVisitor
public SparkExpressionBaseBaseVisitor()
-
-
Method Details
-
visitStandaloneExpression
Visit a parse tree produced bySparkExpressionBaseParser.standaloneExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStandaloneExpressionin interfaceSparkExpressionBaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced bySparkExpressionBaseParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionin interfaceSparkExpressionBaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPredicated
Visit a parse tree produced by thepredicatedlabeled alternative inSparkExpressionBaseParser.booleanExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPredicatedin interfaceSparkExpressionBaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOr
Visit a parse tree produced by theorlabeled alternative inSparkExpressionBaseParser.booleanExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOrin interfaceSparkExpressionBaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnd
Visit a parse tree produced by theandlabeled alternative inSparkExpressionBaseParser.booleanExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAndin interfaceSparkExpressionBaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparison
Visit a parse tree produced by thecomparisonlabeled alternative inSparkExpressionBaseParser.predicate(org.antlr.v4.runtime.ParserRuleContext).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComparisonin interfaceSparkExpressionBaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBetween
Visit a parse tree produced by thebetweenlabeled alternative inSparkExpressionBaseParser.predicate(org.antlr.v4.runtime.ParserRuleContext).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBetweenin interfaceSparkExpressionBaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitValueExpressionDefault
Visit a parse tree produced by thevalueExpressionDefaultlabeled alternative inSparkExpressionBaseParser.valueExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitValueExpressionDefaultin interfaceSparkExpressionBaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArithmeticBinary
Visit a parse tree produced by thearithmeticBinarylabeled alternative inSparkExpressionBaseParser.valueExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArithmeticBinaryin interfaceSparkExpressionBaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumericLiteral
Visit a parse tree produced by thenumericLiterallabeled alternative inSparkExpressionBaseParser.primaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNumericLiteralin interfaceSparkExpressionBaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBooleanLiteral
Visit a parse tree produced by thebooleanLiterallabeled alternative inSparkExpressionBaseParser.primaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBooleanLiteralin interfaceSparkExpressionBaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNullLiteral
Visit a parse tree produced by thenullLiterallabeled alternative inSparkExpressionBaseParser.primaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNullLiteralin interfaceSparkExpressionBaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStringLiteral
Visit a parse tree produced by thestringLiterallabeled alternative inSparkExpressionBaseParser.primaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStringLiteralin interfaceSparkExpressionBaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitColumnReference
Visit a parse tree produced by thecolumnReferencelabeled alternative inSparkExpressionBaseParser.primaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitColumnReferencein interfaceSparkExpressionBaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnicodeStringLiteral
Visit a parse tree produced by theunicodeStringLiterallabeled alternative inSparkExpressionBaseParser.string().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnicodeStringLiteralin interfaceSparkExpressionBaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparisonOperator
Visit a parse tree produced bySparkExpressionBaseParser.comparisonOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComparisonOperatorin interfaceSparkExpressionBaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBooleanValue
Visit a parse tree produced bySparkExpressionBaseParser.booleanValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBooleanValuein interfaceSparkExpressionBaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnquotedIdentifier
Visit a parse tree produced by theunquotedIdentifierlabeled alternative inSparkExpressionBaseParser.identifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnquotedIdentifierin interfaceSparkExpressionBaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBackQuotedIdentifier
Visit a parse tree produced by thebackQuotedIdentifierlabeled alternative inSparkExpressionBaseParser.identifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBackQuotedIdentifierin interfaceSparkExpressionBaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntegerLiteral
Visit a parse tree produced by theintegerLiterallabeled alternative inSparkExpressionBaseParser.number().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIntegerLiteralin interfaceSparkExpressionBaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-