dt-sql-parser 4.1.1 → 4.1.2-beta.1
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/dist/lib/flink/FlinkSqlLexer.d.ts +357 -356
- package/dist/lib/flink/FlinkSqlLexer.js +2378 -2376
- package/dist/lib/flink/FlinkSqlParser.d.ts +436 -424
- package/dist/lib/flink/FlinkSqlParser.js +2087 -2005
- package/dist/lib/flink/FlinkSqlParserListener.d.ts +70 -70
- package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +42 -42
- package/dist/lib/hive/HiveSqlParser.d.ts +10 -10
- package/dist/lib/hive/HiveSqlParser.js +35 -35
- package/dist/lib/hive/HiveSqlParserListener.d.ts +10 -10
- package/dist/lib/hive/HiveSqlParserVisitor.d.ts +6 -6
- package/dist/lib/impala/ImpalaSqlLexer.js +582 -583
- package/dist/lib/impala/ImpalaSqlParser.d.ts +4 -4
- package/dist/lib/impala/ImpalaSqlParser.js +16 -16
- package/dist/lib/impala/ImpalaSqlParserListener.d.ts +5 -5
- package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +3 -3
- package/dist/lib/mysql/MySqlLexer.js +3472 -3473
- package/dist/lib/mysql/MySqlParser.d.ts +136 -136
- package/dist/lib/mysql/MySqlParser.js +469 -469
- 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 +45 -42
- package/dist/lib/postgresql/PostgreSqlLexer.js +2130 -2108
- package/dist/lib/postgresql/PostgreSqlParser.d.ts +2896 -3009
- package/dist/lib/postgresql/PostgreSqlParser.js +20288 -20673
- package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +2104 -2186
- package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +1257 -1304
- package/dist/lib/spark/SparkSqlLexer.js +943 -944
- package/dist/lib/spark/SparkSqlParser.d.ts +67 -67
- package/dist/lib/spark/SparkSqlParser.js +220 -220
- package/dist/lib/spark/SparkSqlParserListener.d.ts +60 -60
- package/dist/lib/spark/SparkSqlParserVisitor.d.ts +36 -36
- package/dist/lib/trino/TrinoSqlLexer.js +314 -316
- package/dist/lib/trino/TrinoSqlListener.d.ts +23 -23
- package/dist/lib/trino/TrinoSqlParser.d.ts +30 -30
- package/dist/lib/trino/TrinoSqlParser.js +101 -101
- package/dist/lib/trino/TrinoSqlVisitor.d.ts +14 -14
- package/dist/parser/postgresql/index.js +28 -28
- package/dist/parser/postgresql/postgreEntityCollector.d.ts +5 -5
- package/dist/parser/postgresql/postgreEntityCollector.js +7 -7
- package/dist/parser/postgresql/postgreErrorListener.js +28 -28
- package/package.json +1 -1
- package/CHANGELOG.md +0 -377
|
@@ -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";
|
|
@@ -79,7 +79,7 @@ import { ValuesRowDefinitionContext } from "./FlinkSqlParser.js";
|
|
|
79
79
|
import { InsertMulStatementCompatibilityContext } from "./FlinkSqlParser.js";
|
|
80
80
|
import { InsertMulStatementContext } from "./FlinkSqlParser.js";
|
|
81
81
|
import { QueryStatementContext } from "./FlinkSqlParser.js";
|
|
82
|
-
import {
|
|
82
|
+
import { ValuesClauseContext } from "./FlinkSqlParser.js";
|
|
83
83
|
import { WithClauseContext } from "./FlinkSqlParser.js";
|
|
84
84
|
import { WithItemContext } from "./FlinkSqlParser.js";
|
|
85
85
|
import { WithItemNameContext } from "./FlinkSqlParser.js";
|
|
@@ -94,9 +94,9 @@ import { TablePrimaryContext } from "./FlinkSqlParser.js";
|
|
|
94
94
|
import { SystemTimePeriodContext } from "./FlinkSqlParser.js";
|
|
95
95
|
import { DateTimeExpressionContext } from "./FlinkSqlParser.js";
|
|
96
96
|
import { InlineDataValueClauseContext } from "./FlinkSqlParser.js";
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
97
|
+
import { WindowTVFClauseContext } from "./FlinkSqlParser.js";
|
|
98
|
+
import { WindowTVFExpressionContext } from "./FlinkSqlParser.js";
|
|
99
|
+
import { WindowTVFNameContext } from "./FlinkSqlParser.js";
|
|
100
100
|
import { WindowTVFParamContext } from "./FlinkSqlParser.js";
|
|
101
101
|
import { TimeIntervalParamNameContext } from "./FlinkSqlParser.js";
|
|
102
102
|
import { ColumnDescriptorContext } from "./FlinkSqlParser.js";
|
|
@@ -105,7 +105,7 @@ import { WhereClauseContext } from "./FlinkSqlParser.js";
|
|
|
105
105
|
import { GroupByClauseContext } from "./FlinkSqlParser.js";
|
|
106
106
|
import { GroupItemDefinitionContext } from "./FlinkSqlParser.js";
|
|
107
107
|
import { GroupingSetsContext } from "./FlinkSqlParser.js";
|
|
108
|
-
import {
|
|
108
|
+
import { GroupingSetsNotationNameContext } from "./FlinkSqlParser.js";
|
|
109
109
|
import { GroupWindowFunctionContext } from "./FlinkSqlParser.js";
|
|
110
110
|
import { GroupWindowFunctionNameContext } from "./FlinkSqlParser.js";
|
|
111
111
|
import { TimeAttrColumnContext } from "./FlinkSqlParser.js";
|
|
@@ -114,17 +114,17 @@ import { WindowClauseContext } from "./FlinkSqlParser.js";
|
|
|
114
114
|
import { NamedWindowContext } from "./FlinkSqlParser.js";
|
|
115
115
|
import { WindowSpecContext } from "./FlinkSqlParser.js";
|
|
116
116
|
import { MatchRecognizeClauseContext } from "./FlinkSqlParser.js";
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
117
|
+
import { OrderByClauseContext } from "./FlinkSqlParser.js";
|
|
118
|
+
import { OrderItemDefinitionContext } from "./FlinkSqlParser.js";
|
|
119
119
|
import { LimitClauseContext } from "./FlinkSqlParser.js";
|
|
120
120
|
import { PartitionByClauseContext } from "./FlinkSqlParser.js";
|
|
121
121
|
import { QuantifiersContext } from "./FlinkSqlParser.js";
|
|
122
122
|
import { MeasuresClauseContext } from "./FlinkSqlParser.js";
|
|
123
|
-
import {
|
|
123
|
+
import { PatternDefinitionContext } from "./FlinkSqlParser.js";
|
|
124
124
|
import { PatternVariableContext } from "./FlinkSqlParser.js";
|
|
125
125
|
import { OutputModeContext } from "./FlinkSqlParser.js";
|
|
126
126
|
import { AfterMatchStrategyContext } from "./FlinkSqlParser.js";
|
|
127
|
-
import {
|
|
127
|
+
import { PatternVariablesDefinitionContext } from "./FlinkSqlParser.js";
|
|
128
128
|
import { WindowFrameContext } from "./FlinkSqlParser.js";
|
|
129
129
|
import { FrameBoundContext } from "./FlinkSqlParser.js";
|
|
130
130
|
import { WithinClauseContext } from "./FlinkSqlParser.js";
|
|
@@ -341,15 +341,15 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
341
341
|
*/
|
|
342
342
|
exitUseModuleStatement?: (ctx: UseModuleStatementContext) => void;
|
|
343
343
|
/**
|
|
344
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
344
|
+
* Enter a parse tree produced by `FlinkSqlParser.showStatement`.
|
|
345
345
|
* @param ctx the parse tree
|
|
346
346
|
*/
|
|
347
|
-
|
|
347
|
+
enterShowStatement?: (ctx: ShowStatementContext) => void;
|
|
348
348
|
/**
|
|
349
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
349
|
+
* Exit a parse tree produced by `FlinkSqlParser.showStatement`.
|
|
350
350
|
* @param ctx the parse tree
|
|
351
351
|
*/
|
|
352
|
-
|
|
352
|
+
exitShowStatement?: (ctx: ShowStatementContext) => void;
|
|
353
353
|
/**
|
|
354
354
|
* Enter a parse tree produced by `FlinkSqlParser.loadStatement`.
|
|
355
355
|
* @param ctx the parse tree
|
|
@@ -361,45 +361,45 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
361
361
|
*/
|
|
362
362
|
exitLoadStatement?: (ctx: LoadStatementContext) => void;
|
|
363
363
|
/**
|
|
364
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
364
|
+
* Enter a parse tree produced by `FlinkSqlParser.unloadStatement`.
|
|
365
365
|
* @param ctx the parse tree
|
|
366
366
|
*/
|
|
367
|
-
|
|
367
|
+
enterUnloadStatement?: (ctx: UnloadStatementContext) => void;
|
|
368
368
|
/**
|
|
369
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
369
|
+
* Exit a parse tree produced by `FlinkSqlParser.unloadStatement`.
|
|
370
370
|
* @param ctx the parse tree
|
|
371
371
|
*/
|
|
372
|
-
|
|
372
|
+
exitUnloadStatement?: (ctx: UnloadStatementContext) => void;
|
|
373
373
|
/**
|
|
374
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
374
|
+
* Enter a parse tree produced by `FlinkSqlParser.setStatement`.
|
|
375
375
|
* @param ctx the parse tree
|
|
376
376
|
*/
|
|
377
|
-
|
|
377
|
+
enterSetStatement?: (ctx: SetStatementContext) => void;
|
|
378
378
|
/**
|
|
379
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
379
|
+
* Exit a parse tree produced by `FlinkSqlParser.setStatement`.
|
|
380
380
|
* @param ctx the parse tree
|
|
381
381
|
*/
|
|
382
|
-
|
|
382
|
+
exitSetStatement?: (ctx: SetStatementContext) => void;
|
|
383
383
|
/**
|
|
384
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
384
|
+
* Enter a parse tree produced by `FlinkSqlParser.resetStatement`.
|
|
385
385
|
* @param ctx the parse tree
|
|
386
386
|
*/
|
|
387
|
-
|
|
387
|
+
enterResetStatement?: (ctx: ResetStatementContext) => void;
|
|
388
388
|
/**
|
|
389
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
389
|
+
* Exit a parse tree produced by `FlinkSqlParser.resetStatement`.
|
|
390
390
|
* @param ctx the parse tree
|
|
391
391
|
*/
|
|
392
|
-
|
|
392
|
+
exitResetStatement?: (ctx: ResetStatementContext) => void;
|
|
393
393
|
/**
|
|
394
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
394
|
+
* Enter a parse tree produced by `FlinkSqlParser.jarStatement`.
|
|
395
395
|
* @param ctx the parse tree
|
|
396
396
|
*/
|
|
397
|
-
|
|
397
|
+
enterJarStatement?: (ctx: JarStatementContext) => void;
|
|
398
398
|
/**
|
|
399
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
399
|
+
* Exit a parse tree produced by `FlinkSqlParser.jarStatement`.
|
|
400
400
|
* @param ctx the parse tree
|
|
401
401
|
*/
|
|
402
|
-
|
|
402
|
+
exitJarStatement?: (ctx: JarStatementContext) => void;
|
|
403
403
|
/**
|
|
404
404
|
* Enter a parse tree produced by `FlinkSqlParser.dtAddStatement`.
|
|
405
405
|
* @param ctx the parse tree
|
|
@@ -1025,15 +1025,15 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
1025
1025
|
*/
|
|
1026
1026
|
exitQueryStatement?: (ctx: QueryStatementContext) => void;
|
|
1027
1027
|
/**
|
|
1028
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
1028
|
+
* Enter a parse tree produced by `FlinkSqlParser.valuesClause`.
|
|
1029
1029
|
* @param ctx the parse tree
|
|
1030
1030
|
*/
|
|
1031
|
-
|
|
1031
|
+
enterValuesClause?: (ctx: ValuesClauseContext) => void;
|
|
1032
1032
|
/**
|
|
1033
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
1033
|
+
* Exit a parse tree produced by `FlinkSqlParser.valuesClause`.
|
|
1034
1034
|
* @param ctx the parse tree
|
|
1035
1035
|
*/
|
|
1036
|
-
|
|
1036
|
+
exitValuesClause?: (ctx: ValuesClauseContext) => void;
|
|
1037
1037
|
/**
|
|
1038
1038
|
* Enter a parse tree produced by `FlinkSqlParser.withClause`.
|
|
1039
1039
|
* @param ctx the parse tree
|
|
@@ -1175,35 +1175,35 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
1175
1175
|
*/
|
|
1176
1176
|
exitInlineDataValueClause?: (ctx: InlineDataValueClauseContext) => void;
|
|
1177
1177
|
/**
|
|
1178
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
1178
|
+
* Enter a parse tree produced by `FlinkSqlParser.windowTVFClause`.
|
|
1179
1179
|
* @param ctx the parse tree
|
|
1180
1180
|
*/
|
|
1181
|
-
|
|
1181
|
+
enterWindowTVFClause?: (ctx: WindowTVFClauseContext) => void;
|
|
1182
1182
|
/**
|
|
1183
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
1183
|
+
* Exit a parse tree produced by `FlinkSqlParser.windowTVFClause`.
|
|
1184
1184
|
* @param ctx the parse tree
|
|
1185
1185
|
*/
|
|
1186
|
-
|
|
1186
|
+
exitWindowTVFClause?: (ctx: WindowTVFClauseContext) => void;
|
|
1187
1187
|
/**
|
|
1188
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
1188
|
+
* Enter a parse tree produced by `FlinkSqlParser.windowTVFExpression`.
|
|
1189
1189
|
* @param ctx the parse tree
|
|
1190
1190
|
*/
|
|
1191
|
-
|
|
1191
|
+
enterWindowTVFExpression?: (ctx: WindowTVFExpressionContext) => void;
|
|
1192
1192
|
/**
|
|
1193
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
1193
|
+
* Exit a parse tree produced by `FlinkSqlParser.windowTVFExpression`.
|
|
1194
1194
|
* @param ctx the parse tree
|
|
1195
1195
|
*/
|
|
1196
|
-
|
|
1196
|
+
exitWindowTVFExpression?: (ctx: WindowTVFExpressionContext) => void;
|
|
1197
1197
|
/**
|
|
1198
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
1198
|
+
* Enter a parse tree produced by `FlinkSqlParser.windowTVFName`.
|
|
1199
1199
|
* @param ctx the parse tree
|
|
1200
1200
|
*/
|
|
1201
|
-
|
|
1201
|
+
enterWindowTVFName?: (ctx: WindowTVFNameContext) => void;
|
|
1202
1202
|
/**
|
|
1203
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
1203
|
+
* Exit a parse tree produced by `FlinkSqlParser.windowTVFName`.
|
|
1204
1204
|
* @param ctx the parse tree
|
|
1205
1205
|
*/
|
|
1206
|
-
|
|
1206
|
+
exitWindowTVFName?: (ctx: WindowTVFNameContext) => void;
|
|
1207
1207
|
/**
|
|
1208
1208
|
* Enter a parse tree produced by `FlinkSqlParser.windowTVFParam`.
|
|
1209
1209
|
* @param ctx the parse tree
|
|
@@ -1285,15 +1285,15 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
1285
1285
|
*/
|
|
1286
1286
|
exitGroupingSets?: (ctx: GroupingSetsContext) => void;
|
|
1287
1287
|
/**
|
|
1288
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
1288
|
+
* Enter a parse tree produced by `FlinkSqlParser.groupingSetsNotationName`.
|
|
1289
1289
|
* @param ctx the parse tree
|
|
1290
1290
|
*/
|
|
1291
|
-
|
|
1291
|
+
enterGroupingSetsNotationName?: (ctx: GroupingSetsNotationNameContext) => void;
|
|
1292
1292
|
/**
|
|
1293
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
1293
|
+
* Exit a parse tree produced by `FlinkSqlParser.groupingSetsNotationName`.
|
|
1294
1294
|
* @param ctx the parse tree
|
|
1295
1295
|
*/
|
|
1296
|
-
|
|
1296
|
+
exitGroupingSetsNotationName?: (ctx: GroupingSetsNotationNameContext) => void;
|
|
1297
1297
|
/**
|
|
1298
1298
|
* Enter a parse tree produced by `FlinkSqlParser.groupWindowFunction`.
|
|
1299
1299
|
* @param ctx the parse tree
|
|
@@ -1375,25 +1375,25 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
1375
1375
|
*/
|
|
1376
1376
|
exitMatchRecognizeClause?: (ctx: MatchRecognizeClauseContext) => void;
|
|
1377
1377
|
/**
|
|
1378
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
1378
|
+
* Enter a parse tree produced by `FlinkSqlParser.orderByClause`.
|
|
1379
1379
|
* @param ctx the parse tree
|
|
1380
1380
|
*/
|
|
1381
|
-
|
|
1381
|
+
enterOrderByClause?: (ctx: OrderByClauseContext) => void;
|
|
1382
1382
|
/**
|
|
1383
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
1383
|
+
* Exit a parse tree produced by `FlinkSqlParser.orderByClause`.
|
|
1384
1384
|
* @param ctx the parse tree
|
|
1385
1385
|
*/
|
|
1386
|
-
|
|
1386
|
+
exitOrderByClause?: (ctx: OrderByClauseContext) => void;
|
|
1387
1387
|
/**
|
|
1388
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
1388
|
+
* Enter a parse tree produced by `FlinkSqlParser.orderItemDefinition`.
|
|
1389
1389
|
* @param ctx the parse tree
|
|
1390
1390
|
*/
|
|
1391
|
-
|
|
1391
|
+
enterOrderItemDefinition?: (ctx: OrderItemDefinitionContext) => void;
|
|
1392
1392
|
/**
|
|
1393
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
1393
|
+
* Exit a parse tree produced by `FlinkSqlParser.orderItemDefinition`.
|
|
1394
1394
|
* @param ctx the parse tree
|
|
1395
1395
|
*/
|
|
1396
|
-
|
|
1396
|
+
exitOrderItemDefinition?: (ctx: OrderItemDefinitionContext) => void;
|
|
1397
1397
|
/**
|
|
1398
1398
|
* Enter a parse tree produced by `FlinkSqlParser.limitClause`.
|
|
1399
1399
|
* @param ctx the parse tree
|
|
@@ -1435,15 +1435,15 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
1435
1435
|
*/
|
|
1436
1436
|
exitMeasuresClause?: (ctx: MeasuresClauseContext) => void;
|
|
1437
1437
|
/**
|
|
1438
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
1438
|
+
* Enter a parse tree produced by `FlinkSqlParser.patternDefinition`.
|
|
1439
1439
|
* @param ctx the parse tree
|
|
1440
1440
|
*/
|
|
1441
|
-
|
|
1441
|
+
enterPatternDefinition?: (ctx: PatternDefinitionContext) => void;
|
|
1442
1442
|
/**
|
|
1443
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
1443
|
+
* Exit a parse tree produced by `FlinkSqlParser.patternDefinition`.
|
|
1444
1444
|
* @param ctx the parse tree
|
|
1445
1445
|
*/
|
|
1446
|
-
|
|
1446
|
+
exitPatternDefinition?: (ctx: PatternDefinitionContext) => void;
|
|
1447
1447
|
/**
|
|
1448
1448
|
* Enter a parse tree produced by `FlinkSqlParser.patternVariable`.
|
|
1449
1449
|
* @param ctx the parse tree
|
|
@@ -1475,15 +1475,15 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
|
|
|
1475
1475
|
*/
|
|
1476
1476
|
exitAfterMatchStrategy?: (ctx: AfterMatchStrategyContext) => void;
|
|
1477
1477
|
/**
|
|
1478
|
-
* Enter a parse tree produced by `FlinkSqlParser.
|
|
1478
|
+
* Enter a parse tree produced by `FlinkSqlParser.patternVariablesDefinition`.
|
|
1479
1479
|
* @param ctx the parse tree
|
|
1480
1480
|
*/
|
|
1481
|
-
|
|
1481
|
+
enterPatternVariablesDefinition?: (ctx: PatternVariablesDefinitionContext) => void;
|
|
1482
1482
|
/**
|
|
1483
|
-
* Exit a parse tree produced by `FlinkSqlParser.
|
|
1483
|
+
* Exit a parse tree produced by `FlinkSqlParser.patternVariablesDefinition`.
|
|
1484
1484
|
* @param ctx the parse tree
|
|
1485
1485
|
*/
|
|
1486
|
-
|
|
1486
|
+
exitPatternVariablesDefinition?: (ctx: PatternVariablesDefinitionContext) => void;
|
|
1487
1487
|
/**
|
|
1488
1488
|
* Enter a parse tree produced by `FlinkSqlParser.windowFrame`.
|
|
1489
1489
|
* @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";
|
|
@@ -79,7 +79,7 @@ import { ValuesRowDefinitionContext } from "./FlinkSqlParser.js";
|
|
|
79
79
|
import { InsertMulStatementCompatibilityContext } from "./FlinkSqlParser.js";
|
|
80
80
|
import { InsertMulStatementContext } from "./FlinkSqlParser.js";
|
|
81
81
|
import { QueryStatementContext } from "./FlinkSqlParser.js";
|
|
82
|
-
import {
|
|
82
|
+
import { ValuesClauseContext } from "./FlinkSqlParser.js";
|
|
83
83
|
import { WithClauseContext } from "./FlinkSqlParser.js";
|
|
84
84
|
import { WithItemContext } from "./FlinkSqlParser.js";
|
|
85
85
|
import { WithItemNameContext } from "./FlinkSqlParser.js";
|
|
@@ -94,9 +94,9 @@ import { TablePrimaryContext } from "./FlinkSqlParser.js";
|
|
|
94
94
|
import { SystemTimePeriodContext } from "./FlinkSqlParser.js";
|
|
95
95
|
import { DateTimeExpressionContext } from "./FlinkSqlParser.js";
|
|
96
96
|
import { InlineDataValueClauseContext } from "./FlinkSqlParser.js";
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
97
|
+
import { WindowTVFClauseContext } from "./FlinkSqlParser.js";
|
|
98
|
+
import { WindowTVFExpressionContext } from "./FlinkSqlParser.js";
|
|
99
|
+
import { WindowTVFNameContext } from "./FlinkSqlParser.js";
|
|
100
100
|
import { WindowTVFParamContext } from "./FlinkSqlParser.js";
|
|
101
101
|
import { TimeIntervalParamNameContext } from "./FlinkSqlParser.js";
|
|
102
102
|
import { ColumnDescriptorContext } from "./FlinkSqlParser.js";
|
|
@@ -105,7 +105,7 @@ import { WhereClauseContext } from "./FlinkSqlParser.js";
|
|
|
105
105
|
import { GroupByClauseContext } from "./FlinkSqlParser.js";
|
|
106
106
|
import { GroupItemDefinitionContext } from "./FlinkSqlParser.js";
|
|
107
107
|
import { GroupingSetsContext } from "./FlinkSqlParser.js";
|
|
108
|
-
import {
|
|
108
|
+
import { GroupingSetsNotationNameContext } from "./FlinkSqlParser.js";
|
|
109
109
|
import { GroupWindowFunctionContext } from "./FlinkSqlParser.js";
|
|
110
110
|
import { GroupWindowFunctionNameContext } from "./FlinkSqlParser.js";
|
|
111
111
|
import { TimeAttrColumnContext } from "./FlinkSqlParser.js";
|
|
@@ -114,17 +114,17 @@ import { WindowClauseContext } from "./FlinkSqlParser.js";
|
|
|
114
114
|
import { NamedWindowContext } from "./FlinkSqlParser.js";
|
|
115
115
|
import { WindowSpecContext } from "./FlinkSqlParser.js";
|
|
116
116
|
import { MatchRecognizeClauseContext } from "./FlinkSqlParser.js";
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
117
|
+
import { OrderByClauseContext } from "./FlinkSqlParser.js";
|
|
118
|
+
import { OrderItemDefinitionContext } from "./FlinkSqlParser.js";
|
|
119
119
|
import { LimitClauseContext } from "./FlinkSqlParser.js";
|
|
120
120
|
import { PartitionByClauseContext } from "./FlinkSqlParser.js";
|
|
121
121
|
import { QuantifiersContext } from "./FlinkSqlParser.js";
|
|
122
122
|
import { MeasuresClauseContext } from "./FlinkSqlParser.js";
|
|
123
|
-
import {
|
|
123
|
+
import { PatternDefinitionContext } from "./FlinkSqlParser.js";
|
|
124
124
|
import { PatternVariableContext } from "./FlinkSqlParser.js";
|
|
125
125
|
import { OutputModeContext } from "./FlinkSqlParser.js";
|
|
126
126
|
import { AfterMatchStrategyContext } from "./FlinkSqlParser.js";
|
|
127
|
-
import {
|
|
127
|
+
import { PatternVariablesDefinitionContext } from "./FlinkSqlParser.js";
|
|
128
128
|
import { WindowFrameContext } from "./FlinkSqlParser.js";
|
|
129
129
|
import { FrameBoundContext } from "./FlinkSqlParser.js";
|
|
130
130
|
import { WithinClauseContext } from "./FlinkSqlParser.js";
|
|
@@ -296,11 +296,11 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
296
296
|
*/
|
|
297
297
|
visitUseModuleStatement?: (ctx: UseModuleStatementContext) => Result;
|
|
298
298
|
/**
|
|
299
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
299
|
+
* Visit a parse tree produced by `FlinkSqlParser.showStatement`.
|
|
300
300
|
* @param ctx the parse tree
|
|
301
301
|
* @return the visitor result
|
|
302
302
|
*/
|
|
303
|
-
|
|
303
|
+
visitShowStatement?: (ctx: ShowStatementContext) => Result;
|
|
304
304
|
/**
|
|
305
305
|
* Visit a parse tree produced by `FlinkSqlParser.loadStatement`.
|
|
306
306
|
* @param ctx the parse tree
|
|
@@ -308,29 +308,29 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
308
308
|
*/
|
|
309
309
|
visitLoadStatement?: (ctx: LoadStatementContext) => Result;
|
|
310
310
|
/**
|
|
311
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
311
|
+
* Visit a parse tree produced by `FlinkSqlParser.unloadStatement`.
|
|
312
312
|
* @param ctx the parse tree
|
|
313
313
|
* @return the visitor result
|
|
314
314
|
*/
|
|
315
|
-
|
|
315
|
+
visitUnloadStatement?: (ctx: UnloadStatementContext) => Result;
|
|
316
316
|
/**
|
|
317
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
317
|
+
* Visit a parse tree produced by `FlinkSqlParser.setStatement`.
|
|
318
318
|
* @param ctx the parse tree
|
|
319
319
|
* @return the visitor result
|
|
320
320
|
*/
|
|
321
|
-
|
|
321
|
+
visitSetStatement?: (ctx: SetStatementContext) => Result;
|
|
322
322
|
/**
|
|
323
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
323
|
+
* Visit a parse tree produced by `FlinkSqlParser.resetStatement`.
|
|
324
324
|
* @param ctx the parse tree
|
|
325
325
|
* @return the visitor result
|
|
326
326
|
*/
|
|
327
|
-
|
|
327
|
+
visitResetStatement?: (ctx: ResetStatementContext) => Result;
|
|
328
328
|
/**
|
|
329
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
329
|
+
* Visit a parse tree produced by `FlinkSqlParser.jarStatement`.
|
|
330
330
|
* @param ctx the parse tree
|
|
331
331
|
* @return the visitor result
|
|
332
332
|
*/
|
|
333
|
-
|
|
333
|
+
visitJarStatement?: (ctx: JarStatementContext) => Result;
|
|
334
334
|
/**
|
|
335
335
|
* Visit a parse tree produced by `FlinkSqlParser.dtAddStatement`.
|
|
336
336
|
* @param ctx the parse tree
|
|
@@ -706,11 +706,11 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
706
706
|
*/
|
|
707
707
|
visitQueryStatement?: (ctx: QueryStatementContext) => Result;
|
|
708
708
|
/**
|
|
709
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
709
|
+
* Visit a parse tree produced by `FlinkSqlParser.valuesClause`.
|
|
710
710
|
* @param ctx the parse tree
|
|
711
711
|
* @return the visitor result
|
|
712
712
|
*/
|
|
713
|
-
|
|
713
|
+
visitValuesClause?: (ctx: ValuesClauseContext) => Result;
|
|
714
714
|
/**
|
|
715
715
|
* Visit a parse tree produced by `FlinkSqlParser.withClause`.
|
|
716
716
|
* @param ctx the parse tree
|
|
@@ -796,23 +796,23 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
796
796
|
*/
|
|
797
797
|
visitInlineDataValueClause?: (ctx: InlineDataValueClauseContext) => Result;
|
|
798
798
|
/**
|
|
799
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
799
|
+
* Visit a parse tree produced by `FlinkSqlParser.windowTVFClause`.
|
|
800
800
|
* @param ctx the parse tree
|
|
801
801
|
* @return the visitor result
|
|
802
802
|
*/
|
|
803
|
-
|
|
803
|
+
visitWindowTVFClause?: (ctx: WindowTVFClauseContext) => Result;
|
|
804
804
|
/**
|
|
805
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
805
|
+
* Visit a parse tree produced by `FlinkSqlParser.windowTVFExpression`.
|
|
806
806
|
* @param ctx the parse tree
|
|
807
807
|
* @return the visitor result
|
|
808
808
|
*/
|
|
809
|
-
|
|
809
|
+
visitWindowTVFExpression?: (ctx: WindowTVFExpressionContext) => Result;
|
|
810
810
|
/**
|
|
811
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
811
|
+
* Visit a parse tree produced by `FlinkSqlParser.windowTVFName`.
|
|
812
812
|
* @param ctx the parse tree
|
|
813
813
|
* @return the visitor result
|
|
814
814
|
*/
|
|
815
|
-
|
|
815
|
+
visitWindowTVFName?: (ctx: WindowTVFNameContext) => Result;
|
|
816
816
|
/**
|
|
817
817
|
* Visit a parse tree produced by `FlinkSqlParser.windowTVFParam`.
|
|
818
818
|
* @param ctx the parse tree
|
|
@@ -862,11 +862,11 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
862
862
|
*/
|
|
863
863
|
visitGroupingSets?: (ctx: GroupingSetsContext) => Result;
|
|
864
864
|
/**
|
|
865
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
865
|
+
* Visit a parse tree produced by `FlinkSqlParser.groupingSetsNotationName`.
|
|
866
866
|
* @param ctx the parse tree
|
|
867
867
|
* @return the visitor result
|
|
868
868
|
*/
|
|
869
|
-
|
|
869
|
+
visitGroupingSetsNotationName?: (ctx: GroupingSetsNotationNameContext) => Result;
|
|
870
870
|
/**
|
|
871
871
|
* Visit a parse tree produced by `FlinkSqlParser.groupWindowFunction`.
|
|
872
872
|
* @param ctx the parse tree
|
|
@@ -916,17 +916,17 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
916
916
|
*/
|
|
917
917
|
visitMatchRecognizeClause?: (ctx: MatchRecognizeClauseContext) => Result;
|
|
918
918
|
/**
|
|
919
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
919
|
+
* Visit a parse tree produced by `FlinkSqlParser.orderByClause`.
|
|
920
920
|
* @param ctx the parse tree
|
|
921
921
|
* @return the visitor result
|
|
922
922
|
*/
|
|
923
|
-
|
|
923
|
+
visitOrderByClause?: (ctx: OrderByClauseContext) => Result;
|
|
924
924
|
/**
|
|
925
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
925
|
+
* Visit a parse tree produced by `FlinkSqlParser.orderItemDefinition`.
|
|
926
926
|
* @param ctx the parse tree
|
|
927
927
|
* @return the visitor result
|
|
928
928
|
*/
|
|
929
|
-
|
|
929
|
+
visitOrderItemDefinition?: (ctx: OrderItemDefinitionContext) => Result;
|
|
930
930
|
/**
|
|
931
931
|
* Visit a parse tree produced by `FlinkSqlParser.limitClause`.
|
|
932
932
|
* @param ctx the parse tree
|
|
@@ -952,11 +952,11 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
952
952
|
*/
|
|
953
953
|
visitMeasuresClause?: (ctx: MeasuresClauseContext) => Result;
|
|
954
954
|
/**
|
|
955
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
955
|
+
* Visit a parse tree produced by `FlinkSqlParser.patternDefinition`.
|
|
956
956
|
* @param ctx the parse tree
|
|
957
957
|
* @return the visitor result
|
|
958
958
|
*/
|
|
959
|
-
|
|
959
|
+
visitPatternDefinition?: (ctx: PatternDefinitionContext) => Result;
|
|
960
960
|
/**
|
|
961
961
|
* Visit a parse tree produced by `FlinkSqlParser.patternVariable`.
|
|
962
962
|
* @param ctx the parse tree
|
|
@@ -976,11 +976,11 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
|
|
|
976
976
|
*/
|
|
977
977
|
visitAfterMatchStrategy?: (ctx: AfterMatchStrategyContext) => Result;
|
|
978
978
|
/**
|
|
979
|
-
* Visit a parse tree produced by `FlinkSqlParser.
|
|
979
|
+
* Visit a parse tree produced by `FlinkSqlParser.patternVariablesDefinition`.
|
|
980
980
|
* @param ctx the parse tree
|
|
981
981
|
* @return the visitor result
|
|
982
982
|
*/
|
|
983
|
-
|
|
983
|
+
visitPatternVariablesDefinition?: (ctx: PatternVariablesDefinitionContext) => Result;
|
|
984
984
|
/**
|
|
985
985
|
* Visit a parse tree produced by `FlinkSqlParser.windowFrame`.
|
|
986
986
|
* @param ctx the parse tree
|
|
@@ -446,7 +446,7 @@ export declare class HiveSqlParser extends SQLParserBase {
|
|
|
446
446
|
static readonly RULE_statement = 1;
|
|
447
447
|
static readonly RULE_explainStatement = 2;
|
|
448
448
|
static readonly RULE_explainOption = 3;
|
|
449
|
-
static readonly
|
|
449
|
+
static readonly RULE_vectorizationDetail = 4;
|
|
450
450
|
static readonly RULE_execStatement = 5;
|
|
451
451
|
static readonly RULE_loadStatement = 6;
|
|
452
452
|
static readonly RULE_replicationClause = 7;
|
|
@@ -502,7 +502,7 @@ export declare class HiveSqlParser extends SQLParserBase {
|
|
|
502
502
|
static readonly RULE_privObject = 57;
|
|
503
503
|
static readonly RULE_privObjectCols = 58;
|
|
504
504
|
static readonly RULE_privilegeList = 59;
|
|
505
|
-
static readonly
|
|
505
|
+
static readonly RULE_privilegeDef = 60;
|
|
506
506
|
static readonly RULE_privilegeType = 61;
|
|
507
507
|
static readonly RULE_principalSpecification = 62;
|
|
508
508
|
static readonly RULE_principalName = 63;
|
|
@@ -802,7 +802,7 @@ export declare class HiveSqlParser extends SQLParserBase {
|
|
|
802
802
|
statement(): StatementContext;
|
|
803
803
|
explainStatement(): ExplainStatementContext;
|
|
804
804
|
explainOption(): ExplainOptionContext;
|
|
805
|
-
|
|
805
|
+
vectorizationDetail(): VectorizationDetailContext;
|
|
806
806
|
execStatement(): ExecStatementContext;
|
|
807
807
|
loadStatement(): LoadStatementContext;
|
|
808
808
|
replicationClause(): ReplicationClauseContext;
|
|
@@ -858,7 +858,7 @@ export declare class HiveSqlParser extends SQLParserBase {
|
|
|
858
858
|
privObject(): PrivObjectContext;
|
|
859
859
|
privObjectCols(): PrivObjectColsContext;
|
|
860
860
|
privilegeList(): PrivilegeListContext;
|
|
861
|
-
|
|
861
|
+
privilegeDef(): PrivilegeDefContext;
|
|
862
862
|
privilegeType(): PrivilegeTypeContext;
|
|
863
863
|
principalSpecification(): PrincipalSpecificationContext;
|
|
864
864
|
principalName(): PrincipalNameContext;
|
|
@@ -1202,7 +1202,7 @@ export declare class ExplainOptionContext extends antlr.ParserRuleContext {
|
|
|
1202
1202
|
KW_AST(): antlr.TerminalNode | null;
|
|
1203
1203
|
KW_VECTORIZATION(): antlr.TerminalNode | null;
|
|
1204
1204
|
KW_ONLY(): antlr.TerminalNode | null;
|
|
1205
|
-
|
|
1205
|
+
vectorizationDetail(): VectorizationDetailContext | null;
|
|
1206
1206
|
KW_DEBUG(): antlr.TerminalNode | null;
|
|
1207
1207
|
KW_DDL(): antlr.TerminalNode | null;
|
|
1208
1208
|
get ruleIndex(): number;
|
|
@@ -1210,7 +1210,7 @@ export declare class ExplainOptionContext extends antlr.ParserRuleContext {
|
|
|
1210
1210
|
exitRule(listener: HiveSqlParserListener): void;
|
|
1211
1211
|
accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result | null;
|
|
1212
1212
|
}
|
|
1213
|
-
export declare class
|
|
1213
|
+
export declare class VectorizationDetailContext extends antlr.ParserRuleContext {
|
|
1214
1214
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1215
1215
|
KW_SUMMARY(): antlr.TerminalNode | null;
|
|
1216
1216
|
KW_OPERATOR(): antlr.TerminalNode | null;
|
|
@@ -2043,8 +2043,8 @@ export declare class PrivObjectColsContext extends antlr.ParserRuleContext {
|
|
|
2043
2043
|
}
|
|
2044
2044
|
export declare class PrivilegeListContext extends antlr.ParserRuleContext {
|
|
2045
2045
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2046
|
-
|
|
2047
|
-
|
|
2046
|
+
privilegeDef(): PrivilegeDefContext[];
|
|
2047
|
+
privilegeDef(i: number): PrivilegeDefContext | null;
|
|
2048
2048
|
COMMA(): antlr.TerminalNode[];
|
|
2049
2049
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
2050
2050
|
get ruleIndex(): number;
|
|
@@ -2052,7 +2052,7 @@ export declare class PrivilegeListContext extends antlr.ParserRuleContext {
|
|
|
2052
2052
|
exitRule(listener: HiveSqlParserListener): void;
|
|
2053
2053
|
accept<Result>(visitor: HiveSqlParserVisitor<Result>): Result | null;
|
|
2054
2054
|
}
|
|
2055
|
-
export declare class
|
|
2055
|
+
export declare class PrivilegeDefContext extends antlr.ParserRuleContext {
|
|
2056
2056
|
_cols?: ColumnNameListContext;
|
|
2057
2057
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2058
2058
|
privilegeType(): PrivilegeTypeContext;
|
|
@@ -2711,7 +2711,7 @@ export declare class RecordWriterContext extends antlr.ParserRuleContext {
|
|
|
2711
2711
|
}
|
|
2712
2712
|
export declare class RowFormatSerdeContext extends antlr.ParserRuleContext {
|
|
2713
2713
|
_name?: Token | null;
|
|
2714
|
-
|
|
2714
|
+
_serderops?: TablePropertiesContext;
|
|
2715
2715
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2716
2716
|
KW_ROW(): antlr.TerminalNode;
|
|
2717
2717
|
KW_FORMAT(): antlr.TerminalNode;
|