org.apache.spark.sql.catalyst.parser.extensions.IcebergSqlExtensionsVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iceberg-spark-extensions-3.4_2.12 Show documentation
Show all versions of iceberg-spark-extensions-3.4_2.12 Show documentation
A table format for huge analytic datasets
The newest version!
// Generated from org.apache.spark.sql.catalyst.parser.extensions/IcebergSqlExtensions.g4 by ANTLR 4.9.3
package org.apache.spark.sql.catalyst.parser.extensions;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
/**
* This interface defines a complete generic visitor for a parse tree produced
* by {@link IcebergSqlExtensionsParser}.
*
* @param The return type of the visit operation. Use {@link Void} for
* operations with no return type.
*/
public interface IcebergSqlExtensionsVisitor extends ParseTreeVisitor {
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#singleStatement}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSingleStatement(IcebergSqlExtensionsParser.SingleStatementContext ctx);
/**
* Visit a parse tree produced by the {@code call}
* labeled alternative in {@link IcebergSqlExtensionsParser#statement}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCall(IcebergSqlExtensionsParser.CallContext ctx);
/**
* Visit a parse tree produced by the {@code addPartitionField}
* labeled alternative in {@link IcebergSqlExtensionsParser#statement}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAddPartitionField(IcebergSqlExtensionsParser.AddPartitionFieldContext ctx);
/**
* Visit a parse tree produced by the {@code dropPartitionField}
* labeled alternative in {@link IcebergSqlExtensionsParser#statement}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDropPartitionField(IcebergSqlExtensionsParser.DropPartitionFieldContext ctx);
/**
* Visit a parse tree produced by the {@code replacePartitionField}
* labeled alternative in {@link IcebergSqlExtensionsParser#statement}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitReplacePartitionField(IcebergSqlExtensionsParser.ReplacePartitionFieldContext ctx);
/**
* Visit a parse tree produced by the {@code setWriteDistributionAndOrdering}
* labeled alternative in {@link IcebergSqlExtensionsParser#statement}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSetWriteDistributionAndOrdering(IcebergSqlExtensionsParser.SetWriteDistributionAndOrderingContext ctx);
/**
* Visit a parse tree produced by the {@code setIdentifierFields}
* labeled alternative in {@link IcebergSqlExtensionsParser#statement}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSetIdentifierFields(IcebergSqlExtensionsParser.SetIdentifierFieldsContext ctx);
/**
* Visit a parse tree produced by the {@code dropIdentifierFields}
* labeled alternative in {@link IcebergSqlExtensionsParser#statement}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDropIdentifierFields(IcebergSqlExtensionsParser.DropIdentifierFieldsContext ctx);
/**
* Visit a parse tree produced by the {@code createOrReplaceBranch}
* labeled alternative in {@link IcebergSqlExtensionsParser#statement}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCreateOrReplaceBranch(IcebergSqlExtensionsParser.CreateOrReplaceBranchContext ctx);
/**
* Visit a parse tree produced by the {@code createOrReplaceTag}
* labeled alternative in {@link IcebergSqlExtensionsParser#statement}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCreateOrReplaceTag(IcebergSqlExtensionsParser.CreateOrReplaceTagContext ctx);
/**
* Visit a parse tree produced by the {@code dropBranch}
* labeled alternative in {@link IcebergSqlExtensionsParser#statement}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDropBranch(IcebergSqlExtensionsParser.DropBranchContext ctx);
/**
* Visit a parse tree produced by the {@code dropTag}
* labeled alternative in {@link IcebergSqlExtensionsParser#statement}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDropTag(IcebergSqlExtensionsParser.DropTagContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#createReplaceTagClause}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCreateReplaceTagClause(IcebergSqlExtensionsParser.CreateReplaceTagClauseContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#createReplaceBranchClause}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCreateReplaceBranchClause(IcebergSqlExtensionsParser.CreateReplaceBranchClauseContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#tagOptions}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTagOptions(IcebergSqlExtensionsParser.TagOptionsContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#branchOptions}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBranchOptions(IcebergSqlExtensionsParser.BranchOptionsContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#snapshotRetention}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSnapshotRetention(IcebergSqlExtensionsParser.SnapshotRetentionContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#refRetain}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRefRetain(IcebergSqlExtensionsParser.RefRetainContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#maxSnapshotAge}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMaxSnapshotAge(IcebergSqlExtensionsParser.MaxSnapshotAgeContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#minSnapshotsToKeep}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMinSnapshotsToKeep(IcebergSqlExtensionsParser.MinSnapshotsToKeepContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#writeSpec}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitWriteSpec(IcebergSqlExtensionsParser.WriteSpecContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#writeDistributionSpec}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitWriteDistributionSpec(IcebergSqlExtensionsParser.WriteDistributionSpecContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#writeOrderingSpec}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitWriteOrderingSpec(IcebergSqlExtensionsParser.WriteOrderingSpecContext ctx);
/**
* Visit a parse tree produced by the {@code positionalArgument}
* labeled alternative in {@link IcebergSqlExtensionsParser#callArgument}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPositionalArgument(IcebergSqlExtensionsParser.PositionalArgumentContext ctx);
/**
* Visit a parse tree produced by the {@code namedArgument}
* labeled alternative in {@link IcebergSqlExtensionsParser#callArgument}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNamedArgument(IcebergSqlExtensionsParser.NamedArgumentContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#singleOrder}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSingleOrder(IcebergSqlExtensionsParser.SingleOrderContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#order}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitOrder(IcebergSqlExtensionsParser.OrderContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#orderField}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitOrderField(IcebergSqlExtensionsParser.OrderFieldContext ctx);
/**
* Visit a parse tree produced by the {@code identityTransform}
* labeled alternative in {@link IcebergSqlExtensionsParser#transform}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitIdentityTransform(IcebergSqlExtensionsParser.IdentityTransformContext ctx);
/**
* Visit a parse tree produced by the {@code applyTransform}
* labeled alternative in {@link IcebergSqlExtensionsParser#transform}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitApplyTransform(IcebergSqlExtensionsParser.ApplyTransformContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#transformArgument}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTransformArgument(IcebergSqlExtensionsParser.TransformArgumentContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression(IcebergSqlExtensionsParser.ExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code numericLiteral}
* labeled alternative in {@link IcebergSqlExtensionsParser#constant}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNumericLiteral(IcebergSqlExtensionsParser.NumericLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code booleanLiteral}
* labeled alternative in {@link IcebergSqlExtensionsParser#constant}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBooleanLiteral(IcebergSqlExtensionsParser.BooleanLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code stringLiteral}
* labeled alternative in {@link IcebergSqlExtensionsParser#constant}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitStringLiteral(IcebergSqlExtensionsParser.StringLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code typeConstructor}
* labeled alternative in {@link IcebergSqlExtensionsParser#constant}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTypeConstructor(IcebergSqlExtensionsParser.TypeConstructorContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#stringMap}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitStringMap(IcebergSqlExtensionsParser.StringMapContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#stringArray}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitStringArray(IcebergSqlExtensionsParser.StringArrayContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#booleanValue}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBooleanValue(IcebergSqlExtensionsParser.BooleanValueContext ctx);
/**
* Visit a parse tree produced by the {@code exponentLiteral}
* labeled alternative in {@link IcebergSqlExtensionsParser#number}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExponentLiteral(IcebergSqlExtensionsParser.ExponentLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code decimalLiteral}
* labeled alternative in {@link IcebergSqlExtensionsParser#number}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDecimalLiteral(IcebergSqlExtensionsParser.DecimalLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code integerLiteral}
* labeled alternative in {@link IcebergSqlExtensionsParser#number}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitIntegerLiteral(IcebergSqlExtensionsParser.IntegerLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code bigIntLiteral}
* labeled alternative in {@link IcebergSqlExtensionsParser#number}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBigIntLiteral(IcebergSqlExtensionsParser.BigIntLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code smallIntLiteral}
* labeled alternative in {@link IcebergSqlExtensionsParser#number}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSmallIntLiteral(IcebergSqlExtensionsParser.SmallIntLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code tinyIntLiteral}
* labeled alternative in {@link IcebergSqlExtensionsParser#number}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTinyIntLiteral(IcebergSqlExtensionsParser.TinyIntLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code doubleLiteral}
* labeled alternative in {@link IcebergSqlExtensionsParser#number}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDoubleLiteral(IcebergSqlExtensionsParser.DoubleLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code floatLiteral}
* labeled alternative in {@link IcebergSqlExtensionsParser#number}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitFloatLiteral(IcebergSqlExtensionsParser.FloatLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code bigDecimalLiteral}
* labeled alternative in {@link IcebergSqlExtensionsParser#number}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBigDecimalLiteral(IcebergSqlExtensionsParser.BigDecimalLiteralContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#multipartIdentifier}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMultipartIdentifier(IcebergSqlExtensionsParser.MultipartIdentifierContext ctx);
/**
* Visit a parse tree produced by the {@code unquotedIdentifier}
* labeled alternative in {@link IcebergSqlExtensionsParser#identifier}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitUnquotedIdentifier(IcebergSqlExtensionsParser.UnquotedIdentifierContext ctx);
/**
* Visit a parse tree produced by the {@code quotedIdentifierAlternative}
* labeled alternative in {@link IcebergSqlExtensionsParser#identifier}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitQuotedIdentifierAlternative(IcebergSqlExtensionsParser.QuotedIdentifierAlternativeContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#quotedIdentifier}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitQuotedIdentifier(IcebergSqlExtensionsParser.QuotedIdentifierContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#fieldList}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitFieldList(IcebergSqlExtensionsParser.FieldListContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#nonReserved}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNonReserved(IcebergSqlExtensionsParser.NonReservedContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#snapshotId}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSnapshotId(IcebergSqlExtensionsParser.SnapshotIdContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#numSnapshots}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNumSnapshots(IcebergSqlExtensionsParser.NumSnapshotsContext ctx);
/**
* Visit a parse tree produced by {@link IcebergSqlExtensionsParser#timeUnit}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTimeUnit(IcebergSqlExtensionsParser.TimeUnitContext ctx);
}