Class SubstraitTypeBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
SubstraitTypeVisitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
SubstraitTypeVisitor,
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 bySubstraitTypeParser.anyType().Visit a parse tree produced by thebinarylabeled alternative inSubstraitTypeParser.scalarType().Visit a parse tree produced by theBinaryExprlabeled alternative inSubstraitTypeParser.expr().Visit a parse tree produced by theBooleanlabeled alternative inSubstraitTypeParser.scalarType().Visit a parse tree produced by thedatelabeled alternative inSubstraitTypeParser.scalarType().Visit a parse tree produced by thedecimallabeled alternative inSubstraitTypeParser.parameterizedType().Visit a parse tree produced by thefixedBinarylabeled alternative inSubstraitTypeParser.parameterizedType().Visit a parse tree produced by thefixedCharlabeled alternative inSubstraitTypeParser.parameterizedType().Visit a parse tree produced by thefp32labeled alternative inSubstraitTypeParser.scalarType().Visit a parse tree produced by thefp64labeled alternative inSubstraitTypeParser.scalarType().Visit a parse tree produced by theFunctionCalllabeled alternative inSubstraitTypeParser.expr().Visit a parse tree produced by thei16labeled alternative inSubstraitTypeParser.scalarType().Visit a parse tree produced by thei32labeled alternative inSubstraitTypeParser.scalarType().Visit a parse tree produced by thei64labeled alternative inSubstraitTypeParser.scalarType().Visit a parse tree produced by thei8labeled alternative inSubstraitTypeParser.scalarType().Visit a parse tree produced by theIfExprlabeled alternative inSubstraitTypeParser.expr().Visit a parse tree produced by theintervalCompoundlabeled alternative inSubstraitTypeParser.parameterizedType().Visit a parse tree produced by theintervalDaylabeled alternative inSubstraitTypeParser.parameterizedType().Visit a parse tree produced by theintervalYearlabeled alternative inSubstraitTypeParser.scalarType().Visit a parse tree produced by thelistlabeled alternative inSubstraitTypeParser.parameterizedType().Visit a parse tree produced by theLiteralNumberlabeled alternative inSubstraitTypeParser.expr().Visit a parse tree produced by themaplabeled alternative inSubstraitTypeParser.parameterizedType().Visit a parse tree produced by theMultilineDefinitionlabeled alternative inSubstraitTypeParser.expr().Visit a parse tree produced by theNotExprlabeled alternative inSubstraitTypeParser.expr().Visit a parse tree produced by thenStructlabeled alternative inSubstraitTypeParser.parameterizedType().Visit a parse tree produced by thenumericExpressionlabeled alternative inSubstraitTypeParser.numericParameter().Visit a parse tree produced by thenumericLiterallabeled alternative inSubstraitTypeParser.numericParameter().Visit a parse tree produced by thenumericParameterNamelabeled alternative inSubstraitTypeParser.numericParameter().Visit a parse tree produced by theParenExpressionlabeled alternative inSubstraitTypeParser.expr().Visit a parse tree produced by theprecisionTimestamplabeled alternative inSubstraitTypeParser.parameterizedType().Visit a parse tree produced by theprecisionTimestampTZlabeled alternative inSubstraitTypeParser.parameterizedType().Visit a parse tree produced bySubstraitTypeParser.start().Visit a parse tree produced by thestringlabeled alternative inSubstraitTypeParser.scalarType().Visit a parse tree produced by thestructlabeled alternative inSubstraitTypeParser.parameterizedType().Visit a parse tree produced by theTernarylabeled alternative inSubstraitTypeParser.expr().Visit a parse tree produced by thetimelabeled alternative inSubstraitTypeParser.scalarType().Visit a parse tree produced by thetimestamplabeled alternative inSubstraitTypeParser.scalarType().Visit a parse tree produced by thetimestampTzlabeled alternative inSubstraitTypeParser.scalarType().Visit a parse tree produced bySubstraitTypeParser.type().Visit a parse tree produced by theTypeLiterallabeled alternative inSubstraitTypeParser.expr().Visit a parse tree produced by theTypeParamlabeled alternative inSubstraitTypeParser.expr().Visit a parse tree produced by theuserDefinedlabeled alternative inSubstraitTypeParser.scalarType().Visit a parse tree produced by theuuidlabeled alternative inSubstraitTypeParser.scalarType().Visit a parse tree produced by thevarCharlabeled alternative inSubstraitTypeParser.parameterizedType().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
-
SubstraitTypeBaseVisitor
public SubstraitTypeBaseVisitor()
-
-
Method Details
-
visitStart
Visit a parse tree produced bySubstraitTypeParser.start().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStartin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBoolean
Visit a parse tree produced by theBooleanlabeled alternative inSubstraitTypeParser.scalarType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBooleanin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitI8
Visit a parse tree produced by thei8labeled alternative inSubstraitTypeParser.scalarType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitI8in interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitI16
Visit a parse tree produced by thei16labeled alternative inSubstraitTypeParser.scalarType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitI16in interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitI32
Visit a parse tree produced by thei32labeled alternative inSubstraitTypeParser.scalarType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitI32in interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitI64
Visit a parse tree produced by thei64labeled alternative inSubstraitTypeParser.scalarType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitI64in interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFp32
Visit a parse tree produced by thefp32labeled alternative inSubstraitTypeParser.scalarType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFp32in interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFp64
Visit a parse tree produced by thefp64labeled alternative inSubstraitTypeParser.scalarType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFp64in interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitString
Visit a parse tree produced by thestringlabeled alternative inSubstraitTypeParser.scalarType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStringin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinary
Visit a parse tree produced by thebinarylabeled alternative inSubstraitTypeParser.scalarType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBinaryin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTimestamp
Visit a parse tree produced by thetimestamplabeled alternative inSubstraitTypeParser.scalarType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTimestampin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTimestampTz
Visit a parse tree produced by thetimestampTzlabeled alternative inSubstraitTypeParser.scalarType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTimestampTzin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDate
Visit a parse tree produced by thedatelabeled alternative inSubstraitTypeParser.scalarType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDatein interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTime
Visit a parse tree produced by thetimelabeled alternative inSubstraitTypeParser.scalarType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTimein interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntervalYear
Visit a parse tree produced by theintervalYearlabeled alternative inSubstraitTypeParser.scalarType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIntervalYearin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUuid
Visit a parse tree produced by theuuidlabeled alternative inSubstraitTypeParser.scalarType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUuidin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUserDefined
Visit a parse tree produced by theuserDefinedlabeled alternative inSubstraitTypeParser.scalarType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUserDefinedin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFixedChar
Visit a parse tree produced by thefixedCharlabeled alternative inSubstraitTypeParser.parameterizedType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFixedCharin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarChar
Visit a parse tree produced by thevarCharlabeled alternative inSubstraitTypeParser.parameterizedType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVarCharin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFixedBinary
Visit a parse tree produced by thefixedBinarylabeled alternative inSubstraitTypeParser.parameterizedType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFixedBinaryin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDecimal
Visit a parse tree produced by thedecimallabeled alternative inSubstraitTypeParser.parameterizedType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDecimalin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntervalDay
Visit a parse tree produced by theintervalDaylabeled alternative inSubstraitTypeParser.parameterizedType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIntervalDayin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntervalCompound
Visit a parse tree produced by theintervalCompoundlabeled alternative inSubstraitTypeParser.parameterizedType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIntervalCompoundin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrecisionTimestamp
Visit a parse tree produced by theprecisionTimestamplabeled alternative inSubstraitTypeParser.parameterizedType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrecisionTimestampin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrecisionTimestampTZ
Visit a parse tree produced by theprecisionTimestampTZlabeled alternative inSubstraitTypeParser.parameterizedType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrecisionTimestampTZin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStruct
Visit a parse tree produced by thestructlabeled alternative inSubstraitTypeParser.parameterizedType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStructin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNStruct
Visit a parse tree produced by thenStructlabeled alternative inSubstraitTypeParser.parameterizedType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNStructin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitList
Visit a parse tree produced by thelistlabeled alternative inSubstraitTypeParser.parameterizedType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitListin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMap
Visit a parse tree produced by themaplabeled alternative inSubstraitTypeParser.parameterizedType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMapin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumericLiteral
Visit a parse tree produced by thenumericLiterallabeled alternative inSubstraitTypeParser.numericParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNumericLiteralin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumericParameterName
Visit a parse tree produced by thenumericParameterNamelabeled alternative inSubstraitTypeParser.numericParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNumericParameterNamein interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumericExpression
Visit a parse tree produced by thenumericExpressionlabeled alternative inSubstraitTypeParser.numericParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNumericExpressionin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnyType
Visit a parse tree produced bySubstraitTypeParser.anyType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnyTypein interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitType
Visit a parse tree produced bySubstraitTypeParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypein interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIfExpr
Visit a parse tree produced by theIfExprlabeled alternative inSubstraitTypeParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIfExprin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeLiteral
Visit a parse tree produced by theTypeLiterallabeled alternative inSubstraitTypeParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeLiteralin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultilineDefinition
Visit a parse tree produced by theMultilineDefinitionlabeled alternative inSubstraitTypeParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultilineDefinitionin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTernary
Visit a parse tree produced by theTernarylabeled alternative inSubstraitTypeParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTernaryin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinaryExpr
Visit a parse tree produced by theBinaryExprlabeled alternative inSubstraitTypeParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBinaryExprin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParam
Visit a parse tree produced by theTypeParamlabeled alternative inSubstraitTypeParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeParamin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenExpression
Visit a parse tree produced by theParenExpressionlabeled alternative inSubstraitTypeParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParenExpressionin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionCall
Visit a parse tree produced by theFunctionCalllabeled alternative inSubstraitTypeParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionCallin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNotExpr
Visit a parse tree produced by theNotExprlabeled alternative inSubstraitTypeParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNotExprin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralNumber
Visit a parse tree produced by theLiteralNumberlabeled alternative inSubstraitTypeParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralNumberin interfaceSubstraitTypeVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-