dt-sql-parser 4.0.0-ng.2 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +119 -112
- package/dist/index.d.ts +14 -6
- package/dist/index.js +11 -4
- package/dist/lib/SQLParserBase.d.ts +8 -0
- package/dist/lib/SQLParserBase.js +14 -0
- package/dist/lib/{flinksql → flink}/FlinkSqlLexer.d.ts +2 -2
- package/dist/lib/{flinksql → flink}/FlinkSqlLexer.js +2 -1
- package/dist/lib/{flinksql → flink}/FlinkSqlParser.d.ts +5 -11
- package/dist/lib/{flinksql → flink}/FlinkSqlParser.js +2065 -2054
- package/dist/lib/{flinksql → flink}/FlinkSqlParserListener.d.ts +0 -13
- package/dist/lib/{flinksql → flink}/FlinkSqlParserListener.js +1 -1
- package/dist/lib/{flinksql → flink}/FlinkSqlParserVisitor.d.ts +0 -8
- package/dist/lib/{flinksql → flink}/FlinkSqlParserVisitor.js +2 -1
- package/dist/lib/hive/HiveSqlLexer.d.ts +258 -257
- package/dist/lib/hive/HiveSqlLexer.js +1794 -1786
- package/dist/lib/hive/HiveSqlParser.d.ts +1266 -3176
- package/dist/lib/hive/HiveSqlParser.js +23046 -33454
- package/dist/lib/hive/HiveSqlParserListener.d.ts +141 -2036
- package/dist/lib/hive/HiveSqlParserVisitor.d.ts +151 -1358
- package/dist/lib/hive/HiveSqlParserVisitor.js +1 -0
- package/dist/lib/impala/ImpalaSqlLexer.d.ts +170 -154
- package/dist/lib/impala/ImpalaSqlLexer.js +1179 -1099
- package/dist/lib/impala/ImpalaSqlParser.d.ts +282 -240
- package/dist/lib/impala/ImpalaSqlParser.js +3881 -3744
- package/dist/lib/impala/ImpalaSqlParserListener.d.ts +22 -11
- package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +14 -7
- package/dist/lib/impala/ImpalaSqlParserVisitor.js +1 -0
- package/dist/lib/index.d.ts +6 -6
- package/dist/lib/index.js +6 -6
- package/dist/lib/mysql/MySqlLexer.d.ts +2 -2
- package/dist/lib/mysql/MySqlLexer.js +1 -0
- package/dist/lib/mysql/MySqlParser.d.ts +347 -418
- package/dist/lib/mysql/MySqlParser.js +10484 -11099
- package/dist/lib/mysql/MySqlParserListener.d.ts +41 -126
- package/dist/lib/mysql/MySqlParserVisitor.d.ts +23 -76
- package/dist/lib/mysql/MySqlParserVisitor.js +1 -0
- package/dist/lib/plsql/PlSqlBaseLexer.d.ts +1 -2
- package/dist/lib/plsql/PlSqlBaseLexer.js +1 -1
- package/dist/lib/plsql/PlSqlBaseParser.d.ts +3 -2
- package/dist/lib/plsql/PlSqlBaseParser.js +2 -2
- package/dist/lib/plsql/PlSqlLexer.d.ts +3 -3
- package/dist/lib/plsql/PlSqlLexer.js +2 -1
- package/dist/lib/plsql/PlSqlParser.d.ts +3 -3
- package/dist/lib/plsql/PlSqlParser.js +2 -1
- package/dist/lib/plsql/PlSqlParserVisitor.js +1 -0
- package/dist/lib/{pgsql/PostgreSQLLexer.d.ts → postgresql/PostgreSqlLexer.d.ts} +3 -3
- package/dist/lib/{pgsql/PostgreSQLLexer.js → postgresql/PostgreSqlLexer.js} +618 -617
- package/dist/lib/{pgsql/PostgreSQLParser.d.ts → postgresql/PostgreSqlParser.d.ts} +3598 -3484
- package/dist/lib/{pgsql/PostgreSQLParser.js → postgresql/PostgreSqlParser.js} +41502 -42831
- package/dist/lib/{pgsql/PostgreSQLParserListener.d.ts → postgresql/PostgreSqlParserListener.d.ts} +2797 -2730
- package/dist/lib/{pgsql/PostgreSQLParserListener.js → postgresql/PostgreSqlParserListener.js} +3 -3
- package/dist/lib/{pgsql/PostgreSQLParserVisitor.d.ts → postgresql/PostgreSqlParserVisitor.d.ts} +1845 -1810
- package/dist/lib/{pgsql/PostgreSQLParserVisitor.js → postgresql/PostgreSqlParserVisitor.js} +4 -3
- package/dist/lib/spark/SparkSqlLexer.d.ts +305 -298
- package/dist/lib/spark/SparkSqlLexer.js +1777 -1735
- package/dist/lib/spark/SparkSqlParser.d.ts +1764 -669
- package/dist/lib/spark/SparkSqlParser.js +15460 -10769
- package/dist/lib/spark/SparkSqlParserListener.d.ts +1285 -35
- package/dist/lib/spark/SparkSqlParserVisitor.d.ts +790 -21
- package/dist/lib/spark/SparkSqlParserVisitor.js +1 -0
- package/dist/lib/{trinosql → trino}/TrinoSqlLexer.d.ts +2 -2
- package/dist/lib/{trinosql → trino}/TrinoSqlLexer.js +2 -1
- package/dist/lib/{trinosql → trino}/TrinoSqlListener.d.ts +7 -5
- package/dist/lib/{trinosql → trino}/TrinoSqlListener.js +1 -1
- package/dist/lib/{trinosql → trino}/TrinoSqlParser.d.ts +11 -5
- package/dist/lib/{trinosql → trino}/TrinoSqlParser.js +360 -320
- package/dist/lib/{trinosql → trino}/TrinoSqlVisitor.d.ts +4 -3
- package/dist/lib/{trinosql → trino}/TrinoSqlVisitor.js +2 -1
- package/dist/parser/common/{basicParser.d.ts → basicSQL.d.ts} +22 -19
- package/dist/parser/common/{basicParser.js → basicSQL.js} +52 -34
- package/dist/parser/common/entityCollector.d.ts +78 -0
- package/dist/parser/common/entityCollector.js +191 -0
- package/dist/parser/common/{utils/findCaretTokenIndex.d.ts → findCaretTokenIndex.d.ts} +2 -2
- package/dist/parser/common/{utils/findCaretTokenIndex.js → findCaretTokenIndex.js} +3 -2
- package/dist/parser/common/parseErrorListener.d.ts +6 -6
- package/dist/parser/common/parseErrorListener.js +1 -1
- package/dist/parser/common/simpleStack.d.ts +10 -0
- package/dist/parser/common/simpleStack.js +23 -0
- package/dist/parser/common/splitListener.d.ts +8 -0
- package/dist/parser/common/splitListener.js +12 -0
- package/dist/parser/common/textAndWord.d.ts +52 -0
- package/dist/parser/common/textAndWord.js +58 -0
- package/dist/parser/common/{basic-parser-types.d.ts → types.d.ts} +4 -31
- package/dist/parser/common/types.js +34 -0
- package/dist/parser/flink/flinkEntityCollector.d.ts +33 -0
- package/dist/parser/flink/flinkEntityCollector.js +84 -0
- package/dist/parser/flink/flinkSplitListener.d.ts +6 -0
- package/dist/parser/flink/flinkSplitListener.js +6 -0
- package/dist/parser/flink/index.d.ts +17 -0
- package/dist/parser/{flinksql.js → flink/index.js} +26 -37
- package/dist/parser/hive/hiveEntityCollector.d.ts +35 -0
- package/dist/parser/hive/hiveEntityCollector.js +90 -0
- package/dist/parser/hive/hiveSplitListener.d.ts +6 -0
- package/dist/parser/hive/hiveSplitListener.js +6 -0
- package/dist/parser/hive/index.d.ts +17 -0
- package/dist/parser/{hive.js → hive/index.js} +24 -34
- package/dist/parser/impala/impalaEntityCollector.d.ts +35 -0
- package/dist/parser/impala/impalaEntityCollector.js +90 -0
- package/dist/parser/impala/impalaSplitListener.d.ts +6 -0
- package/dist/parser/impala/impalaSplitListener.js +6 -0
- package/dist/parser/impala/index.d.ts +17 -0
- package/dist/parser/{impala.js → impala/index.js} +24 -34
- package/dist/parser/index.d.ts +8 -8
- package/dist/parser/index.js +8 -8
- package/dist/parser/mysql/index.d.ts +17 -0
- package/dist/parser/{mysql.js → mysql/index.js} +24 -34
- package/dist/parser/mysql/mysqlEntityCollector.d.ts +37 -0
- package/dist/parser/mysql/mysqlEntityCollector.js +96 -0
- package/dist/parser/mysql/mysqlSplitListener.d.ts +6 -0
- package/dist/parser/mysql/mysqlSplitListener.js +6 -0
- package/dist/parser/plsql.d.ts +7 -6
- package/dist/parser/plsql.js +6 -4
- package/dist/parser/postgresql/index.d.ts +17 -0
- package/dist/parser/postgresql/index.js +130 -0
- package/dist/parser/postgresql/postgreEntityCollector.d.ts +37 -0
- package/dist/parser/postgresql/postgreEntityCollector.js +96 -0
- package/dist/parser/postgresql/postgreSplitListener.d.ts +6 -0
- package/dist/parser/postgresql/postgreSplitListener.js +6 -0
- package/dist/parser/spark/index.d.ts +17 -0
- package/dist/parser/{spark.js → spark/index.js} +29 -40
- package/dist/parser/spark/sparkEntityCollector.d.ts +37 -0
- package/dist/parser/spark/sparkEntityCollector.js +96 -0
- package/dist/parser/spark/sparkSplitListener.d.ts +6 -0
- package/dist/parser/spark/sparkSplitListener.js +6 -0
- package/dist/parser/trino/index.d.ts +17 -0
- package/dist/parser/{trinosql.js → trino/index.js} +25 -36
- package/dist/parser/trino/trinoEntityCollector.d.ts +30 -0
- package/dist/parser/trino/trinoEntityCollector.js +75 -0
- package/dist/parser/trino/trinoSplitListener.d.ts +6 -0
- package/dist/parser/trino/trinoSplitListener.js +6 -0
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/token.d.ts +1 -1
- package/package.json +1 -1
- package/dist/parser/common/basic-parser-types.js +0 -34
- package/dist/parser/flinksql.d.ts +0 -23
- package/dist/parser/hive.d.ts +0 -23
- package/dist/parser/impala.d.ts +0 -23
- package/dist/parser/mysql.d.ts +0 -23
- package/dist/parser/pgsql.d.ts +0 -23
- package/dist/parser/pgsql.js +0 -140
- package/dist/parser/spark.d.ts +0 -23
- package/dist/parser/trinosql.d.ts +0 -23
|
@@ -1,7 +1,97 @@
|
|
|
1
1
|
import { AbstractParseTreeVisitor } from "antlr4ng";
|
|
2
2
|
import { ProgramContext } from "./SparkSqlParser.js";
|
|
3
3
|
import { SingleStatementContext } from "./SparkSqlParser.js";
|
|
4
|
-
import {
|
|
4
|
+
import { StatementDefaultContext } from "./SparkSqlParser.js";
|
|
5
|
+
import { DmlStatementContext } from "./SparkSqlParser.js";
|
|
6
|
+
import { UseNamespaceContext } from "./SparkSqlParser.js";
|
|
7
|
+
import { SetCatalogContext } from "./SparkSqlParser.js";
|
|
8
|
+
import { CreateNamespaceContext } from "./SparkSqlParser.js";
|
|
9
|
+
import { SetNamespacePropertiesContext } from "./SparkSqlParser.js";
|
|
10
|
+
import { SetNamespaceLocationContext } from "./SparkSqlParser.js";
|
|
11
|
+
import { DropNamespaceContext } from "./SparkSqlParser.js";
|
|
12
|
+
import { ShowNamespacesContext } from "./SparkSqlParser.js";
|
|
13
|
+
import { CreateTableContext } from "./SparkSqlParser.js";
|
|
14
|
+
import { CreateTableLikeContext } from "./SparkSqlParser.js";
|
|
15
|
+
import { ReplaceTableContext } from "./SparkSqlParser.js";
|
|
16
|
+
import { AnalyzeContext } from "./SparkSqlParser.js";
|
|
17
|
+
import { AnalyzeTablesContext } from "./SparkSqlParser.js";
|
|
18
|
+
import { AlterTableAddColumnContext } from "./SparkSqlParser.js";
|
|
19
|
+
import { AlterTableAddColumnsContext } from "./SparkSqlParser.js";
|
|
20
|
+
import { RenameTableColumnContext } from "./SparkSqlParser.js";
|
|
21
|
+
import { AlterTableDropColumnContext } from "./SparkSqlParser.js";
|
|
22
|
+
import { DropTableColumnsContext } from "./SparkSqlParser.js";
|
|
23
|
+
import { RenameTableContext } from "./SparkSqlParser.js";
|
|
24
|
+
import { SetTablePropertiesContext } from "./SparkSqlParser.js";
|
|
25
|
+
import { UnsetTablePropertiesContext } from "./SparkSqlParser.js";
|
|
26
|
+
import { AlterTableAlterColumnContext } from "./SparkSqlParser.js";
|
|
27
|
+
import { HiveChangeColumnContext } from "./SparkSqlParser.js";
|
|
28
|
+
import { HiveReplaceColumnsContext } from "./SparkSqlParser.js";
|
|
29
|
+
import { SetTableSerDeContext } from "./SparkSqlParser.js";
|
|
30
|
+
import { SetTableSerDePropertiesContext } from "./SparkSqlParser.js";
|
|
31
|
+
import { AddTablePartitionContext } from "./SparkSqlParser.js";
|
|
32
|
+
import { RenameTablePartitionContext } from "./SparkSqlParser.js";
|
|
33
|
+
import { DropTablePartitionsContext } from "./SparkSqlParser.js";
|
|
34
|
+
import { SetTableLocationContext } from "./SparkSqlParser.js";
|
|
35
|
+
import { RecoverPartitionsContext } from "./SparkSqlParser.js";
|
|
36
|
+
import { AlterMaterializedViewRewriteContext } from "./SparkSqlParser.js";
|
|
37
|
+
import { AlterMaterializedViewPropertiesContext } from "./SparkSqlParser.js";
|
|
38
|
+
import { DropTableContext } from "./SparkSqlParser.js";
|
|
39
|
+
import { DropViewContext } from "./SparkSqlParser.js";
|
|
40
|
+
import { DropMaterializedViewContext } from "./SparkSqlParser.js";
|
|
41
|
+
import { CreateViewContext } from "./SparkSqlParser.js";
|
|
42
|
+
import { CreateTempViewUsingContext } from "./SparkSqlParser.js";
|
|
43
|
+
import { AlterViewQueryContext } from "./SparkSqlParser.js";
|
|
44
|
+
import { CreateFunctionContext } from "./SparkSqlParser.js";
|
|
45
|
+
import { CreateMaterializedViewContext } from "./SparkSqlParser.js";
|
|
46
|
+
import { DropFunctionContext } from "./SparkSqlParser.js";
|
|
47
|
+
import { DeclareVariableContext } from "./SparkSqlParser.js";
|
|
48
|
+
import { DropVariableContext } from "./SparkSqlParser.js";
|
|
49
|
+
import { ExplainStatementContext } from "./SparkSqlParser.js";
|
|
50
|
+
import { ShowTablesContext } from "./SparkSqlParser.js";
|
|
51
|
+
import { ShowTableExtendedContext } from "./SparkSqlParser.js";
|
|
52
|
+
import { ShowTblPropertiesContext } from "./SparkSqlParser.js";
|
|
53
|
+
import { ShowColumnsContext } from "./SparkSqlParser.js";
|
|
54
|
+
import { ShowViewsContext } from "./SparkSqlParser.js";
|
|
55
|
+
import { ShowPartitionsContext } from "./SparkSqlParser.js";
|
|
56
|
+
import { ShowFunctionsContext } from "./SparkSqlParser.js";
|
|
57
|
+
import { ShowCreateTableContext } from "./SparkSqlParser.js";
|
|
58
|
+
import { ShowCurrentNamespaceContext } from "./SparkSqlParser.js";
|
|
59
|
+
import { ShowCatalogsContext } from "./SparkSqlParser.js";
|
|
60
|
+
import { ShowMaterializedViewsContext } from "./SparkSqlParser.js";
|
|
61
|
+
import { ShowCreateMaterializedViewContext } from "./SparkSqlParser.js";
|
|
62
|
+
import { DescribeFunctionContext } from "./SparkSqlParser.js";
|
|
63
|
+
import { DescribeNamespaceContext } from "./SparkSqlParser.js";
|
|
64
|
+
import { DescribeRelationContext } from "./SparkSqlParser.js";
|
|
65
|
+
import { DescribeQueryContext } from "./SparkSqlParser.js";
|
|
66
|
+
import { CommentNamespaceContext } from "./SparkSqlParser.js";
|
|
67
|
+
import { CommentTableContext } from "./SparkSqlParser.js";
|
|
68
|
+
import { RefreshTableContext } from "./SparkSqlParser.js";
|
|
69
|
+
import { RefreshFunctionContext } from "./SparkSqlParser.js";
|
|
70
|
+
import { RefreshResourceContext } from "./SparkSqlParser.js";
|
|
71
|
+
import { RefreshMaterializedViewContext } from "./SparkSqlParser.js";
|
|
72
|
+
import { CacheTableContext } from "./SparkSqlParser.js";
|
|
73
|
+
import { UnCacheTableContext } from "./SparkSqlParser.js";
|
|
74
|
+
import { ClearCacheContext } from "./SparkSqlParser.js";
|
|
75
|
+
import { LoadDataContext } from "./SparkSqlParser.js";
|
|
76
|
+
import { TruncateTableContext } from "./SparkSqlParser.js";
|
|
77
|
+
import { RepairTableContext } from "./SparkSqlParser.js";
|
|
78
|
+
import { ManageResourceContext } from "./SparkSqlParser.js";
|
|
79
|
+
import { FailNativeCommandContext } from "./SparkSqlParser.js";
|
|
80
|
+
import { SetTimeZoneIntervalContext } from "./SparkSqlParser.js";
|
|
81
|
+
import { SetTimeZoneContext } from "./SparkSqlParser.js";
|
|
82
|
+
import { SetTimeZoneAnyContext } from "./SparkSqlParser.js";
|
|
83
|
+
import { SetVariableAssignmentContext } from "./SparkSqlParser.js";
|
|
84
|
+
import { SetVariableMultiAssignmentContext } from "./SparkSqlParser.js";
|
|
85
|
+
import { SetConfigContext } from "./SparkSqlParser.js";
|
|
86
|
+
import { SetConfigAndValueContext } from "./SparkSqlParser.js";
|
|
87
|
+
import { SetConfigAnyKeyContext } from "./SparkSqlParser.js";
|
|
88
|
+
import { SetAnyContext } from "./SparkSqlParser.js";
|
|
89
|
+
import { ResetConfigContext } from "./SparkSqlParser.js";
|
|
90
|
+
import { ResetAnyContext } from "./SparkSqlParser.js";
|
|
91
|
+
import { CreateIndexContext } from "./SparkSqlParser.js";
|
|
92
|
+
import { DropIndexContext } from "./SparkSqlParser.js";
|
|
93
|
+
import { OptimizeTableContext } from "./SparkSqlParser.js";
|
|
94
|
+
import { UnsupportHiveCommandsContext } from "./SparkSqlParser.js";
|
|
5
95
|
import { TimezoneContext } from "./SparkSqlParser.js";
|
|
6
96
|
import { ConfigKeyContext } from "./SparkSqlParser.js";
|
|
7
97
|
import { ConfigValueContext } from "./SparkSqlParser.js";
|
|
@@ -12,19 +102,20 @@ import { BucketSpecContext } from "./SparkSqlParser.js";
|
|
|
12
102
|
import { SkewSpecContext } from "./SparkSqlParser.js";
|
|
13
103
|
import { LocationSpecContext } from "./SparkSqlParser.js";
|
|
14
104
|
import { CommentSpecContext } from "./SparkSqlParser.js";
|
|
15
|
-
import {
|
|
105
|
+
import { QueryStatementContext } from "./SparkSqlParser.js";
|
|
16
106
|
import { InsertIntoContext } from "./SparkSqlParser.js";
|
|
17
107
|
import { PartitionSpecLocationContext } from "./SparkSqlParser.js";
|
|
18
108
|
import { PartitionSpecContext } from "./SparkSqlParser.js";
|
|
19
109
|
import { PartitionValContext } from "./SparkSqlParser.js";
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
110
|
+
import { NamespaceContext } from "./SparkSqlParser.js";
|
|
111
|
+
import { NamespacesContext } from "./SparkSqlParser.js";
|
|
22
112
|
import { DescribeFuncNameContext } from "./SparkSqlParser.js";
|
|
23
113
|
import { DescribeColNameContext } from "./SparkSqlParser.js";
|
|
24
114
|
import { CtesContext } from "./SparkSqlParser.js";
|
|
25
115
|
import { NamedQueryContext } from "./SparkSqlParser.js";
|
|
26
116
|
import { TableProviderContext } from "./SparkSqlParser.js";
|
|
27
117
|
import { CreateTableClausesContext } from "./SparkSqlParser.js";
|
|
118
|
+
import { TableLifecycleContext } from "./SparkSqlParser.js";
|
|
28
119
|
import { PropertyListContext } from "./SparkSqlParser.js";
|
|
29
120
|
import { PropertyContext } from "./SparkSqlParser.js";
|
|
30
121
|
import { PropertyKeyContext } from "./SparkSqlParser.js";
|
|
@@ -37,9 +128,13 @@ import { CreateFileFormatContext } from "./SparkSqlParser.js";
|
|
|
37
128
|
import { FileFormatContext } from "./SparkSqlParser.js";
|
|
38
129
|
import { StorageHandlerContext } from "./SparkSqlParser.js";
|
|
39
130
|
import { ResourceContext } from "./SparkSqlParser.js";
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
131
|
+
import { InsertFromQueryContext } from "./SparkSqlParser.js";
|
|
132
|
+
import { MultipleInsertContext } from "./SparkSqlParser.js";
|
|
133
|
+
import { DeleteFromTableContext } from "./SparkSqlParser.js";
|
|
134
|
+
import { UpdateTableContext } from "./SparkSqlParser.js";
|
|
135
|
+
import { MergeIntoTableContext } from "./SparkSqlParser.js";
|
|
136
|
+
import { NamespaceNameContext } from "./SparkSqlParser.js";
|
|
137
|
+
import { NamespaceNameCreateContext } from "./SparkSqlParser.js";
|
|
43
138
|
import { TableNameCreateContext } from "./SparkSqlParser.js";
|
|
44
139
|
import { TableNameContext } from "./SparkSqlParser.js";
|
|
45
140
|
import { ViewNameCreateContext } from "./SparkSqlParser.js";
|
|
@@ -175,6 +270,7 @@ import { ComplexColTypeListContext } from "./SparkSqlParser.js";
|
|
|
175
270
|
import { ComplexColTypeContext } from "./SparkSqlParser.js";
|
|
176
271
|
import { WhenClauseContext } from "./SparkSqlParser.js";
|
|
177
272
|
import { WindowClauseContext } from "./SparkSqlParser.js";
|
|
273
|
+
import { ZorderClauseContext } from "./SparkSqlParser.js";
|
|
178
274
|
import { NamedWindowContext } from "./SparkSqlParser.js";
|
|
179
275
|
import { WindowSpecContext } from "./SparkSqlParser.js";
|
|
180
276
|
import { WindowFrameContext } from "./SparkSqlParser.js";
|
|
@@ -218,11 +314,642 @@ export declare class SparkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
218
314
|
*/
|
|
219
315
|
visitSingleStatement?: (ctx: SingleStatementContext) => Result;
|
|
220
316
|
/**
|
|
221
|
-
* Visit a parse tree produced by `
|
|
317
|
+
* Visit a parse tree produced by the `statementDefault`
|
|
318
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
222
319
|
* @param ctx the parse tree
|
|
223
320
|
* @return the visitor result
|
|
224
321
|
*/
|
|
225
|
-
|
|
322
|
+
visitStatementDefault?: (ctx: StatementDefaultContext) => Result;
|
|
323
|
+
/**
|
|
324
|
+
* Visit a parse tree produced by the `dmlStatement`
|
|
325
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
326
|
+
* @param ctx the parse tree
|
|
327
|
+
* @return the visitor result
|
|
328
|
+
*/
|
|
329
|
+
visitDmlStatement?: (ctx: DmlStatementContext) => Result;
|
|
330
|
+
/**
|
|
331
|
+
* Visit a parse tree produced by the `useNamespace`
|
|
332
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
333
|
+
* @param ctx the parse tree
|
|
334
|
+
* @return the visitor result
|
|
335
|
+
*/
|
|
336
|
+
visitUseNamespace?: (ctx: UseNamespaceContext) => Result;
|
|
337
|
+
/**
|
|
338
|
+
* Visit a parse tree produced by the `setCatalog`
|
|
339
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
340
|
+
* @param ctx the parse tree
|
|
341
|
+
* @return the visitor result
|
|
342
|
+
*/
|
|
343
|
+
visitSetCatalog?: (ctx: SetCatalogContext) => Result;
|
|
344
|
+
/**
|
|
345
|
+
* Visit a parse tree produced by the `createNamespace`
|
|
346
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
347
|
+
* @param ctx the parse tree
|
|
348
|
+
* @return the visitor result
|
|
349
|
+
*/
|
|
350
|
+
visitCreateNamespace?: (ctx: CreateNamespaceContext) => Result;
|
|
351
|
+
/**
|
|
352
|
+
* Visit a parse tree produced by the `setNamespaceProperties`
|
|
353
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
354
|
+
* @param ctx the parse tree
|
|
355
|
+
* @return the visitor result
|
|
356
|
+
*/
|
|
357
|
+
visitSetNamespaceProperties?: (ctx: SetNamespacePropertiesContext) => Result;
|
|
358
|
+
/**
|
|
359
|
+
* Visit a parse tree produced by the `setNamespaceLocation`
|
|
360
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
361
|
+
* @param ctx the parse tree
|
|
362
|
+
* @return the visitor result
|
|
363
|
+
*/
|
|
364
|
+
visitSetNamespaceLocation?: (ctx: SetNamespaceLocationContext) => Result;
|
|
365
|
+
/**
|
|
366
|
+
* Visit a parse tree produced by the `dropNamespace`
|
|
367
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
368
|
+
* @param ctx the parse tree
|
|
369
|
+
* @return the visitor result
|
|
370
|
+
*/
|
|
371
|
+
visitDropNamespace?: (ctx: DropNamespaceContext) => Result;
|
|
372
|
+
/**
|
|
373
|
+
* Visit a parse tree produced by the `showNamespaces`
|
|
374
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
375
|
+
* @param ctx the parse tree
|
|
376
|
+
* @return the visitor result
|
|
377
|
+
*/
|
|
378
|
+
visitShowNamespaces?: (ctx: ShowNamespacesContext) => Result;
|
|
379
|
+
/**
|
|
380
|
+
* Visit a parse tree produced by the `createTable`
|
|
381
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
382
|
+
* @param ctx the parse tree
|
|
383
|
+
* @return the visitor result
|
|
384
|
+
*/
|
|
385
|
+
visitCreateTable?: (ctx: CreateTableContext) => Result;
|
|
386
|
+
/**
|
|
387
|
+
* Visit a parse tree produced by the `createTableLike`
|
|
388
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
389
|
+
* @param ctx the parse tree
|
|
390
|
+
* @return the visitor result
|
|
391
|
+
*/
|
|
392
|
+
visitCreateTableLike?: (ctx: CreateTableLikeContext) => Result;
|
|
393
|
+
/**
|
|
394
|
+
* Visit a parse tree produced by the `replaceTable`
|
|
395
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
396
|
+
* @param ctx the parse tree
|
|
397
|
+
* @return the visitor result
|
|
398
|
+
*/
|
|
399
|
+
visitReplaceTable?: (ctx: ReplaceTableContext) => Result;
|
|
400
|
+
/**
|
|
401
|
+
* Visit a parse tree produced by the `analyze`
|
|
402
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
403
|
+
* @param ctx the parse tree
|
|
404
|
+
* @return the visitor result
|
|
405
|
+
*/
|
|
406
|
+
visitAnalyze?: (ctx: AnalyzeContext) => Result;
|
|
407
|
+
/**
|
|
408
|
+
* Visit a parse tree produced by the `analyzeTables`
|
|
409
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
410
|
+
* @param ctx the parse tree
|
|
411
|
+
* @return the visitor result
|
|
412
|
+
*/
|
|
413
|
+
visitAnalyzeTables?: (ctx: AnalyzeTablesContext) => Result;
|
|
414
|
+
/**
|
|
415
|
+
* Visit a parse tree produced by the `alterTableAddColumn`
|
|
416
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
417
|
+
* @param ctx the parse tree
|
|
418
|
+
* @return the visitor result
|
|
419
|
+
*/
|
|
420
|
+
visitAlterTableAddColumn?: (ctx: AlterTableAddColumnContext) => Result;
|
|
421
|
+
/**
|
|
422
|
+
* Visit a parse tree produced by the `alterTableAddColumns`
|
|
423
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
424
|
+
* @param ctx the parse tree
|
|
425
|
+
* @return the visitor result
|
|
426
|
+
*/
|
|
427
|
+
visitAlterTableAddColumns?: (ctx: AlterTableAddColumnsContext) => Result;
|
|
428
|
+
/**
|
|
429
|
+
* Visit a parse tree produced by the `renameTableColumn`
|
|
430
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
431
|
+
* @param ctx the parse tree
|
|
432
|
+
* @return the visitor result
|
|
433
|
+
*/
|
|
434
|
+
visitRenameTableColumn?: (ctx: RenameTableColumnContext) => Result;
|
|
435
|
+
/**
|
|
436
|
+
* Visit a parse tree produced by the `alterTableDropColumn`
|
|
437
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
438
|
+
* @param ctx the parse tree
|
|
439
|
+
* @return the visitor result
|
|
440
|
+
*/
|
|
441
|
+
visitAlterTableDropColumn?: (ctx: AlterTableDropColumnContext) => Result;
|
|
442
|
+
/**
|
|
443
|
+
* Visit a parse tree produced by the `dropTableColumns`
|
|
444
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
445
|
+
* @param ctx the parse tree
|
|
446
|
+
* @return the visitor result
|
|
447
|
+
*/
|
|
448
|
+
visitDropTableColumns?: (ctx: DropTableColumnsContext) => Result;
|
|
449
|
+
/**
|
|
450
|
+
* Visit a parse tree produced by the `renameTable`
|
|
451
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
452
|
+
* @param ctx the parse tree
|
|
453
|
+
* @return the visitor result
|
|
454
|
+
*/
|
|
455
|
+
visitRenameTable?: (ctx: RenameTableContext) => Result;
|
|
456
|
+
/**
|
|
457
|
+
* Visit a parse tree produced by the `setTableProperties`
|
|
458
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
459
|
+
* @param ctx the parse tree
|
|
460
|
+
* @return the visitor result
|
|
461
|
+
*/
|
|
462
|
+
visitSetTableProperties?: (ctx: SetTablePropertiesContext) => Result;
|
|
463
|
+
/**
|
|
464
|
+
* Visit a parse tree produced by the `unsetTableProperties`
|
|
465
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
466
|
+
* @param ctx the parse tree
|
|
467
|
+
* @return the visitor result
|
|
468
|
+
*/
|
|
469
|
+
visitUnsetTableProperties?: (ctx: UnsetTablePropertiesContext) => Result;
|
|
470
|
+
/**
|
|
471
|
+
* Visit a parse tree produced by the `alterTableAlterColumn`
|
|
472
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
473
|
+
* @param ctx the parse tree
|
|
474
|
+
* @return the visitor result
|
|
475
|
+
*/
|
|
476
|
+
visitAlterTableAlterColumn?: (ctx: AlterTableAlterColumnContext) => Result;
|
|
477
|
+
/**
|
|
478
|
+
* Visit a parse tree produced by the `hiveChangeColumn`
|
|
479
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
480
|
+
* @param ctx the parse tree
|
|
481
|
+
* @return the visitor result
|
|
482
|
+
*/
|
|
483
|
+
visitHiveChangeColumn?: (ctx: HiveChangeColumnContext) => Result;
|
|
484
|
+
/**
|
|
485
|
+
* Visit a parse tree produced by the `hiveReplaceColumns`
|
|
486
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
487
|
+
* @param ctx the parse tree
|
|
488
|
+
* @return the visitor result
|
|
489
|
+
*/
|
|
490
|
+
visitHiveReplaceColumns?: (ctx: HiveReplaceColumnsContext) => Result;
|
|
491
|
+
/**
|
|
492
|
+
* Visit a parse tree produced by the `setTableSerDe`
|
|
493
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
494
|
+
* @param ctx the parse tree
|
|
495
|
+
* @return the visitor result
|
|
496
|
+
*/
|
|
497
|
+
visitSetTableSerDe?: (ctx: SetTableSerDeContext) => Result;
|
|
498
|
+
/**
|
|
499
|
+
* Visit a parse tree produced by the `setTableSerDeProperties`
|
|
500
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
501
|
+
* @param ctx the parse tree
|
|
502
|
+
* @return the visitor result
|
|
503
|
+
*/
|
|
504
|
+
visitSetTableSerDeProperties?: (ctx: SetTableSerDePropertiesContext) => Result;
|
|
505
|
+
/**
|
|
506
|
+
* Visit a parse tree produced by the `addTablePartition`
|
|
507
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
508
|
+
* @param ctx the parse tree
|
|
509
|
+
* @return the visitor result
|
|
510
|
+
*/
|
|
511
|
+
visitAddTablePartition?: (ctx: AddTablePartitionContext) => Result;
|
|
512
|
+
/**
|
|
513
|
+
* Visit a parse tree produced by the `renameTablePartition`
|
|
514
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
515
|
+
* @param ctx the parse tree
|
|
516
|
+
* @return the visitor result
|
|
517
|
+
*/
|
|
518
|
+
visitRenameTablePartition?: (ctx: RenameTablePartitionContext) => Result;
|
|
519
|
+
/**
|
|
520
|
+
* Visit a parse tree produced by the `dropTablePartitions`
|
|
521
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
522
|
+
* @param ctx the parse tree
|
|
523
|
+
* @return the visitor result
|
|
524
|
+
*/
|
|
525
|
+
visitDropTablePartitions?: (ctx: DropTablePartitionsContext) => Result;
|
|
526
|
+
/**
|
|
527
|
+
* Visit a parse tree produced by the `setTableLocation`
|
|
528
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
529
|
+
* @param ctx the parse tree
|
|
530
|
+
* @return the visitor result
|
|
531
|
+
*/
|
|
532
|
+
visitSetTableLocation?: (ctx: SetTableLocationContext) => Result;
|
|
533
|
+
/**
|
|
534
|
+
* Visit a parse tree produced by the `recoverPartitions`
|
|
535
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
536
|
+
* @param ctx the parse tree
|
|
537
|
+
* @return the visitor result
|
|
538
|
+
*/
|
|
539
|
+
visitRecoverPartitions?: (ctx: RecoverPartitionsContext) => Result;
|
|
540
|
+
/**
|
|
541
|
+
* Visit a parse tree produced by the `alterMaterializedViewRewrite`
|
|
542
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
543
|
+
* @param ctx the parse tree
|
|
544
|
+
* @return the visitor result
|
|
545
|
+
*/
|
|
546
|
+
visitAlterMaterializedViewRewrite?: (ctx: AlterMaterializedViewRewriteContext) => Result;
|
|
547
|
+
/**
|
|
548
|
+
* Visit a parse tree produced by the `alterMaterializedViewProperties`
|
|
549
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
550
|
+
* @param ctx the parse tree
|
|
551
|
+
* @return the visitor result
|
|
552
|
+
*/
|
|
553
|
+
visitAlterMaterializedViewProperties?: (ctx: AlterMaterializedViewPropertiesContext) => Result;
|
|
554
|
+
/**
|
|
555
|
+
* Visit a parse tree produced by the `dropTable`
|
|
556
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
557
|
+
* @param ctx the parse tree
|
|
558
|
+
* @return the visitor result
|
|
559
|
+
*/
|
|
560
|
+
visitDropTable?: (ctx: DropTableContext) => Result;
|
|
561
|
+
/**
|
|
562
|
+
* Visit a parse tree produced by the `dropView`
|
|
563
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
564
|
+
* @param ctx the parse tree
|
|
565
|
+
* @return the visitor result
|
|
566
|
+
*/
|
|
567
|
+
visitDropView?: (ctx: DropViewContext) => Result;
|
|
568
|
+
/**
|
|
569
|
+
* Visit a parse tree produced by the `dropMaterializedView`
|
|
570
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
571
|
+
* @param ctx the parse tree
|
|
572
|
+
* @return the visitor result
|
|
573
|
+
*/
|
|
574
|
+
visitDropMaterializedView?: (ctx: DropMaterializedViewContext) => Result;
|
|
575
|
+
/**
|
|
576
|
+
* Visit a parse tree produced by the `createView`
|
|
577
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
578
|
+
* @param ctx the parse tree
|
|
579
|
+
* @return the visitor result
|
|
580
|
+
*/
|
|
581
|
+
visitCreateView?: (ctx: CreateViewContext) => Result;
|
|
582
|
+
/**
|
|
583
|
+
* Visit a parse tree produced by the `createTempViewUsing`
|
|
584
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
585
|
+
* @param ctx the parse tree
|
|
586
|
+
* @return the visitor result
|
|
587
|
+
*/
|
|
588
|
+
visitCreateTempViewUsing?: (ctx: CreateTempViewUsingContext) => Result;
|
|
589
|
+
/**
|
|
590
|
+
* Visit a parse tree produced by the `alterViewQuery`
|
|
591
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
592
|
+
* @param ctx the parse tree
|
|
593
|
+
* @return the visitor result
|
|
594
|
+
*/
|
|
595
|
+
visitAlterViewQuery?: (ctx: AlterViewQueryContext) => Result;
|
|
596
|
+
/**
|
|
597
|
+
* Visit a parse tree produced by the `createFunction`
|
|
598
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
599
|
+
* @param ctx the parse tree
|
|
600
|
+
* @return the visitor result
|
|
601
|
+
*/
|
|
602
|
+
visitCreateFunction?: (ctx: CreateFunctionContext) => Result;
|
|
603
|
+
/**
|
|
604
|
+
* Visit a parse tree produced by the `createMaterializedView`
|
|
605
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
606
|
+
* @param ctx the parse tree
|
|
607
|
+
* @return the visitor result
|
|
608
|
+
*/
|
|
609
|
+
visitCreateMaterializedView?: (ctx: CreateMaterializedViewContext) => Result;
|
|
610
|
+
/**
|
|
611
|
+
* Visit a parse tree produced by the `dropFunction`
|
|
612
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
613
|
+
* @param ctx the parse tree
|
|
614
|
+
* @return the visitor result
|
|
615
|
+
*/
|
|
616
|
+
visitDropFunction?: (ctx: DropFunctionContext) => Result;
|
|
617
|
+
/**
|
|
618
|
+
* Visit a parse tree produced by the `declareVariable`
|
|
619
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
620
|
+
* @param ctx the parse tree
|
|
621
|
+
* @return the visitor result
|
|
622
|
+
*/
|
|
623
|
+
visitDeclareVariable?: (ctx: DeclareVariableContext) => Result;
|
|
624
|
+
/**
|
|
625
|
+
* Visit a parse tree produced by the `dropVariable`
|
|
626
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
627
|
+
* @param ctx the parse tree
|
|
628
|
+
* @return the visitor result
|
|
629
|
+
*/
|
|
630
|
+
visitDropVariable?: (ctx: DropVariableContext) => Result;
|
|
631
|
+
/**
|
|
632
|
+
* Visit a parse tree produced by the `explainStatement`
|
|
633
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
634
|
+
* @param ctx the parse tree
|
|
635
|
+
* @return the visitor result
|
|
636
|
+
*/
|
|
637
|
+
visitExplainStatement?: (ctx: ExplainStatementContext) => Result;
|
|
638
|
+
/**
|
|
639
|
+
* Visit a parse tree produced by the `showTables`
|
|
640
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
641
|
+
* @param ctx the parse tree
|
|
642
|
+
* @return the visitor result
|
|
643
|
+
*/
|
|
644
|
+
visitShowTables?: (ctx: ShowTablesContext) => Result;
|
|
645
|
+
/**
|
|
646
|
+
* Visit a parse tree produced by the `showTableExtended`
|
|
647
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
648
|
+
* @param ctx the parse tree
|
|
649
|
+
* @return the visitor result
|
|
650
|
+
*/
|
|
651
|
+
visitShowTableExtended?: (ctx: ShowTableExtendedContext) => Result;
|
|
652
|
+
/**
|
|
653
|
+
* Visit a parse tree produced by the `showTblProperties`
|
|
654
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
655
|
+
* @param ctx the parse tree
|
|
656
|
+
* @return the visitor result
|
|
657
|
+
*/
|
|
658
|
+
visitShowTblProperties?: (ctx: ShowTblPropertiesContext) => Result;
|
|
659
|
+
/**
|
|
660
|
+
* Visit a parse tree produced by the `showColumns`
|
|
661
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
662
|
+
* @param ctx the parse tree
|
|
663
|
+
* @return the visitor result
|
|
664
|
+
*/
|
|
665
|
+
visitShowColumns?: (ctx: ShowColumnsContext) => Result;
|
|
666
|
+
/**
|
|
667
|
+
* Visit a parse tree produced by the `showViews`
|
|
668
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
669
|
+
* @param ctx the parse tree
|
|
670
|
+
* @return the visitor result
|
|
671
|
+
*/
|
|
672
|
+
visitShowViews?: (ctx: ShowViewsContext) => Result;
|
|
673
|
+
/**
|
|
674
|
+
* Visit a parse tree produced by the `showPartitions`
|
|
675
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
676
|
+
* @param ctx the parse tree
|
|
677
|
+
* @return the visitor result
|
|
678
|
+
*/
|
|
679
|
+
visitShowPartitions?: (ctx: ShowPartitionsContext) => Result;
|
|
680
|
+
/**
|
|
681
|
+
* Visit a parse tree produced by the `showFunctions`
|
|
682
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
683
|
+
* @param ctx the parse tree
|
|
684
|
+
* @return the visitor result
|
|
685
|
+
*/
|
|
686
|
+
visitShowFunctions?: (ctx: ShowFunctionsContext) => Result;
|
|
687
|
+
/**
|
|
688
|
+
* Visit a parse tree produced by the `showCreateTable`
|
|
689
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
690
|
+
* @param ctx the parse tree
|
|
691
|
+
* @return the visitor result
|
|
692
|
+
*/
|
|
693
|
+
visitShowCreateTable?: (ctx: ShowCreateTableContext) => Result;
|
|
694
|
+
/**
|
|
695
|
+
* Visit a parse tree produced by the `showCurrentNamespace`
|
|
696
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
697
|
+
* @param ctx the parse tree
|
|
698
|
+
* @return the visitor result
|
|
699
|
+
*/
|
|
700
|
+
visitShowCurrentNamespace?: (ctx: ShowCurrentNamespaceContext) => Result;
|
|
701
|
+
/**
|
|
702
|
+
* Visit a parse tree produced by the `showCatalogs`
|
|
703
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
704
|
+
* @param ctx the parse tree
|
|
705
|
+
* @return the visitor result
|
|
706
|
+
*/
|
|
707
|
+
visitShowCatalogs?: (ctx: ShowCatalogsContext) => Result;
|
|
708
|
+
/**
|
|
709
|
+
* Visit a parse tree produced by the `showMaterializedViews`
|
|
710
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
711
|
+
* @param ctx the parse tree
|
|
712
|
+
* @return the visitor result
|
|
713
|
+
*/
|
|
714
|
+
visitShowMaterializedViews?: (ctx: ShowMaterializedViewsContext) => Result;
|
|
715
|
+
/**
|
|
716
|
+
* Visit a parse tree produced by the `showCreateMaterializedView`
|
|
717
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
718
|
+
* @param ctx the parse tree
|
|
719
|
+
* @return the visitor result
|
|
720
|
+
*/
|
|
721
|
+
visitShowCreateMaterializedView?: (ctx: ShowCreateMaterializedViewContext) => Result;
|
|
722
|
+
/**
|
|
723
|
+
* Visit a parse tree produced by the `describeFunction`
|
|
724
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
725
|
+
* @param ctx the parse tree
|
|
726
|
+
* @return the visitor result
|
|
727
|
+
*/
|
|
728
|
+
visitDescribeFunction?: (ctx: DescribeFunctionContext) => Result;
|
|
729
|
+
/**
|
|
730
|
+
* Visit a parse tree produced by the `describeNamespace`
|
|
731
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
732
|
+
* @param ctx the parse tree
|
|
733
|
+
* @return the visitor result
|
|
734
|
+
*/
|
|
735
|
+
visitDescribeNamespace?: (ctx: DescribeNamespaceContext) => Result;
|
|
736
|
+
/**
|
|
737
|
+
* Visit a parse tree produced by the `describeRelation`
|
|
738
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
739
|
+
* @param ctx the parse tree
|
|
740
|
+
* @return the visitor result
|
|
741
|
+
*/
|
|
742
|
+
visitDescribeRelation?: (ctx: DescribeRelationContext) => Result;
|
|
743
|
+
/**
|
|
744
|
+
* Visit a parse tree produced by the `describeQuery`
|
|
745
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
746
|
+
* @param ctx the parse tree
|
|
747
|
+
* @return the visitor result
|
|
748
|
+
*/
|
|
749
|
+
visitDescribeQuery?: (ctx: DescribeQueryContext) => Result;
|
|
750
|
+
/**
|
|
751
|
+
* Visit a parse tree produced by the `commentNamespace`
|
|
752
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
753
|
+
* @param ctx the parse tree
|
|
754
|
+
* @return the visitor result
|
|
755
|
+
*/
|
|
756
|
+
visitCommentNamespace?: (ctx: CommentNamespaceContext) => Result;
|
|
757
|
+
/**
|
|
758
|
+
* Visit a parse tree produced by the `commentTable`
|
|
759
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
760
|
+
* @param ctx the parse tree
|
|
761
|
+
* @return the visitor result
|
|
762
|
+
*/
|
|
763
|
+
visitCommentTable?: (ctx: CommentTableContext) => Result;
|
|
764
|
+
/**
|
|
765
|
+
* Visit a parse tree produced by the `refreshTable`
|
|
766
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
767
|
+
* @param ctx the parse tree
|
|
768
|
+
* @return the visitor result
|
|
769
|
+
*/
|
|
770
|
+
visitRefreshTable?: (ctx: RefreshTableContext) => Result;
|
|
771
|
+
/**
|
|
772
|
+
* Visit a parse tree produced by the `refreshFunction`
|
|
773
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
774
|
+
* @param ctx the parse tree
|
|
775
|
+
* @return the visitor result
|
|
776
|
+
*/
|
|
777
|
+
visitRefreshFunction?: (ctx: RefreshFunctionContext) => Result;
|
|
778
|
+
/**
|
|
779
|
+
* Visit a parse tree produced by the `refreshResource`
|
|
780
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
781
|
+
* @param ctx the parse tree
|
|
782
|
+
* @return the visitor result
|
|
783
|
+
*/
|
|
784
|
+
visitRefreshResource?: (ctx: RefreshResourceContext) => Result;
|
|
785
|
+
/**
|
|
786
|
+
* Visit a parse tree produced by the `refreshMaterializedView`
|
|
787
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
788
|
+
* @param ctx the parse tree
|
|
789
|
+
* @return the visitor result
|
|
790
|
+
*/
|
|
791
|
+
visitRefreshMaterializedView?: (ctx: RefreshMaterializedViewContext) => Result;
|
|
792
|
+
/**
|
|
793
|
+
* Visit a parse tree produced by the `cacheTable`
|
|
794
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
795
|
+
* @param ctx the parse tree
|
|
796
|
+
* @return the visitor result
|
|
797
|
+
*/
|
|
798
|
+
visitCacheTable?: (ctx: CacheTableContext) => Result;
|
|
799
|
+
/**
|
|
800
|
+
* Visit a parse tree produced by the `unCacheTable`
|
|
801
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
802
|
+
* @param ctx the parse tree
|
|
803
|
+
* @return the visitor result
|
|
804
|
+
*/
|
|
805
|
+
visitUnCacheTable?: (ctx: UnCacheTableContext) => Result;
|
|
806
|
+
/**
|
|
807
|
+
* Visit a parse tree produced by the `clearCache`
|
|
808
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
809
|
+
* @param ctx the parse tree
|
|
810
|
+
* @return the visitor result
|
|
811
|
+
*/
|
|
812
|
+
visitClearCache?: (ctx: ClearCacheContext) => Result;
|
|
813
|
+
/**
|
|
814
|
+
* Visit a parse tree produced by the `loadData`
|
|
815
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
816
|
+
* @param ctx the parse tree
|
|
817
|
+
* @return the visitor result
|
|
818
|
+
*/
|
|
819
|
+
visitLoadData?: (ctx: LoadDataContext) => Result;
|
|
820
|
+
/**
|
|
821
|
+
* Visit a parse tree produced by the `truncateTable`
|
|
822
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
823
|
+
* @param ctx the parse tree
|
|
824
|
+
* @return the visitor result
|
|
825
|
+
*/
|
|
826
|
+
visitTruncateTable?: (ctx: TruncateTableContext) => Result;
|
|
827
|
+
/**
|
|
828
|
+
* Visit a parse tree produced by the `repairTable`
|
|
829
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
830
|
+
* @param ctx the parse tree
|
|
831
|
+
* @return the visitor result
|
|
832
|
+
*/
|
|
833
|
+
visitRepairTable?: (ctx: RepairTableContext) => Result;
|
|
834
|
+
/**
|
|
835
|
+
* Visit a parse tree produced by the `manageResource`
|
|
836
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
837
|
+
* @param ctx the parse tree
|
|
838
|
+
* @return the visitor result
|
|
839
|
+
*/
|
|
840
|
+
visitManageResource?: (ctx: ManageResourceContext) => Result;
|
|
841
|
+
/**
|
|
842
|
+
* Visit a parse tree produced by the `failNativeCommand`
|
|
843
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
844
|
+
* @param ctx the parse tree
|
|
845
|
+
* @return the visitor result
|
|
846
|
+
*/
|
|
847
|
+
visitFailNativeCommand?: (ctx: FailNativeCommandContext) => Result;
|
|
848
|
+
/**
|
|
849
|
+
* Visit a parse tree produced by the `setTimeZoneInterval`
|
|
850
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
851
|
+
* @param ctx the parse tree
|
|
852
|
+
* @return the visitor result
|
|
853
|
+
*/
|
|
854
|
+
visitSetTimeZoneInterval?: (ctx: SetTimeZoneIntervalContext) => Result;
|
|
855
|
+
/**
|
|
856
|
+
* Visit a parse tree produced by the `setTimeZone`
|
|
857
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
858
|
+
* @param ctx the parse tree
|
|
859
|
+
* @return the visitor result
|
|
860
|
+
*/
|
|
861
|
+
visitSetTimeZone?: (ctx: SetTimeZoneContext) => Result;
|
|
862
|
+
/**
|
|
863
|
+
* Visit a parse tree produced by the `setTimeZoneAny`
|
|
864
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
865
|
+
* @param ctx the parse tree
|
|
866
|
+
* @return the visitor result
|
|
867
|
+
*/
|
|
868
|
+
visitSetTimeZoneAny?: (ctx: SetTimeZoneAnyContext) => Result;
|
|
869
|
+
/**
|
|
870
|
+
* Visit a parse tree produced by the `setVariableAssignment`
|
|
871
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
872
|
+
* @param ctx the parse tree
|
|
873
|
+
* @return the visitor result
|
|
874
|
+
*/
|
|
875
|
+
visitSetVariableAssignment?: (ctx: SetVariableAssignmentContext) => Result;
|
|
876
|
+
/**
|
|
877
|
+
* Visit a parse tree produced by the `setVariableMultiAssignment`
|
|
878
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
879
|
+
* @param ctx the parse tree
|
|
880
|
+
* @return the visitor result
|
|
881
|
+
*/
|
|
882
|
+
visitSetVariableMultiAssignment?: (ctx: SetVariableMultiAssignmentContext) => Result;
|
|
883
|
+
/**
|
|
884
|
+
* Visit a parse tree produced by the `setConfig`
|
|
885
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
886
|
+
* @param ctx the parse tree
|
|
887
|
+
* @return the visitor result
|
|
888
|
+
*/
|
|
889
|
+
visitSetConfig?: (ctx: SetConfigContext) => Result;
|
|
890
|
+
/**
|
|
891
|
+
* Visit a parse tree produced by the `setConfigAndValue`
|
|
892
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
893
|
+
* @param ctx the parse tree
|
|
894
|
+
* @return the visitor result
|
|
895
|
+
*/
|
|
896
|
+
visitSetConfigAndValue?: (ctx: SetConfigAndValueContext) => Result;
|
|
897
|
+
/**
|
|
898
|
+
* Visit a parse tree produced by the `setConfigAnyKey`
|
|
899
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
900
|
+
* @param ctx the parse tree
|
|
901
|
+
* @return the visitor result
|
|
902
|
+
*/
|
|
903
|
+
visitSetConfigAnyKey?: (ctx: SetConfigAnyKeyContext) => Result;
|
|
904
|
+
/**
|
|
905
|
+
* Visit a parse tree produced by the `setAny`
|
|
906
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
907
|
+
* @param ctx the parse tree
|
|
908
|
+
* @return the visitor result
|
|
909
|
+
*/
|
|
910
|
+
visitSetAny?: (ctx: SetAnyContext) => Result;
|
|
911
|
+
/**
|
|
912
|
+
* Visit a parse tree produced by the `resetConfig`
|
|
913
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
914
|
+
* @param ctx the parse tree
|
|
915
|
+
* @return the visitor result
|
|
916
|
+
*/
|
|
917
|
+
visitResetConfig?: (ctx: ResetConfigContext) => Result;
|
|
918
|
+
/**
|
|
919
|
+
* Visit a parse tree produced by the `resetAny`
|
|
920
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
921
|
+
* @param ctx the parse tree
|
|
922
|
+
* @return the visitor result
|
|
923
|
+
*/
|
|
924
|
+
visitResetAny?: (ctx: ResetAnyContext) => Result;
|
|
925
|
+
/**
|
|
926
|
+
* Visit a parse tree produced by the `createIndex`
|
|
927
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
928
|
+
* @param ctx the parse tree
|
|
929
|
+
* @return the visitor result
|
|
930
|
+
*/
|
|
931
|
+
visitCreateIndex?: (ctx: CreateIndexContext) => Result;
|
|
932
|
+
/**
|
|
933
|
+
* Visit a parse tree produced by the `dropIndex`
|
|
934
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
935
|
+
* @param ctx the parse tree
|
|
936
|
+
* @return the visitor result
|
|
937
|
+
*/
|
|
938
|
+
visitDropIndex?: (ctx: DropIndexContext) => Result;
|
|
939
|
+
/**
|
|
940
|
+
* Visit a parse tree produced by the `optimizeTable`
|
|
941
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
942
|
+
* @param ctx the parse tree
|
|
943
|
+
* @return the visitor result
|
|
944
|
+
*/
|
|
945
|
+
visitOptimizeTable?: (ctx: OptimizeTableContext) => Result;
|
|
946
|
+
/**
|
|
947
|
+
* Visit a parse tree produced by the `unsupportHiveCommands`
|
|
948
|
+
* labeled alternative in `SparkSqlParser.statement`.
|
|
949
|
+
* @param ctx the parse tree
|
|
950
|
+
* @return the visitor result
|
|
951
|
+
*/
|
|
952
|
+
visitUnsupportHiveCommands?: (ctx: UnsupportHiveCommandsContext) => Result;
|
|
226
953
|
/**
|
|
227
954
|
* Visit a parse tree produced by `SparkSqlParser.timezone`.
|
|
228
955
|
* @param ctx the parse tree
|
|
@@ -284,11 +1011,12 @@ export declare class SparkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
284
1011
|
*/
|
|
285
1012
|
visitCommentSpec?: (ctx: CommentSpecContext) => Result;
|
|
286
1013
|
/**
|
|
287
|
-
* Visit a parse tree produced by `
|
|
1014
|
+
* Visit a parse tree produced by the `queryStatement`
|
|
1015
|
+
* labeled alternative in `SparkSqlParser.query`.
|
|
288
1016
|
* @param ctx the parse tree
|
|
289
1017
|
* @return the visitor result
|
|
290
1018
|
*/
|
|
291
|
-
|
|
1019
|
+
visitQueryStatement?: (ctx: QueryStatementContext) => Result;
|
|
292
1020
|
/**
|
|
293
1021
|
* Visit a parse tree produced by `SparkSqlParser.insertInto`.
|
|
294
1022
|
* @param ctx the parse tree
|
|
@@ -314,17 +1042,17 @@ export declare class SparkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
314
1042
|
*/
|
|
315
1043
|
visitPartitionVal?: (ctx: PartitionValContext) => Result;
|
|
316
1044
|
/**
|
|
317
|
-
* Visit a parse tree produced by `SparkSqlParser.
|
|
1045
|
+
* Visit a parse tree produced by `SparkSqlParser.namespace`.
|
|
318
1046
|
* @param ctx the parse tree
|
|
319
1047
|
* @return the visitor result
|
|
320
1048
|
*/
|
|
321
|
-
|
|
1049
|
+
visitNamespace?: (ctx: NamespaceContext) => Result;
|
|
322
1050
|
/**
|
|
323
|
-
* Visit a parse tree produced by `SparkSqlParser.
|
|
1051
|
+
* Visit a parse tree produced by `SparkSqlParser.namespaces`.
|
|
324
1052
|
* @param ctx the parse tree
|
|
325
1053
|
* @return the visitor result
|
|
326
1054
|
*/
|
|
327
|
-
|
|
1055
|
+
visitNamespaces?: (ctx: NamespacesContext) => Result;
|
|
328
1056
|
/**
|
|
329
1057
|
* Visit a parse tree produced by `SparkSqlParser.describeFuncName`.
|
|
330
1058
|
* @param ctx the parse tree
|
|
@@ -361,6 +1089,12 @@ export declare class SparkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
361
1089
|
* @return the visitor result
|
|
362
1090
|
*/
|
|
363
1091
|
visitCreateTableClauses?: (ctx: CreateTableClausesContext) => Result;
|
|
1092
|
+
/**
|
|
1093
|
+
* Visit a parse tree produced by `SparkSqlParser.tableLifecycle`.
|
|
1094
|
+
* @param ctx the parse tree
|
|
1095
|
+
* @return the visitor result
|
|
1096
|
+
*/
|
|
1097
|
+
visitTableLifecycle?: (ctx: TableLifecycleContext) => Result;
|
|
364
1098
|
/**
|
|
365
1099
|
* Visit a parse tree produced by `SparkSqlParser.propertyList`.
|
|
366
1100
|
* @param ctx the parse tree
|
|
@@ -434,23 +1168,52 @@ export declare class SparkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
434
1168
|
*/
|
|
435
1169
|
visitResource?: (ctx: ResourceContext) => Result;
|
|
436
1170
|
/**
|
|
437
|
-
* Visit a parse tree produced by `
|
|
1171
|
+
* Visit a parse tree produced by the `insertFromQuery`
|
|
1172
|
+
* labeled alternative in `SparkSqlParser.dmlStatementNoWith`.
|
|
1173
|
+
* @param ctx the parse tree
|
|
1174
|
+
* @return the visitor result
|
|
1175
|
+
*/
|
|
1176
|
+
visitInsertFromQuery?: (ctx: InsertFromQueryContext) => Result;
|
|
1177
|
+
/**
|
|
1178
|
+
* Visit a parse tree produced by the `multipleInsert`
|
|
1179
|
+
* labeled alternative in `SparkSqlParser.dmlStatementNoWith`.
|
|
1180
|
+
* @param ctx the parse tree
|
|
1181
|
+
* @return the visitor result
|
|
1182
|
+
*/
|
|
1183
|
+
visitMultipleInsert?: (ctx: MultipleInsertContext) => Result;
|
|
1184
|
+
/**
|
|
1185
|
+
* Visit a parse tree produced by the `deleteFromTable`
|
|
1186
|
+
* labeled alternative in `SparkSqlParser.dmlStatementNoWith`.
|
|
438
1187
|
* @param ctx the parse tree
|
|
439
1188
|
* @return the visitor result
|
|
440
1189
|
*/
|
|
441
|
-
|
|
1190
|
+
visitDeleteFromTable?: (ctx: DeleteFromTableContext) => Result;
|
|
442
1191
|
/**
|
|
443
|
-
* Visit a parse tree produced by `
|
|
1192
|
+
* Visit a parse tree produced by the `updateTable`
|
|
1193
|
+
* labeled alternative in `SparkSqlParser.dmlStatementNoWith`.
|
|
444
1194
|
* @param ctx the parse tree
|
|
445
1195
|
* @return the visitor result
|
|
446
1196
|
*/
|
|
447
|
-
|
|
1197
|
+
visitUpdateTable?: (ctx: UpdateTableContext) => Result;
|
|
448
1198
|
/**
|
|
449
|
-
* Visit a parse tree produced by `
|
|
1199
|
+
* Visit a parse tree produced by the `mergeIntoTable`
|
|
1200
|
+
* labeled alternative in `SparkSqlParser.dmlStatementNoWith`.
|
|
450
1201
|
* @param ctx the parse tree
|
|
451
1202
|
* @return the visitor result
|
|
452
1203
|
*/
|
|
453
|
-
|
|
1204
|
+
visitMergeIntoTable?: (ctx: MergeIntoTableContext) => Result;
|
|
1205
|
+
/**
|
|
1206
|
+
* Visit a parse tree produced by `SparkSqlParser.namespaceName`.
|
|
1207
|
+
* @param ctx the parse tree
|
|
1208
|
+
* @return the visitor result
|
|
1209
|
+
*/
|
|
1210
|
+
visitNamespaceName?: (ctx: NamespaceNameContext) => Result;
|
|
1211
|
+
/**
|
|
1212
|
+
* Visit a parse tree produced by `SparkSqlParser.namespaceNameCreate`.
|
|
1213
|
+
* @param ctx the parse tree
|
|
1214
|
+
* @return the visitor result
|
|
1215
|
+
*/
|
|
1216
|
+
visitNamespaceNameCreate?: (ctx: NamespaceNameCreateContext) => Result;
|
|
454
1217
|
/**
|
|
455
1218
|
* Visit a parse tree produced by `SparkSqlParser.tableNameCreate`.
|
|
456
1219
|
* @param ctx the parse tree
|
|
@@ -1261,6 +2024,12 @@ export declare class SparkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
1261
2024
|
* @return the visitor result
|
|
1262
2025
|
*/
|
|
1263
2026
|
visitWindowClause?: (ctx: WindowClauseContext) => Result;
|
|
2027
|
+
/**
|
|
2028
|
+
* Visit a parse tree produced by `SparkSqlParser.zorderClause`.
|
|
2029
|
+
* @param ctx the parse tree
|
|
2030
|
+
* @return the visitor result
|
|
2031
|
+
*/
|
|
2032
|
+
visitZorderClause?: (ctx: ZorderClauseContext) => Result;
|
|
1264
2033
|
/**
|
|
1265
2034
|
* Visit a parse tree produced by `SparkSqlParser.namedWindow`.
|
|
1266
2035
|
* @param ctx the parse tree
|