Package io.substrait.type
Interface SubstraitTypeVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
ParseToPojo.Visitor,SubstraitTypeBaseVisitor
public interface SubstraitTypeVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
SubstraitTypeParser.-
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 interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitStart
Visit a parse tree produced bySubstraitTypeParser.start().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBoolean
Visit a parse tree produced by theBooleanlabeled alternative inSubstraitTypeParser.scalarType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitI8
Visit a parse tree produced by thei8labeled alternative inSubstraitTypeParser.scalarType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitI16
Visit a parse tree produced by thei16labeled alternative inSubstraitTypeParser.scalarType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitI32
Visit a parse tree produced by thei32labeled alternative inSubstraitTypeParser.scalarType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitI64
Visit a parse tree produced by thei64labeled alternative inSubstraitTypeParser.scalarType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFp32
Visit a parse tree produced by thefp32labeled alternative inSubstraitTypeParser.scalarType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFp64
Visit a parse tree produced by thefp64labeled alternative inSubstraitTypeParser.scalarType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitString
Visit a parse tree produced by thestringlabeled alternative inSubstraitTypeParser.scalarType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinary
Visit a parse tree produced by thebinarylabeled alternative inSubstraitTypeParser.scalarType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTimestamp
Visit a parse tree produced by thetimestamplabeled alternative inSubstraitTypeParser.scalarType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTimestampTz
Visit a parse tree produced by thetimestampTzlabeled alternative inSubstraitTypeParser.scalarType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDate
Visit a parse tree produced by thedatelabeled alternative inSubstraitTypeParser.scalarType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTime
Visit a parse tree produced by thetimelabeled alternative inSubstraitTypeParser.scalarType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntervalYear
Visit a parse tree produced by theintervalYearlabeled alternative inSubstraitTypeParser.scalarType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUuid
Visit a parse tree produced by theuuidlabeled alternative inSubstraitTypeParser.scalarType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUserDefined
Visit a parse tree produced by theuserDefinedlabeled alternative inSubstraitTypeParser.scalarType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFixedChar
Visit a parse tree produced by thefixedCharlabeled alternative inSubstraitTypeParser.parameterizedType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarChar
Visit a parse tree produced by thevarCharlabeled alternative inSubstraitTypeParser.parameterizedType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFixedBinary
Visit a parse tree produced by thefixedBinarylabeled alternative inSubstraitTypeParser.parameterizedType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDecimal
Visit a parse tree produced by thedecimallabeled alternative inSubstraitTypeParser.parameterizedType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntervalDay
Visit a parse tree produced by theintervalDaylabeled alternative inSubstraitTypeParser.parameterizedType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntervalCompound
Visit a parse tree produced by theintervalCompoundlabeled alternative inSubstraitTypeParser.parameterizedType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrecisionTimestamp
Visit a parse tree produced by theprecisionTimestamplabeled alternative inSubstraitTypeParser.parameterizedType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrecisionTimestampTZ
Visit a parse tree produced by theprecisionTimestampTZlabeled alternative inSubstraitTypeParser.parameterizedType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStruct
Visit a parse tree produced by thestructlabeled alternative inSubstraitTypeParser.parameterizedType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNStruct
Visit a parse tree produced by thenStructlabeled alternative inSubstraitTypeParser.parameterizedType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitList
Visit a parse tree produced by thelistlabeled alternative inSubstraitTypeParser.parameterizedType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMap
Visit a parse tree produced by themaplabeled alternative inSubstraitTypeParser.parameterizedType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumericLiteral
Visit a parse tree produced by thenumericLiterallabeled alternative inSubstraitTypeParser.numericParameter().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumericParameterName
Visit a parse tree produced by thenumericParameterNamelabeled alternative inSubstraitTypeParser.numericParameter().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumericExpression
Visit a parse tree produced by thenumericExpressionlabeled alternative inSubstraitTypeParser.numericParameter().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnyType
Visit a parse tree produced bySubstraitTypeParser.anyType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitType
Visit a parse tree produced bySubstraitTypeParser.type().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIfExpr
Visit a parse tree produced by theIfExprlabeled alternative inSubstraitTypeParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeLiteral
Visit a parse tree produced by theTypeLiterallabeled alternative inSubstraitTypeParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultilineDefinition
Visit a parse tree produced by theMultilineDefinitionlabeled alternative inSubstraitTypeParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTernary
Visit a parse tree produced by theTernarylabeled alternative inSubstraitTypeParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinaryExpr
Visit a parse tree produced by theBinaryExprlabeled alternative inSubstraitTypeParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParam
Visit a parse tree produced by theTypeParamlabeled alternative inSubstraitTypeParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenExpression
Visit a parse tree produced by theParenExpressionlabeled alternative inSubstraitTypeParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionCall
Visit a parse tree produced by theFunctionCalllabeled alternative inSubstraitTypeParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNotExpr
Visit a parse tree produced by theNotExprlabeled alternative inSubstraitTypeParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralNumber
Visit a parse tree produced by theLiteralNumberlabeled alternative inSubstraitTypeParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-