Class IcebergSqlExtensionsBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.apache.spark.sql.catalyst.parser.extensions.IcebergSqlExtensionsBaseVisitor<T>
-
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
,IcebergSqlExtensionsVisitor<T>
public class IcebergSqlExtensionsBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements IcebergSqlExtensionsVisitor<T>
This class provides an empty implementation ofIcebergSqlExtensionsVisitor
, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description IcebergSqlExtensionsBaseVisitor()
-
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(IcebergSqlExtensionsParser.SingleStatementContext ctx)
Visit a parse tree produced byIcebergSqlExtensionsParser.singleStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSingleStatement
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCall
public T visitCall(IcebergSqlExtensionsParser.CallContext ctx)
Visit a parse tree produced by thecall
labeled alternative inIcebergSqlExtensionsParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCall
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAddPartitionField
public T visitAddPartitionField(IcebergSqlExtensionsParser.AddPartitionFieldContext ctx)
Visit a parse tree produced by theaddPartitionField
labeled alternative inIcebergSqlExtensionsParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAddPartitionField
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDropPartitionField
public T visitDropPartitionField(IcebergSqlExtensionsParser.DropPartitionFieldContext ctx)
Visit a parse tree produced by thedropPartitionField
labeled alternative inIcebergSqlExtensionsParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDropPartitionField
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitReplacePartitionField
public T visitReplacePartitionField(IcebergSqlExtensionsParser.ReplacePartitionFieldContext ctx)
Visit a parse tree produced by thereplacePartitionField
labeled alternative inIcebergSqlExtensionsParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitReplacePartitionField
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSetWriteDistributionAndOrdering
public T visitSetWriteDistributionAndOrdering(IcebergSqlExtensionsParser.SetWriteDistributionAndOrderingContext ctx)
Visit a parse tree produced by thesetWriteDistributionAndOrdering
labeled alternative inIcebergSqlExtensionsParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSetWriteDistributionAndOrdering
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSetIdentifierFields
public T visitSetIdentifierFields(IcebergSqlExtensionsParser.SetIdentifierFieldsContext ctx)
Visit a parse tree produced by thesetIdentifierFields
labeled alternative inIcebergSqlExtensionsParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSetIdentifierFields
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDropIdentifierFields
public T visitDropIdentifierFields(IcebergSqlExtensionsParser.DropIdentifierFieldsContext ctx)
Visit a parse tree produced by thedropIdentifierFields
labeled alternative inIcebergSqlExtensionsParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDropIdentifierFields
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWriteSpec
public T visitWriteSpec(IcebergSqlExtensionsParser.WriteSpecContext ctx)
Visit a parse tree produced byIcebergSqlExtensionsParser.writeSpec()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitWriteSpec
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWriteDistributionSpec
public T visitWriteDistributionSpec(IcebergSqlExtensionsParser.WriteDistributionSpecContext ctx)
Visit a parse tree produced byIcebergSqlExtensionsParser.writeDistributionSpec()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitWriteDistributionSpec
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWriteOrderingSpec
public T visitWriteOrderingSpec(IcebergSqlExtensionsParser.WriteOrderingSpecContext ctx)
Visit a parse tree produced byIcebergSqlExtensionsParser.writeOrderingSpec()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitWriteOrderingSpec
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPositionalArgument
public T visitPositionalArgument(IcebergSqlExtensionsParser.PositionalArgumentContext ctx)
Visit a parse tree produced by thepositionalArgument
labeled alternative inIcebergSqlExtensionsParser.callArgument()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPositionalArgument
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNamedArgument
public T visitNamedArgument(IcebergSqlExtensionsParser.NamedArgumentContext ctx)
Visit a parse tree produced by thenamedArgument
labeled alternative inIcebergSqlExtensionsParser.callArgument()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNamedArgument
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOrder
public T visitOrder(IcebergSqlExtensionsParser.OrderContext ctx)
Visit a parse tree produced byIcebergSqlExtensionsParser.order()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitOrder
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOrderField
public T visitOrderField(IcebergSqlExtensionsParser.OrderFieldContext ctx)
Visit a parse tree produced byIcebergSqlExtensionsParser.orderField()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitOrderField
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIdentityTransform
public T visitIdentityTransform(IcebergSqlExtensionsParser.IdentityTransformContext ctx)
Visit a parse tree produced by theidentityTransform
labeled alternative inIcebergSqlExtensionsParser.transform()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIdentityTransform
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitApplyTransform
public T visitApplyTransform(IcebergSqlExtensionsParser.ApplyTransformContext ctx)
Visit a parse tree produced by theapplyTransform
labeled alternative inIcebergSqlExtensionsParser.transform()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitApplyTransform
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTransformArgument
public T visitTransformArgument(IcebergSqlExtensionsParser.TransformArgumentContext ctx)
Visit a parse tree produced byIcebergSqlExtensionsParser.transformArgument()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTransformArgument
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpression
public T visitExpression(IcebergSqlExtensionsParser.ExpressionContext ctx)
Visit a parse tree produced byIcebergSqlExtensionsParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpression
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNumericLiteral
public T visitNumericLiteral(IcebergSqlExtensionsParser.NumericLiteralContext ctx)
Visit a parse tree produced by thenumericLiteral
labeled alternative inIcebergSqlExtensionsParser.constant()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNumericLiteral
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBooleanLiteral
public T visitBooleanLiteral(IcebergSqlExtensionsParser.BooleanLiteralContext ctx)
Visit a parse tree produced by thebooleanLiteral
labeled alternative inIcebergSqlExtensionsParser.constant()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBooleanLiteral
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStringLiteral
public T visitStringLiteral(IcebergSqlExtensionsParser.StringLiteralContext ctx)
Visit a parse tree produced by thestringLiteral
labeled alternative inIcebergSqlExtensionsParser.constant()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitStringLiteral
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeConstructor
public T visitTypeConstructor(IcebergSqlExtensionsParser.TypeConstructorContext ctx)
Visit a parse tree produced by thetypeConstructor
labeled alternative inIcebergSqlExtensionsParser.constant()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTypeConstructor
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStringMap
public T visitStringMap(IcebergSqlExtensionsParser.StringMapContext ctx)
Visit a parse tree produced byIcebergSqlExtensionsParser.stringMap()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitStringMap
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBooleanValue
public T visitBooleanValue(IcebergSqlExtensionsParser.BooleanValueContext ctx)
Visit a parse tree produced byIcebergSqlExtensionsParser.booleanValue()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBooleanValue
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExponentLiteral
public T visitExponentLiteral(IcebergSqlExtensionsParser.ExponentLiteralContext ctx)
Visit a parse tree produced by theexponentLiteral
labeled alternative inIcebergSqlExtensionsParser.number()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExponentLiteral
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDecimalLiteral
public T visitDecimalLiteral(IcebergSqlExtensionsParser.DecimalLiteralContext ctx)
Visit a parse tree produced by thedecimalLiteral
labeled alternative inIcebergSqlExtensionsParser.number()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDecimalLiteral
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIntegerLiteral
public T visitIntegerLiteral(IcebergSqlExtensionsParser.IntegerLiteralContext ctx)
Visit a parse tree produced by theintegerLiteral
labeled alternative inIcebergSqlExtensionsParser.number()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIntegerLiteral
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBigIntLiteral
public T visitBigIntLiteral(IcebergSqlExtensionsParser.BigIntLiteralContext ctx)
Visit a parse tree produced by thebigIntLiteral
labeled alternative inIcebergSqlExtensionsParser.number()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBigIntLiteral
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSmallIntLiteral
public T visitSmallIntLiteral(IcebergSqlExtensionsParser.SmallIntLiteralContext ctx)
Visit a parse tree produced by thesmallIntLiteral
labeled alternative inIcebergSqlExtensionsParser.number()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSmallIntLiteral
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTinyIntLiteral
public T visitTinyIntLiteral(IcebergSqlExtensionsParser.TinyIntLiteralContext ctx)
Visit a parse tree produced by thetinyIntLiteral
labeled alternative inIcebergSqlExtensionsParser.number()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTinyIntLiteral
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDoubleLiteral
public T visitDoubleLiteral(IcebergSqlExtensionsParser.DoubleLiteralContext ctx)
Visit a parse tree produced by thedoubleLiteral
labeled alternative inIcebergSqlExtensionsParser.number()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDoubleLiteral
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFloatLiteral
public T visitFloatLiteral(IcebergSqlExtensionsParser.FloatLiteralContext ctx)
Visit a parse tree produced by thefloatLiteral
labeled alternative inIcebergSqlExtensionsParser.number()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFloatLiteral
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBigDecimalLiteral
public T visitBigDecimalLiteral(IcebergSqlExtensionsParser.BigDecimalLiteralContext ctx)
Visit a parse tree produced by thebigDecimalLiteral
labeled alternative inIcebergSqlExtensionsParser.number()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBigDecimalLiteral
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMultipartIdentifier
public T visitMultipartIdentifier(IcebergSqlExtensionsParser.MultipartIdentifierContext ctx)
Visit a parse tree produced byIcebergSqlExtensionsParser.multipartIdentifier()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMultipartIdentifier
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUnquotedIdentifier
public T visitUnquotedIdentifier(IcebergSqlExtensionsParser.UnquotedIdentifierContext ctx)
Visit a parse tree produced by theunquotedIdentifier
labeled alternative inIcebergSqlExtensionsParser.identifier()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitUnquotedIdentifier
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQuotedIdentifierAlternative
public T visitQuotedIdentifierAlternative(IcebergSqlExtensionsParser.QuotedIdentifierAlternativeContext ctx)
Visit a parse tree produced by thequotedIdentifierAlternative
labeled alternative inIcebergSqlExtensionsParser.identifier()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitQuotedIdentifierAlternative
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQuotedIdentifier
public T visitQuotedIdentifier(IcebergSqlExtensionsParser.QuotedIdentifierContext ctx)
Visit a parse tree produced byIcebergSqlExtensionsParser.quotedIdentifier()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitQuotedIdentifier
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFieldList
public T visitFieldList(IcebergSqlExtensionsParser.FieldListContext ctx)
Visit a parse tree produced byIcebergSqlExtensionsParser.fieldList()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFieldList
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNonReserved
public T visitNonReserved(IcebergSqlExtensionsParser.NonReservedContext ctx)
Visit a parse tree produced byIcebergSqlExtensionsParser.nonReserved()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNonReserved
in interfaceIcebergSqlExtensionsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-