dt-sql-parser 4.1.2-beta.0 → 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 +3 -3
- package/dist/lib/flink/FlinkSqlLexer.js +1970 -1972
- package/dist/lib/flink/FlinkSqlParser.d.ts +71 -71
- package/dist/lib/flink/FlinkSqlParser.js +255 -255
- 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/PostgreSqlParser.d.ts +2826 -2967
- package/dist/lib/postgresql/PostgreSqlParser.js +19865 -20497
- package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +2094 -2187
- package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +1251 -1305
- 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
|
@@ -171,7 +171,7 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
171
171
|
this.enterOuterAlt(localContext, 6);
|
|
172
172
|
{
|
|
173
173
|
this.state = 404;
|
|
174
|
-
this.
|
|
174
|
+
this.showStatement();
|
|
175
175
|
}
|
|
176
176
|
break;
|
|
177
177
|
case 7:
|
|
@@ -185,28 +185,28 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
185
185
|
this.enterOuterAlt(localContext, 8);
|
|
186
186
|
{
|
|
187
187
|
this.state = 406;
|
|
188
|
-
this.
|
|
188
|
+
this.unloadStatement();
|
|
189
189
|
}
|
|
190
190
|
break;
|
|
191
191
|
case 9:
|
|
192
192
|
this.enterOuterAlt(localContext, 9);
|
|
193
193
|
{
|
|
194
194
|
this.state = 407;
|
|
195
|
-
this.
|
|
195
|
+
this.setStatement();
|
|
196
196
|
}
|
|
197
197
|
break;
|
|
198
198
|
case 10:
|
|
199
199
|
this.enterOuterAlt(localContext, 10);
|
|
200
200
|
{
|
|
201
201
|
this.state = 408;
|
|
202
|
-
this.
|
|
202
|
+
this.resetStatement();
|
|
203
203
|
}
|
|
204
204
|
break;
|
|
205
205
|
case 11:
|
|
206
206
|
this.enterOuterAlt(localContext, 11);
|
|
207
207
|
{
|
|
208
208
|
this.state = 409;
|
|
209
|
-
this.
|
|
209
|
+
this.jarStatement();
|
|
210
210
|
}
|
|
211
211
|
break;
|
|
212
212
|
case 12:
|
|
@@ -710,9 +710,9 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
710
710
|
}
|
|
711
711
|
return localContext;
|
|
712
712
|
}
|
|
713
|
-
|
|
714
|
-
let localContext = new
|
|
715
|
-
this.enterRule(localContext, 24, FlinkSqlParser.
|
|
713
|
+
showStatement() {
|
|
714
|
+
let localContext = new ShowStatementContext(this.context, this.state);
|
|
715
|
+
this.enterRule(localContext, 24, FlinkSqlParser.RULE_showStatement);
|
|
716
716
|
let _la;
|
|
717
717
|
try {
|
|
718
718
|
this.state = 519;
|
|
@@ -956,9 +956,9 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
956
956
|
}
|
|
957
957
|
return localContext;
|
|
958
958
|
}
|
|
959
|
-
|
|
960
|
-
let localContext = new
|
|
961
|
-
this.enterRule(localContext, 28, FlinkSqlParser.
|
|
959
|
+
unloadStatement() {
|
|
960
|
+
let localContext = new UnloadStatementContext(this.context, this.state);
|
|
961
|
+
this.enterRule(localContext, 28, FlinkSqlParser.RULE_unloadStatement);
|
|
962
962
|
try {
|
|
963
963
|
this.enterOuterAlt(localContext, 1);
|
|
964
964
|
{
|
|
@@ -985,9 +985,9 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
985
985
|
}
|
|
986
986
|
return localContext;
|
|
987
987
|
}
|
|
988
|
-
|
|
989
|
-
let localContext = new
|
|
990
|
-
this.enterRule(localContext, 30, FlinkSqlParser.
|
|
988
|
+
setStatement() {
|
|
989
|
+
let localContext = new SetStatementContext(this.context, this.state);
|
|
990
|
+
this.enterRule(localContext, 30, FlinkSqlParser.RULE_setStatement);
|
|
991
991
|
try {
|
|
992
992
|
this.enterOuterAlt(localContext, 1);
|
|
993
993
|
{
|
|
@@ -1020,9 +1020,9 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
1020
1020
|
}
|
|
1021
1021
|
return localContext;
|
|
1022
1022
|
}
|
|
1023
|
-
|
|
1024
|
-
let localContext = new
|
|
1025
|
-
this.enterRule(localContext, 32, FlinkSqlParser.
|
|
1023
|
+
resetStatement() {
|
|
1024
|
+
let localContext = new ResetStatementContext(this.context, this.state);
|
|
1025
|
+
this.enterRule(localContext, 32, FlinkSqlParser.RULE_resetStatement);
|
|
1026
1026
|
try {
|
|
1027
1027
|
this.enterOuterAlt(localContext, 1);
|
|
1028
1028
|
{
|
|
@@ -1055,9 +1055,9 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
1055
1055
|
}
|
|
1056
1056
|
return localContext;
|
|
1057
1057
|
}
|
|
1058
|
-
|
|
1059
|
-
let localContext = new
|
|
1060
|
-
this.enterRule(localContext, 34, FlinkSqlParser.
|
|
1058
|
+
jarStatement() {
|
|
1059
|
+
let localContext = new JarStatementContext(this.context, this.state);
|
|
1060
|
+
this.enterRule(localContext, 34, FlinkSqlParser.RULE_jarStatement);
|
|
1061
1061
|
let _la;
|
|
1062
1062
|
try {
|
|
1063
1063
|
this.enterOuterAlt(localContext, 1);
|
|
@@ -4263,7 +4263,7 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
4263
4263
|
case 1:
|
|
4264
4264
|
{
|
|
4265
4265
|
this.state = 1165;
|
|
4266
|
-
this.
|
|
4266
|
+
this.valuesClause();
|
|
4267
4267
|
}
|
|
4268
4268
|
break;
|
|
4269
4269
|
case 2:
|
|
@@ -4294,7 +4294,7 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
4294
4294
|
case 1:
|
|
4295
4295
|
{
|
|
4296
4296
|
this.state = 1174;
|
|
4297
|
-
this.
|
|
4297
|
+
this.orderByClause();
|
|
4298
4298
|
}
|
|
4299
4299
|
break;
|
|
4300
4300
|
}
|
|
@@ -4320,7 +4320,7 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
4320
4320
|
case 1:
|
|
4321
4321
|
{
|
|
4322
4322
|
this.state = 1181;
|
|
4323
|
-
this.
|
|
4323
|
+
this.orderByClause();
|
|
4324
4324
|
}
|
|
4325
4325
|
break;
|
|
4326
4326
|
}
|
|
@@ -4383,7 +4383,7 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
4383
4383
|
case 1:
|
|
4384
4384
|
{
|
|
4385
4385
|
this.state = 1195;
|
|
4386
|
-
this.
|
|
4386
|
+
this.orderByClause();
|
|
4387
4387
|
}
|
|
4388
4388
|
break;
|
|
4389
4389
|
}
|
|
@@ -4421,9 +4421,9 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
4421
4421
|
}
|
|
4422
4422
|
return localContext;
|
|
4423
4423
|
}
|
|
4424
|
-
|
|
4425
|
-
let localContext = new
|
|
4426
|
-
this.enterRule(localContext, 158, FlinkSqlParser.
|
|
4424
|
+
valuesClause() {
|
|
4425
|
+
let localContext = new ValuesClauseContext(this.context, this.state);
|
|
4426
|
+
this.enterRule(localContext, 158, FlinkSqlParser.RULE_valuesClause);
|
|
4427
4427
|
try {
|
|
4428
4428
|
let alternative;
|
|
4429
4429
|
this.enterOuterAlt(localContext, 1);
|
|
@@ -4978,7 +4978,7 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
4978
4978
|
case 3:
|
|
4979
4979
|
{
|
|
4980
4980
|
this.state = 1326;
|
|
4981
|
-
this.
|
|
4981
|
+
this.windowTVFClause();
|
|
4982
4982
|
}
|
|
4983
4983
|
break;
|
|
4984
4984
|
}
|
|
@@ -5334,9 +5334,9 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
5334
5334
|
}
|
|
5335
5335
|
return localContext;
|
|
5336
5336
|
}
|
|
5337
|
-
|
|
5338
|
-
let localContext = new
|
|
5339
|
-
this.enterRule(localContext, 188, FlinkSqlParser.
|
|
5337
|
+
windowTVFClause() {
|
|
5338
|
+
let localContext = new WindowTVFClauseContext(this.context, this.state);
|
|
5339
|
+
this.enterRule(localContext, 188, FlinkSqlParser.RULE_windowTVFClause);
|
|
5340
5340
|
try {
|
|
5341
5341
|
this.enterOuterAlt(localContext, 1);
|
|
5342
5342
|
{
|
|
@@ -5345,7 +5345,7 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
5345
5345
|
this.state = 1402;
|
|
5346
5346
|
this.match(FlinkSqlParser.LR_BRACKET);
|
|
5347
5347
|
this.state = 1403;
|
|
5348
|
-
this.
|
|
5348
|
+
this.windowTVFExpression();
|
|
5349
5349
|
this.state = 1404;
|
|
5350
5350
|
this.match(FlinkSqlParser.RR_BRACKET);
|
|
5351
5351
|
}
|
|
@@ -5365,15 +5365,15 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
5365
5365
|
}
|
|
5366
5366
|
return localContext;
|
|
5367
5367
|
}
|
|
5368
|
-
|
|
5369
|
-
let localContext = new
|
|
5370
|
-
this.enterRule(localContext, 190, FlinkSqlParser.
|
|
5368
|
+
windowTVFExpression() {
|
|
5369
|
+
let localContext = new WindowTVFExpressionContext(this.context, this.state);
|
|
5370
|
+
this.enterRule(localContext, 190, FlinkSqlParser.RULE_windowTVFExpression);
|
|
5371
5371
|
let _la;
|
|
5372
5372
|
try {
|
|
5373
5373
|
this.enterOuterAlt(localContext, 1);
|
|
5374
5374
|
{
|
|
5375
5375
|
this.state = 1406;
|
|
5376
|
-
this.
|
|
5376
|
+
this.windowTVFName();
|
|
5377
5377
|
this.state = 1407;
|
|
5378
5378
|
this.match(FlinkSqlParser.LR_BRACKET);
|
|
5379
5379
|
this.state = 1408;
|
|
@@ -5413,9 +5413,9 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
5413
5413
|
}
|
|
5414
5414
|
return localContext;
|
|
5415
5415
|
}
|
|
5416
|
-
|
|
5417
|
-
let localContext = new
|
|
5418
|
-
this.enterRule(localContext, 192, FlinkSqlParser.
|
|
5416
|
+
windowTVFName() {
|
|
5417
|
+
let localContext = new WindowTVFNameContext(this.context, this.state);
|
|
5418
|
+
this.enterRule(localContext, 192, FlinkSqlParser.RULE_windowTVFName);
|
|
5419
5419
|
let _la;
|
|
5420
5420
|
try {
|
|
5421
5421
|
this.enterOuterAlt(localContext, 1);
|
|
@@ -5773,7 +5773,7 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
5773
5773
|
this.enterOuterAlt(localContext, 5);
|
|
5774
5774
|
{
|
|
5775
5775
|
this.state = 1478;
|
|
5776
|
-
this.
|
|
5776
|
+
this.groupingSetsNotationName();
|
|
5777
5777
|
this.state = 1479;
|
|
5778
5778
|
this.match(FlinkSqlParser.LR_BRACKET);
|
|
5779
5779
|
this.state = 1480;
|
|
@@ -5878,9 +5878,9 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
5878
5878
|
}
|
|
5879
5879
|
return localContext;
|
|
5880
5880
|
}
|
|
5881
|
-
|
|
5882
|
-
let localContext = new
|
|
5883
|
-
this.enterRule(localContext, 210, FlinkSqlParser.
|
|
5881
|
+
groupingSetsNotationName() {
|
|
5882
|
+
let localContext = new GroupingSetsNotationNameContext(this.context, this.state);
|
|
5883
|
+
this.enterRule(localContext, 210, FlinkSqlParser.RULE_groupingSetsNotationName);
|
|
5884
5884
|
let _la;
|
|
5885
5885
|
try {
|
|
5886
5886
|
this.enterOuterAlt(localContext, 1);
|
|
@@ -6139,7 +6139,7 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
6139
6139
|
if (_la === 259) {
|
|
6140
6140
|
{
|
|
6141
6141
|
this.state = 1544;
|
|
6142
|
-
this.
|
|
6142
|
+
this.orderByClause();
|
|
6143
6143
|
}
|
|
6144
6144
|
}
|
|
6145
6145
|
this.state = 1548;
|
|
@@ -6196,7 +6196,7 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
6196
6196
|
if (_la === 259) {
|
|
6197
6197
|
{
|
|
6198
6198
|
this.state = 1557;
|
|
6199
|
-
this.
|
|
6199
|
+
this.orderByClause();
|
|
6200
6200
|
}
|
|
6201
6201
|
}
|
|
6202
6202
|
this.state = 1561;
|
|
@@ -6232,11 +6232,11 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
6232
6232
|
if (_la === 272) {
|
|
6233
6233
|
{
|
|
6234
6234
|
this.state = 1569;
|
|
6235
|
-
this.
|
|
6235
|
+
this.patternDefinition();
|
|
6236
6236
|
}
|
|
6237
6237
|
}
|
|
6238
6238
|
this.state = 1572;
|
|
6239
|
-
this.
|
|
6239
|
+
this.patternVariablesDefinition();
|
|
6240
6240
|
this.state = 1573;
|
|
6241
6241
|
this.match(FlinkSqlParser.RR_BRACKET);
|
|
6242
6242
|
this.state = 1578;
|
|
@@ -6275,9 +6275,9 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
6275
6275
|
}
|
|
6276
6276
|
return localContext;
|
|
6277
6277
|
}
|
|
6278
|
-
|
|
6279
|
-
let localContext = new
|
|
6280
|
-
this.enterRule(localContext, 228, FlinkSqlParser.
|
|
6278
|
+
orderByClause() {
|
|
6279
|
+
let localContext = new OrderByClauseContext(this.context, this.state);
|
|
6280
|
+
this.enterRule(localContext, 228, FlinkSqlParser.RULE_orderByClause);
|
|
6281
6281
|
try {
|
|
6282
6282
|
let alternative;
|
|
6283
6283
|
this.enterOuterAlt(localContext, 1);
|
|
@@ -6287,7 +6287,7 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
6287
6287
|
this.state = 1581;
|
|
6288
6288
|
this.match(FlinkSqlParser.KW_BY);
|
|
6289
6289
|
this.state = 1582;
|
|
6290
|
-
this.
|
|
6290
|
+
this.orderItemDefinition();
|
|
6291
6291
|
this.state = 1587;
|
|
6292
6292
|
this.errorHandler.sync(this);
|
|
6293
6293
|
alternative = this.interpreter.adaptivePredict(this.tokenStream, 176, this.context);
|
|
@@ -6298,7 +6298,7 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
6298
6298
|
this.state = 1583;
|
|
6299
6299
|
this.match(FlinkSqlParser.COMMA);
|
|
6300
6300
|
this.state = 1584;
|
|
6301
|
-
this.
|
|
6301
|
+
this.orderItemDefinition();
|
|
6302
6302
|
}
|
|
6303
6303
|
}
|
|
6304
6304
|
}
|
|
@@ -6323,9 +6323,9 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
6323
6323
|
}
|
|
6324
6324
|
return localContext;
|
|
6325
6325
|
}
|
|
6326
|
-
|
|
6327
|
-
let localContext = new
|
|
6328
|
-
this.enterRule(localContext, 230, FlinkSqlParser.
|
|
6326
|
+
orderItemDefinition() {
|
|
6327
|
+
let localContext = new OrderItemDefinitionContext(this.context, this.state);
|
|
6328
|
+
this.enterRule(localContext, 230, FlinkSqlParser.RULE_orderItemDefinition);
|
|
6329
6329
|
let _la;
|
|
6330
6330
|
try {
|
|
6331
6331
|
this.enterOuterAlt(localContext, 1);
|
|
@@ -6555,7 +6555,7 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
6555
6555
|
case FlinkSqlParser.BIT_NOT_OP:
|
|
6556
6556
|
case FlinkSqlParser.LR_BRACKET:
|
|
6557
6557
|
case FlinkSqlParser.ASTERISK_SIGN:
|
|
6558
|
-
case FlinkSqlParser.
|
|
6558
|
+
case FlinkSqlParser.HYPHEN_SIGN:
|
|
6559
6559
|
case FlinkSqlParser.ADD_SIGN:
|
|
6560
6560
|
case FlinkSqlParser.STRING_LITERAL:
|
|
6561
6561
|
case FlinkSqlParser.DIG_LITERAL:
|
|
@@ -6803,9 +6803,9 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
6803
6803
|
}
|
|
6804
6804
|
return localContext;
|
|
6805
6805
|
}
|
|
6806
|
-
|
|
6807
|
-
let localContext = new
|
|
6808
|
-
this.enterRule(localContext, 240, FlinkSqlParser.
|
|
6806
|
+
patternDefinition() {
|
|
6807
|
+
let localContext = new PatternDefinitionContext(this.context, this.state);
|
|
6808
|
+
this.enterRule(localContext, 240, FlinkSqlParser.RULE_patternDefinition);
|
|
6809
6809
|
let _la;
|
|
6810
6810
|
try {
|
|
6811
6811
|
this.enterOuterAlt(localContext, 1);
|
|
@@ -7035,9 +7035,9 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
7035
7035
|
}
|
|
7036
7036
|
return localContext;
|
|
7037
7037
|
}
|
|
7038
|
-
|
|
7039
|
-
let localContext = new
|
|
7040
|
-
this.enterRule(localContext, 248, FlinkSqlParser.
|
|
7038
|
+
patternVariablesDefinition() {
|
|
7039
|
+
let localContext = new PatternVariablesDefinitionContext(this.context, this.state);
|
|
7040
|
+
this.enterRule(localContext, 248, FlinkSqlParser.RULE_patternVariablesDefinition);
|
|
7041
7041
|
let _la;
|
|
7042
7042
|
try {
|
|
7043
7043
|
this.enterOuterAlt(localContext, 1);
|
|
@@ -9004,7 +9004,7 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
9004
9004
|
this.state = 2066;
|
|
9005
9005
|
this.errorHandler.sync(this);
|
|
9006
9006
|
switch (this.tokenStream.LA(1)) {
|
|
9007
|
-
case FlinkSqlParser.
|
|
9007
|
+
case FlinkSqlParser.HYPHEN_SIGN:
|
|
9008
9008
|
case FlinkSqlParser.ADD_SIGN:
|
|
9009
9009
|
case FlinkSqlParser.DIG_LITERAL:
|
|
9010
9010
|
case FlinkSqlParser.REAL_LITERAL:
|
|
@@ -10492,7 +10492,7 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
10492
10492
|
this.stringLiteral();
|
|
10493
10493
|
}
|
|
10494
10494
|
break;
|
|
10495
|
-
case FlinkSqlParser.
|
|
10495
|
+
case FlinkSqlParser.HYPHEN_SIGN:
|
|
10496
10496
|
case FlinkSqlParser.DIG_LITERAL:
|
|
10497
10497
|
this.enterOuterAlt(localContext, 4);
|
|
10498
10498
|
{
|
|
@@ -10502,7 +10502,7 @@ export class FlinkSqlParser extends SQLParserBase {
|
|
|
10502
10502
|
if (_la === 530) {
|
|
10503
10503
|
{
|
|
10504
10504
|
this.state = 2270;
|
|
10505
|
-
this.match(FlinkSqlParser.
|
|
10505
|
+
this.match(FlinkSqlParser.HYPHEN_SIGN);
|
|
10506
10506
|
}
|
|
10507
10507
|
}
|
|
10508
10508
|
this.state = 2273;
|
|
@@ -11555,11 +11555,11 @@ FlinkSqlParser.REVERSE_QUOTE_SYMB = 526;
|
|
|
11555
11555
|
FlinkSqlParser.COLON_SYMB = 527;
|
|
11556
11556
|
FlinkSqlParser.ASTERISK_SIGN = 528;
|
|
11557
11557
|
FlinkSqlParser.UNDERLINE_SIGN = 529;
|
|
11558
|
-
FlinkSqlParser.
|
|
11558
|
+
FlinkSqlParser.HYPHEN_SIGN = 530;
|
|
11559
11559
|
FlinkSqlParser.ADD_SIGN = 531;
|
|
11560
|
-
FlinkSqlParser.
|
|
11560
|
+
FlinkSqlParser.PERCENT_SIGN = 532;
|
|
11561
11561
|
FlinkSqlParser.DOUBLE_VERTICAL_SIGN = 533;
|
|
11562
|
-
FlinkSqlParser.
|
|
11562
|
+
FlinkSqlParser.DOUBLE_HYPHEN_SIGN = 534;
|
|
11563
11563
|
FlinkSqlParser.SLASH_SIGN = 535;
|
|
11564
11564
|
FlinkSqlParser.QUESTION_MARK_SIGN = 536;
|
|
11565
11565
|
FlinkSqlParser.DOUBLE_RIGHT_ARROW = 537;
|
|
@@ -11580,12 +11580,12 @@ FlinkSqlParser.RULE_explainDetails = 8;
|
|
|
11580
11580
|
FlinkSqlParser.RULE_explainDetail = 9;
|
|
11581
11581
|
FlinkSqlParser.RULE_useStatement = 10;
|
|
11582
11582
|
FlinkSqlParser.RULE_useModuleStatement = 11;
|
|
11583
|
-
FlinkSqlParser.
|
|
11583
|
+
FlinkSqlParser.RULE_showStatement = 12;
|
|
11584
11584
|
FlinkSqlParser.RULE_loadStatement = 13;
|
|
11585
|
-
FlinkSqlParser.
|
|
11586
|
-
FlinkSqlParser.
|
|
11587
|
-
FlinkSqlParser.
|
|
11588
|
-
FlinkSqlParser.
|
|
11585
|
+
FlinkSqlParser.RULE_unloadStatement = 14;
|
|
11586
|
+
FlinkSqlParser.RULE_setStatement = 15;
|
|
11587
|
+
FlinkSqlParser.RULE_resetStatement = 16;
|
|
11588
|
+
FlinkSqlParser.RULE_jarStatement = 17;
|
|
11589
11589
|
FlinkSqlParser.RULE_dtAddStatement = 18;
|
|
11590
11590
|
FlinkSqlParser.RULE_dtFilePath = 19;
|
|
11591
11591
|
FlinkSqlParser.RULE_createTable = 20;
|
|
@@ -11647,7 +11647,7 @@ FlinkSqlParser.RULE_valuesRowDefinition = 75;
|
|
|
11647
11647
|
FlinkSqlParser.RULE_insertMulStatementCompatibility = 76;
|
|
11648
11648
|
FlinkSqlParser.RULE_insertMulStatement = 77;
|
|
11649
11649
|
FlinkSqlParser.RULE_queryStatement = 78;
|
|
11650
|
-
FlinkSqlParser.
|
|
11650
|
+
FlinkSqlParser.RULE_valuesClause = 79;
|
|
11651
11651
|
FlinkSqlParser.RULE_withClause = 80;
|
|
11652
11652
|
FlinkSqlParser.RULE_withItem = 81;
|
|
11653
11653
|
FlinkSqlParser.RULE_withItemName = 82;
|
|
@@ -11662,9 +11662,9 @@ FlinkSqlParser.RULE_tablePrimary = 90;
|
|
|
11662
11662
|
FlinkSqlParser.RULE_systemTimePeriod = 91;
|
|
11663
11663
|
FlinkSqlParser.RULE_dateTimeExpression = 92;
|
|
11664
11664
|
FlinkSqlParser.RULE_inlineDataValueClause = 93;
|
|
11665
|
-
FlinkSqlParser.
|
|
11666
|
-
FlinkSqlParser.
|
|
11667
|
-
FlinkSqlParser.
|
|
11665
|
+
FlinkSqlParser.RULE_windowTVFClause = 94;
|
|
11666
|
+
FlinkSqlParser.RULE_windowTVFExpression = 95;
|
|
11667
|
+
FlinkSqlParser.RULE_windowTVFName = 96;
|
|
11668
11668
|
FlinkSqlParser.RULE_windowTVFParam = 97;
|
|
11669
11669
|
FlinkSqlParser.RULE_timeIntervalParamName = 98;
|
|
11670
11670
|
FlinkSqlParser.RULE_columnDescriptor = 99;
|
|
@@ -11673,7 +11673,7 @@ FlinkSqlParser.RULE_whereClause = 101;
|
|
|
11673
11673
|
FlinkSqlParser.RULE_groupByClause = 102;
|
|
11674
11674
|
FlinkSqlParser.RULE_groupItemDefinition = 103;
|
|
11675
11675
|
FlinkSqlParser.RULE_groupingSets = 104;
|
|
11676
|
-
FlinkSqlParser.
|
|
11676
|
+
FlinkSqlParser.RULE_groupingSetsNotationName = 105;
|
|
11677
11677
|
FlinkSqlParser.RULE_groupWindowFunction = 106;
|
|
11678
11678
|
FlinkSqlParser.RULE_groupWindowFunctionName = 107;
|
|
11679
11679
|
FlinkSqlParser.RULE_timeAttrColumn = 108;
|
|
@@ -11682,17 +11682,17 @@ FlinkSqlParser.RULE_windowClause = 110;
|
|
|
11682
11682
|
FlinkSqlParser.RULE_namedWindow = 111;
|
|
11683
11683
|
FlinkSqlParser.RULE_windowSpec = 112;
|
|
11684
11684
|
FlinkSqlParser.RULE_matchRecognizeClause = 113;
|
|
11685
|
-
FlinkSqlParser.
|
|
11686
|
-
FlinkSqlParser.
|
|
11685
|
+
FlinkSqlParser.RULE_orderByClause = 114;
|
|
11686
|
+
FlinkSqlParser.RULE_orderItemDefinition = 115;
|
|
11687
11687
|
FlinkSqlParser.RULE_limitClause = 116;
|
|
11688
11688
|
FlinkSqlParser.RULE_partitionByClause = 117;
|
|
11689
11689
|
FlinkSqlParser.RULE_quantifiers = 118;
|
|
11690
11690
|
FlinkSqlParser.RULE_measuresClause = 119;
|
|
11691
|
-
FlinkSqlParser.
|
|
11691
|
+
FlinkSqlParser.RULE_patternDefinition = 120;
|
|
11692
11692
|
FlinkSqlParser.RULE_patternVariable = 121;
|
|
11693
11693
|
FlinkSqlParser.RULE_outputMode = 122;
|
|
11694
11694
|
FlinkSqlParser.RULE_afterMatchStrategy = 123;
|
|
11695
|
-
FlinkSqlParser.
|
|
11695
|
+
FlinkSqlParser.RULE_patternVariablesDefinition = 124;
|
|
11696
11696
|
FlinkSqlParser.RULE_windowFrame = 125;
|
|
11697
11697
|
FlinkSqlParser.RULE_frameBound = 126;
|
|
11698
11698
|
FlinkSqlParser.RULE_withinClause = 127;
|
|
@@ -11965,8 +11965,8 @@ FlinkSqlParser.symbolicNames = [
|
|
|
11965
11965
|
"BIT_AND_OP", "BIT_XOR_OP", "DOT", "LS_BRACKET", "RS_BRACKET", "LR_BRACKET",
|
|
11966
11966
|
"RR_BRACKET", "LB_BRACKET", "RB_BRACKET", "COMMA", "SEMICOLON",
|
|
11967
11967
|
"AT_SIGN", "SINGLE_QUOTE_SYMB", "DOUBLE_QUOTE_SYMB", "REVERSE_QUOTE_SYMB",
|
|
11968
|
-
"COLON_SYMB", "ASTERISK_SIGN", "UNDERLINE_SIGN", "
|
|
11969
|
-
"ADD_SIGN", "
|
|
11968
|
+
"COLON_SYMB", "ASTERISK_SIGN", "UNDERLINE_SIGN", "HYPHEN_SIGN",
|
|
11969
|
+
"ADD_SIGN", "PERCENT_SIGN", "DOUBLE_VERTICAL_SIGN", "DOUBLE_HYPHEN_SIGN",
|
|
11970
11970
|
"SLASH_SIGN", "QUESTION_MARK_SIGN", "DOUBLE_RIGHT_ARROW", "STRING_LITERAL",
|
|
11971
11971
|
"DIG_LITERAL", "REAL_LITERAL", "BIT_STRING", "ID_LITERAL"
|
|
11972
11972
|
];
|
|
@@ -11974,8 +11974,8 @@ FlinkSqlParser.ruleNames = [
|
|
|
11974
11974
|
"program", "singleStatement", "sqlStatement", "emptyStatement",
|
|
11975
11975
|
"ddlStatement", "dmlStatement", "describeStatement", "explainStatement",
|
|
11976
11976
|
"explainDetails", "explainDetail", "useStatement", "useModuleStatement",
|
|
11977
|
-
"
|
|
11978
|
-
"
|
|
11977
|
+
"showStatement", "loadStatement", "unloadStatement", "setStatement",
|
|
11978
|
+
"resetStatement", "jarStatement", "dtAddStatement", "dtFilePath",
|
|
11979
11979
|
"createTable", "simpleCreateTable", "createTableAsSelect", "columnOptionDefinition",
|
|
11980
11980
|
"physicalColumnDefinition", "columnNameCreate", "columnName", "columnNameList",
|
|
11981
11981
|
"columnType", "lengthOneDimension", "lengthTwoOptionalDimension",
|
|
@@ -11991,18 +11991,18 @@ FlinkSqlParser.ruleNames = [
|
|
|
11991
11991
|
"dropCatalog", "dropTable", "dropDatabase", "dropView", "dropFunction",
|
|
11992
11992
|
"insertStatement", "insertSimpleStatement", "insertPartitionDefinition",
|
|
11993
11993
|
"valuesDefinition", "valuesRowDefinition", "insertMulStatementCompatibility",
|
|
11994
|
-
"insertMulStatement", "queryStatement", "
|
|
11994
|
+
"insertMulStatement", "queryStatement", "valuesClause", "withClause",
|
|
11995
11995
|
"withItem", "withItemName", "selectStatement", "selectClause", "projectItemDefinition",
|
|
11996
11996
|
"overWindowItem", "fromClause", "tableExpression", "tableReference",
|
|
11997
11997
|
"tablePrimary", "systemTimePeriod", "dateTimeExpression", "inlineDataValueClause",
|
|
11998
|
-
"
|
|
11998
|
+
"windowTVFClause", "windowTVFExpression", "windowTVFName", "windowTVFParam",
|
|
11999
11999
|
"timeIntervalParamName", "columnDescriptor", "joinCondition", "whereClause",
|
|
12000
|
-
"groupByClause", "groupItemDefinition", "groupingSets", "
|
|
12000
|
+
"groupByClause", "groupItemDefinition", "groupingSets", "groupingSetsNotationName",
|
|
12001
12001
|
"groupWindowFunction", "groupWindowFunctionName", "timeAttrColumn",
|
|
12002
12002
|
"havingClause", "windowClause", "namedWindow", "windowSpec", "matchRecognizeClause",
|
|
12003
|
-
"
|
|
12004
|
-
"quantifiers", "measuresClause", "
|
|
12005
|
-
"outputMode", "afterMatchStrategy", "
|
|
12003
|
+
"orderByClause", "orderItemDefinition", "limitClause", "partitionByClause",
|
|
12004
|
+
"quantifiers", "measuresClause", "patternDefinition", "patternVariable",
|
|
12005
|
+
"outputMode", "afterMatchStrategy", "patternVariablesDefinition",
|
|
12006
12006
|
"windowFrame", "frameBound", "withinClause", "expression", "booleanExpression",
|
|
12007
12007
|
"predicate", "likePredicate", "valueExpression", "functionCallExpression",
|
|
12008
12008
|
"primaryExpression", "functionNameCreate", "functionName", "functionNameAndParams",
|
|
@@ -13095,23 +13095,23 @@ export class SqlStatementContext extends antlr.ParserRuleContext {
|
|
|
13095
13095
|
useStatement() {
|
|
13096
13096
|
return this.getRuleContext(0, UseStatementContext);
|
|
13097
13097
|
}
|
|
13098
|
-
|
|
13099
|
-
return this.getRuleContext(0,
|
|
13098
|
+
showStatement() {
|
|
13099
|
+
return this.getRuleContext(0, ShowStatementContext);
|
|
13100
13100
|
}
|
|
13101
13101
|
loadStatement() {
|
|
13102
13102
|
return this.getRuleContext(0, LoadStatementContext);
|
|
13103
13103
|
}
|
|
13104
|
-
|
|
13105
|
-
return this.getRuleContext(0,
|
|
13104
|
+
unloadStatement() {
|
|
13105
|
+
return this.getRuleContext(0, UnloadStatementContext);
|
|
13106
13106
|
}
|
|
13107
|
-
|
|
13108
|
-
return this.getRuleContext(0,
|
|
13107
|
+
setStatement() {
|
|
13108
|
+
return this.getRuleContext(0, SetStatementContext);
|
|
13109
13109
|
}
|
|
13110
|
-
|
|
13111
|
-
return this.getRuleContext(0,
|
|
13110
|
+
resetStatement() {
|
|
13111
|
+
return this.getRuleContext(0, ResetStatementContext);
|
|
13112
13112
|
}
|
|
13113
|
-
|
|
13114
|
-
return this.getRuleContext(0,
|
|
13113
|
+
jarStatement() {
|
|
13114
|
+
return this.getRuleContext(0, JarStatementContext);
|
|
13115
13115
|
}
|
|
13116
13116
|
dtAddStatement() {
|
|
13117
13117
|
return this.getRuleContext(0, DtAddStatementContext);
|
|
@@ -13511,7 +13511,7 @@ export class UseModuleStatementContext extends antlr.ParserRuleContext {
|
|
|
13511
13511
|
}
|
|
13512
13512
|
}
|
|
13513
13513
|
}
|
|
13514
|
-
export class
|
|
13514
|
+
export class ShowStatementContext extends antlr.ParserRuleContext {
|
|
13515
13515
|
constructor(parent, invokingState) {
|
|
13516
13516
|
super(parent, invokingState);
|
|
13517
13517
|
}
|
|
@@ -13585,21 +13585,21 @@ export class ShowStatememtContext extends antlr.ParserRuleContext {
|
|
|
13585
13585
|
return this.getToken(FlinkSqlParser.KW_FULL, 0);
|
|
13586
13586
|
}
|
|
13587
13587
|
get ruleIndex() {
|
|
13588
|
-
return FlinkSqlParser.
|
|
13588
|
+
return FlinkSqlParser.RULE_showStatement;
|
|
13589
13589
|
}
|
|
13590
13590
|
enterRule(listener) {
|
|
13591
|
-
if (listener.
|
|
13592
|
-
listener.
|
|
13591
|
+
if (listener.enterShowStatement) {
|
|
13592
|
+
listener.enterShowStatement(this);
|
|
13593
13593
|
}
|
|
13594
13594
|
}
|
|
13595
13595
|
exitRule(listener) {
|
|
13596
|
-
if (listener.
|
|
13597
|
-
listener.
|
|
13596
|
+
if (listener.exitShowStatement) {
|
|
13597
|
+
listener.exitShowStatement(this);
|
|
13598
13598
|
}
|
|
13599
13599
|
}
|
|
13600
13600
|
accept(visitor) {
|
|
13601
|
-
if (visitor.
|
|
13602
|
-
return visitor.
|
|
13601
|
+
if (visitor.visitShowStatement) {
|
|
13602
|
+
return visitor.visitShowStatement(this);
|
|
13603
13603
|
}
|
|
13604
13604
|
else {
|
|
13605
13605
|
return visitor.visitChildren(this);
|
|
@@ -13647,7 +13647,7 @@ export class LoadStatementContext extends antlr.ParserRuleContext {
|
|
|
13647
13647
|
}
|
|
13648
13648
|
}
|
|
13649
13649
|
}
|
|
13650
|
-
export class
|
|
13650
|
+
export class UnloadStatementContext extends antlr.ParserRuleContext {
|
|
13651
13651
|
constructor(parent, invokingState) {
|
|
13652
13652
|
super(parent, invokingState);
|
|
13653
13653
|
}
|
|
@@ -13661,28 +13661,28 @@ export class UnloadStatememtContext extends antlr.ParserRuleContext {
|
|
|
13661
13661
|
return this.getRuleContext(0, UidContext);
|
|
13662
13662
|
}
|
|
13663
13663
|
get ruleIndex() {
|
|
13664
|
-
return FlinkSqlParser.
|
|
13664
|
+
return FlinkSqlParser.RULE_unloadStatement;
|
|
13665
13665
|
}
|
|
13666
13666
|
enterRule(listener) {
|
|
13667
|
-
if (listener.
|
|
13668
|
-
listener.
|
|
13667
|
+
if (listener.enterUnloadStatement) {
|
|
13668
|
+
listener.enterUnloadStatement(this);
|
|
13669
13669
|
}
|
|
13670
13670
|
}
|
|
13671
13671
|
exitRule(listener) {
|
|
13672
|
-
if (listener.
|
|
13673
|
-
listener.
|
|
13672
|
+
if (listener.exitUnloadStatement) {
|
|
13673
|
+
listener.exitUnloadStatement(this);
|
|
13674
13674
|
}
|
|
13675
13675
|
}
|
|
13676
13676
|
accept(visitor) {
|
|
13677
|
-
if (visitor.
|
|
13678
|
-
return visitor.
|
|
13677
|
+
if (visitor.visitUnloadStatement) {
|
|
13678
|
+
return visitor.visitUnloadStatement(this);
|
|
13679
13679
|
}
|
|
13680
13680
|
else {
|
|
13681
13681
|
return visitor.visitChildren(this);
|
|
13682
13682
|
}
|
|
13683
13683
|
}
|
|
13684
13684
|
}
|
|
13685
|
-
export class
|
|
13685
|
+
export class SetStatementContext extends antlr.ParserRuleContext {
|
|
13686
13686
|
constructor(parent, invokingState) {
|
|
13687
13687
|
super(parent, invokingState);
|
|
13688
13688
|
}
|
|
@@ -13693,28 +13693,28 @@ export class SetStatememtContext extends antlr.ParserRuleContext {
|
|
|
13693
13693
|
return this.getRuleContext(0, TablePropertyContext);
|
|
13694
13694
|
}
|
|
13695
13695
|
get ruleIndex() {
|
|
13696
|
-
return FlinkSqlParser.
|
|
13696
|
+
return FlinkSqlParser.RULE_setStatement;
|
|
13697
13697
|
}
|
|
13698
13698
|
enterRule(listener) {
|
|
13699
|
-
if (listener.
|
|
13700
|
-
listener.
|
|
13699
|
+
if (listener.enterSetStatement) {
|
|
13700
|
+
listener.enterSetStatement(this);
|
|
13701
13701
|
}
|
|
13702
13702
|
}
|
|
13703
13703
|
exitRule(listener) {
|
|
13704
|
-
if (listener.
|
|
13705
|
-
listener.
|
|
13704
|
+
if (listener.exitSetStatement) {
|
|
13705
|
+
listener.exitSetStatement(this);
|
|
13706
13706
|
}
|
|
13707
13707
|
}
|
|
13708
13708
|
accept(visitor) {
|
|
13709
|
-
if (visitor.
|
|
13710
|
-
return visitor.
|
|
13709
|
+
if (visitor.visitSetStatement) {
|
|
13710
|
+
return visitor.visitSetStatement(this);
|
|
13711
13711
|
}
|
|
13712
13712
|
else {
|
|
13713
13713
|
return visitor.visitChildren(this);
|
|
13714
13714
|
}
|
|
13715
13715
|
}
|
|
13716
13716
|
}
|
|
13717
|
-
export class
|
|
13717
|
+
export class ResetStatementContext extends antlr.ParserRuleContext {
|
|
13718
13718
|
constructor(parent, invokingState) {
|
|
13719
13719
|
super(parent, invokingState);
|
|
13720
13720
|
}
|
|
@@ -13725,28 +13725,28 @@ export class ResetStatememtContext extends antlr.ParserRuleContext {
|
|
|
13725
13725
|
return this.getRuleContext(0, TablePropertyKeyContext);
|
|
13726
13726
|
}
|
|
13727
13727
|
get ruleIndex() {
|
|
13728
|
-
return FlinkSqlParser.
|
|
13728
|
+
return FlinkSqlParser.RULE_resetStatement;
|
|
13729
13729
|
}
|
|
13730
13730
|
enterRule(listener) {
|
|
13731
|
-
if (listener.
|
|
13732
|
-
listener.
|
|
13731
|
+
if (listener.enterResetStatement) {
|
|
13732
|
+
listener.enterResetStatement(this);
|
|
13733
13733
|
}
|
|
13734
13734
|
}
|
|
13735
13735
|
exitRule(listener) {
|
|
13736
|
-
if (listener.
|
|
13737
|
-
listener.
|
|
13736
|
+
if (listener.exitResetStatement) {
|
|
13737
|
+
listener.exitResetStatement(this);
|
|
13738
13738
|
}
|
|
13739
13739
|
}
|
|
13740
13740
|
accept(visitor) {
|
|
13741
|
-
if (visitor.
|
|
13742
|
-
return visitor.
|
|
13741
|
+
if (visitor.visitResetStatement) {
|
|
13742
|
+
return visitor.visitResetStatement(this);
|
|
13743
13743
|
}
|
|
13744
13744
|
else {
|
|
13745
13745
|
return visitor.visitChildren(this);
|
|
13746
13746
|
}
|
|
13747
13747
|
}
|
|
13748
13748
|
}
|
|
13749
|
-
export class
|
|
13749
|
+
export class JarStatementContext extends antlr.ParserRuleContext {
|
|
13750
13750
|
constructor(parent, invokingState) {
|
|
13751
13751
|
super(parent, invokingState);
|
|
13752
13752
|
}
|
|
@@ -13763,21 +13763,21 @@ export class JarStatememtContext extends antlr.ParserRuleContext {
|
|
|
13763
13763
|
return this.getToken(FlinkSqlParser.KW_REMOVE, 0);
|
|
13764
13764
|
}
|
|
13765
13765
|
get ruleIndex() {
|
|
13766
|
-
return FlinkSqlParser.
|
|
13766
|
+
return FlinkSqlParser.RULE_jarStatement;
|
|
13767
13767
|
}
|
|
13768
13768
|
enterRule(listener) {
|
|
13769
|
-
if (listener.
|
|
13770
|
-
listener.
|
|
13769
|
+
if (listener.enterJarStatement) {
|
|
13770
|
+
listener.enterJarStatement(this);
|
|
13771
13771
|
}
|
|
13772
13772
|
}
|
|
13773
13773
|
exitRule(listener) {
|
|
13774
|
-
if (listener.
|
|
13775
|
-
listener.
|
|
13774
|
+
if (listener.exitJarStatement) {
|
|
13775
|
+
listener.exitJarStatement(this);
|
|
13776
13776
|
}
|
|
13777
13777
|
}
|
|
13778
13778
|
accept(visitor) {
|
|
13779
|
-
if (visitor.
|
|
13780
|
-
return visitor.
|
|
13779
|
+
if (visitor.visitJarStatement) {
|
|
13780
|
+
return visitor.visitJarStatement(this);
|
|
13781
13781
|
}
|
|
13782
13782
|
else {
|
|
13783
13783
|
return visitor.visitChildren(this);
|
|
@@ -16506,8 +16506,8 @@ export class QueryStatementContext extends antlr.ParserRuleContext {
|
|
|
16506
16506
|
constructor(parent, invokingState) {
|
|
16507
16507
|
super(parent, invokingState);
|
|
16508
16508
|
}
|
|
16509
|
-
|
|
16510
|
-
return this.getRuleContext(0,
|
|
16509
|
+
valuesClause() {
|
|
16510
|
+
return this.getRuleContext(0, ValuesClauseContext);
|
|
16511
16511
|
}
|
|
16512
16512
|
withClause() {
|
|
16513
16513
|
return this.getRuleContext(0, WithClauseContext);
|
|
@@ -16527,8 +16527,8 @@ export class QueryStatementContext extends antlr.ParserRuleContext {
|
|
|
16527
16527
|
selectClause() {
|
|
16528
16528
|
return this.getRuleContext(0, SelectClauseContext);
|
|
16529
16529
|
}
|
|
16530
|
-
|
|
16531
|
-
return this.getRuleContext(0,
|
|
16530
|
+
orderByClause() {
|
|
16531
|
+
return this.getRuleContext(0, OrderByClauseContext);
|
|
16532
16532
|
}
|
|
16533
16533
|
limitClause() {
|
|
16534
16534
|
return this.getRuleContext(0, LimitClauseContext);
|
|
@@ -16570,7 +16570,7 @@ export class QueryStatementContext extends antlr.ParserRuleContext {
|
|
|
16570
16570
|
}
|
|
16571
16571
|
}
|
|
16572
16572
|
}
|
|
16573
|
-
export class
|
|
16573
|
+
export class ValuesClauseContext extends antlr.ParserRuleContext {
|
|
16574
16574
|
constructor(parent, invokingState) {
|
|
16575
16575
|
super(parent, invokingState);
|
|
16576
16576
|
}
|
|
@@ -16592,21 +16592,21 @@ export class ValuesCaluseContext extends antlr.ParserRuleContext {
|
|
|
16592
16592
|
}
|
|
16593
16593
|
}
|
|
16594
16594
|
get ruleIndex() {
|
|
16595
|
-
return FlinkSqlParser.
|
|
16595
|
+
return FlinkSqlParser.RULE_valuesClause;
|
|
16596
16596
|
}
|
|
16597
16597
|
enterRule(listener) {
|
|
16598
|
-
if (listener.
|
|
16599
|
-
listener.
|
|
16598
|
+
if (listener.enterValuesClause) {
|
|
16599
|
+
listener.enterValuesClause(this);
|
|
16600
16600
|
}
|
|
16601
16601
|
}
|
|
16602
16602
|
exitRule(listener) {
|
|
16603
|
-
if (listener.
|
|
16604
|
-
listener.
|
|
16603
|
+
if (listener.exitValuesClause) {
|
|
16604
|
+
listener.exitValuesClause(this);
|
|
16605
16605
|
}
|
|
16606
16606
|
}
|
|
16607
16607
|
accept(visitor) {
|
|
16608
|
-
if (visitor.
|
|
16609
|
-
return visitor.
|
|
16608
|
+
if (visitor.visitValuesClause) {
|
|
16609
|
+
return visitor.visitValuesClause(this);
|
|
16610
16610
|
}
|
|
16611
16611
|
else {
|
|
16612
16612
|
return visitor.visitChildren(this);
|
|
@@ -16981,8 +16981,8 @@ export class TableExpressionContext extends antlr.ParserRuleContext {
|
|
|
16981
16981
|
inlineDataValueClause() {
|
|
16982
16982
|
return this.getRuleContext(0, InlineDataValueClauseContext);
|
|
16983
16983
|
}
|
|
16984
|
-
|
|
16985
|
-
return this.getRuleContext(0,
|
|
16984
|
+
windowTVFClause() {
|
|
16985
|
+
return this.getRuleContext(0, WindowTVFClauseContext);
|
|
16986
16986
|
}
|
|
16987
16987
|
tableExpression(i) {
|
|
16988
16988
|
if (i === undefined) {
|
|
@@ -17238,7 +17238,7 @@ export class InlineDataValueClauseContext extends antlr.ParserRuleContext {
|
|
|
17238
17238
|
}
|
|
17239
17239
|
}
|
|
17240
17240
|
}
|
|
17241
|
-
export class
|
|
17241
|
+
export class WindowTVFClauseContext extends antlr.ParserRuleContext {
|
|
17242
17242
|
constructor(parent, invokingState) {
|
|
17243
17243
|
super(parent, invokingState);
|
|
17244
17244
|
}
|
|
@@ -17248,40 +17248,40 @@ export class WindoTVFClauseContext extends antlr.ParserRuleContext {
|
|
|
17248
17248
|
LR_BRACKET() {
|
|
17249
17249
|
return this.getToken(FlinkSqlParser.LR_BRACKET, 0);
|
|
17250
17250
|
}
|
|
17251
|
-
|
|
17252
|
-
return this.getRuleContext(0,
|
|
17251
|
+
windowTVFExpression() {
|
|
17252
|
+
return this.getRuleContext(0, WindowTVFExpressionContext);
|
|
17253
17253
|
}
|
|
17254
17254
|
RR_BRACKET() {
|
|
17255
17255
|
return this.getToken(FlinkSqlParser.RR_BRACKET, 0);
|
|
17256
17256
|
}
|
|
17257
17257
|
get ruleIndex() {
|
|
17258
|
-
return FlinkSqlParser.
|
|
17258
|
+
return FlinkSqlParser.RULE_windowTVFClause;
|
|
17259
17259
|
}
|
|
17260
17260
|
enterRule(listener) {
|
|
17261
|
-
if (listener.
|
|
17262
|
-
listener.
|
|
17261
|
+
if (listener.enterWindowTVFClause) {
|
|
17262
|
+
listener.enterWindowTVFClause(this);
|
|
17263
17263
|
}
|
|
17264
17264
|
}
|
|
17265
17265
|
exitRule(listener) {
|
|
17266
|
-
if (listener.
|
|
17267
|
-
listener.
|
|
17266
|
+
if (listener.exitWindowTVFClause) {
|
|
17267
|
+
listener.exitWindowTVFClause(this);
|
|
17268
17268
|
}
|
|
17269
17269
|
}
|
|
17270
17270
|
accept(visitor) {
|
|
17271
|
-
if (visitor.
|
|
17272
|
-
return visitor.
|
|
17271
|
+
if (visitor.visitWindowTVFClause) {
|
|
17272
|
+
return visitor.visitWindowTVFClause(this);
|
|
17273
17273
|
}
|
|
17274
17274
|
else {
|
|
17275
17275
|
return visitor.visitChildren(this);
|
|
17276
17276
|
}
|
|
17277
17277
|
}
|
|
17278
17278
|
}
|
|
17279
|
-
export class
|
|
17279
|
+
export class WindowTVFExpressionContext extends antlr.ParserRuleContext {
|
|
17280
17280
|
constructor(parent, invokingState) {
|
|
17281
17281
|
super(parent, invokingState);
|
|
17282
17282
|
}
|
|
17283
|
-
|
|
17284
|
-
return this.getRuleContext(0,
|
|
17283
|
+
windowTVFName() {
|
|
17284
|
+
return this.getRuleContext(0, WindowTVFNameContext);
|
|
17285
17285
|
}
|
|
17286
17286
|
LR_BRACKET() {
|
|
17287
17287
|
return this.getToken(FlinkSqlParser.LR_BRACKET, 0);
|
|
@@ -17304,28 +17304,28 @@ export class WindowTVFExressionContext extends antlr.ParserRuleContext {
|
|
|
17304
17304
|
}
|
|
17305
17305
|
}
|
|
17306
17306
|
get ruleIndex() {
|
|
17307
|
-
return FlinkSqlParser.
|
|
17307
|
+
return FlinkSqlParser.RULE_windowTVFExpression;
|
|
17308
17308
|
}
|
|
17309
17309
|
enterRule(listener) {
|
|
17310
|
-
if (listener.
|
|
17311
|
-
listener.
|
|
17310
|
+
if (listener.enterWindowTVFExpression) {
|
|
17311
|
+
listener.enterWindowTVFExpression(this);
|
|
17312
17312
|
}
|
|
17313
17313
|
}
|
|
17314
17314
|
exitRule(listener) {
|
|
17315
|
-
if (listener.
|
|
17316
|
-
listener.
|
|
17315
|
+
if (listener.exitWindowTVFExpression) {
|
|
17316
|
+
listener.exitWindowTVFExpression(this);
|
|
17317
17317
|
}
|
|
17318
17318
|
}
|
|
17319
17319
|
accept(visitor) {
|
|
17320
|
-
if (visitor.
|
|
17321
|
-
return visitor.
|
|
17320
|
+
if (visitor.visitWindowTVFExpression) {
|
|
17321
|
+
return visitor.visitWindowTVFExpression(this);
|
|
17322
17322
|
}
|
|
17323
17323
|
else {
|
|
17324
17324
|
return visitor.visitChildren(this);
|
|
17325
17325
|
}
|
|
17326
17326
|
}
|
|
17327
17327
|
}
|
|
17328
|
-
export class
|
|
17328
|
+
export class WindowTVFNameContext extends antlr.ParserRuleContext {
|
|
17329
17329
|
constructor(parent, invokingState) {
|
|
17330
17330
|
super(parent, invokingState);
|
|
17331
17331
|
}
|
|
@@ -17339,21 +17339,21 @@ export class WindoTVFNameContext extends antlr.ParserRuleContext {
|
|
|
17339
17339
|
return this.getToken(FlinkSqlParser.KW_CUMULATE, 0);
|
|
17340
17340
|
}
|
|
17341
17341
|
get ruleIndex() {
|
|
17342
|
-
return FlinkSqlParser.
|
|
17342
|
+
return FlinkSqlParser.RULE_windowTVFName;
|
|
17343
17343
|
}
|
|
17344
17344
|
enterRule(listener) {
|
|
17345
|
-
if (listener.
|
|
17346
|
-
listener.
|
|
17345
|
+
if (listener.enterWindowTVFName) {
|
|
17346
|
+
listener.enterWindowTVFName(this);
|
|
17347
17347
|
}
|
|
17348
17348
|
}
|
|
17349
17349
|
exitRule(listener) {
|
|
17350
|
-
if (listener.
|
|
17351
|
-
listener.
|
|
17350
|
+
if (listener.exitWindowTVFName) {
|
|
17351
|
+
listener.exitWindowTVFName(this);
|
|
17352
17352
|
}
|
|
17353
17353
|
}
|
|
17354
17354
|
accept(visitor) {
|
|
17355
|
-
if (visitor.
|
|
17356
|
-
return visitor.
|
|
17355
|
+
if (visitor.visitWindowTVFName) {
|
|
17356
|
+
return visitor.visitWindowTVFName(this);
|
|
17357
17357
|
}
|
|
17358
17358
|
else {
|
|
17359
17359
|
return visitor.visitChildren(this);
|
|
@@ -17638,8 +17638,8 @@ export class GroupItemDefinitionContext extends antlr.ParserRuleContext {
|
|
|
17638
17638
|
return this.getToken(FlinkSqlParser.COMMA, i);
|
|
17639
17639
|
}
|
|
17640
17640
|
}
|
|
17641
|
-
|
|
17642
|
-
return this.getRuleContext(0,
|
|
17641
|
+
groupingSetsNotationName() {
|
|
17642
|
+
return this.getRuleContext(0, GroupingSetsNotationNameContext);
|
|
17643
17643
|
}
|
|
17644
17644
|
groupingSets() {
|
|
17645
17645
|
return this.getRuleContext(0, GroupingSetsContext);
|
|
@@ -17704,7 +17704,7 @@ export class GroupingSetsContext extends antlr.ParserRuleContext {
|
|
|
17704
17704
|
}
|
|
17705
17705
|
}
|
|
17706
17706
|
}
|
|
17707
|
-
export class
|
|
17707
|
+
export class GroupingSetsNotationNameContext extends antlr.ParserRuleContext {
|
|
17708
17708
|
constructor(parent, invokingState) {
|
|
17709
17709
|
super(parent, invokingState);
|
|
17710
17710
|
}
|
|
@@ -17715,21 +17715,21 @@ export class GroupingSetsNotaionNameContext extends antlr.ParserRuleContext {
|
|
|
17715
17715
|
return this.getToken(FlinkSqlParser.KW_ROLLUP, 0);
|
|
17716
17716
|
}
|
|
17717
17717
|
get ruleIndex() {
|
|
17718
|
-
return FlinkSqlParser.
|
|
17718
|
+
return FlinkSqlParser.RULE_groupingSetsNotationName;
|
|
17719
17719
|
}
|
|
17720
17720
|
enterRule(listener) {
|
|
17721
|
-
if (listener.
|
|
17722
|
-
listener.
|
|
17721
|
+
if (listener.enterGroupingSetsNotationName) {
|
|
17722
|
+
listener.enterGroupingSetsNotationName(this);
|
|
17723
17723
|
}
|
|
17724
17724
|
}
|
|
17725
17725
|
exitRule(listener) {
|
|
17726
|
-
if (listener.
|
|
17727
|
-
listener.
|
|
17726
|
+
if (listener.exitGroupingSetsNotationName) {
|
|
17727
|
+
listener.exitGroupingSetsNotationName(this);
|
|
17728
17728
|
}
|
|
17729
17729
|
}
|
|
17730
17730
|
accept(visitor) {
|
|
17731
|
-
if (visitor.
|
|
17732
|
-
return visitor.
|
|
17731
|
+
if (visitor.visitGroupingSetsNotationName) {
|
|
17732
|
+
return visitor.visitGroupingSetsNotationName(this);
|
|
17733
17733
|
}
|
|
17734
17734
|
else {
|
|
17735
17735
|
return visitor.visitChildren(this);
|
|
@@ -17967,8 +17967,8 @@ export class WindowSpecContext extends antlr.ParserRuleContext {
|
|
|
17967
17967
|
partitionByClause() {
|
|
17968
17968
|
return this.getRuleContext(0, PartitionByClauseContext);
|
|
17969
17969
|
}
|
|
17970
|
-
|
|
17971
|
-
return this.getRuleContext(0,
|
|
17970
|
+
orderByClause() {
|
|
17971
|
+
return this.getRuleContext(0, OrderByClauseContext);
|
|
17972
17972
|
}
|
|
17973
17973
|
windowFrame() {
|
|
17974
17974
|
return this.getRuleContext(0, WindowFrameContext);
|
|
@@ -18008,8 +18008,8 @@ export class MatchRecognizeClauseContext extends antlr.ParserRuleContext {
|
|
|
18008
18008
|
LR_BRACKET() {
|
|
18009
18009
|
return this.getToken(FlinkSqlParser.LR_BRACKET, 0);
|
|
18010
18010
|
}
|
|
18011
|
-
|
|
18012
|
-
return this.getRuleContext(0,
|
|
18011
|
+
patternVariablesDefinition() {
|
|
18012
|
+
return this.getRuleContext(0, PatternVariablesDefinitionContext);
|
|
18013
18013
|
}
|
|
18014
18014
|
RR_BRACKET() {
|
|
18015
18015
|
return this.getToken(FlinkSqlParser.RR_BRACKET, 0);
|
|
@@ -18017,8 +18017,8 @@ export class MatchRecognizeClauseContext extends antlr.ParserRuleContext {
|
|
|
18017
18017
|
partitionByClause() {
|
|
18018
18018
|
return this.getRuleContext(0, PartitionByClauseContext);
|
|
18019
18019
|
}
|
|
18020
|
-
|
|
18021
|
-
return this.getRuleContext(0,
|
|
18020
|
+
orderByClause() {
|
|
18021
|
+
return this.getRuleContext(0, OrderByClauseContext);
|
|
18022
18022
|
}
|
|
18023
18023
|
measuresClause() {
|
|
18024
18024
|
return this.getRuleContext(0, MeasuresClauseContext);
|
|
@@ -18029,8 +18029,8 @@ export class MatchRecognizeClauseContext extends antlr.ParserRuleContext {
|
|
|
18029
18029
|
afterMatchStrategy() {
|
|
18030
18030
|
return this.getRuleContext(0, AfterMatchStrategyContext);
|
|
18031
18031
|
}
|
|
18032
|
-
|
|
18033
|
-
return this.getRuleContext(0,
|
|
18032
|
+
patternDefinition() {
|
|
18033
|
+
return this.getRuleContext(0, PatternDefinitionContext);
|
|
18034
18034
|
}
|
|
18035
18035
|
identifier() {
|
|
18036
18036
|
return this.getRuleContext(0, IdentifierContext);
|
|
@@ -18060,7 +18060,7 @@ export class MatchRecognizeClauseContext extends antlr.ParserRuleContext {
|
|
|
18060
18060
|
}
|
|
18061
18061
|
}
|
|
18062
18062
|
}
|
|
18063
|
-
export class
|
|
18063
|
+
export class OrderByClauseContext extends antlr.ParserRuleContext {
|
|
18064
18064
|
constructor(parent, invokingState) {
|
|
18065
18065
|
super(parent, invokingState);
|
|
18066
18066
|
}
|
|
@@ -18070,11 +18070,11 @@ export class OrderByCaluseContext extends antlr.ParserRuleContext {
|
|
|
18070
18070
|
KW_BY() {
|
|
18071
18071
|
return this.getToken(FlinkSqlParser.KW_BY, 0);
|
|
18072
18072
|
}
|
|
18073
|
-
|
|
18073
|
+
orderItemDefinition(i) {
|
|
18074
18074
|
if (i === undefined) {
|
|
18075
|
-
return this.getRuleContexts(
|
|
18075
|
+
return this.getRuleContexts(OrderItemDefinitionContext);
|
|
18076
18076
|
}
|
|
18077
|
-
return this.getRuleContext(i,
|
|
18077
|
+
return this.getRuleContext(i, OrderItemDefinitionContext);
|
|
18078
18078
|
}
|
|
18079
18079
|
COMMA(i) {
|
|
18080
18080
|
if (i === undefined) {
|
|
@@ -18085,28 +18085,28 @@ export class OrderByCaluseContext extends antlr.ParserRuleContext {
|
|
|
18085
18085
|
}
|
|
18086
18086
|
}
|
|
18087
18087
|
get ruleIndex() {
|
|
18088
|
-
return FlinkSqlParser.
|
|
18088
|
+
return FlinkSqlParser.RULE_orderByClause;
|
|
18089
18089
|
}
|
|
18090
18090
|
enterRule(listener) {
|
|
18091
|
-
if (listener.
|
|
18092
|
-
listener.
|
|
18091
|
+
if (listener.enterOrderByClause) {
|
|
18092
|
+
listener.enterOrderByClause(this);
|
|
18093
18093
|
}
|
|
18094
18094
|
}
|
|
18095
18095
|
exitRule(listener) {
|
|
18096
|
-
if (listener.
|
|
18097
|
-
listener.
|
|
18096
|
+
if (listener.exitOrderByClause) {
|
|
18097
|
+
listener.exitOrderByClause(this);
|
|
18098
18098
|
}
|
|
18099
18099
|
}
|
|
18100
18100
|
accept(visitor) {
|
|
18101
|
-
if (visitor.
|
|
18102
|
-
return visitor.
|
|
18101
|
+
if (visitor.visitOrderByClause) {
|
|
18102
|
+
return visitor.visitOrderByClause(this);
|
|
18103
18103
|
}
|
|
18104
18104
|
else {
|
|
18105
18105
|
return visitor.visitChildren(this);
|
|
18106
18106
|
}
|
|
18107
18107
|
}
|
|
18108
18108
|
}
|
|
18109
|
-
export class
|
|
18109
|
+
export class OrderItemDefinitionContext extends antlr.ParserRuleContext {
|
|
18110
18110
|
constructor(parent, invokingState) {
|
|
18111
18111
|
super(parent, invokingState);
|
|
18112
18112
|
}
|
|
@@ -18129,21 +18129,21 @@ export class OrderItemDefitionContext extends antlr.ParserRuleContext {
|
|
|
18129
18129
|
return this.getToken(FlinkSqlParser.KW_FIRST, 0);
|
|
18130
18130
|
}
|
|
18131
18131
|
get ruleIndex() {
|
|
18132
|
-
return FlinkSqlParser.
|
|
18132
|
+
return FlinkSqlParser.RULE_orderItemDefinition;
|
|
18133
18133
|
}
|
|
18134
18134
|
enterRule(listener) {
|
|
18135
|
-
if (listener.
|
|
18136
|
-
listener.
|
|
18135
|
+
if (listener.enterOrderItemDefinition) {
|
|
18136
|
+
listener.enterOrderItemDefinition(this);
|
|
18137
18137
|
}
|
|
18138
18138
|
}
|
|
18139
18139
|
exitRule(listener) {
|
|
18140
|
-
if (listener.
|
|
18141
|
-
listener.
|
|
18140
|
+
if (listener.exitOrderItemDefinition) {
|
|
18141
|
+
listener.exitOrderItemDefinition(this);
|
|
18142
18142
|
}
|
|
18143
18143
|
}
|
|
18144
18144
|
accept(visitor) {
|
|
18145
|
-
if (visitor.
|
|
18146
|
-
return visitor.
|
|
18145
|
+
if (visitor.visitOrderItemDefinition) {
|
|
18146
|
+
return visitor.visitOrderItemDefinition(this);
|
|
18147
18147
|
}
|
|
18148
18148
|
else {
|
|
18149
18149
|
return visitor.visitChildren(this);
|
|
@@ -18332,7 +18332,7 @@ export class MeasuresClauseContext extends antlr.ParserRuleContext {
|
|
|
18332
18332
|
}
|
|
18333
18333
|
}
|
|
18334
18334
|
}
|
|
18335
|
-
export class
|
|
18335
|
+
export class PatternDefinitionContext extends antlr.ParserRuleContext {
|
|
18336
18336
|
constructor(parent, invokingState) {
|
|
18337
18337
|
super(parent, invokingState);
|
|
18338
18338
|
}
|
|
@@ -18355,21 +18355,21 @@ export class PatternDefinationContext extends antlr.ParserRuleContext {
|
|
|
18355
18355
|
return this.getRuleContext(0, WithinClauseContext);
|
|
18356
18356
|
}
|
|
18357
18357
|
get ruleIndex() {
|
|
18358
|
-
return FlinkSqlParser.
|
|
18358
|
+
return FlinkSqlParser.RULE_patternDefinition;
|
|
18359
18359
|
}
|
|
18360
18360
|
enterRule(listener) {
|
|
18361
|
-
if (listener.
|
|
18362
|
-
listener.
|
|
18361
|
+
if (listener.enterPatternDefinition) {
|
|
18362
|
+
listener.enterPatternDefinition(this);
|
|
18363
18363
|
}
|
|
18364
18364
|
}
|
|
18365
18365
|
exitRule(listener) {
|
|
18366
|
-
if (listener.
|
|
18367
|
-
listener.
|
|
18366
|
+
if (listener.exitPatternDefinition) {
|
|
18367
|
+
listener.exitPatternDefinition(this);
|
|
18368
18368
|
}
|
|
18369
18369
|
}
|
|
18370
18370
|
accept(visitor) {
|
|
18371
|
-
if (visitor.
|
|
18372
|
-
return visitor.
|
|
18371
|
+
if (visitor.visitPatternDefinition) {
|
|
18372
|
+
return visitor.visitPatternDefinition(this);
|
|
18373
18373
|
}
|
|
18374
18374
|
else {
|
|
18375
18375
|
return visitor.visitChildren(this);
|
|
@@ -18508,7 +18508,7 @@ export class AfterMatchStrategyContext extends antlr.ParserRuleContext {
|
|
|
18508
18508
|
}
|
|
18509
18509
|
}
|
|
18510
18510
|
}
|
|
18511
|
-
export class
|
|
18511
|
+
export class PatternVariablesDefinitionContext extends antlr.ParserRuleContext {
|
|
18512
18512
|
constructor(parent, invokingState) {
|
|
18513
18513
|
super(parent, invokingState);
|
|
18514
18514
|
}
|
|
@@ -18530,21 +18530,21 @@ export class PatternVariablesDefinationContext extends antlr.ParserRuleContext {
|
|
|
18530
18530
|
}
|
|
18531
18531
|
}
|
|
18532
18532
|
get ruleIndex() {
|
|
18533
|
-
return FlinkSqlParser.
|
|
18533
|
+
return FlinkSqlParser.RULE_patternVariablesDefinition;
|
|
18534
18534
|
}
|
|
18535
18535
|
enterRule(listener) {
|
|
18536
|
-
if (listener.
|
|
18537
|
-
listener.
|
|
18536
|
+
if (listener.enterPatternVariablesDefinition) {
|
|
18537
|
+
listener.enterPatternVariablesDefinition(this);
|
|
18538
18538
|
}
|
|
18539
18539
|
}
|
|
18540
18540
|
exitRule(listener) {
|
|
18541
|
-
if (listener.
|
|
18542
|
-
listener.
|
|
18541
|
+
if (listener.exitPatternVariablesDefinition) {
|
|
18542
|
+
listener.exitPatternVariablesDefinition(this);
|
|
18543
18543
|
}
|
|
18544
18544
|
}
|
|
18545
18545
|
accept(visitor) {
|
|
18546
|
-
if (visitor.
|
|
18547
|
-
return visitor.
|
|
18546
|
+
if (visitor.visitPatternVariablesDefinition) {
|
|
18547
|
+
return visitor.visitPatternVariablesDefinition(this);
|
|
18548
18548
|
}
|
|
18549
18549
|
else {
|
|
18550
18550
|
return visitor.visitChildren(this);
|
|
@@ -19164,8 +19164,8 @@ export class ArithmeticBinaryContext extends ValueExpressionContext {
|
|
|
19164
19164
|
SLASH_SIGN() {
|
|
19165
19165
|
return this.getToken(FlinkSqlParser.SLASH_SIGN, 0);
|
|
19166
19166
|
}
|
|
19167
|
-
|
|
19168
|
-
return this.getToken(FlinkSqlParser.
|
|
19167
|
+
PERCENT_SIGN() {
|
|
19168
|
+
return this.getToken(FlinkSqlParser.PERCENT_SIGN, 0);
|
|
19169
19169
|
}
|
|
19170
19170
|
KW_DIV() {
|
|
19171
19171
|
return this.getToken(FlinkSqlParser.KW_DIV, 0);
|
|
@@ -19173,8 +19173,8 @@ export class ArithmeticBinaryContext extends ValueExpressionContext {
|
|
|
19173
19173
|
ADD_SIGN() {
|
|
19174
19174
|
return this.getToken(FlinkSqlParser.ADD_SIGN, 0);
|
|
19175
19175
|
}
|
|
19176
|
-
|
|
19177
|
-
return this.getToken(FlinkSqlParser.
|
|
19176
|
+
HYPHEN_SIGN() {
|
|
19177
|
+
return this.getToken(FlinkSqlParser.HYPHEN_SIGN, 0);
|
|
19178
19178
|
}
|
|
19179
19179
|
DOUBLE_VERTICAL_SIGN() {
|
|
19180
19180
|
return this.getToken(FlinkSqlParser.DOUBLE_VERTICAL_SIGN, 0);
|
|
@@ -19215,8 +19215,8 @@ export class ArithmeticUnaryContext extends ValueExpressionContext {
|
|
|
19215
19215
|
valueExpression() {
|
|
19216
19216
|
return this.getRuleContext(0, ValueExpressionContext);
|
|
19217
19217
|
}
|
|
19218
|
-
|
|
19219
|
-
return this.getToken(FlinkSqlParser.
|
|
19218
|
+
HYPHEN_SIGN() {
|
|
19219
|
+
return this.getToken(FlinkSqlParser.HYPHEN_SIGN, 0);
|
|
19220
19220
|
}
|
|
19221
19221
|
ADD_SIGN() {
|
|
19222
19222
|
return this.getToken(FlinkSqlParser.ADD_SIGN, 0);
|
|
@@ -20263,8 +20263,8 @@ export class IntervalValueContext extends antlr.ParserRuleContext {
|
|
|
20263
20263
|
ADD_SIGN() {
|
|
20264
20264
|
return this.getToken(FlinkSqlParser.ADD_SIGN, 0);
|
|
20265
20265
|
}
|
|
20266
|
-
|
|
20267
|
-
return this.getToken(FlinkSqlParser.
|
|
20266
|
+
HYPHEN_SIGN() {
|
|
20267
|
+
return this.getToken(FlinkSqlParser.HYPHEN_SIGN, 0);
|
|
20268
20268
|
}
|
|
20269
20269
|
STRING_LITERAL() {
|
|
20270
20270
|
return this.getToken(FlinkSqlParser.STRING_LITERAL, 0);
|
|
@@ -21425,8 +21425,8 @@ export class MathOperatorContext extends antlr.ParserRuleContext {
|
|
|
21425
21425
|
SLASH_SIGN() {
|
|
21426
21426
|
return this.getToken(FlinkSqlParser.SLASH_SIGN, 0);
|
|
21427
21427
|
}
|
|
21428
|
-
|
|
21429
|
-
return this.getToken(FlinkSqlParser.
|
|
21428
|
+
PERCENT_SIGN() {
|
|
21429
|
+
return this.getToken(FlinkSqlParser.PERCENT_SIGN, 0);
|
|
21430
21430
|
}
|
|
21431
21431
|
KW_DIV() {
|
|
21432
21432
|
return this.getToken(FlinkSqlParser.KW_DIV, 0);
|
|
@@ -21434,11 +21434,11 @@ export class MathOperatorContext extends antlr.ParserRuleContext {
|
|
|
21434
21434
|
ADD_SIGN() {
|
|
21435
21435
|
return this.getToken(FlinkSqlParser.ADD_SIGN, 0);
|
|
21436
21436
|
}
|
|
21437
|
-
|
|
21438
|
-
return this.getToken(FlinkSqlParser.
|
|
21437
|
+
HYPHEN_SIGN() {
|
|
21438
|
+
return this.getToken(FlinkSqlParser.HYPHEN_SIGN, 0);
|
|
21439
21439
|
}
|
|
21440
|
-
|
|
21441
|
-
return this.getToken(FlinkSqlParser.
|
|
21440
|
+
DOUBLE_HYPHEN_SIGN() {
|
|
21441
|
+
return this.getToken(FlinkSqlParser.DOUBLE_HYPHEN_SIGN, 0);
|
|
21442
21442
|
}
|
|
21443
21443
|
get ruleIndex() {
|
|
21444
21444
|
return FlinkSqlParser.RULE_mathOperator;
|
|
@@ -21475,8 +21475,8 @@ export class UnaryOperatorContext extends antlr.ParserRuleContext {
|
|
|
21475
21475
|
ADD_SIGN() {
|
|
21476
21476
|
return this.getToken(FlinkSqlParser.ADD_SIGN, 0);
|
|
21477
21477
|
}
|
|
21478
|
-
|
|
21479
|
-
return this.getToken(FlinkSqlParser.
|
|
21478
|
+
HYPHEN_SIGN() {
|
|
21479
|
+
return this.getToken(FlinkSqlParser.HYPHEN_SIGN, 0);
|
|
21480
21480
|
}
|
|
21481
21481
|
KW_NOT() {
|
|
21482
21482
|
return this.getToken(FlinkSqlParser.KW_NOT, 0);
|
|
@@ -21519,8 +21519,8 @@ export class ConstantContext extends antlr.ParserRuleContext {
|
|
|
21519
21519
|
decimalLiteral() {
|
|
21520
21520
|
return this.getRuleContext(0, DecimalLiteralContext);
|
|
21521
21521
|
}
|
|
21522
|
-
|
|
21523
|
-
return this.getToken(FlinkSqlParser.
|
|
21522
|
+
HYPHEN_SIGN() {
|
|
21523
|
+
return this.getToken(FlinkSqlParser.HYPHEN_SIGN, 0);
|
|
21524
21524
|
}
|
|
21525
21525
|
booleanLiteral() {
|
|
21526
21526
|
return this.getRuleContext(0, BooleanLiteralContext);
|