UNPKG

dt-sql-parser

Version:

SQL Parsers for BigData, built with antlr4

1,122 lines 127 kB
import { ErrorNode, ParseTreeListener, ParserRuleContext, TerminalNode } from "antlr4ng"; import { ProgramContext } from "./SparkSqlParser.js"; import { SingleStatementContext } from "./SparkSqlParser.js"; import { StatementDefaultContext } from "./SparkSqlParser.js"; import { DmlStatementContext } from "./SparkSqlParser.js"; import { UseNamespaceContext } from "./SparkSqlParser.js"; import { SetCatalogContext } from "./SparkSqlParser.js"; import { CreateNamespaceContext } from "./SparkSqlParser.js"; import { SetNamespacePropertiesContext } from "./SparkSqlParser.js"; import { SetNamespaceLocationContext } from "./SparkSqlParser.js"; import { DropNamespaceContext } from "./SparkSqlParser.js"; import { ShowNamespacesContext } from "./SparkSqlParser.js"; import { CreateTableContext } from "./SparkSqlParser.js"; import { CreateTableLikeContext } from "./SparkSqlParser.js"; import { ReplaceTableContext } from "./SparkSqlParser.js"; import { AnalyzeContext } from "./SparkSqlParser.js"; import { AnalyzeTablesContext } from "./SparkSqlParser.js"; import { AlterTableAddColumnContext } from "./SparkSqlParser.js"; import { AlterTableAddColumnsContext } from "./SparkSqlParser.js"; import { RenameTableColumnContext } from "./SparkSqlParser.js"; import { AlterTableDropColumnContext } from "./SparkSqlParser.js"; import { DropTableColumnsContext } from "./SparkSqlParser.js"; import { RenameTableContext } from "./SparkSqlParser.js"; import { SetTablePropertiesContext } from "./SparkSqlParser.js"; import { UnsetTablePropertiesContext } from "./SparkSqlParser.js"; import { AlterTableAlterColumnContext } from "./SparkSqlParser.js"; import { HiveChangeColumnContext } from "./SparkSqlParser.js"; import { HiveReplaceColumnsContext } from "./SparkSqlParser.js"; import { SetTableSerDeContext } from "./SparkSqlParser.js"; import { SetTableSerDePropertiesContext } from "./SparkSqlParser.js"; import { AddTablePartitionContext } from "./SparkSqlParser.js"; import { RenameTablePartitionContext } from "./SparkSqlParser.js"; import { DropTablePartitionsContext } from "./SparkSqlParser.js"; import { SetTableLocationContext } from "./SparkSqlParser.js"; import { RecoverPartitionsContext } from "./SparkSqlParser.js"; import { AlterMaterializedViewRewriteContext } from "./SparkSqlParser.js"; import { AlterMaterializedViewPropertiesContext } from "./SparkSqlParser.js"; import { DropTableContext } from "./SparkSqlParser.js"; import { DropViewContext } from "./SparkSqlParser.js"; import { DropMaterializedViewContext } from "./SparkSqlParser.js"; import { CreateViewContext } from "./SparkSqlParser.js"; import { CreateTempViewUsingContext } from "./SparkSqlParser.js"; import { AlterViewQueryContext } from "./SparkSqlParser.js"; import { CreateFunctionContext } from "./SparkSqlParser.js"; import { CreateMaterializedViewContext } from "./SparkSqlParser.js"; import { DropFunctionContext } from "./SparkSqlParser.js"; import { DeclareVariableContext } from "./SparkSqlParser.js"; import { DropVariableContext } from "./SparkSqlParser.js"; import { ExplainStatementContext } from "./SparkSqlParser.js"; import { ShowTablesContext } from "./SparkSqlParser.js"; import { ShowTableExtendedContext } from "./SparkSqlParser.js"; import { ShowTblPropertiesContext } from "./SparkSqlParser.js"; import { ShowColumnsContext } from "./SparkSqlParser.js"; import { ShowViewsContext } from "./SparkSqlParser.js"; import { ShowPartitionsContext } from "./SparkSqlParser.js"; import { ShowFunctionsContext } from "./SparkSqlParser.js"; import { ShowCreateTableContext } from "./SparkSqlParser.js"; import { ShowCurrentNamespaceContext } from "./SparkSqlParser.js"; import { ShowCatalogsContext } from "./SparkSqlParser.js"; import { ShowMaterializedViewsContext } from "./SparkSqlParser.js"; import { ShowCreateMaterializedViewContext } from "./SparkSqlParser.js"; import { DescribeFunctionContext } from "./SparkSqlParser.js"; import { DescribeNamespaceContext } from "./SparkSqlParser.js"; import { DescribeRelationContext } from "./SparkSqlParser.js"; import { DescribeQueryContext } from "./SparkSqlParser.js"; import { CommentTableContext } from "./SparkSqlParser.js"; import { RefreshTableContext } from "./SparkSqlParser.js"; import { RefreshFunctionContext } from "./SparkSqlParser.js"; import { RefreshResourceContext } from "./SparkSqlParser.js"; import { RefreshMaterializedViewContext } from "./SparkSqlParser.js"; import { CacheTableContext } from "./SparkSqlParser.js"; import { UnCacheTableContext } from "./SparkSqlParser.js"; import { ClearCacheContext } from "./SparkSqlParser.js"; import { LoadDataContext } from "./SparkSqlParser.js"; import { TruncateTableContext } from "./SparkSqlParser.js"; import { RepairTableContext } from "./SparkSqlParser.js"; import { ManageResourceContext } from "./SparkSqlParser.js"; import { FailNativeCommandContext } from "./SparkSqlParser.js"; import { SetTimeZoneIntervalContext } from "./SparkSqlParser.js"; import { SetTimeZoneContext } from "./SparkSqlParser.js"; import { SetTimeZoneAnyContext } from "./SparkSqlParser.js"; import { SetVariableAssignmentContext } from "./SparkSqlParser.js"; import { SetVariableMultiAssignmentContext } from "./SparkSqlParser.js"; import { SetConfigContext } from "./SparkSqlParser.js"; import { SetConfigAndValueContext } from "./SparkSqlParser.js"; import { SetConfigAnyKeyContext } from "./SparkSqlParser.js"; import { SetAnyContext } from "./SparkSqlParser.js"; import { ResetConfigContext } from "./SparkSqlParser.js"; import { ResetAnyContext } from "./SparkSqlParser.js"; import { CreateIndexContext } from "./SparkSqlParser.js"; import { DropIndexContext } from "./SparkSqlParser.js"; import { OptimizeTableContext } from "./SparkSqlParser.js"; import { UnsupportHiveCommandsContext } from "./SparkSqlParser.js"; import { UnsupportedHiveNativeCommandsContext } from "./SparkSqlParser.js"; import { BucketSpecContext } from "./SparkSqlParser.js"; import { SkewSpecContext } from "./SparkSqlParser.js"; import { LocationSpecContext } from "./SparkSqlParser.js"; import { CommentSpecContext } from "./SparkSqlParser.js"; import { QueryStatementContext } from "./SparkSqlParser.js"; import { InsertIntoContext } from "./SparkSqlParser.js"; import { PartitionSpecLocationContext } from "./SparkSqlParser.js"; import { PartitionSpecContext } from "./SparkSqlParser.js"; import { PartitionValContext } from "./SparkSqlParser.js"; import { NamespaceContext } from "./SparkSqlParser.js"; import { DescribeFuncNameContext } from "./SparkSqlParser.js"; import { DescribeColNameContext } from "./SparkSqlParser.js"; import { CtesContext } from "./SparkSqlParser.js"; import { NamedQueryContext } from "./SparkSqlParser.js"; import { TableProviderContext } from "./SparkSqlParser.js"; import { CreateTableClausesContext } from "./SparkSqlParser.js"; import { TableLifecycleContext } from "./SparkSqlParser.js"; import { PropertyListContext } from "./SparkSqlParser.js"; import { PropertyContext } from "./SparkSqlParser.js"; import { PropertyKeyContext } from "./SparkSqlParser.js"; import { PropertyValueContext } from "./SparkSqlParser.js"; import { ExpressionPropertyListContext } from "./SparkSqlParser.js"; import { ExpressionPropertyContext } from "./SparkSqlParser.js"; import { ConstantListContext } from "./SparkSqlParser.js"; import { NestedConstantListContext } from "./SparkSqlParser.js"; import { CreateFileFormatContext } from "./SparkSqlParser.js"; import { FileFormatContext } from "./SparkSqlParser.js"; import { StorageHandlerContext } from "./SparkSqlParser.js"; import { InsertFromQueryContext } from "./SparkSqlParser.js"; import { MultipleInsertContext } from "./SparkSqlParser.js"; import { DeleteFromTableContext } from "./SparkSqlParser.js"; import { UpdateTableContext } from "./SparkSqlParser.js"; import { MergeIntoTableContext } from "./SparkSqlParser.js"; import { NamespaceNameContext } from "./SparkSqlParser.js"; import { NamespaceNameCreateContext } from "./SparkSqlParser.js"; import { TableNameCreateContext } from "./SparkSqlParser.js"; import { TableNameContext } from "./SparkSqlParser.js"; import { ViewNameCreateContext } from "./SparkSqlParser.js"; import { ViewNameContext } from "./SparkSqlParser.js"; import { ColumnNameContext } from "./SparkSqlParser.js"; import { ColumnNamePathContext } from "./SparkSqlParser.js"; import { ColumnNameSeqContext } from "./SparkSqlParser.js"; import { ColumnNameCreateContext } from "./SparkSqlParser.js"; import { IdentifierReferenceContext } from "./SparkSqlParser.js"; import { QueryOrganizationContext } from "./SparkSqlParser.js"; import { LimitClauseContext } from "./SparkSqlParser.js"; import { OrderOrSortByClauseContext } from "./SparkSqlParser.js"; import { ClusterOrDistributeByContext } from "./SparkSqlParser.js"; import { QueryTermContext } from "./SparkSqlParser.js"; import { QueryPrimaryContext } from "./SparkSqlParser.js"; import { SortItemContext } from "./SparkSqlParser.js"; import { FromStatementBodyContext } from "./SparkSqlParser.js"; import { QuerySpecificationContext } from "./SparkSqlParser.js"; import { TransformClauseContext } from "./SparkSqlParser.js"; import { SelectClauseContext } from "./SparkSqlParser.js"; import { SetClauseContext } from "./SparkSqlParser.js"; import { MatchedClauseContext } from "./SparkSqlParser.js"; import { NotMatchedClauseContext } from "./SparkSqlParser.js"; import { NotMatchedBySourceClauseContext } from "./SparkSqlParser.js"; import { NotMatchedActionContext } from "./SparkSqlParser.js"; import { AssignmentListContext } from "./SparkSqlParser.js"; import { AssignmentContext } from "./SparkSqlParser.js"; import { WhereClauseContext } from "./SparkSqlParser.js"; import { HavingClauseContext } from "./SparkSqlParser.js"; import { HintContext } from "./SparkSqlParser.js"; import { HintStatementContext } from "./SparkSqlParser.js"; import { FromClauseContext } from "./SparkSqlParser.js"; import { TemporalClauseContext } from "./SparkSqlParser.js"; import { AggregationClauseContext } from "./SparkSqlParser.js"; import { GroupByClauseContext } from "./SparkSqlParser.js"; import { GroupingAnalyticsContext } from "./SparkSqlParser.js"; import { GroupingSetContext } from "./SparkSqlParser.js"; import { PivotClauseContext } from "./SparkSqlParser.js"; import { PivotColumnContext } from "./SparkSqlParser.js"; import { PivotValueContext } from "./SparkSqlParser.js"; import { UnPivotClauseContext } from "./SparkSqlParser.js"; import { UnPivotSingleValueColumnClauseContext } from "./SparkSqlParser.js"; import { UnPivotMultiValueColumnClauseContext } from "./SparkSqlParser.js"; import { UnPivotColumnSetContext } from "./SparkSqlParser.js"; import { UnPivotColumnAndAliasContext } from "./SparkSqlParser.js"; import { IfNotExistsContext } from "./SparkSqlParser.js"; import { IfExistsContext } from "./SparkSqlParser.js"; import { LateralViewContext } from "./SparkSqlParser.js"; import { SetQuantifierContext } from "./SparkSqlParser.js"; import { RelationContext } from "./SparkSqlParser.js"; import { JoinRelationContext } from "./SparkSqlParser.js"; import { JoinTypeContext } from "./SparkSqlParser.js"; import { JoinCriteriaContext } from "./SparkSqlParser.js"; import { SampleContext } from "./SparkSqlParser.js"; import { SampleMethodContext } from "./SparkSqlParser.js"; import { IdentifierListContext } from "./SparkSqlParser.js"; import { IdentifierSeqContext } from "./SparkSqlParser.js"; import { OrderedIdentifierListContext } from "./SparkSqlParser.js"; import { OrderedIdentifierContext } from "./SparkSqlParser.js"; import { IdentifierCommentListContext } from "./SparkSqlParser.js"; import { IdentifierCommentContext } from "./SparkSqlParser.js"; import { RelationPrimaryContext } from "./SparkSqlParser.js"; import { FunctionTableSubqueryArgumentContext } from "./SparkSqlParser.js"; import { TableArgumentPartitioningContext } from "./SparkSqlParser.js"; import { FunctionTableNamedArgumentExpressionContext } from "./SparkSqlParser.js"; import { FunctionTableReferenceArgumentContext } from "./SparkSqlParser.js"; import { FunctionTableArgumentContext } from "./SparkSqlParser.js"; import { TableAliasContext } from "./SparkSqlParser.js"; import { RowFormatContext } from "./SparkSqlParser.js"; import { MultipartIdentifierListContext } from "./SparkSqlParser.js"; import { MultipartIdentifierContext } from "./SparkSqlParser.js"; import { MultipartIdentifierPropertyListContext } from "./SparkSqlParser.js"; import { MultipartIdentifierPropertyContext } from "./SparkSqlParser.js"; import { TableIdentifierContext } from "./SparkSqlParser.js"; import { ViewIdentifierContext } from "./SparkSqlParser.js"; import { NamedExpressionContext } from "./SparkSqlParser.js"; import { NamedExpressionSeqContext } from "./SparkSqlParser.js"; import { PartitionFieldListContext } from "./SparkSqlParser.js"; import { PartitionFieldContext } from "./SparkSqlParser.js"; import { TransformContext } from "./SparkSqlParser.js"; import { TransformArgumentContext } from "./SparkSqlParser.js"; import { ExpressionContext } from "./SparkSqlParser.js"; import { NamedArgumentExpressionContext } from "./SparkSqlParser.js"; import { FunctionArgumentContext } from "./SparkSqlParser.js"; import { ExpressionSeqContext } from "./SparkSqlParser.js"; import { BooleanExpressionContext } from "./SparkSqlParser.js"; import { PredicateContext } from "./SparkSqlParser.js"; import { ValueExpressionContext } from "./SparkSqlParser.js"; import { DatetimeUnitContext } from "./SparkSqlParser.js"; import { PrimaryExpressionContext } from "./SparkSqlParser.js"; import { LiteralTypeContext } from "./SparkSqlParser.js"; import { ConstantContext } from "./SparkSqlParser.js"; import { ComparisonOperatorContext } from "./SparkSqlParser.js"; import { ArithmeticOperatorContext } from "./SparkSqlParser.js"; import { PredicateOperatorContext } from "./SparkSqlParser.js"; import { BooleanValueContext } from "./SparkSqlParser.js"; import { IntervalContext } from "./SparkSqlParser.js"; import { ErrorCapturingMultiUnitsIntervalContext } from "./SparkSqlParser.js"; import { MultiUnitsIntervalContext } from "./SparkSqlParser.js"; import { ErrorCapturingUnitToUnitIntervalContext } from "./SparkSqlParser.js"; import { UnitToUnitIntervalContext } from "./SparkSqlParser.js"; import { IntervalValueContext } from "./SparkSqlParser.js"; import { UnitInMultiUnitsContext } from "./SparkSqlParser.js"; import { UnitInUnitToUnitContext } from "./SparkSqlParser.js"; import { ColPositionContext } from "./SparkSqlParser.js"; import { TypeContext } from "./SparkSqlParser.js"; import { DataTypeContext } from "./SparkSqlParser.js"; import { QualifiedColTypeWithPositionSeqForAddContext } from "./SparkSqlParser.js"; import { QualifiedColTypeWithPositionForAddContext } from "./SparkSqlParser.js"; import { QualifiedColTypeWithPositionSeqForReplaceContext } from "./SparkSqlParser.js"; import { QualifiedColTypeWithPositionForReplaceContext } from "./SparkSqlParser.js"; import { ColDefinitionDescriptorWithPositionContext } from "./SparkSqlParser.js"; import { VariableDefaultExpressionContext } from "./SparkSqlParser.js"; import { ColTypeListContext } from "./SparkSqlParser.js"; import { ColumnTypeContext } from "./SparkSqlParser.js"; import { CreateOrReplaceTableColTypeListContext } from "./SparkSqlParser.js"; import { CreateOrReplaceTableColTypeContext } from "./SparkSqlParser.js"; import { ColDefinitionOptionContext } from "./SparkSqlParser.js"; import { ComplexColTypeContext } from "./SparkSqlParser.js"; import { WhenClauseContext } from "./SparkSqlParser.js"; import { WindowClauseContext } from "./SparkSqlParser.js"; import { ZOrderClauseContext } from "./SparkSqlParser.js"; import { WindowSpecContext } from "./SparkSqlParser.js"; import { WindowFrameContext } from "./SparkSqlParser.js"; import { FrameBoundContext } from "./SparkSqlParser.js"; import { QualifiedNameListContext } from "./SparkSqlParser.js"; import { FunctionNameContext } from "./SparkSqlParser.js"; import { FunctionNameCreateContext } from "./SparkSqlParser.js"; import { QualifiedNameContext } from "./SparkSqlParser.js"; import { ErrorCapturingIdentifierContext } from "./SparkSqlParser.js"; import { ErrorCapturingIdentifierExtraContext } from "./SparkSqlParser.js"; import { IdentifierContext } from "./SparkSqlParser.js"; import { StrictIdentifierContext } from "./SparkSqlParser.js"; import { QuotedIdentifierContext } from "./SparkSqlParser.js"; import { NumberContext } from "./SparkSqlParser.js"; import { AlterColumnActionContext } from "./SparkSqlParser.js"; import { StringLitContext } from "./SparkSqlParser.js"; import { AnsiNonReservedContext } from "./SparkSqlParser.js"; import { StrictNonReservedContext } from "./SparkSqlParser.js"; import { NonReservedContext } from "./SparkSqlParser.js"; /** * This interface defines a complete listener for a parse tree produced by * `SparkSqlParser`. */ export declare class SparkSqlParserListener implements ParseTreeListener { /** * Enter a parse tree produced by `SparkSqlParser.program`. * @param ctx the parse tree */ enterProgram?: (ctx: ProgramContext) => void; /** * Exit a parse tree produced by `SparkSqlParser.program`. * @param ctx the parse tree */ exitProgram?: (ctx: ProgramContext) => void; /** * Enter a parse tree produced by `SparkSqlParser.singleStatement`. * @param ctx the parse tree */ enterSingleStatement?: (ctx: SingleStatementContext) => void; /** * Exit a parse tree produced by `SparkSqlParser.singleStatement`. * @param ctx the parse tree */ exitSingleStatement?: (ctx: SingleStatementContext) => void; /** * Enter a parse tree produced by the `statementDefault` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterStatementDefault?: (ctx: StatementDefaultContext) => void; /** * Exit a parse tree produced by the `statementDefault` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitStatementDefault?: (ctx: StatementDefaultContext) => void; /** * Enter a parse tree produced by the `dmlStatement` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterDmlStatement?: (ctx: DmlStatementContext) => void; /** * Exit a parse tree produced by the `dmlStatement` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitDmlStatement?: (ctx: DmlStatementContext) => void; /** * Enter a parse tree produced by the `useNamespace` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterUseNamespace?: (ctx: UseNamespaceContext) => void; /** * Exit a parse tree produced by the `useNamespace` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitUseNamespace?: (ctx: UseNamespaceContext) => void; /** * Enter a parse tree produced by the `setCatalog` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterSetCatalog?: (ctx: SetCatalogContext) => void; /** * Exit a parse tree produced by the `setCatalog` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitSetCatalog?: (ctx: SetCatalogContext) => void; /** * Enter a parse tree produced by the `createNamespace` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterCreateNamespace?: (ctx: CreateNamespaceContext) => void; /** * Exit a parse tree produced by the `createNamespace` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitCreateNamespace?: (ctx: CreateNamespaceContext) => void; /** * Enter a parse tree produced by the `setNamespaceProperties` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterSetNamespaceProperties?: (ctx: SetNamespacePropertiesContext) => void; /** * Exit a parse tree produced by the `setNamespaceProperties` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitSetNamespaceProperties?: (ctx: SetNamespacePropertiesContext) => void; /** * Enter a parse tree produced by the `setNamespaceLocation` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterSetNamespaceLocation?: (ctx: SetNamespaceLocationContext) => void; /** * Exit a parse tree produced by the `setNamespaceLocation` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitSetNamespaceLocation?: (ctx: SetNamespaceLocationContext) => void; /** * Enter a parse tree produced by the `dropNamespace` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterDropNamespace?: (ctx: DropNamespaceContext) => void; /** * Exit a parse tree produced by the `dropNamespace` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitDropNamespace?: (ctx: DropNamespaceContext) => void; /** * Enter a parse tree produced by the `showNamespaces` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterShowNamespaces?: (ctx: ShowNamespacesContext) => void; /** * Exit a parse tree produced by the `showNamespaces` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitShowNamespaces?: (ctx: ShowNamespacesContext) => void; /** * Enter a parse tree produced by the `createTable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterCreateTable?: (ctx: CreateTableContext) => void; /** * Exit a parse tree produced by the `createTable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitCreateTable?: (ctx: CreateTableContext) => void; /** * Enter a parse tree produced by the `createTableLike` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterCreateTableLike?: (ctx: CreateTableLikeContext) => void; /** * Exit a parse tree produced by the `createTableLike` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitCreateTableLike?: (ctx: CreateTableLikeContext) => void; /** * Enter a parse tree produced by the `replaceTable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterReplaceTable?: (ctx: ReplaceTableContext) => void; /** * Exit a parse tree produced by the `replaceTable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitReplaceTable?: (ctx: ReplaceTableContext) => void; /** * Enter a parse tree produced by the `analyze` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterAnalyze?: (ctx: AnalyzeContext) => void; /** * Exit a parse tree produced by the `analyze` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitAnalyze?: (ctx: AnalyzeContext) => void; /** * Enter a parse tree produced by the `analyzeTables` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterAnalyzeTables?: (ctx: AnalyzeTablesContext) => void; /** * Exit a parse tree produced by the `analyzeTables` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitAnalyzeTables?: (ctx: AnalyzeTablesContext) => void; /** * Enter a parse tree produced by the `alterTableAddColumn` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterAlterTableAddColumn?: (ctx: AlterTableAddColumnContext) => void; /** * Exit a parse tree produced by the `alterTableAddColumn` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitAlterTableAddColumn?: (ctx: AlterTableAddColumnContext) => void; /** * Enter a parse tree produced by the `alterTableAddColumns` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterAlterTableAddColumns?: (ctx: AlterTableAddColumnsContext) => void; /** * Exit a parse tree produced by the `alterTableAddColumns` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitAlterTableAddColumns?: (ctx: AlterTableAddColumnsContext) => void; /** * Enter a parse tree produced by the `renameTableColumn` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterRenameTableColumn?: (ctx: RenameTableColumnContext) => void; /** * Exit a parse tree produced by the `renameTableColumn` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitRenameTableColumn?: (ctx: RenameTableColumnContext) => void; /** * Enter a parse tree produced by the `alterTableDropColumn` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterAlterTableDropColumn?: (ctx: AlterTableDropColumnContext) => void; /** * Exit a parse tree produced by the `alterTableDropColumn` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitAlterTableDropColumn?: (ctx: AlterTableDropColumnContext) => void; /** * Enter a parse tree produced by the `dropTableColumns` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterDropTableColumns?: (ctx: DropTableColumnsContext) => void; /** * Exit a parse tree produced by the `dropTableColumns` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitDropTableColumns?: (ctx: DropTableColumnsContext) => void; /** * Enter a parse tree produced by the `renameTable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterRenameTable?: (ctx: RenameTableContext) => void; /** * Exit a parse tree produced by the `renameTable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitRenameTable?: (ctx: RenameTableContext) => void; /** * Enter a parse tree produced by the `setTableProperties` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterSetTableProperties?: (ctx: SetTablePropertiesContext) => void; /** * Exit a parse tree produced by the `setTableProperties` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitSetTableProperties?: (ctx: SetTablePropertiesContext) => void; /** * Enter a parse tree produced by the `unsetTableProperties` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterUnsetTableProperties?: (ctx: UnsetTablePropertiesContext) => void; /** * Exit a parse tree produced by the `unsetTableProperties` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitUnsetTableProperties?: (ctx: UnsetTablePropertiesContext) => void; /** * Enter a parse tree produced by the `alterTableAlterColumn` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterAlterTableAlterColumn?: (ctx: AlterTableAlterColumnContext) => void; /** * Exit a parse tree produced by the `alterTableAlterColumn` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitAlterTableAlterColumn?: (ctx: AlterTableAlterColumnContext) => void; /** * Enter a parse tree produced by the `hiveChangeColumn` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterHiveChangeColumn?: (ctx: HiveChangeColumnContext) => void; /** * Exit a parse tree produced by the `hiveChangeColumn` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitHiveChangeColumn?: (ctx: HiveChangeColumnContext) => void; /** * Enter a parse tree produced by the `hiveReplaceColumns` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterHiveReplaceColumns?: (ctx: HiveReplaceColumnsContext) => void; /** * Exit a parse tree produced by the `hiveReplaceColumns` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitHiveReplaceColumns?: (ctx: HiveReplaceColumnsContext) => void; /** * Enter a parse tree produced by the `setTableSerDe` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterSetTableSerDe?: (ctx: SetTableSerDeContext) => void; /** * Exit a parse tree produced by the `setTableSerDe` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitSetTableSerDe?: (ctx: SetTableSerDeContext) => void; /** * Enter a parse tree produced by the `setTableSerDeProperties` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterSetTableSerDeProperties?: (ctx: SetTableSerDePropertiesContext) => void; /** * Exit a parse tree produced by the `setTableSerDeProperties` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitSetTableSerDeProperties?: (ctx: SetTableSerDePropertiesContext) => void; /** * Enter a parse tree produced by the `addTablePartition` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterAddTablePartition?: (ctx: AddTablePartitionContext) => void; /** * Exit a parse tree produced by the `addTablePartition` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitAddTablePartition?: (ctx: AddTablePartitionContext) => void; /** * Enter a parse tree produced by the `renameTablePartition` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterRenameTablePartition?: (ctx: RenameTablePartitionContext) => void; /** * Exit a parse tree produced by the `renameTablePartition` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitRenameTablePartition?: (ctx: RenameTablePartitionContext) => void; /** * Enter a parse tree produced by the `dropTablePartitions` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterDropTablePartitions?: (ctx: DropTablePartitionsContext) => void; /** * Exit a parse tree produced by the `dropTablePartitions` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitDropTablePartitions?: (ctx: DropTablePartitionsContext) => void; /** * Enter a parse tree produced by the `setTableLocation` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterSetTableLocation?: (ctx: SetTableLocationContext) => void; /** * Exit a parse tree produced by the `setTableLocation` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitSetTableLocation?: (ctx: SetTableLocationContext) => void; /** * Enter a parse tree produced by the `recoverPartitions` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterRecoverPartitions?: (ctx: RecoverPartitionsContext) => void; /** * Exit a parse tree produced by the `recoverPartitions` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitRecoverPartitions?: (ctx: RecoverPartitionsContext) => void; /** * Enter a parse tree produced by the `alterMaterializedViewRewrite` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterAlterMaterializedViewRewrite?: (ctx: AlterMaterializedViewRewriteContext) => void; /** * Exit a parse tree produced by the `alterMaterializedViewRewrite` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitAlterMaterializedViewRewrite?: (ctx: AlterMaterializedViewRewriteContext) => void; /** * Enter a parse tree produced by the `alterMaterializedViewProperties` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterAlterMaterializedViewProperties?: (ctx: AlterMaterializedViewPropertiesContext) => void; /** * Exit a parse tree produced by the `alterMaterializedViewProperties` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitAlterMaterializedViewProperties?: (ctx: AlterMaterializedViewPropertiesContext) => void; /** * Enter a parse tree produced by the `dropTable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterDropTable?: (ctx: DropTableContext) => void; /** * Exit a parse tree produced by the `dropTable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitDropTable?: (ctx: DropTableContext) => void; /** * Enter a parse tree produced by the `dropView` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterDropView?: (ctx: DropViewContext) => void; /** * Exit a parse tree produced by the `dropView` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitDropView?: (ctx: DropViewContext) => void; /** * Enter a parse tree produced by the `dropMaterializedView` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterDropMaterializedView?: (ctx: DropMaterializedViewContext) => void; /** * Exit a parse tree produced by the `dropMaterializedView` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitDropMaterializedView?: (ctx: DropMaterializedViewContext) => void; /** * Enter a parse tree produced by the `createView` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterCreateView?: (ctx: CreateViewContext) => void; /** * Exit a parse tree produced by the `createView` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitCreateView?: (ctx: CreateViewContext) => void; /** * Enter a parse tree produced by the `createTempViewUsing` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterCreateTempViewUsing?: (ctx: CreateTempViewUsingContext) => void; /** * Exit a parse tree produced by the `createTempViewUsing` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitCreateTempViewUsing?: (ctx: CreateTempViewUsingContext) => void; /** * Enter a parse tree produced by the `alterViewQuery` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterAlterViewQuery?: (ctx: AlterViewQueryContext) => void; /** * Exit a parse tree produced by the `alterViewQuery` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitAlterViewQuery?: (ctx: AlterViewQueryContext) => void; /** * Enter a parse tree produced by the `createFunction` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterCreateFunction?: (ctx: CreateFunctionContext) => void; /** * Exit a parse tree produced by the `createFunction` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitCreateFunction?: (ctx: CreateFunctionContext) => void; /** * Enter a parse tree produced by the `createMaterializedView` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterCreateMaterializedView?: (ctx: CreateMaterializedViewContext) => void; /** * Exit a parse tree produced by the `createMaterializedView` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitCreateMaterializedView?: (ctx: CreateMaterializedViewContext) => void; /** * Enter a parse tree produced by the `dropFunction` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterDropFunction?: (ctx: DropFunctionContext) => void; /** * Exit a parse tree produced by the `dropFunction` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitDropFunction?: (ctx: DropFunctionContext) => void; /** * Enter a parse tree produced by the `declareVariable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterDeclareVariable?: (ctx: DeclareVariableContext) => void; /** * Exit a parse tree produced by the `declareVariable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitDeclareVariable?: (ctx: DeclareVariableContext) => void; /** * Enter a parse tree produced by the `dropVariable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterDropVariable?: (ctx: DropVariableContext) => void; /** * Exit a parse tree produced by the `dropVariable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitDropVariable?: (ctx: DropVariableContext) => void; /** * Enter a parse tree produced by the `explainStatement` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterExplainStatement?: (ctx: ExplainStatementContext) => void; /** * Exit a parse tree produced by the `explainStatement` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitExplainStatement?: (ctx: ExplainStatementContext) => void; /** * Enter a parse tree produced by the `showTables` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterShowTables?: (ctx: ShowTablesContext) => void; /** * Exit a parse tree produced by the `showTables` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitShowTables?: (ctx: ShowTablesContext) => void; /** * Enter a parse tree produced by the `showTableExtended` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterShowTableExtended?: (ctx: ShowTableExtendedContext) => void; /** * Exit a parse tree produced by the `showTableExtended` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitShowTableExtended?: (ctx: ShowTableExtendedContext) => void; /** * Enter a parse tree produced by the `showTblProperties` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterShowTblProperties?: (ctx: ShowTblPropertiesContext) => void; /** * Exit a parse tree produced by the `showTblProperties` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitShowTblProperties?: (ctx: ShowTblPropertiesContext) => void; /** * Enter a parse tree produced by the `showColumns` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterShowColumns?: (ctx: ShowColumnsContext) => void; /** * Exit a parse tree produced by the `showColumns` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitShowColumns?: (ctx: ShowColumnsContext) => void; /** * Enter a parse tree produced by the `showViews` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterShowViews?: (ctx: ShowViewsContext) => void; /** * Exit a parse tree produced by the `showViews` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitShowViews?: (ctx: ShowViewsContext) => void; /** * Enter a parse tree produced by the `showPartitions` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterShowPartitions?: (ctx: ShowPartitionsContext) => void; /** * Exit a parse tree produced by the `showPartitions` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitShowPartitions?: (ctx: ShowPartitionsContext) => void; /** * Enter a parse tree produced by the `showFunctions` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterShowFunctions?: (ctx: ShowFunctionsContext) => void; /** * Exit a parse tree produced by the `showFunctions` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitShowFunctions?: (ctx: ShowFunctionsContext) => void; /** * Enter a parse tree produced by the `showCreateTable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterShowCreateTable?: (ctx: ShowCreateTableContext) => void; /** * Exit a parse tree produced by the `showCreateTable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitShowCreateTable?: (ctx: ShowCreateTableContext) => void; /** * Enter a parse tree produced by the `showCurrentNamespace` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterShowCurrentNamespace?: (ctx: ShowCurrentNamespaceContext) => void; /** * Exit a parse tree produced by the `showCurrentNamespace` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitShowCurrentNamespace?: (ctx: ShowCurrentNamespaceContext) => void; /** * Enter a parse tree produced by the `showCatalogs` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterShowCatalogs?: (ctx: ShowCatalogsContext) => void; /** * Exit a parse tree produced by the `showCatalogs` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitShowCatalogs?: (ctx: ShowCatalogsContext) => void; /** * Enter a parse tree produced by the `showMaterializedViews` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterShowMaterializedViews?: (ctx: ShowMaterializedViewsContext) => void; /** * Exit a parse tree produced by the `showMaterializedViews` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitShowMaterializedViews?: (ctx: ShowMaterializedViewsContext) => void; /** * Enter a parse tree produced by the `showCreateMaterializedView` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterShowCreateMaterializedView?: (ctx: ShowCreateMaterializedViewContext) => void; /** * Exit a parse tree produced by the `showCreateMaterializedView` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitShowCreateMaterializedView?: (ctx: ShowCreateMaterializedViewContext) => void; /** * Enter a parse tree produced by the `describeFunction` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterDescribeFunction?: (ctx: DescribeFunctionContext) => void; /** * Exit a parse tree produced by the `describeFunction` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitDescribeFunction?: (ctx: DescribeFunctionContext) => void; /** * Enter a parse tree produced by the `describeNamespace` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterDescribeNamespace?: (ctx: DescribeNamespaceContext) => void; /** * Exit a parse tree produced by the `describeNamespace` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitDescribeNamespace?: (ctx: DescribeNamespaceContext) => void; /** * Enter a parse tree produced by the `describeRelation` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterDescribeRelation?: (ctx: DescribeRelationContext) => void; /** * Exit a parse tree produced by the `describeRelation` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitDescribeRelation?: (ctx: DescribeRelationContext) => void; /** * Enter a parse tree produced by the `describeQuery` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterDescribeQuery?: (ctx: DescribeQueryContext) => void; /** * Exit a parse tree produced by the `describeQuery` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitDescribeQuery?: (ctx: DescribeQueryContext) => void; /** * Enter a parse tree produced by the `commentTable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterCommentTable?: (ctx: CommentTableContext) => void; /** * Exit a parse tree produced by the `commentTable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitCommentTable?: (ctx: CommentTableContext) => void; /** * Enter a parse tree produced by the `refreshTable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterRefreshTable?: (ctx: RefreshTableContext) => void; /** * Exit a parse tree produced by the `refreshTable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitRefreshTable?: (ctx: RefreshTableContext) => void; /** * Enter a parse tree produced by the `refreshFunction` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterRefreshFunction?: (ctx: RefreshFunctionContext) => void; /** * Exit a parse tree produced by the `refreshFunction` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitRefreshFunction?: (ctx: RefreshFunctionContext) => void; /** * Enter a parse tree produced by the `refreshResource` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterRefreshResource?: (ctx: RefreshResourceContext) => void; /** * Exit a parse tree produced by the `refreshResource` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitRefreshResource?: (ctx: RefreshResourceContext) => void; /** * Enter a parse tree produced by the `refreshMaterializedView` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterRefreshMaterializedView?: (ctx: RefreshMaterializedViewContext) => void; /** * Exit a parse tree produced by the `refreshMaterializedView` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitRefreshMaterializedView?: (ctx: RefreshMaterializedViewContext) => void; /** * Enter a parse tree produced by the `cacheTable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterCacheTable?: (ctx: CacheTableContext) => void; /** * Exit a parse tree produced by the `cacheTable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitCacheTable?: (ctx: CacheTableContext) => void; /** * Enter a parse tree produced by the `unCacheTable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ enterUnCacheTable?: (ctx: UnCacheTableContext) => void; /** * Exit a parse tree produced by the `unCacheTable` * labeled alternative in `SparkSqlParser.statement`. * @param ctx the parse tree */ exitUnCacheTabl