dt-sql-parser 4.1.2-beta.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +51 -0
- package/dist/lib/flink/FlinkSqlLexer.d.ts +5 -5
- package/dist/lib/flink/FlinkSqlLexer.js +1991 -1992
- package/dist/lib/flink/FlinkSqlParser.d.ts +240 -230
- package/dist/lib/flink/FlinkSqlParser.js +3036 -2978
- package/dist/lib/flink/FlinkSqlParserListener.d.ts +81 -70
- package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +49 -42
- package/dist/lib/hive/HiveSqlParser.d.ts +251 -231
- package/dist/lib/hive/HiveSqlParser.js +6264 -5674
- package/dist/lib/hive/HiveSqlParserListener.d.ts +32 -10
- package/dist/lib/hive/HiveSqlParserVisitor.d.ts +20 -6
- package/dist/lib/impala/ImpalaSqlLexer.d.ts +2 -2
- package/dist/lib/impala/ImpalaSqlLexer.js +587 -588
- package/dist/lib/impala/ImpalaSqlParser.d.ts +151 -113
- package/dist/lib/impala/ImpalaSqlParser.js +3464 -3250
- package/dist/lib/impala/ImpalaSqlParserListener.d.ts +49 -5
- package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +31 -3
- package/dist/lib/mysql/MySqlLexer.d.ts +2 -2
- package/dist/lib/mysql/MySqlLexer.js +3515 -3516
- package/dist/lib/mysql/MySqlParser.d.ts +138 -138
- package/dist/lib/mysql/MySqlParser.js +511 -511
- package/dist/lib/mysql/MySqlParserListener.d.ts +105 -105
- package/dist/lib/mysql/MySqlParserVisitor.d.ts +63 -63
- package/dist/lib/postgresql/PostgreSqlLexer.d.ts +14 -15
- package/dist/lib/postgresql/PostgreSqlLexer.js +2077 -2092
- package/dist/lib/postgresql/PostgreSqlParser.d.ts +2860 -2980
- package/dist/lib/postgresql/PostgreSqlParser.js +20155 -20660
- package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +2110 -2181
- package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +1261 -1301
- package/dist/lib/spark/SparkSqlLexer.d.ts +2 -2
- package/dist/lib/spark/SparkSqlLexer.js +949 -950
- package/dist/lib/spark/SparkSqlParser.d.ts +413 -645
- package/dist/lib/spark/SparkSqlParser.js +6840 -8200
- package/dist/lib/spark/SparkSqlParserListener.d.ts +68 -356
- package/dist/lib/spark/SparkSqlParserVisitor.d.ts +42 -225
- package/dist/lib/trino/TrinoSqlLexer.d.ts +2 -2
- package/dist/lib/trino/TrinoSqlLexer.js +319 -321
- package/dist/lib/trino/TrinoSqlListener.d.ts +67 -23
- package/dist/lib/trino/TrinoSqlParser.d.ts +210 -181
- package/dist/lib/trino/TrinoSqlParser.js +4854 -4695
- package/dist/lib/trino/TrinoSqlVisitor.d.ts +42 -14
- package/dist/parser/common/basicSQL.d.ts +43 -9
- package/dist/parser/common/basicSQL.js +147 -40
- package/dist/parser/common/semanticContextCollector.d.ts +50 -0
- package/dist/parser/common/semanticContextCollector.js +202 -0
- package/dist/parser/common/tokenUtils.d.ts +12 -0
- package/dist/parser/common/tokenUtils.js +38 -0
- package/dist/parser/common/types.d.ts +25 -0
- package/dist/parser/common/types.js +7 -0
- package/dist/parser/flink/flinkErrorListener.js +14 -2
- package/dist/parser/flink/flinkSemanticContextCollector.d.ts +9 -0
- package/dist/parser/flink/flinkSemanticContextCollector.js +14 -0
- package/dist/parser/flink/index.d.ts +4 -2
- package/dist/parser/flink/index.js +22 -14
- package/dist/parser/hive/hiveErrorListener.js +9 -3
- package/dist/parser/hive/hiveSemanticContextCollector.d.ts +9 -0
- package/dist/parser/hive/hiveSemanticContextCollector.js +14 -0
- package/dist/parser/hive/index.d.ts +4 -2
- package/dist/parser/hive/index.js +29 -14
- package/dist/parser/impala/ImpalaErrorListener.js +8 -2
- package/dist/parser/impala/impalaSemanticContextCollector.d.ts +9 -0
- package/dist/parser/impala/impalaSemanticContextCollector.js +14 -0
- package/dist/parser/impala/index.d.ts +4 -2
- package/dist/parser/impala/index.js +21 -14
- package/dist/parser/mysql/index.d.ts +4 -2
- package/dist/parser/mysql/index.js +10 -14
- package/dist/parser/mysql/mysqlErrorListener.js +6 -2
- package/dist/parser/mysql/mysqlSemanticContextCollector.d.ts +9 -0
- package/dist/parser/mysql/mysqlSemanticContextCollector.js +14 -0
- package/dist/parser/postgresql/index.d.ts +4 -2
- package/dist/parser/postgresql/index.js +51 -42
- package/dist/parser/postgresql/postgreEntityCollector.d.ts +5 -5
- package/dist/parser/postgresql/postgreEntityCollector.js +7 -7
- package/dist/parser/postgresql/postgreErrorListener.js +36 -30
- package/dist/parser/postgresql/postgreSemanticContextCollector.d.ts +9 -0
- package/dist/parser/postgresql/postgreSemanticContextCollector.js +14 -0
- package/dist/parser/spark/index.d.ts +4 -2
- package/dist/parser/spark/index.js +26 -14
- package/dist/parser/spark/sparkErrorListener.js +9 -3
- package/dist/parser/spark/sparkSemanticContextCollector.d.ts +9 -0
- package/dist/parser/spark/sparkSemanticContextCollector.js +14 -0
- package/dist/parser/trino/index.d.ts +4 -2
- package/dist/parser/trino/index.js +22 -14
- package/dist/parser/trino/trinoErrorListener.js +9 -3
- package/dist/parser/trino/trinoSemanticContextCollector.d.ts +9 -0
- package/dist/parser/trino/trinoSemanticContextCollector.js +14 -0
- package/package.json +2 -1
|
@@ -4,8 +4,8 @@ import { FlinkSqlParserListener } from "./FlinkSqlParserListener.js";
|
|
|
4
4
|
import { FlinkSqlParserVisitor } from "./FlinkSqlParserVisitor.js";
|
|
5
5
|
import { SQLParserBase } from '../SQLParserBase';
|
|
6
6
|
export declare class FlinkSqlParser extends SQLParserBase {
|
|
7
|
-
static readonly
|
|
8
|
-
static readonly
|
|
7
|
+
static readonly WHITE_SPACE = 1;
|
|
8
|
+
static readonly BRACKETED_COMMENT = 2;
|
|
9
9
|
static readonly LINE_COMMENT = 3;
|
|
10
10
|
static readonly KW_ABS = 4;
|
|
11
11
|
static readonly KW_ALL = 5;
|
|
@@ -533,11 +533,11 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
533
533
|
static readonly COLON_SYMB = 527;
|
|
534
534
|
static readonly ASTERISK_SIGN = 528;
|
|
535
535
|
static readonly UNDERLINE_SIGN = 529;
|
|
536
|
-
static readonly
|
|
536
|
+
static readonly HYPHEN_SIGN = 530;
|
|
537
537
|
static readonly ADD_SIGN = 531;
|
|
538
|
-
static readonly
|
|
538
|
+
static readonly PERCENT_SIGN = 532;
|
|
539
539
|
static readonly DOUBLE_VERTICAL_SIGN = 533;
|
|
540
|
-
static readonly
|
|
540
|
+
static readonly DOUBLE_HYPHEN_SIGN = 534;
|
|
541
541
|
static readonly SLASH_SIGN = 535;
|
|
542
542
|
static readonly QUESTION_MARK_SIGN = 536;
|
|
543
543
|
static readonly DOUBLE_RIGHT_ARROW = 537;
|
|
@@ -558,12 +558,12 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
558
558
|
static readonly RULE_explainDetail = 9;
|
|
559
559
|
static readonly RULE_useStatement = 10;
|
|
560
560
|
static readonly RULE_useModuleStatement = 11;
|
|
561
|
-
static readonly
|
|
561
|
+
static readonly RULE_showStatement = 12;
|
|
562
562
|
static readonly RULE_loadStatement = 13;
|
|
563
|
-
static readonly
|
|
564
|
-
static readonly
|
|
565
|
-
static readonly
|
|
566
|
-
static readonly
|
|
563
|
+
static readonly RULE_unloadStatement = 14;
|
|
564
|
+
static readonly RULE_setStatement = 15;
|
|
565
|
+
static readonly RULE_resetStatement = 16;
|
|
566
|
+
static readonly RULE_jarStatement = 17;
|
|
567
567
|
static readonly RULE_dtAddStatement = 18;
|
|
568
568
|
static readonly RULE_dtFilePath = 19;
|
|
569
569
|
static readonly RULE_createTable = 20;
|
|
@@ -573,171 +573,172 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
573
573
|
static readonly RULE_physicalColumnDefinition = 24;
|
|
574
574
|
static readonly RULE_columnNameCreate = 25;
|
|
575
575
|
static readonly RULE_columnName = 26;
|
|
576
|
-
static readonly
|
|
577
|
-
static readonly
|
|
578
|
-
static readonly
|
|
579
|
-
static readonly
|
|
580
|
-
static readonly
|
|
581
|
-
static readonly
|
|
582
|
-
static readonly
|
|
583
|
-
static readonly
|
|
584
|
-
static readonly
|
|
585
|
-
static readonly
|
|
586
|
-
static readonly
|
|
587
|
-
static readonly
|
|
588
|
-
static readonly
|
|
589
|
-
static readonly
|
|
590
|
-
static readonly
|
|
591
|
-
static readonly
|
|
592
|
-
static readonly
|
|
593
|
-
static readonly
|
|
594
|
-
static readonly
|
|
595
|
-
static readonly
|
|
596
|
-
static readonly
|
|
597
|
-
static readonly
|
|
598
|
-
static readonly
|
|
599
|
-
static readonly
|
|
600
|
-
static readonly
|
|
601
|
-
static readonly
|
|
602
|
-
static readonly
|
|
603
|
-
static readonly
|
|
604
|
-
static readonly
|
|
605
|
-
static readonly
|
|
606
|
-
static readonly
|
|
607
|
-
static readonly
|
|
608
|
-
static readonly
|
|
609
|
-
static readonly
|
|
610
|
-
static readonly
|
|
611
|
-
static readonly
|
|
612
|
-
static readonly
|
|
613
|
-
static readonly
|
|
614
|
-
static readonly
|
|
615
|
-
static readonly
|
|
616
|
-
static readonly
|
|
617
|
-
static readonly
|
|
618
|
-
static readonly
|
|
619
|
-
static readonly
|
|
620
|
-
static readonly
|
|
621
|
-
static readonly
|
|
622
|
-
static readonly
|
|
623
|
-
static readonly
|
|
624
|
-
static readonly
|
|
625
|
-
static readonly
|
|
626
|
-
static readonly
|
|
627
|
-
static readonly
|
|
628
|
-
static readonly
|
|
629
|
-
static readonly
|
|
630
|
-
static readonly
|
|
631
|
-
static readonly
|
|
632
|
-
static readonly
|
|
633
|
-
static readonly
|
|
634
|
-
static readonly
|
|
635
|
-
static readonly
|
|
636
|
-
static readonly
|
|
637
|
-
static readonly
|
|
638
|
-
static readonly
|
|
639
|
-
static readonly
|
|
640
|
-
static readonly
|
|
641
|
-
static readonly
|
|
642
|
-
static readonly
|
|
643
|
-
static readonly
|
|
644
|
-
static readonly
|
|
645
|
-
static readonly
|
|
646
|
-
static readonly
|
|
647
|
-
static readonly
|
|
648
|
-
static readonly
|
|
649
|
-
static readonly
|
|
650
|
-
static readonly
|
|
651
|
-
static readonly
|
|
652
|
-
static readonly
|
|
653
|
-
static readonly
|
|
654
|
-
static readonly
|
|
655
|
-
static readonly
|
|
656
|
-
static readonly
|
|
657
|
-
static readonly
|
|
658
|
-
static readonly
|
|
659
|
-
static readonly
|
|
660
|
-
static readonly
|
|
661
|
-
static readonly
|
|
662
|
-
static readonly
|
|
663
|
-
static readonly
|
|
664
|
-
static readonly
|
|
665
|
-
static readonly
|
|
666
|
-
static readonly
|
|
667
|
-
static readonly
|
|
668
|
-
static readonly
|
|
669
|
-
static readonly
|
|
670
|
-
static readonly
|
|
671
|
-
static readonly
|
|
672
|
-
static readonly
|
|
673
|
-
static readonly
|
|
674
|
-
static readonly
|
|
675
|
-
static readonly
|
|
676
|
-
static readonly
|
|
677
|
-
static readonly
|
|
678
|
-
static readonly
|
|
679
|
-
static readonly
|
|
680
|
-
static readonly
|
|
681
|
-
static readonly
|
|
682
|
-
static readonly
|
|
683
|
-
static readonly
|
|
684
|
-
static readonly
|
|
685
|
-
static readonly
|
|
686
|
-
static readonly
|
|
687
|
-
static readonly
|
|
688
|
-
static readonly
|
|
689
|
-
static readonly
|
|
690
|
-
static readonly
|
|
691
|
-
static readonly
|
|
692
|
-
static readonly
|
|
693
|
-
static readonly
|
|
694
|
-
static readonly
|
|
695
|
-
static readonly
|
|
696
|
-
static readonly
|
|
697
|
-
static readonly
|
|
698
|
-
static readonly
|
|
699
|
-
static readonly
|
|
700
|
-
static readonly
|
|
701
|
-
static readonly
|
|
702
|
-
static readonly
|
|
703
|
-
static readonly
|
|
704
|
-
static readonly
|
|
705
|
-
static readonly
|
|
706
|
-
static readonly
|
|
707
|
-
static readonly
|
|
708
|
-
static readonly
|
|
709
|
-
static readonly
|
|
710
|
-
static readonly
|
|
711
|
-
static readonly
|
|
712
|
-
static readonly
|
|
713
|
-
static readonly
|
|
714
|
-
static readonly
|
|
715
|
-
static readonly
|
|
716
|
-
static readonly
|
|
717
|
-
static readonly
|
|
718
|
-
static readonly
|
|
719
|
-
static readonly
|
|
720
|
-
static readonly
|
|
721
|
-
static readonly
|
|
722
|
-
static readonly
|
|
723
|
-
static readonly
|
|
724
|
-
static readonly
|
|
725
|
-
static readonly
|
|
726
|
-
static readonly
|
|
727
|
-
static readonly
|
|
728
|
-
static readonly
|
|
729
|
-
static readonly
|
|
730
|
-
static readonly
|
|
731
|
-
static readonly
|
|
732
|
-
static readonly
|
|
733
|
-
static readonly
|
|
734
|
-
static readonly
|
|
735
|
-
static readonly
|
|
736
|
-
static readonly
|
|
737
|
-
static readonly
|
|
738
|
-
static readonly
|
|
739
|
-
static readonly
|
|
740
|
-
static readonly
|
|
576
|
+
static readonly RULE_columnNamePath = 27;
|
|
577
|
+
static readonly RULE_columnNameList = 28;
|
|
578
|
+
static readonly RULE_columnType = 29;
|
|
579
|
+
static readonly RULE_lengthOneDimension = 30;
|
|
580
|
+
static readonly RULE_lengthTwoOptionalDimension = 31;
|
|
581
|
+
static readonly RULE_lengthTwoStringDimension = 32;
|
|
582
|
+
static readonly RULE_lengthOneTypeDimension = 33;
|
|
583
|
+
static readonly RULE_mapTypeDimension = 34;
|
|
584
|
+
static readonly RULE_rowTypeDimension = 35;
|
|
585
|
+
static readonly RULE_columnConstraint = 36;
|
|
586
|
+
static readonly RULE_metadataColumnDefinition = 37;
|
|
587
|
+
static readonly RULE_metadataKey = 38;
|
|
588
|
+
static readonly RULE_computedColumnDefinition = 39;
|
|
589
|
+
static readonly RULE_computedColumnExpression = 40;
|
|
590
|
+
static readonly RULE_watermarkDefinition = 41;
|
|
591
|
+
static readonly RULE_tableConstraint = 42;
|
|
592
|
+
static readonly RULE_constraintName = 43;
|
|
593
|
+
static readonly RULE_selfDefinitionClause = 44;
|
|
594
|
+
static readonly RULE_partitionDefinition = 45;
|
|
595
|
+
static readonly RULE_transformList = 46;
|
|
596
|
+
static readonly RULE_transform = 47;
|
|
597
|
+
static readonly RULE_transformArgument = 48;
|
|
598
|
+
static readonly RULE_likeDefinition = 49;
|
|
599
|
+
static readonly RULE_likeOption = 50;
|
|
600
|
+
static readonly RULE_createCatalog = 51;
|
|
601
|
+
static readonly RULE_createDatabase = 52;
|
|
602
|
+
static readonly RULE_createView = 53;
|
|
603
|
+
static readonly RULE_createFunction = 54;
|
|
604
|
+
static readonly RULE_usingClause = 55;
|
|
605
|
+
static readonly RULE_jarFileName = 56;
|
|
606
|
+
static readonly RULE_alterTable = 57;
|
|
607
|
+
static readonly RULE_renameDefinition = 58;
|
|
608
|
+
static readonly RULE_setKeyValueDefinition = 59;
|
|
609
|
+
static readonly RULE_addConstraint = 60;
|
|
610
|
+
static readonly RULE_dropConstraint = 61;
|
|
611
|
+
static readonly RULE_addUnique = 62;
|
|
612
|
+
static readonly RULE_notForced = 63;
|
|
613
|
+
static readonly RULE_alterView = 64;
|
|
614
|
+
static readonly RULE_alterDatabase = 65;
|
|
615
|
+
static readonly RULE_alterFunction = 66;
|
|
616
|
+
static readonly RULE_dropCatalog = 67;
|
|
617
|
+
static readonly RULE_dropTable = 68;
|
|
618
|
+
static readonly RULE_dropDatabase = 69;
|
|
619
|
+
static readonly RULE_dropView = 70;
|
|
620
|
+
static readonly RULE_dropFunction = 71;
|
|
621
|
+
static readonly RULE_insertStatement = 72;
|
|
622
|
+
static readonly RULE_insertSimpleStatement = 73;
|
|
623
|
+
static readonly RULE_insertPartitionDefinition = 74;
|
|
624
|
+
static readonly RULE_valuesDefinition = 75;
|
|
625
|
+
static readonly RULE_valuesRowDefinition = 76;
|
|
626
|
+
static readonly RULE_insertMulStatementCompatibility = 77;
|
|
627
|
+
static readonly RULE_insertMulStatement = 78;
|
|
628
|
+
static readonly RULE_queryStatement = 79;
|
|
629
|
+
static readonly RULE_valuesClause = 80;
|
|
630
|
+
static readonly RULE_withClause = 81;
|
|
631
|
+
static readonly RULE_withItem = 82;
|
|
632
|
+
static readonly RULE_withItemName = 83;
|
|
633
|
+
static readonly RULE_selectStatement = 84;
|
|
634
|
+
static readonly RULE_selectClause = 85;
|
|
635
|
+
static readonly RULE_projectItemDefinition = 86;
|
|
636
|
+
static readonly RULE_overWindowItem = 87;
|
|
637
|
+
static readonly RULE_fromClause = 88;
|
|
638
|
+
static readonly RULE_tableExpression = 89;
|
|
639
|
+
static readonly RULE_tableReference = 90;
|
|
640
|
+
static readonly RULE_tablePrimary = 91;
|
|
641
|
+
static readonly RULE_systemTimePeriod = 92;
|
|
642
|
+
static readonly RULE_dateTimeExpression = 93;
|
|
643
|
+
static readonly RULE_inlineDataValueClause = 94;
|
|
644
|
+
static readonly RULE_windowTVFClause = 95;
|
|
645
|
+
static readonly RULE_windowTVFExpression = 96;
|
|
646
|
+
static readonly RULE_windowTVFName = 97;
|
|
647
|
+
static readonly RULE_windowTVFParam = 98;
|
|
648
|
+
static readonly RULE_timeIntervalParamName = 99;
|
|
649
|
+
static readonly RULE_columnDescriptor = 100;
|
|
650
|
+
static readonly RULE_joinCondition = 101;
|
|
651
|
+
static readonly RULE_whereClause = 102;
|
|
652
|
+
static readonly RULE_groupByClause = 103;
|
|
653
|
+
static readonly RULE_groupItemDefinition = 104;
|
|
654
|
+
static readonly RULE_groupingSets = 105;
|
|
655
|
+
static readonly RULE_groupingSetsNotationName = 106;
|
|
656
|
+
static readonly RULE_groupWindowFunction = 107;
|
|
657
|
+
static readonly RULE_groupWindowFunctionName = 108;
|
|
658
|
+
static readonly RULE_timeAttrColumn = 109;
|
|
659
|
+
static readonly RULE_havingClause = 110;
|
|
660
|
+
static readonly RULE_windowClause = 111;
|
|
661
|
+
static readonly RULE_namedWindow = 112;
|
|
662
|
+
static readonly RULE_windowSpec = 113;
|
|
663
|
+
static readonly RULE_matchRecognizeClause = 114;
|
|
664
|
+
static readonly RULE_orderByClause = 115;
|
|
665
|
+
static readonly RULE_orderItemDefinition = 116;
|
|
666
|
+
static readonly RULE_limitClause = 117;
|
|
667
|
+
static readonly RULE_partitionByClause = 118;
|
|
668
|
+
static readonly RULE_quantifiers = 119;
|
|
669
|
+
static readonly RULE_measuresClause = 120;
|
|
670
|
+
static readonly RULE_patternDefinition = 121;
|
|
671
|
+
static readonly RULE_patternVariable = 122;
|
|
672
|
+
static readonly RULE_outputMode = 123;
|
|
673
|
+
static readonly RULE_afterMatchStrategy = 124;
|
|
674
|
+
static readonly RULE_patternVariablesDefinition = 125;
|
|
675
|
+
static readonly RULE_windowFrame = 126;
|
|
676
|
+
static readonly RULE_frameBound = 127;
|
|
677
|
+
static readonly RULE_withinClause = 128;
|
|
678
|
+
static readonly RULE_expression = 129;
|
|
679
|
+
static readonly RULE_booleanExpression = 130;
|
|
680
|
+
static readonly RULE_predicate = 131;
|
|
681
|
+
static readonly RULE_likePredicate = 132;
|
|
682
|
+
static readonly RULE_valueExpression = 133;
|
|
683
|
+
static readonly RULE_functionCallExpression = 134;
|
|
684
|
+
static readonly RULE_primaryExpression = 135;
|
|
685
|
+
static readonly RULE_functionNameCreate = 136;
|
|
686
|
+
static readonly RULE_functionName = 137;
|
|
687
|
+
static readonly RULE_functionNameAndParams = 138;
|
|
688
|
+
static readonly RULE_functionNameWithParams = 139;
|
|
689
|
+
static readonly RULE_functionParam = 140;
|
|
690
|
+
static readonly RULE_dereferenceDefinition = 141;
|
|
691
|
+
static readonly RULE_correlationName = 142;
|
|
692
|
+
static readonly RULE_qualifiedName = 143;
|
|
693
|
+
static readonly RULE_timeIntervalExpression = 144;
|
|
694
|
+
static readonly RULE_errorCapturingMultiUnitsInterval = 145;
|
|
695
|
+
static readonly RULE_multiUnitsInterval = 146;
|
|
696
|
+
static readonly RULE_errorCapturingUnitToUnitInterval = 147;
|
|
697
|
+
static readonly RULE_unitToUnitInterval = 148;
|
|
698
|
+
static readonly RULE_intervalValue = 149;
|
|
699
|
+
static readonly RULE_tableAlias = 150;
|
|
700
|
+
static readonly RULE_errorCapturingIdentifier = 151;
|
|
701
|
+
static readonly RULE_errorCapturingIdentifierExtra = 152;
|
|
702
|
+
static readonly RULE_identifierList = 153;
|
|
703
|
+
static readonly RULE_identifierSeq = 154;
|
|
704
|
+
static readonly RULE_identifier = 155;
|
|
705
|
+
static readonly RULE_unquotedIdentifier = 156;
|
|
706
|
+
static readonly RULE_quotedIdentifier = 157;
|
|
707
|
+
static readonly RULE_whenClause = 158;
|
|
708
|
+
static readonly RULE_catalogPath = 159;
|
|
709
|
+
static readonly RULE_catalogPathCreate = 160;
|
|
710
|
+
static readonly RULE_databasePath = 161;
|
|
711
|
+
static readonly RULE_databasePathCreate = 162;
|
|
712
|
+
static readonly RULE_tablePathCreate = 163;
|
|
713
|
+
static readonly RULE_tablePath = 164;
|
|
714
|
+
static readonly RULE_viewPath = 165;
|
|
715
|
+
static readonly RULE_viewPathCreate = 166;
|
|
716
|
+
static readonly RULE_uid = 167;
|
|
717
|
+
static readonly RULE_withOption = 168;
|
|
718
|
+
static readonly RULE_ifNotExists = 169;
|
|
719
|
+
static readonly RULE_ifExists = 170;
|
|
720
|
+
static readonly RULE_tablePropertyList = 171;
|
|
721
|
+
static readonly RULE_tableProperty = 172;
|
|
722
|
+
static readonly RULE_tablePropertyKey = 173;
|
|
723
|
+
static readonly RULE_tablePropertyValue = 174;
|
|
724
|
+
static readonly RULE_logicalOperator = 175;
|
|
725
|
+
static readonly RULE_comparisonOperator = 176;
|
|
726
|
+
static readonly RULE_bitOperator = 177;
|
|
727
|
+
static readonly RULE_mathOperator = 178;
|
|
728
|
+
static readonly RULE_unaryOperator = 179;
|
|
729
|
+
static readonly RULE_constant = 180;
|
|
730
|
+
static readonly RULE_timePointLiteral = 181;
|
|
731
|
+
static readonly RULE_stringLiteral = 182;
|
|
732
|
+
static readonly RULE_decimalLiteral = 183;
|
|
733
|
+
static readonly RULE_booleanLiteral = 184;
|
|
734
|
+
static readonly RULE_setQuantifier = 185;
|
|
735
|
+
static readonly RULE_timePointUnit = 186;
|
|
736
|
+
static readonly RULE_timeIntervalUnit = 187;
|
|
737
|
+
static readonly RULE_reservedKeywordsUsedAsFuncParam = 188;
|
|
738
|
+
static readonly RULE_reservedKeywordsNoParamsUsedAsFuncName = 189;
|
|
739
|
+
static readonly RULE_reservedKeywordsFollowParamsUsedAsFuncName = 190;
|
|
740
|
+
static readonly RULE_reservedKeywordsUsedAsFuncName = 191;
|
|
741
|
+
static readonly RULE_nonReservedKeywords = 192;
|
|
741
742
|
static readonly literalNames: (string | null)[];
|
|
742
743
|
static readonly symbolicNames: (string | null)[];
|
|
743
744
|
static readonly ruleNames: string[];
|
|
@@ -760,12 +761,12 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
760
761
|
explainDetail(): ExplainDetailContext;
|
|
761
762
|
useStatement(): UseStatementContext;
|
|
762
763
|
useModuleStatement(): UseModuleStatementContext;
|
|
763
|
-
|
|
764
|
+
showStatement(): ShowStatementContext;
|
|
764
765
|
loadStatement(): LoadStatementContext;
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
766
|
+
unloadStatement(): UnloadStatementContext;
|
|
767
|
+
setStatement(): SetStatementContext;
|
|
768
|
+
resetStatement(): ResetStatementContext;
|
|
769
|
+
jarStatement(): JarStatementContext;
|
|
769
770
|
dtAddStatement(): DtAddStatementContext;
|
|
770
771
|
dtFilePath(): DtFilePathContext;
|
|
771
772
|
createTable(): CreateTableContext;
|
|
@@ -775,6 +776,7 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
775
776
|
physicalColumnDefinition(): PhysicalColumnDefinitionContext;
|
|
776
777
|
columnNameCreate(): ColumnNameCreateContext;
|
|
777
778
|
columnName(): ColumnNameContext;
|
|
779
|
+
columnNamePath(): ColumnNamePathContext;
|
|
778
780
|
columnNameList(): ColumnNameListContext;
|
|
779
781
|
columnType(): ColumnTypeContext;
|
|
780
782
|
lengthOneDimension(): LengthOneDimensionContext;
|
|
@@ -828,7 +830,7 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
828
830
|
insertMulStatement(): InsertMulStatementContext;
|
|
829
831
|
queryStatement(): QueryStatementContext;
|
|
830
832
|
queryStatement(_p: number): QueryStatementContext;
|
|
831
|
-
|
|
833
|
+
valuesClause(): ValuesClauseContext;
|
|
832
834
|
withClause(): WithClauseContext;
|
|
833
835
|
withItem(): WithItemContext;
|
|
834
836
|
withItemName(): WithItemNameContext;
|
|
@@ -844,9 +846,9 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
844
846
|
systemTimePeriod(): SystemTimePeriodContext;
|
|
845
847
|
dateTimeExpression(): DateTimeExpressionContext;
|
|
846
848
|
inlineDataValueClause(): InlineDataValueClauseContext;
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
849
|
+
windowTVFClause(): WindowTVFClauseContext;
|
|
850
|
+
windowTVFExpression(): WindowTVFExpressionContext;
|
|
851
|
+
windowTVFName(): WindowTVFNameContext;
|
|
850
852
|
windowTVFParam(): WindowTVFParamContext;
|
|
851
853
|
timeIntervalParamName(): TimeIntervalParamNameContext;
|
|
852
854
|
columnDescriptor(): ColumnDescriptorContext;
|
|
@@ -855,7 +857,7 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
855
857
|
groupByClause(): GroupByClauseContext;
|
|
856
858
|
groupItemDefinition(): GroupItemDefinitionContext;
|
|
857
859
|
groupingSets(): GroupingSetsContext;
|
|
858
|
-
|
|
860
|
+
groupingSetsNotationName(): GroupingSetsNotationNameContext;
|
|
859
861
|
groupWindowFunction(): GroupWindowFunctionContext;
|
|
860
862
|
groupWindowFunctionName(): GroupWindowFunctionNameContext;
|
|
861
863
|
timeAttrColumn(): TimeAttrColumnContext;
|
|
@@ -864,17 +866,17 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
864
866
|
namedWindow(): NamedWindowContext;
|
|
865
867
|
windowSpec(): WindowSpecContext;
|
|
866
868
|
matchRecognizeClause(): MatchRecognizeClauseContext;
|
|
867
|
-
|
|
868
|
-
|
|
869
|
+
orderByClause(): OrderByClauseContext;
|
|
870
|
+
orderItemDefinition(): OrderItemDefinitionContext;
|
|
869
871
|
limitClause(): LimitClauseContext;
|
|
870
872
|
partitionByClause(): PartitionByClauseContext;
|
|
871
873
|
quantifiers(): QuantifiersContext;
|
|
872
874
|
measuresClause(): MeasuresClauseContext;
|
|
873
|
-
|
|
875
|
+
patternDefinition(): PatternDefinitionContext;
|
|
874
876
|
patternVariable(): PatternVariableContext;
|
|
875
877
|
outputMode(): OutputModeContext;
|
|
876
878
|
afterMatchStrategy(): AfterMatchStrategyContext;
|
|
877
|
-
|
|
879
|
+
patternVariablesDefinition(): PatternVariablesDefinitionContext;
|
|
878
880
|
windowFrame(): WindowFrameContext;
|
|
879
881
|
frameBound(): FrameBoundContext;
|
|
880
882
|
withinClause(): WithinClauseContext;
|
|
@@ -986,12 +988,12 @@ export declare class SqlStatementContext extends antlr.ParserRuleContext {
|
|
|
986
988
|
describeStatement(): DescribeStatementContext | null;
|
|
987
989
|
explainStatement(): ExplainStatementContext | null;
|
|
988
990
|
useStatement(): UseStatementContext | null;
|
|
989
|
-
|
|
991
|
+
showStatement(): ShowStatementContext | null;
|
|
990
992
|
loadStatement(): LoadStatementContext | null;
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
993
|
+
unloadStatement(): UnloadStatementContext | null;
|
|
994
|
+
setStatement(): SetStatementContext | null;
|
|
995
|
+
resetStatement(): ResetStatementContext | null;
|
|
996
|
+
jarStatement(): JarStatementContext | null;
|
|
995
997
|
dtAddStatement(): DtAddStatementContext | null;
|
|
996
998
|
get ruleIndex(): number;
|
|
997
999
|
enterRule(listener: FlinkSqlParserListener): void;
|
|
@@ -1106,7 +1108,7 @@ export declare class UseModuleStatementContext extends antlr.ParserRuleContext {
|
|
|
1106
1108
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
1107
1109
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1108
1110
|
}
|
|
1109
|
-
export declare class
|
|
1111
|
+
export declare class ShowStatementContext extends antlr.ParserRuleContext {
|
|
1110
1112
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1111
1113
|
KW_SHOW(): antlr.TerminalNode;
|
|
1112
1114
|
KW_CATALOGS(): antlr.TerminalNode | null;
|
|
@@ -1148,7 +1150,7 @@ export declare class LoadStatementContext extends antlr.ParserRuleContext {
|
|
|
1148
1150
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
1149
1151
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1150
1152
|
}
|
|
1151
|
-
export declare class
|
|
1153
|
+
export declare class UnloadStatementContext extends antlr.ParserRuleContext {
|
|
1152
1154
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1153
1155
|
KW_UNLOAD(): antlr.TerminalNode;
|
|
1154
1156
|
KW_MODULE(): antlr.TerminalNode;
|
|
@@ -1158,7 +1160,7 @@ export declare class UnloadStatememtContext extends antlr.ParserRuleContext {
|
|
|
1158
1160
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
1159
1161
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1160
1162
|
}
|
|
1161
|
-
export declare class
|
|
1163
|
+
export declare class SetStatementContext extends antlr.ParserRuleContext {
|
|
1162
1164
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1163
1165
|
KW_SET(): antlr.TerminalNode;
|
|
1164
1166
|
tableProperty(): TablePropertyContext | null;
|
|
@@ -1167,7 +1169,7 @@ export declare class SetStatememtContext extends antlr.ParserRuleContext {
|
|
|
1167
1169
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
1168
1170
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1169
1171
|
}
|
|
1170
|
-
export declare class
|
|
1172
|
+
export declare class ResetStatementContext extends antlr.ParserRuleContext {
|
|
1171
1173
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1172
1174
|
KW_RESET(): antlr.TerminalNode;
|
|
1173
1175
|
tablePropertyKey(): TablePropertyKeyContext | null;
|
|
@@ -1176,7 +1178,7 @@ export declare class ResetStatememtContext extends antlr.ParserRuleContext {
|
|
|
1176
1178
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
1177
1179
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1178
1180
|
}
|
|
1179
|
-
export declare class
|
|
1181
|
+
export declare class JarStatementContext extends antlr.ParserRuleContext {
|
|
1180
1182
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1181
1183
|
KW_JAR(): antlr.TerminalNode;
|
|
1182
1184
|
jarFileName(): JarFileNameContext;
|
|
@@ -1314,6 +1316,14 @@ export declare class ColumnNameContext extends antlr.ParserRuleContext {
|
|
|
1314
1316
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
1315
1317
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1316
1318
|
}
|
|
1319
|
+
export declare class ColumnNamePathContext extends antlr.ParserRuleContext {
|
|
1320
|
+
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1321
|
+
uid(): UidContext;
|
|
1322
|
+
get ruleIndex(): number;
|
|
1323
|
+
enterRule(listener: FlinkSqlParserListener): void;
|
|
1324
|
+
exitRule(listener: FlinkSqlParserListener): void;
|
|
1325
|
+
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1326
|
+
}
|
|
1317
1327
|
export declare class ColumnNameListContext extends antlr.ParserRuleContext {
|
|
1318
1328
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1319
1329
|
LR_BRACKET(): antlr.TerminalNode;
|
|
@@ -1996,14 +2006,14 @@ export declare class QueryStatementContext extends antlr.ParserRuleContext {
|
|
|
1996
2006
|
_operator?: Token | null;
|
|
1997
2007
|
_right?: QueryStatementContext;
|
|
1998
2008
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1999
|
-
|
|
2009
|
+
valuesClause(): ValuesClauseContext | null;
|
|
2000
2010
|
withClause(): WithClauseContext | null;
|
|
2001
2011
|
queryStatement(): QueryStatementContext[];
|
|
2002
2012
|
queryStatement(i: number): QueryStatementContext | null;
|
|
2003
2013
|
LR_BRACKET(): antlr.TerminalNode | null;
|
|
2004
2014
|
RR_BRACKET(): antlr.TerminalNode | null;
|
|
2005
2015
|
selectClause(): SelectClauseContext | null;
|
|
2006
|
-
|
|
2016
|
+
orderByClause(): OrderByClauseContext | null;
|
|
2007
2017
|
limitClause(): LimitClauseContext | null;
|
|
2008
2018
|
selectStatement(): SelectStatementContext | null;
|
|
2009
2019
|
KW_INTERSECT(): antlr.TerminalNode | null;
|
|
@@ -2015,7 +2025,7 @@ export declare class QueryStatementContext extends antlr.ParserRuleContext {
|
|
|
2015
2025
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2016
2026
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2017
2027
|
}
|
|
2018
|
-
export declare class
|
|
2028
|
+
export declare class ValuesClauseContext extends antlr.ParserRuleContext {
|
|
2019
2029
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2020
2030
|
KW_VALUES(): antlr.TerminalNode;
|
|
2021
2031
|
expression(): ExpressionContext[];
|
|
@@ -2133,7 +2143,7 @@ export declare class TableExpressionContext extends antlr.ParserRuleContext {
|
|
|
2133
2143
|
COMMA(): antlr.TerminalNode[];
|
|
2134
2144
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
2135
2145
|
inlineDataValueClause(): InlineDataValueClauseContext | null;
|
|
2136
|
-
|
|
2146
|
+
windowTVFClause(): WindowTVFClauseContext | null;
|
|
2137
2147
|
tableExpression(): TableExpressionContext[];
|
|
2138
2148
|
tableExpression(i: number): TableExpressionContext | null;
|
|
2139
2149
|
KW_CROSS(): antlr.TerminalNode | null;
|
|
@@ -2208,20 +2218,20 @@ export declare class InlineDataValueClauseContext extends antlr.ParserRuleContex
|
|
|
2208
2218
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2209
2219
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2210
2220
|
}
|
|
2211
|
-
export declare class
|
|
2221
|
+
export declare class WindowTVFClauseContext extends antlr.ParserRuleContext {
|
|
2212
2222
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2213
2223
|
KW_TABLE(): antlr.TerminalNode;
|
|
2214
2224
|
LR_BRACKET(): antlr.TerminalNode;
|
|
2215
|
-
|
|
2225
|
+
windowTVFExpression(): WindowTVFExpressionContext;
|
|
2216
2226
|
RR_BRACKET(): antlr.TerminalNode;
|
|
2217
2227
|
get ruleIndex(): number;
|
|
2218
2228
|
enterRule(listener: FlinkSqlParserListener): void;
|
|
2219
2229
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2220
2230
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2221
2231
|
}
|
|
2222
|
-
export declare class
|
|
2232
|
+
export declare class WindowTVFExpressionContext extends antlr.ParserRuleContext {
|
|
2223
2233
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2224
|
-
|
|
2234
|
+
windowTVFName(): WindowTVFNameContext;
|
|
2225
2235
|
LR_BRACKET(): antlr.TerminalNode;
|
|
2226
2236
|
windowTVFParam(): WindowTVFParamContext[];
|
|
2227
2237
|
windowTVFParam(i: number): WindowTVFParamContext | null;
|
|
@@ -2233,7 +2243,7 @@ export declare class WindowTVFExressionContext extends antlr.ParserRuleContext {
|
|
|
2233
2243
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2234
2244
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2235
2245
|
}
|
|
2236
|
-
export declare class
|
|
2246
|
+
export declare class WindowTVFNameContext extends antlr.ParserRuleContext {
|
|
2237
2247
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2238
2248
|
KW_TUMBLE(): antlr.TerminalNode | null;
|
|
2239
2249
|
KW_HOP(): antlr.TerminalNode | null;
|
|
@@ -2325,7 +2335,7 @@ export declare class GroupItemDefinitionContext extends antlr.ParserRuleContext
|
|
|
2325
2335
|
expression(i: number): ExpressionContext | null;
|
|
2326
2336
|
COMMA(): antlr.TerminalNode[];
|
|
2327
2337
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
2328
|
-
|
|
2338
|
+
groupingSetsNotationName(): GroupingSetsNotationNameContext | null;
|
|
2329
2339
|
groupingSets(): GroupingSetsContext | null;
|
|
2330
2340
|
groupItemDefinition(): GroupItemDefinitionContext[];
|
|
2331
2341
|
groupItemDefinition(i: number): GroupItemDefinitionContext | null;
|
|
@@ -2343,7 +2353,7 @@ export declare class GroupingSetsContext extends antlr.ParserRuleContext {
|
|
|
2343
2353
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2344
2354
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2345
2355
|
}
|
|
2346
|
-
export declare class
|
|
2356
|
+
export declare class GroupingSetsNotationNameContext extends antlr.ParserRuleContext {
|
|
2347
2357
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2348
2358
|
KW_CUBE(): antlr.TerminalNode | null;
|
|
2349
2359
|
KW_ROLLUP(): antlr.TerminalNode | null;
|
|
@@ -2421,7 +2431,7 @@ export declare class WindowSpecContext extends antlr.ParserRuleContext {
|
|
|
2421
2431
|
LR_BRACKET(): antlr.TerminalNode;
|
|
2422
2432
|
RR_BRACKET(): antlr.TerminalNode;
|
|
2423
2433
|
partitionByClause(): PartitionByClauseContext | null;
|
|
2424
|
-
|
|
2434
|
+
orderByClause(): OrderByClauseContext | null;
|
|
2425
2435
|
windowFrame(): WindowFrameContext | null;
|
|
2426
2436
|
errorCapturingIdentifier(): ErrorCapturingIdentifierContext | null;
|
|
2427
2437
|
get ruleIndex(): number;
|
|
@@ -2433,14 +2443,14 @@ export declare class MatchRecognizeClauseContext extends antlr.ParserRuleContext
|
|
|
2433
2443
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2434
2444
|
KW_MATCH_RECOGNIZE(): antlr.TerminalNode;
|
|
2435
2445
|
LR_BRACKET(): antlr.TerminalNode;
|
|
2436
|
-
|
|
2446
|
+
patternVariablesDefinition(): PatternVariablesDefinitionContext;
|
|
2437
2447
|
RR_BRACKET(): antlr.TerminalNode;
|
|
2438
2448
|
partitionByClause(): PartitionByClauseContext | null;
|
|
2439
|
-
|
|
2449
|
+
orderByClause(): OrderByClauseContext | null;
|
|
2440
2450
|
measuresClause(): MeasuresClauseContext | null;
|
|
2441
2451
|
outputMode(): OutputModeContext | null;
|
|
2442
2452
|
afterMatchStrategy(): AfterMatchStrategyContext | null;
|
|
2443
|
-
|
|
2453
|
+
patternDefinition(): PatternDefinitionContext | null;
|
|
2444
2454
|
identifier(): IdentifierContext | null;
|
|
2445
2455
|
KW_AS(): antlr.TerminalNode | null;
|
|
2446
2456
|
get ruleIndex(): number;
|
|
@@ -2448,12 +2458,12 @@ export declare class MatchRecognizeClauseContext extends antlr.ParserRuleContext
|
|
|
2448
2458
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2449
2459
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2450
2460
|
}
|
|
2451
|
-
export declare class
|
|
2461
|
+
export declare class OrderByClauseContext extends antlr.ParserRuleContext {
|
|
2452
2462
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2453
2463
|
KW_ORDER(): antlr.TerminalNode;
|
|
2454
2464
|
KW_BY(): antlr.TerminalNode;
|
|
2455
|
-
|
|
2456
|
-
|
|
2465
|
+
orderItemDefinition(): OrderItemDefinitionContext[];
|
|
2466
|
+
orderItemDefinition(i: number): OrderItemDefinitionContext | null;
|
|
2457
2467
|
COMMA(): antlr.TerminalNode[];
|
|
2458
2468
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
2459
2469
|
get ruleIndex(): number;
|
|
@@ -2461,7 +2471,7 @@ export declare class OrderByCaluseContext extends antlr.ParserRuleContext {
|
|
|
2461
2471
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2462
2472
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2463
2473
|
}
|
|
2464
|
-
export declare class
|
|
2474
|
+
export declare class OrderItemDefinitionContext extends antlr.ParserRuleContext {
|
|
2465
2475
|
_ordering?: Token | null;
|
|
2466
2476
|
_nullOrder?: Token | null;
|
|
2467
2477
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
@@ -2529,7 +2539,7 @@ export declare class MeasuresClauseContext extends antlr.ParserRuleContext {
|
|
|
2529
2539
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2530
2540
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2531
2541
|
}
|
|
2532
|
-
export declare class
|
|
2542
|
+
export declare class PatternDefinitionContext extends antlr.ParserRuleContext {
|
|
2533
2543
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2534
2544
|
KW_PATTERN(): antlr.TerminalNode;
|
|
2535
2545
|
LR_BRACKET(): antlr.TerminalNode;
|
|
@@ -2581,7 +2591,7 @@ export declare class AfterMatchStrategyContext extends antlr.ParserRuleContext {
|
|
|
2581
2591
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2582
2592
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2583
2593
|
}
|
|
2584
|
-
export declare class
|
|
2594
|
+
export declare class PatternVariablesDefinitionContext extends antlr.ParserRuleContext {
|
|
2585
2595
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2586
2596
|
KW_DEFINE(): antlr.TerminalNode;
|
|
2587
2597
|
projectItemDefinition(): ProjectItemDefinitionContext[];
|
|
@@ -2792,10 +2802,10 @@ export declare class ArithmeticBinaryContext extends ValueExpressionContext {
|
|
|
2792
2802
|
valueExpression(i: number): ValueExpressionContext | null;
|
|
2793
2803
|
ASTERISK_SIGN(): antlr.TerminalNode | null;
|
|
2794
2804
|
SLASH_SIGN(): antlr.TerminalNode | null;
|
|
2795
|
-
|
|
2805
|
+
PERCENT_SIGN(): antlr.TerminalNode | null;
|
|
2796
2806
|
KW_DIV(): antlr.TerminalNode | null;
|
|
2797
2807
|
ADD_SIGN(): antlr.TerminalNode | null;
|
|
2798
|
-
|
|
2808
|
+
HYPHEN_SIGN(): antlr.TerminalNode | null;
|
|
2799
2809
|
DOUBLE_VERTICAL_SIGN(): antlr.TerminalNode | null;
|
|
2800
2810
|
BIT_AND_OP(): antlr.TerminalNode | null;
|
|
2801
2811
|
BIT_XOR_OP(): antlr.TerminalNode | null;
|
|
@@ -2808,7 +2818,7 @@ export declare class ArithmeticUnaryContext extends ValueExpressionContext {
|
|
|
2808
2818
|
_operator?: Token | null;
|
|
2809
2819
|
constructor(ctx: ValueExpressionContext);
|
|
2810
2820
|
valueExpression(): ValueExpressionContext;
|
|
2811
|
-
|
|
2821
|
+
HYPHEN_SIGN(): antlr.TerminalNode | null;
|
|
2812
2822
|
ADD_SIGN(): antlr.TerminalNode | null;
|
|
2813
2823
|
BIT_NOT_OP(): antlr.TerminalNode | null;
|
|
2814
2824
|
enterRule(listener: FlinkSqlParserListener): void;
|
|
@@ -2861,7 +2871,7 @@ export declare class SimpleCaseContext extends PrimaryExpressionContext {
|
|
|
2861
2871
|
}
|
|
2862
2872
|
export declare class ColumnReferenceContext extends PrimaryExpressionContext {
|
|
2863
2873
|
constructor(ctx: PrimaryExpressionContext);
|
|
2864
|
-
|
|
2874
|
+
columnNamePath(): ColumnNamePathContext;
|
|
2865
2875
|
enterRule(listener: FlinkSqlParserListener): void;
|
|
2866
2876
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2867
2877
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
@@ -3118,7 +3128,7 @@ export declare class IntervalValueContext extends antlr.ParserRuleContext {
|
|
|
3118
3128
|
DIG_LITERAL(): antlr.TerminalNode | null;
|
|
3119
3129
|
REAL_LITERAL(): antlr.TerminalNode | null;
|
|
3120
3130
|
ADD_SIGN(): antlr.TerminalNode | null;
|
|
3121
|
-
|
|
3131
|
+
HYPHEN_SIGN(): antlr.TerminalNode | null;
|
|
3122
3132
|
STRING_LITERAL(): antlr.TerminalNode | null;
|
|
3123
3133
|
get ruleIndex(): number;
|
|
3124
3134
|
enterRule(listener: FlinkSqlParserListener): void;
|
|
@@ -3450,11 +3460,11 @@ export declare class MathOperatorContext extends antlr.ParserRuleContext {
|
|
|
3450
3460
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3451
3461
|
ASTERISK_SIGN(): antlr.TerminalNode | null;
|
|
3452
3462
|
SLASH_SIGN(): antlr.TerminalNode | null;
|
|
3453
|
-
|
|
3463
|
+
PERCENT_SIGN(): antlr.TerminalNode | null;
|
|
3454
3464
|
KW_DIV(): antlr.TerminalNode | null;
|
|
3455
3465
|
ADD_SIGN(): antlr.TerminalNode | null;
|
|
3456
|
-
|
|
3457
|
-
|
|
3466
|
+
HYPHEN_SIGN(): antlr.TerminalNode | null;
|
|
3467
|
+
DOUBLE_HYPHEN_SIGN(): antlr.TerminalNode | null;
|
|
3458
3468
|
get ruleIndex(): number;
|
|
3459
3469
|
enterRule(listener: FlinkSqlParserListener): void;
|
|
3460
3470
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
@@ -3465,7 +3475,7 @@ export declare class UnaryOperatorContext extends antlr.ParserRuleContext {
|
|
|
3465
3475
|
EXCLAMATION_SYMBOL(): antlr.TerminalNode | null;
|
|
3466
3476
|
BIT_NOT_OP(): antlr.TerminalNode | null;
|
|
3467
3477
|
ADD_SIGN(): antlr.TerminalNode | null;
|
|
3468
|
-
|
|
3478
|
+
HYPHEN_SIGN(): antlr.TerminalNode | null;
|
|
3469
3479
|
KW_NOT(): antlr.TerminalNode | null;
|
|
3470
3480
|
get ruleIndex(): number;
|
|
3471
3481
|
enterRule(listener: FlinkSqlParserListener): void;
|
|
@@ -3478,7 +3488,7 @@ export declare class ConstantContext extends antlr.ParserRuleContext {
|
|
|
3478
3488
|
timePointLiteral(): TimePointLiteralContext | null;
|
|
3479
3489
|
stringLiteral(): StringLiteralContext | null;
|
|
3480
3490
|
decimalLiteral(): DecimalLiteralContext | null;
|
|
3481
|
-
|
|
3491
|
+
HYPHEN_SIGN(): antlr.TerminalNode | null;
|
|
3482
3492
|
booleanLiteral(): BooleanLiteralContext | null;
|
|
3483
3493
|
REAL_LITERAL(): antlr.TerminalNode | null;
|
|
3484
3494
|
BIT_STRING(): antlr.TerminalNode | null;
|