dt-sql-parser 4.1.2-beta.0 → 4.2.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 +51 -0
- package/dist/lib/flink/FlinkSqlLexer.d.ts +5 -5
- package/dist/lib/flink/FlinkSqlLexer.js +1991 -1992
- package/dist/lib/flink/FlinkSqlParser.d.ts +240 -230
- package/dist/lib/flink/FlinkSqlParser.js +3036 -2978
- package/dist/lib/flink/FlinkSqlParserListener.d.ts +81 -70
- package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +49 -42
- package/dist/lib/hive/HiveSqlParser.d.ts +251 -231
- package/dist/lib/hive/HiveSqlParser.js +6264 -5674
- package/dist/lib/hive/HiveSqlParserListener.d.ts +32 -10
- package/dist/lib/hive/HiveSqlParserVisitor.d.ts +20 -6
- package/dist/lib/impala/ImpalaSqlLexer.d.ts +2 -2
- package/dist/lib/impala/ImpalaSqlLexer.js +587 -588
- package/dist/lib/impala/ImpalaSqlParser.d.ts +151 -113
- package/dist/lib/impala/ImpalaSqlParser.js +3464 -3250
- package/dist/lib/impala/ImpalaSqlParserListener.d.ts +49 -5
- package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +31 -3
- package/dist/lib/mysql/MySqlLexer.d.ts +2 -2
- package/dist/lib/mysql/MySqlLexer.js +3515 -3516
- package/dist/lib/mysql/MySqlParser.d.ts +138 -138
- package/dist/lib/mysql/MySqlParser.js +511 -511
- package/dist/lib/mysql/MySqlParserListener.d.ts +105 -105
- package/dist/lib/mysql/MySqlParserVisitor.d.ts +63 -63
- package/dist/lib/postgresql/PostgreSqlLexer.d.ts +14 -15
- package/dist/lib/postgresql/PostgreSqlLexer.js +2077 -2092
- package/dist/lib/postgresql/PostgreSqlParser.d.ts +2860 -2980
- package/dist/lib/postgresql/PostgreSqlParser.js +20155 -20660
- package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +2110 -2181
- package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +1261 -1301
- package/dist/lib/spark/SparkSqlLexer.d.ts +2 -2
- package/dist/lib/spark/SparkSqlLexer.js +949 -950
- package/dist/lib/spark/SparkSqlParser.d.ts +413 -645
- package/dist/lib/spark/SparkSqlParser.js +6840 -8200
- package/dist/lib/spark/SparkSqlParserListener.d.ts +68 -356
- package/dist/lib/spark/SparkSqlParserVisitor.d.ts +42 -225
- package/dist/lib/trino/TrinoSqlLexer.d.ts +2 -2
- package/dist/lib/trino/TrinoSqlLexer.js +319 -321
- package/dist/lib/trino/TrinoSqlListener.d.ts +67 -23
- package/dist/lib/trino/TrinoSqlParser.d.ts +210 -181
- package/dist/lib/trino/TrinoSqlParser.js +4854 -4695
- package/dist/lib/trino/TrinoSqlVisitor.d.ts +42 -14
- package/dist/parser/common/basicSQL.d.ts +43 -9
- package/dist/parser/common/basicSQL.js +147 -40
- package/dist/parser/common/semanticContextCollector.d.ts +50 -0
- package/dist/parser/common/semanticContextCollector.js +202 -0
- package/dist/parser/common/tokenUtils.d.ts +12 -0
- package/dist/parser/common/tokenUtils.js +38 -0
- package/dist/parser/common/types.d.ts +25 -0
- package/dist/parser/common/types.js +7 -0
- package/dist/parser/flink/flinkErrorListener.js +14 -2
- package/dist/parser/flink/flinkSemanticContextCollector.d.ts +9 -0
- package/dist/parser/flink/flinkSemanticContextCollector.js +14 -0
- package/dist/parser/flink/index.d.ts +4 -2
- package/dist/parser/flink/index.js +22 -14
- package/dist/parser/hive/hiveErrorListener.js +9 -3
- package/dist/parser/hive/hiveSemanticContextCollector.d.ts +9 -0
- package/dist/parser/hive/hiveSemanticContextCollector.js +14 -0
- package/dist/parser/hive/index.d.ts +4 -2
- package/dist/parser/hive/index.js +29 -14
- package/dist/parser/impala/ImpalaErrorListener.js +8 -2
- package/dist/parser/impala/impalaSemanticContextCollector.d.ts +9 -0
- package/dist/parser/impala/impalaSemanticContextCollector.js +14 -0
- package/dist/parser/impala/index.d.ts +4 -2
- package/dist/parser/impala/index.js +21 -14
- package/dist/parser/mysql/index.d.ts +4 -2
- package/dist/parser/mysql/index.js +10 -14
- package/dist/parser/mysql/mysqlErrorListener.js +6 -2
- package/dist/parser/mysql/mysqlSemanticContextCollector.d.ts +9 -0
- package/dist/parser/mysql/mysqlSemanticContextCollector.js +14 -0
- package/dist/parser/postgresql/index.d.ts +4 -2
- package/dist/parser/postgresql/index.js +51 -42
- package/dist/parser/postgresql/postgreEntityCollector.d.ts +5 -5
- package/dist/parser/postgresql/postgreEntityCollector.js +7 -7
- package/dist/parser/postgresql/postgreErrorListener.js +36 -30
- package/dist/parser/postgresql/postgreSemanticContextCollector.d.ts +9 -0
- package/dist/parser/postgresql/postgreSemanticContextCollector.js +14 -0
- package/dist/parser/spark/index.d.ts +4 -2
- package/dist/parser/spark/index.js +26 -14
- package/dist/parser/spark/sparkErrorListener.js +9 -3
- package/dist/parser/spark/sparkSemanticContextCollector.d.ts +9 -0
- package/dist/parser/spark/sparkSemanticContextCollector.js +14 -0
- package/dist/parser/trino/index.d.ts +4 -2
- package/dist/parser/trino/index.js +22 -14
- package/dist/parser/trino/trinoErrorListener.js +9 -3
- package/dist/parser/trino/trinoSemanticContextCollector.d.ts +9 -0
- package/dist/parser/trino/trinoSemanticContextCollector.js +14 -0
- package/package.json +2 -1
|
@@ -11,12 +11,12 @@ import { ExplainDetailsContext } from "./FlinkSqlParser.js";
|
|
|
11
11
|
import { ExplainDetailContext } from "./FlinkSqlParser.js";
|
|
12
12
|
import { UseStatementContext } from "./FlinkSqlParser.js";
|
|
13
13
|
import { UseModuleStatementContext } from "./FlinkSqlParser.js";
|
|
14
|
-
import {
|
|
14
|
+
import { ShowStatementContext } from "./FlinkSqlParser.js";
|
|
15
15
|
import { LoadStatementContext } from "./FlinkSqlParser.js";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
16
|
+
import { UnloadStatementContext } from "./FlinkSqlParser.js";
|
|
17
|
+
import { SetStatementContext } from "./FlinkSqlParser.js";
|
|
18
|
+
import { ResetStatementContext } from "./FlinkSqlParser.js";
|
|
19
|
+
import { JarStatementContext } from "./FlinkSqlParser.js";
|
|
20
20
|
import { DtAddStatementContext } from "./FlinkSqlParser.js";
|
|
21
21
|
import { DtFilePathContext } from "./FlinkSqlParser.js";
|
|
22
22
|
import { CreateTableContext } from "./FlinkSqlParser.js";
|
|
@@ -26,6 +26,7 @@ import { ColumnOptionDefinitionContext } from "./FlinkSqlParser.js";
|
|
|
26
26
|
import { PhysicalColumnDefinitionContext } from "./FlinkSqlParser.js";
|
|
27
27
|
import { ColumnNameCreateContext } from "./FlinkSqlParser.js";
|
|
28
28
|
import { ColumnNameContext } from "./FlinkSqlParser.js";
|
|
29
|
+
import { ColumnNamePathContext } from "./FlinkSqlParser.js";
|
|
29
30
|
import { ColumnNameListContext } from "./FlinkSqlParser.js";
|
|
30
31
|
import { ColumnTypeContext } from "./FlinkSqlParser.js";
|
|
31
32
|
import { LengthOneDimensionContext } from "./FlinkSqlParser.js";
|
|
@@ -79,7 +80,7 @@ import { ValuesRowDefinitionContext } from "./FlinkSqlParser.js";
|
|
|
79
80
|
import { InsertMulStatementCompatibilityContext } from "./FlinkSqlParser.js";
|
|
80
81
|
import { InsertMulStatementContext } from "./FlinkSqlParser.js";
|
|
81
82
|
import { QueryStatementContext } from "./FlinkSqlParser.js";
|
|
82
|
-
import {
|
|
83
|
+
import { ValuesClauseContext } from "./FlinkSqlParser.js";
|
|
83
84
|
import { WithClauseContext } from "./FlinkSqlParser.js";
|
|
84
85
|
import { WithItemContext } from "./FlinkSqlParser.js";
|
|
85
86
|
import { WithItemNameContext } from "./FlinkSqlParser.js";
|
|
@@ -94,9 +95,9 @@ import { TablePrimaryContext } from "./FlinkSqlParser.js";
|
|
|
94
95
|
import { SystemTimePeriodContext } from "./FlinkSqlParser.js";
|
|
95
96
|
import { DateTimeExpressionContext } from "./FlinkSqlParser.js";
|
|
96
97
|
import { InlineDataValueClauseContext } from "./FlinkSqlParser.js";
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
98
|
+
import { WindowTVFClauseContext } from "./FlinkSqlParser.js";
|
|
99
|
+
import { WindowTVFExpressionContext } from "./FlinkSqlParser.js";
|
|
100
|
+
import { WindowTVFNameContext } from "./FlinkSqlParser.js";
|
|
100
101
|
import { WindowTVFParamContext } from "./FlinkSqlParser.js";
|
|
101
102
|
import { TimeIntervalParamNameContext } from "./FlinkSqlParser.js";
|
|
102
103
|
import { ColumnDescriptorContext } from "./FlinkSqlParser.js";
|
|
@@ -105,7 +106,7 @@ import { WhereClauseContext } from "./FlinkSqlParser.js";
|
|
|
105
106
|
import { GroupByClauseContext } from "./FlinkSqlParser.js";
|
|
106
107
|
import { GroupItemDefinitionContext } from "./FlinkSqlParser.js";
|
|
107
108
|
import { GroupingSetsContext } from "./FlinkSqlParser.js";
|
|
108
|
-
import {
|
|
109
|
+
import { GroupingSetsNotationNameContext } from "./FlinkSqlParser.js";
|
|
109
110
|
import { GroupWindowFunctionContext } from "./FlinkSqlParser.js";
|
|
110
111
|
import { GroupWindowFunctionNameContext } from "./FlinkSqlParser.js";
|
|
111
112
|
import { TimeAttrColumnContext } from "./FlinkSqlParser.js";
|
|
@@ -114,17 +115,17 @@ import { WindowClauseContext } from "./FlinkSqlParser.js";
|
|
|
114
115
|
import { NamedWindowContext } from "./FlinkSqlParser.js";
|
|
115
116
|
import { WindowSpecContext } from "./FlinkSqlParser.js";
|
|
116
117
|
import { MatchRecognizeClauseContext } from "./FlinkSqlParser.js";
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
118
|
+
import { OrderByClauseContext } from "./FlinkSqlParser.js";
|
|
119
|
+
import { OrderItemDefinitionContext } from "./FlinkSqlParser.js";
|
|
119
120
|
import { LimitClauseContext } from "./FlinkSqlParser.js";
|
|
120
121
|
import { PartitionByClauseContext } from "./FlinkSqlParser.js";
|
|
121
122
|
import { QuantifiersContext } from "./FlinkSqlParser.js";
|
|
122
123
|
import { MeasuresClauseContext } from "./FlinkSqlParser.js";
|
|
123
|
-
import {
|
|
124
|
+
import { PatternDefinitionContext } from "./FlinkSqlParser.js";
|
|
124
125
|
import { PatternVariableContext } from "./FlinkSqlParser.js";
|
|
125
126
|
import { OutputModeContext } from "./FlinkSqlParser.js";
|
|
126
127
|
import { AfterMatchStrategyContext } from "./FlinkSqlParser.js";
|
|
127
|
-
import {
|
|
128
|
+
import { PatternVariablesDefinitionContext } from "./FlinkSqlParser.js";
|
|
128
129
|
import { WindowFrameContext } from "./FlinkSqlParser.js";
|
|
129
130
|
import { FrameBoundContext } from "./FlinkSqlParser.js";
|
|
130
131
|
import { WithinClauseContext } from "./FlinkSqlParser.js";
|
|
@@ -341,15 +342,15 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
341
342
|
*/
|
|
342
343
|
exitUseModuleStatement?: (ctx: UseModuleStatementContext) => void;
|
|
343
344
|
/**
|
|
344
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
345
|
+
* Enter a parse tree produced by `FlinkSqlParser.showStatement`.
|
|
345
346
|
* @param ctx the parse tree
|
|
346
347
|
*/
|
|
347
|
-
|
|
348
|
+
enterShowStatement?: (ctx: ShowStatementContext) => void;
|
|
348
349
|
/**
|
|
349
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
350
|
+
* Exit a parse tree produced by `FlinkSqlParser.showStatement`.
|
|
350
351
|
* @param ctx the parse tree
|
|
351
352
|
*/
|
|
352
|
-
|
|
353
|
+
exitShowStatement?: (ctx: ShowStatementContext) => void;
|
|
353
354
|
/**
|
|
354
355
|
* Enter a parse tree produced by `FlinkSqlParser.loadStatement`.
|
|
355
356
|
* @param ctx the parse tree
|
|
@@ -361,45 +362,45 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
361
362
|
*/
|
|
362
363
|
exitLoadStatement?: (ctx: LoadStatementContext) => void;
|
|
363
364
|
/**
|
|
364
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
365
|
+
* Enter a parse tree produced by `FlinkSqlParser.unloadStatement`.
|
|
365
366
|
* @param ctx the parse tree
|
|
366
367
|
*/
|
|
367
|
-
|
|
368
|
+
enterUnloadStatement?: (ctx: UnloadStatementContext) => void;
|
|
368
369
|
/**
|
|
369
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
370
|
+
* Exit a parse tree produced by `FlinkSqlParser.unloadStatement`.
|
|
370
371
|
* @param ctx the parse tree
|
|
371
372
|
*/
|
|
372
|
-
|
|
373
|
+
exitUnloadStatement?: (ctx: UnloadStatementContext) => void;
|
|
373
374
|
/**
|
|
374
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
375
|
+
* Enter a parse tree produced by `FlinkSqlParser.setStatement`.
|
|
375
376
|
* @param ctx the parse tree
|
|
376
377
|
*/
|
|
377
|
-
|
|
378
|
+
enterSetStatement?: (ctx: SetStatementContext) => void;
|
|
378
379
|
/**
|
|
379
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
380
|
+
* Exit a parse tree produced by `FlinkSqlParser.setStatement`.
|
|
380
381
|
* @param ctx the parse tree
|
|
381
382
|
*/
|
|
382
|
-
|
|
383
|
+
exitSetStatement?: (ctx: SetStatementContext) => void;
|
|
383
384
|
/**
|
|
384
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
385
|
+
* Enter a parse tree produced by `FlinkSqlParser.resetStatement`.
|
|
385
386
|
* @param ctx the parse tree
|
|
386
387
|
*/
|
|
387
|
-
|
|
388
|
+
enterResetStatement?: (ctx: ResetStatementContext) => void;
|
|
388
389
|
/**
|
|
389
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
390
|
+
* Exit a parse tree produced by `FlinkSqlParser.resetStatement`.
|
|
390
391
|
* @param ctx the parse tree
|
|
391
392
|
*/
|
|
392
|
-
|
|
393
|
+
exitResetStatement?: (ctx: ResetStatementContext) => void;
|
|
393
394
|
/**
|
|
394
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
395
|
+
* Enter a parse tree produced by `FlinkSqlParser.jarStatement`.
|
|
395
396
|
* @param ctx the parse tree
|
|
396
397
|
*/
|
|
397
|
-
|
|
398
|
+
enterJarStatement?: (ctx: JarStatementContext) => void;
|
|
398
399
|
/**
|
|
399
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
400
|
+
* Exit a parse tree produced by `FlinkSqlParser.jarStatement`.
|
|
400
401
|
* @param ctx the parse tree
|
|
401
402
|
*/
|
|
402
|
-
|
|
403
|
+
exitJarStatement?: (ctx: JarStatementContext) => void;
|
|
403
404
|
/**
|
|
404
405
|
* Enter a parse tree produced by `FlinkSqlParser.dtAddStatement`.
|
|
405
406
|
* @param ctx the parse tree
|
|
@@ -490,6 +491,16 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
490
491
|
* @param ctx the parse tree
|
|
491
492
|
*/
|
|
492
493
|
exitColumnName?: (ctx: ColumnNameContext) => void;
|
|
494
|
+
/**
|
|
495
|
+
* Enter a parse tree produced by `FlinkSqlParser.columnNamePath`.
|
|
496
|
+
* @param ctx the parse tree
|
|
497
|
+
*/
|
|
498
|
+
enterColumnNamePath?: (ctx: ColumnNamePathContext) => void;
|
|
499
|
+
/**
|
|
500
|
+
* Exit a parse tree produced by `FlinkSqlParser.columnNamePath`.
|
|
501
|
+
* @param ctx the parse tree
|
|
502
|
+
*/
|
|
503
|
+
exitColumnNamePath?: (ctx: ColumnNamePathContext) => void;
|
|
493
504
|
/**
|
|
494
505
|
* Enter a parse tree produced by `FlinkSqlParser.columnNameList`.
|
|
495
506
|
* @param ctx the parse tree
|
|
@@ -1025,15 +1036,15 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
1025
1036
|
*/
|
|
1026
1037
|
exitQueryStatement?: (ctx: QueryStatementContext) => void;
|
|
1027
1038
|
/**
|
|
1028
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
1039
|
+
* Enter a parse tree produced by `FlinkSqlParser.valuesClause`.
|
|
1029
1040
|
* @param ctx the parse tree
|
|
1030
1041
|
*/
|
|
1031
|
-
|
|
1042
|
+
enterValuesClause?: (ctx: ValuesClauseContext) => void;
|
|
1032
1043
|
/**
|
|
1033
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
1044
|
+
* Exit a parse tree produced by `FlinkSqlParser.valuesClause`.
|
|
1034
1045
|
* @param ctx the parse tree
|
|
1035
1046
|
*/
|
|
1036
|
-
|
|
1047
|
+
exitValuesClause?: (ctx: ValuesClauseContext) => void;
|
|
1037
1048
|
/**
|
|
1038
1049
|
* Enter a parse tree produced by `FlinkSqlParser.withClause`.
|
|
1039
1050
|
* @param ctx the parse tree
|
|
@@ -1175,35 +1186,35 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
1175
1186
|
*/
|
|
1176
1187
|
exitInlineDataValueClause?: (ctx: InlineDataValueClauseContext) => void;
|
|
1177
1188
|
/**
|
|
1178
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
1189
|
+
* Enter a parse tree produced by `FlinkSqlParser.windowTVFClause`.
|
|
1179
1190
|
* @param ctx the parse tree
|
|
1180
1191
|
*/
|
|
1181
|
-
|
|
1192
|
+
enterWindowTVFClause?: (ctx: WindowTVFClauseContext) => void;
|
|
1182
1193
|
/**
|
|
1183
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
1194
|
+
* Exit a parse tree produced by `FlinkSqlParser.windowTVFClause`.
|
|
1184
1195
|
* @param ctx the parse tree
|
|
1185
1196
|
*/
|
|
1186
|
-
|
|
1197
|
+
exitWindowTVFClause?: (ctx: WindowTVFClauseContext) => void;
|
|
1187
1198
|
/**
|
|
1188
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
1199
|
+
* Enter a parse tree produced by `FlinkSqlParser.windowTVFExpression`.
|
|
1189
1200
|
* @param ctx the parse tree
|
|
1190
1201
|
*/
|
|
1191
|
-
|
|
1202
|
+
enterWindowTVFExpression?: (ctx: WindowTVFExpressionContext) => void;
|
|
1192
1203
|
/**
|
|
1193
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
1204
|
+
* Exit a parse tree produced by `FlinkSqlParser.windowTVFExpression`.
|
|
1194
1205
|
* @param ctx the parse tree
|
|
1195
1206
|
*/
|
|
1196
|
-
|
|
1207
|
+
exitWindowTVFExpression?: (ctx: WindowTVFExpressionContext) => void;
|
|
1197
1208
|
/**
|
|
1198
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
1209
|
+
* Enter a parse tree produced by `FlinkSqlParser.windowTVFName`.
|
|
1199
1210
|
* @param ctx the parse tree
|
|
1200
1211
|
*/
|
|
1201
|
-
|
|
1212
|
+
enterWindowTVFName?: (ctx: WindowTVFNameContext) => void;
|
|
1202
1213
|
/**
|
|
1203
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
1214
|
+
* Exit a parse tree produced by `FlinkSqlParser.windowTVFName`.
|
|
1204
1215
|
* @param ctx the parse tree
|
|
1205
1216
|
*/
|
|
1206
|
-
|
|
1217
|
+
exitWindowTVFName?: (ctx: WindowTVFNameContext) => void;
|
|
1207
1218
|
/**
|
|
1208
1219
|
* Enter a parse tree produced by `FlinkSqlParser.windowTVFParam`.
|
|
1209
1220
|
* @param ctx the parse tree
|
|
@@ -1285,15 +1296,15 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
1285
1296
|
*/
|
|
1286
1297
|
exitGroupingSets?: (ctx: GroupingSetsContext) => void;
|
|
1287
1298
|
/**
|
|
1288
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
1299
|
+
* Enter a parse tree produced by `FlinkSqlParser.groupingSetsNotationName`.
|
|
1289
1300
|
* @param ctx the parse tree
|
|
1290
1301
|
*/
|
|
1291
|
-
|
|
1302
|
+
enterGroupingSetsNotationName?: (ctx: GroupingSetsNotationNameContext) => void;
|
|
1292
1303
|
/**
|
|
1293
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
1304
|
+
* Exit a parse tree produced by `FlinkSqlParser.groupingSetsNotationName`.
|
|
1294
1305
|
* @param ctx the parse tree
|
|
1295
1306
|
*/
|
|
1296
|
-
|
|
1307
|
+
exitGroupingSetsNotationName?: (ctx: GroupingSetsNotationNameContext) => void;
|
|
1297
1308
|
/**
|
|
1298
1309
|
* Enter a parse tree produced by `FlinkSqlParser.groupWindowFunction`.
|
|
1299
1310
|
* @param ctx the parse tree
|
|
@@ -1375,25 +1386,25 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
1375
1386
|
*/
|
|
1376
1387
|
exitMatchRecognizeClause?: (ctx: MatchRecognizeClauseContext) => void;
|
|
1377
1388
|
/**
|
|
1378
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
1389
|
+
* Enter a parse tree produced by `FlinkSqlParser.orderByClause`.
|
|
1379
1390
|
* @param ctx the parse tree
|
|
1380
1391
|
*/
|
|
1381
|
-
|
|
1392
|
+
enterOrderByClause?: (ctx: OrderByClauseContext) => void;
|
|
1382
1393
|
/**
|
|
1383
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
1394
|
+
* Exit a parse tree produced by `FlinkSqlParser.orderByClause`.
|
|
1384
1395
|
* @param ctx the parse tree
|
|
1385
1396
|
*/
|
|
1386
|
-
|
|
1397
|
+
exitOrderByClause?: (ctx: OrderByClauseContext) => void;
|
|
1387
1398
|
/**
|
|
1388
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
1399
|
+
* Enter a parse tree produced by `FlinkSqlParser.orderItemDefinition`.
|
|
1389
1400
|
* @param ctx the parse tree
|
|
1390
1401
|
*/
|
|
1391
|
-
|
|
1402
|
+
enterOrderItemDefinition?: (ctx: OrderItemDefinitionContext) => void;
|
|
1392
1403
|
/**
|
|
1393
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
1404
|
+
* Exit a parse tree produced by `FlinkSqlParser.orderItemDefinition`.
|
|
1394
1405
|
* @param ctx the parse tree
|
|
1395
1406
|
*/
|
|
1396
|
-
|
|
1407
|
+
exitOrderItemDefinition?: (ctx: OrderItemDefinitionContext) => void;
|
|
1397
1408
|
/**
|
|
1398
1409
|
* Enter a parse tree produced by `FlinkSqlParser.limitClause`.
|
|
1399
1410
|
* @param ctx the parse tree
|
|
@@ -1435,15 +1446,15 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
1435
1446
|
*/
|
|
1436
1447
|
exitMeasuresClause?: (ctx: MeasuresClauseContext) => void;
|
|
1437
1448
|
/**
|
|
1438
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
1449
|
+
* Enter a parse tree produced by `FlinkSqlParser.patternDefinition`.
|
|
1439
1450
|
* @param ctx the parse tree
|
|
1440
1451
|
*/
|
|
1441
|
-
|
|
1452
|
+
enterPatternDefinition?: (ctx: PatternDefinitionContext) => void;
|
|
1442
1453
|
/**
|
|
1443
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
1454
|
+
* Exit a parse tree produced by `FlinkSqlParser.patternDefinition`.
|
|
1444
1455
|
* @param ctx the parse tree
|
|
1445
1456
|
*/
|
|
1446
|
-
|
|
1457
|
+
exitPatternDefinition?: (ctx: PatternDefinitionContext) => void;
|
|
1447
1458
|
/**
|
|
1448
1459
|
* Enter a parse tree produced by `FlinkSqlParser.patternVariable`.
|
|
1449
1460
|
* @param ctx the parse tree
|
|
@@ -1475,15 +1486,15 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
1475
1486
|
*/
|
|
1476
1487
|
exitAfterMatchStrategy?: (ctx: AfterMatchStrategyContext) => void;
|
|
1477
1488
|
/**
|
|
1478
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
1489
|
+
* Enter a parse tree produced by `FlinkSqlParser.patternVariablesDefinition`.
|
|
1479
1490
|
* @param ctx the parse tree
|
|
1480
1491
|
*/
|
|
1481
|
-
|
|
1492
|
+
enterPatternVariablesDefinition?: (ctx: PatternVariablesDefinitionContext) => void;
|
|
1482
1493
|
/**
|
|
1483
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
1494
|
+
* Exit a parse tree produced by `FlinkSqlParser.patternVariablesDefinition`.
|
|
1484
1495
|
* @param ctx the parse tree
|
|
1485
1496
|
*/
|
|
1486
|
-
|
|
1497
|
+
exitPatternVariablesDefinition?: (ctx: PatternVariablesDefinitionContext) => void;
|
|
1487
1498
|
/**
|
|
1488
1499
|
* Enter a parse tree produced by `FlinkSqlParser.windowFrame`.
|
|
1489
1500
|
* @param ctx the parse tree
|
|
@@ -11,12 +11,12 @@ import { ExplainDetailsContext } from "./FlinkSqlParser.js";
|
|
|
11
11
|
import { ExplainDetailContext } from "./FlinkSqlParser.js";
|
|
12
12
|
import { UseStatementContext } from "./FlinkSqlParser.js";
|
|
13
13
|
import { UseModuleStatementContext } from "./FlinkSqlParser.js";
|
|
14
|
-
import {
|
|
14
|
+
import { ShowStatementContext } from "./FlinkSqlParser.js";
|
|
15
15
|
import { LoadStatementContext } from "./FlinkSqlParser.js";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
16
|
+
import { UnloadStatementContext } from "./FlinkSqlParser.js";
|
|
17
|
+
import { SetStatementContext } from "./FlinkSqlParser.js";
|
|
18
|
+
import { ResetStatementContext } from "./FlinkSqlParser.js";
|
|
19
|
+
import { JarStatementContext } from "./FlinkSqlParser.js";
|
|
20
20
|
import { DtAddStatementContext } from "./FlinkSqlParser.js";
|
|
21
21
|
import { DtFilePathContext } from "./FlinkSqlParser.js";
|
|
22
22
|
import { CreateTableContext } from "./FlinkSqlParser.js";
|
|
@@ -26,6 +26,7 @@ import { ColumnOptionDefinitionContext } from "./FlinkSqlParser.js";
|
|
|
26
26
|
import { PhysicalColumnDefinitionContext } from "./FlinkSqlParser.js";
|
|
27
27
|
import { ColumnNameCreateContext } from "./FlinkSqlParser.js";
|
|
28
28
|
import { ColumnNameContext } from "./FlinkSqlParser.js";
|
|
29
|
+
import { ColumnNamePathContext } from "./FlinkSqlParser.js";
|
|
29
30
|
import { ColumnNameListContext } from "./FlinkSqlParser.js";
|
|
30
31
|
import { ColumnTypeContext } from "./FlinkSqlParser.js";
|
|
31
32
|
import { LengthOneDimensionContext } from "./FlinkSqlParser.js";
|
|
@@ -79,7 +80,7 @@ import { ValuesRowDefinitionContext } from "./FlinkSqlParser.js";
|
|
|
79
80
|
import { InsertMulStatementCompatibilityContext } from "./FlinkSqlParser.js";
|
|
80
81
|
import { InsertMulStatementContext } from "./FlinkSqlParser.js";
|
|
81
82
|
import { QueryStatementContext } from "./FlinkSqlParser.js";
|
|
82
|
-
import {
|
|
83
|
+
import { ValuesClauseContext } from "./FlinkSqlParser.js";
|
|
83
84
|
import { WithClauseContext } from "./FlinkSqlParser.js";
|
|
84
85
|
import { WithItemContext } from "./FlinkSqlParser.js";
|
|
85
86
|
import { WithItemNameContext } from "./FlinkSqlParser.js";
|
|
@@ -94,9 +95,9 @@ import { TablePrimaryContext } from "./FlinkSqlParser.js";
|
|
|
94
95
|
import { SystemTimePeriodContext } from "./FlinkSqlParser.js";
|
|
95
96
|
import { DateTimeExpressionContext } from "./FlinkSqlParser.js";
|
|
96
97
|
import { InlineDataValueClauseContext } from "./FlinkSqlParser.js";
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
98
|
+
import { WindowTVFClauseContext } from "./FlinkSqlParser.js";
|
|
99
|
+
import { WindowTVFExpressionContext } from "./FlinkSqlParser.js";
|
|
100
|
+
import { WindowTVFNameContext } from "./FlinkSqlParser.js";
|
|
100
101
|
import { WindowTVFParamContext } from "./FlinkSqlParser.js";
|
|
101
102
|
import { TimeIntervalParamNameContext } from "./FlinkSqlParser.js";
|
|
102
103
|
import { ColumnDescriptorContext } from "./FlinkSqlParser.js";
|
|
@@ -105,7 +106,7 @@ import { WhereClauseContext } from "./FlinkSqlParser.js";
|
|
|
105
106
|
import { GroupByClauseContext } from "./FlinkSqlParser.js";
|
|
106
107
|
import { GroupItemDefinitionContext } from "./FlinkSqlParser.js";
|
|
107
108
|
import { GroupingSetsContext } from "./FlinkSqlParser.js";
|
|
108
|
-
import {
|
|
109
|
+
import { GroupingSetsNotationNameContext } from "./FlinkSqlParser.js";
|
|
109
110
|
import { GroupWindowFunctionContext } from "./FlinkSqlParser.js";
|
|
110
111
|
import { GroupWindowFunctionNameContext } from "./FlinkSqlParser.js";
|
|
111
112
|
import { TimeAttrColumnContext } from "./FlinkSqlParser.js";
|
|
@@ -114,17 +115,17 @@ import { WindowClauseContext } from "./FlinkSqlParser.js";
|
|
|
114
115
|
import { NamedWindowContext } from "./FlinkSqlParser.js";
|
|
115
116
|
import { WindowSpecContext } from "./FlinkSqlParser.js";
|
|
116
117
|
import { MatchRecognizeClauseContext } from "./FlinkSqlParser.js";
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
118
|
+
import { OrderByClauseContext } from "./FlinkSqlParser.js";
|
|
119
|
+
import { OrderItemDefinitionContext } from "./FlinkSqlParser.js";
|
|
119
120
|
import { LimitClauseContext } from "./FlinkSqlParser.js";
|
|
120
121
|
import { PartitionByClauseContext } from "./FlinkSqlParser.js";
|
|
121
122
|
import { QuantifiersContext } from "./FlinkSqlParser.js";
|
|
122
123
|
import { MeasuresClauseContext } from "./FlinkSqlParser.js";
|
|
123
|
-
import {
|
|
124
|
+
import { PatternDefinitionContext } from "./FlinkSqlParser.js";
|
|
124
125
|
import { PatternVariableContext } from "./FlinkSqlParser.js";
|
|
125
126
|
import { OutputModeContext } from "./FlinkSqlParser.js";
|
|
126
127
|
import { AfterMatchStrategyContext } from "./FlinkSqlParser.js";
|
|
127
|
-
import {
|
|
128
|
+
import { PatternVariablesDefinitionContext } from "./FlinkSqlParser.js";
|
|
128
129
|
import { WindowFrameContext } from "./FlinkSqlParser.js";
|
|
129
130
|
import { FrameBoundContext } from "./FlinkSqlParser.js";
|
|
130
131
|
import { WithinClauseContext } from "./FlinkSqlParser.js";
|
|
@@ -296,11 +297,11 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
296
297
|
*/
|
|
297
298
|
visitUseModuleStatement?: (ctx: UseModuleStatementContext) => Result;
|
|
298
299
|
/**
|
|
299
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
300
|
+
* Visit a parse tree produced by `FlinkSqlParser.showStatement`.
|
|
300
301
|
* @param ctx the parse tree
|
|
301
302
|
* @return the visitor result
|
|
302
303
|
*/
|
|
303
|
-
|
|
304
|
+
visitShowStatement?: (ctx: ShowStatementContext) => Result;
|
|
304
305
|
/**
|
|
305
306
|
* Visit a parse tree produced by `FlinkSqlParser.loadStatement`.
|
|
306
307
|
* @param ctx the parse tree
|
|
@@ -308,29 +309,29 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
308
309
|
*/
|
|
309
310
|
visitLoadStatement?: (ctx: LoadStatementContext) => Result;
|
|
310
311
|
/**
|
|
311
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
312
|
+
* Visit a parse tree produced by `FlinkSqlParser.unloadStatement`.
|
|
312
313
|
* @param ctx the parse tree
|
|
313
314
|
* @return the visitor result
|
|
314
315
|
*/
|
|
315
|
-
|
|
316
|
+
visitUnloadStatement?: (ctx: UnloadStatementContext) => Result;
|
|
316
317
|
/**
|
|
317
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
318
|
+
* Visit a parse tree produced by `FlinkSqlParser.setStatement`.
|
|
318
319
|
* @param ctx the parse tree
|
|
319
320
|
* @return the visitor result
|
|
320
321
|
*/
|
|
321
|
-
|
|
322
|
+
visitSetStatement?: (ctx: SetStatementContext) => Result;
|
|
322
323
|
/**
|
|
323
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
324
|
+
* Visit a parse tree produced by `FlinkSqlParser.resetStatement`.
|
|
324
325
|
* @param ctx the parse tree
|
|
325
326
|
* @return the visitor result
|
|
326
327
|
*/
|
|
327
|
-
|
|
328
|
+
visitResetStatement?: (ctx: ResetStatementContext) => Result;
|
|
328
329
|
/**
|
|
329
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
330
|
+
* Visit a parse tree produced by `FlinkSqlParser.jarStatement`.
|
|
330
331
|
* @param ctx the parse tree
|
|
331
332
|
* @return the visitor result
|
|
332
333
|
*/
|
|
333
|
-
|
|
334
|
+
visitJarStatement?: (ctx: JarStatementContext) => Result;
|
|
334
335
|
/**
|
|
335
336
|
* Visit a parse tree produced by `FlinkSqlParser.dtAddStatement`.
|
|
336
337
|
* @param ctx the parse tree
|
|
@@ -385,6 +386,12 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
385
386
|
* @return the visitor result
|
|
386
387
|
*/
|
|
387
388
|
visitColumnName?: (ctx: ColumnNameContext) => Result;
|
|
389
|
+
/**
|
|
390
|
+
* Visit a parse tree produced by `FlinkSqlParser.columnNamePath`.
|
|
391
|
+
* @param ctx the parse tree
|
|
392
|
+
* @return the visitor result
|
|
393
|
+
*/
|
|
394
|
+
visitColumnNamePath?: (ctx: ColumnNamePathContext) => Result;
|
|
388
395
|
/**
|
|
389
396
|
* Visit a parse tree produced by `FlinkSqlParser.columnNameList`.
|
|
390
397
|
* @param ctx the parse tree
|
|
@@ -706,11 +713,11 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
706
713
|
*/
|
|
707
714
|
visitQueryStatement?: (ctx: QueryStatementContext) => Result;
|
|
708
715
|
/**
|
|
709
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
716
|
+
* Visit a parse tree produced by `FlinkSqlParser.valuesClause`.
|
|
710
717
|
* @param ctx the parse tree
|
|
711
718
|
* @return the visitor result
|
|
712
719
|
*/
|
|
713
|
-
|
|
720
|
+
visitValuesClause?: (ctx: ValuesClauseContext) => Result;
|
|
714
721
|
/**
|
|
715
722
|
* Visit a parse tree produced by `FlinkSqlParser.withClause`.
|
|
716
723
|
* @param ctx the parse tree
|
|
@@ -796,23 +803,23 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
796
803
|
*/
|
|
797
804
|
visitInlineDataValueClause?: (ctx: InlineDataValueClauseContext) => Result;
|
|
798
805
|
/**
|
|
799
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
806
|
+
* Visit a parse tree produced by `FlinkSqlParser.windowTVFClause`.
|
|
800
807
|
* @param ctx the parse tree
|
|
801
808
|
* @return the visitor result
|
|
802
809
|
*/
|
|
803
|
-
|
|
810
|
+
visitWindowTVFClause?: (ctx: WindowTVFClauseContext) => Result;
|
|
804
811
|
/**
|
|
805
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
812
|
+
* Visit a parse tree produced by `FlinkSqlParser.windowTVFExpression`.
|
|
806
813
|
* @param ctx the parse tree
|
|
807
814
|
* @return the visitor result
|
|
808
815
|
*/
|
|
809
|
-
|
|
816
|
+
visitWindowTVFExpression?: (ctx: WindowTVFExpressionContext) => Result;
|
|
810
817
|
/**
|
|
811
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
818
|
+
* Visit a parse tree produced by `FlinkSqlParser.windowTVFName`.
|
|
812
819
|
* @param ctx the parse tree
|
|
813
820
|
* @return the visitor result
|
|
814
821
|
*/
|
|
815
|
-
|
|
822
|
+
visitWindowTVFName?: (ctx: WindowTVFNameContext) => Result;
|
|
816
823
|
/**
|
|
817
824
|
* Visit a parse tree produced by `FlinkSqlParser.windowTVFParam`.
|
|
818
825
|
* @param ctx the parse tree
|
|
@@ -862,11 +869,11 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
862
869
|
*/
|
|
863
870
|
visitGroupingSets?: (ctx: GroupingSetsContext) => Result;
|
|
864
871
|
/**
|
|
865
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
872
|
+
* Visit a parse tree produced by `FlinkSqlParser.groupingSetsNotationName`.
|
|
866
873
|
* @param ctx the parse tree
|
|
867
874
|
* @return the visitor result
|
|
868
875
|
*/
|
|
869
|
-
|
|
876
|
+
visitGroupingSetsNotationName?: (ctx: GroupingSetsNotationNameContext) => Result;
|
|
870
877
|
/**
|
|
871
878
|
* Visit a parse tree produced by `FlinkSqlParser.groupWindowFunction`.
|
|
872
879
|
* @param ctx the parse tree
|
|
@@ -916,17 +923,17 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
916
923
|
*/
|
|
917
924
|
visitMatchRecognizeClause?: (ctx: MatchRecognizeClauseContext) => Result;
|
|
918
925
|
/**
|
|
919
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
926
|
+
* Visit a parse tree produced by `FlinkSqlParser.orderByClause`.
|
|
920
927
|
* @param ctx the parse tree
|
|
921
928
|
* @return the visitor result
|
|
922
929
|
*/
|
|
923
|
-
|
|
930
|
+
visitOrderByClause?: (ctx: OrderByClauseContext) => Result;
|
|
924
931
|
/**
|
|
925
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
932
|
+
* Visit a parse tree produced by `FlinkSqlParser.orderItemDefinition`.
|
|
926
933
|
* @param ctx the parse tree
|
|
927
934
|
* @return the visitor result
|
|
928
935
|
*/
|
|
929
|
-
|
|
936
|
+
visitOrderItemDefinition?: (ctx: OrderItemDefinitionContext) => Result;
|
|
930
937
|
/**
|
|
931
938
|
* Visit a parse tree produced by `FlinkSqlParser.limitClause`.
|
|
932
939
|
* @param ctx the parse tree
|
|
@@ -952,11 +959,11 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
952
959
|
*/
|
|
953
960
|
visitMeasuresClause?: (ctx: MeasuresClauseContext) => Result;
|
|
954
961
|
/**
|
|
955
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
962
|
+
* Visit a parse tree produced by `FlinkSqlParser.patternDefinition`.
|
|
956
963
|
* @param ctx the parse tree
|
|
957
964
|
* @return the visitor result
|
|
958
965
|
*/
|
|
959
|
-
|
|
966
|
+
visitPatternDefinition?: (ctx: PatternDefinitionContext) => Result;
|
|
960
967
|
/**
|
|
961
968
|
* Visit a parse tree produced by `FlinkSqlParser.patternVariable`.
|
|
962
969
|
* @param ctx the parse tree
|
|
@@ -976,11 +983,11 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
976
983
|
*/
|
|
977
984
|
visitAfterMatchStrategy?: (ctx: AfterMatchStrategyContext) => Result;
|
|
978
985
|
/**
|
|
979
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
986
|
+
* Visit a parse tree produced by `FlinkSqlParser.patternVariablesDefinition`.
|
|
980
987
|
* @param ctx the parse tree
|
|
981
988
|
* @return the visitor result
|
|
982
989
|
*/
|
|
983
|
-
|
|
990
|
+
visitPatternVariablesDefinition?: (ctx: PatternVariablesDefinitionContext) => Result;
|
|
984
991
|
/**
|
|
985
992
|
* Visit a parse tree produced by `FlinkSqlParser.windowFrame`.
|
|
986
993
|
* @param ctx the parse tree
|