dt-sql-parser 4.5.2-beta.0 → 4.5.2-beta.2
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 +8 -8
- package/dist/lib/flink/FlinkSqlParser.d.ts +220 -363
- package/dist/lib/flink/FlinkSqlParser.js +3246 -4046
- package/dist/lib/flink/FlinkSqlParserListener.d.ts +0 -154
- package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +0 -98
- package/dist/lib/generic/GenericSqlListener.d.ts +90 -5
- package/dist/lib/generic/GenericSqlParser.d.ts +102 -33
- package/dist/lib/generic/GenericSqlParser.js +1329 -930
- package/dist/lib/generic/GenericSqlVisitor.d.ts +56 -3
- package/dist/lib/hive/HiveSqlParser.d.ts +515 -943
- package/dist/lib/hive/HiveSqlParser.js +8234 -10573
- package/dist/lib/hive/HiveSqlParserListener.d.ts +50 -490
- package/dist/lib/hive/HiveSqlParserVisitor.d.ts +30 -310
- package/dist/lib/impala/ImpalaSqlParser.d.ts +96 -131
- package/dist/lib/impala/ImpalaSqlParser.js +3311 -3522
- package/dist/lib/impala/ImpalaSqlParserListener.d.ts +0 -44
- package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +0 -28
- package/dist/lib/mysql/MySqlParser.d.ts +422 -464
- package/dist/lib/mysql/MySqlParser.js +9954 -10184
- package/dist/lib/mysql/MySqlParserListener.d.ts +0 -44
- package/dist/lib/mysql/MySqlParserVisitor.d.ts +0 -28
- package/dist/lib/trino/TrinoSqlListener.d.ts +0 -328
- package/dist/lib/trino/TrinoSqlParser.d.ts +203 -476
- package/dist/lib/trino/TrinoSqlParser.js +6680 -7917
- package/dist/lib/trino/TrinoSqlVisitor.d.ts +0 -206
- package/dist/parser/common/entityCollector.js +5 -0
- package/dist/parser/flink/flinkEntityCollector.js +1 -1
- package/dist/parser/generic/genericEntityCollector.d.ts +6 -3
- package/dist/parser/generic/genericEntityCollector.js +30 -42
- package/dist/parser/generic/index.js +13 -10
- package/package.json +1 -1
|
@@ -551,216 +551,202 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
551
551
|
static readonly RULE_program = 0;
|
|
552
552
|
static readonly RULE_singleStatement = 1;
|
|
553
553
|
static readonly RULE_sqlStatement = 2;
|
|
554
|
-
static readonly
|
|
555
|
-
static readonly
|
|
556
|
-
static readonly
|
|
557
|
-
static readonly
|
|
558
|
-
static readonly
|
|
559
|
-
static readonly
|
|
560
|
-
static readonly
|
|
561
|
-
static readonly
|
|
562
|
-
static readonly
|
|
563
|
-
static readonly
|
|
564
|
-
static readonly
|
|
565
|
-
static readonly
|
|
566
|
-
static readonly
|
|
567
|
-
static readonly
|
|
568
|
-
static readonly
|
|
569
|
-
static readonly
|
|
570
|
-
static readonly
|
|
571
|
-
static readonly
|
|
572
|
-
static readonly
|
|
573
|
-
static readonly
|
|
574
|
-
static readonly
|
|
575
|
-
static readonly
|
|
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
|
|
741
|
-
static readonly
|
|
742
|
-
static readonly
|
|
743
|
-
static readonly
|
|
744
|
-
static readonly
|
|
745
|
-
static readonly
|
|
746
|
-
static readonly
|
|
747
|
-
static readonly
|
|
748
|
-
static readonly
|
|
749
|
-
static readonly
|
|
750
|
-
static readonly RULE_unaryOperator = 199;
|
|
751
|
-
static readonly RULE_constant = 200;
|
|
752
|
-
static readonly RULE_timePointLiteral = 201;
|
|
753
|
-
static readonly RULE_stringLiteral = 202;
|
|
754
|
-
static readonly RULE_decimalLiteral = 203;
|
|
755
|
-
static readonly RULE_booleanLiteral = 204;
|
|
756
|
-
static readonly RULE_setQuantifier = 205;
|
|
757
|
-
static readonly RULE_timePointUnit = 206;
|
|
758
|
-
static readonly RULE_timeIntervalUnit = 207;
|
|
759
|
-
static readonly RULE_reservedKeywordsUsedAsFuncParam = 208;
|
|
760
|
-
static readonly RULE_reservedKeywordsNoParamsUsedAsFuncName = 209;
|
|
761
|
-
static readonly RULE_reservedKeywordsFollowParamsUsedAsFuncName = 210;
|
|
762
|
-
static readonly RULE_reservedKeywordsUsedAsFuncName = 211;
|
|
763
|
-
static readonly RULE_nonReservedKeywords = 212;
|
|
554
|
+
static readonly RULE_ddlStatement = 3;
|
|
555
|
+
static readonly RULE_dmlStatement = 4;
|
|
556
|
+
static readonly RULE_describeStatement = 5;
|
|
557
|
+
static readonly RULE_explainStatement = 6;
|
|
558
|
+
static readonly RULE_explainDetails = 7;
|
|
559
|
+
static readonly RULE_explainDetail = 8;
|
|
560
|
+
static readonly RULE_useStatement = 9;
|
|
561
|
+
static readonly RULE_useModuleStatement = 10;
|
|
562
|
+
static readonly RULE_showStatement = 11;
|
|
563
|
+
static readonly RULE_loadStatement = 12;
|
|
564
|
+
static readonly RULE_unloadStatement = 13;
|
|
565
|
+
static readonly RULE_setStatement = 14;
|
|
566
|
+
static readonly RULE_resetStatement = 15;
|
|
567
|
+
static readonly RULE_jarStatement = 16;
|
|
568
|
+
static readonly RULE_dtAddStatement = 17;
|
|
569
|
+
static readonly RULE_dtFilePath = 18;
|
|
570
|
+
static readonly RULE_createTable = 19;
|
|
571
|
+
static readonly RULE_simpleCreateTable = 20;
|
|
572
|
+
static readonly RULE_createTableAsSelect = 21;
|
|
573
|
+
static readonly RULE_columnOptionDefinition = 22;
|
|
574
|
+
static readonly RULE_physicalColumnDefinition = 23;
|
|
575
|
+
static readonly RULE_columnNameCreate = 24;
|
|
576
|
+
static readonly RULE_emptyColumn = 25;
|
|
577
|
+
static readonly RULE_columnName = 26;
|
|
578
|
+
static readonly RULE_columnNamePath = 27;
|
|
579
|
+
static readonly RULE_columnNamePathAllowEmpty = 28;
|
|
580
|
+
static readonly RULE_columnNameList = 29;
|
|
581
|
+
static readonly RULE_columnType = 30;
|
|
582
|
+
static readonly RULE_lengthOneDimension = 31;
|
|
583
|
+
static readonly RULE_lengthTwoOptionalDimension = 32;
|
|
584
|
+
static readonly RULE_lengthTwoStringDimension = 33;
|
|
585
|
+
static readonly RULE_lengthOneTypeDimension = 34;
|
|
586
|
+
static readonly RULE_mapTypeDimension = 35;
|
|
587
|
+
static readonly RULE_rowTypeDimension = 36;
|
|
588
|
+
static readonly RULE_columnConstraint = 37;
|
|
589
|
+
static readonly RULE_metadataColumnDefinition = 38;
|
|
590
|
+
static readonly RULE_computedColumnDefinition = 39;
|
|
591
|
+
static readonly RULE_watermarkDefinition = 40;
|
|
592
|
+
static readonly RULE_tableConstraint = 41;
|
|
593
|
+
static readonly RULE_constraintName = 42;
|
|
594
|
+
static readonly RULE_selfDefinitionClause = 43;
|
|
595
|
+
static readonly RULE_transform = 44;
|
|
596
|
+
static readonly RULE_transformArgument = 45;
|
|
597
|
+
static readonly RULE_likeDefinition = 46;
|
|
598
|
+
static readonly RULE_likeOption = 47;
|
|
599
|
+
static readonly RULE_createCatalog = 48;
|
|
600
|
+
static readonly RULE_createDatabase = 49;
|
|
601
|
+
static readonly RULE_createView = 50;
|
|
602
|
+
static readonly RULE_createFunction = 51;
|
|
603
|
+
static readonly RULE_usingClause = 52;
|
|
604
|
+
static readonly RULE_alterTable = 53;
|
|
605
|
+
static readonly RULE_renameDefinition = 54;
|
|
606
|
+
static readonly RULE_setKeyValueDefinition = 55;
|
|
607
|
+
static readonly RULE_addConstraint = 56;
|
|
608
|
+
static readonly RULE_dropConstraint = 57;
|
|
609
|
+
static readonly RULE_addUnique = 58;
|
|
610
|
+
static readonly RULE_alterView = 59;
|
|
611
|
+
static readonly RULE_alterDatabase = 60;
|
|
612
|
+
static readonly RULE_alterFunction = 61;
|
|
613
|
+
static readonly RULE_dropCatalog = 62;
|
|
614
|
+
static readonly RULE_dropTable = 63;
|
|
615
|
+
static readonly RULE_dropDatabase = 64;
|
|
616
|
+
static readonly RULE_dropView = 65;
|
|
617
|
+
static readonly RULE_dropFunction = 66;
|
|
618
|
+
static readonly RULE_insertStatement = 67;
|
|
619
|
+
static readonly RULE_insertSimpleStatement = 68;
|
|
620
|
+
static readonly RULE_valuesDefinition = 69;
|
|
621
|
+
static readonly RULE_valuesRowDefinition = 70;
|
|
622
|
+
static readonly RULE_valueDefinition = 71;
|
|
623
|
+
static readonly RULE_insertMulStatementCompatibility = 72;
|
|
624
|
+
static readonly RULE_insertMulStatement = 73;
|
|
625
|
+
static readonly RULE_queryStatement = 74;
|
|
626
|
+
static readonly RULE_valuesClause = 75;
|
|
627
|
+
static readonly RULE_withClause = 76;
|
|
628
|
+
static readonly RULE_withItem = 77;
|
|
629
|
+
static readonly RULE_selectStatement = 78;
|
|
630
|
+
static readonly RULE_selectClause = 79;
|
|
631
|
+
static readonly RULE_selectList = 80;
|
|
632
|
+
static readonly RULE_columnProjectItem = 81;
|
|
633
|
+
static readonly RULE_selectWindowItemColumnName = 82;
|
|
634
|
+
static readonly RULE_selectExpressionColumnName = 83;
|
|
635
|
+
static readonly RULE_selectLiteralColumnName = 84;
|
|
636
|
+
static readonly RULE_columnAlias = 85;
|
|
637
|
+
static readonly RULE_projectItemDefinition = 86;
|
|
638
|
+
static readonly RULE_tableAllColumns = 87;
|
|
639
|
+
static readonly RULE_overWindowItem = 88;
|
|
640
|
+
static readonly RULE_fromClause = 89;
|
|
641
|
+
static readonly RULE_tableExpression = 90;
|
|
642
|
+
static readonly RULE_tableReference = 91;
|
|
643
|
+
static readonly RULE_tablePrimary = 92;
|
|
644
|
+
static readonly RULE_atomFunctionTable = 93;
|
|
645
|
+
static readonly RULE_atomExpressionTable = 94;
|
|
646
|
+
static readonly RULE_systemTimePeriod = 95;
|
|
647
|
+
static readonly RULE_inlineDataValueClause = 96;
|
|
648
|
+
static readonly RULE_windowTVFClause = 97;
|
|
649
|
+
static readonly RULE_windowTVFExpression = 98;
|
|
650
|
+
static readonly RULE_windowTVFName = 99;
|
|
651
|
+
static readonly RULE_windowTVFParam = 100;
|
|
652
|
+
static readonly RULE_timeIntervalParamName = 101;
|
|
653
|
+
static readonly RULE_columnDescriptor = 102;
|
|
654
|
+
static readonly RULE_joinCondition = 103;
|
|
655
|
+
static readonly RULE_whereClause = 104;
|
|
656
|
+
static readonly RULE_groupByClause = 105;
|
|
657
|
+
static readonly RULE_groupItemDefinition = 106;
|
|
658
|
+
static readonly RULE_groupWindowFunction = 107;
|
|
659
|
+
static readonly RULE_groupWindowFunctionName = 108;
|
|
660
|
+
static readonly RULE_havingClause = 109;
|
|
661
|
+
static readonly RULE_windowClause = 110;
|
|
662
|
+
static readonly RULE_namedWindow = 111;
|
|
663
|
+
static readonly RULE_windowSpec = 112;
|
|
664
|
+
static readonly RULE_matchRecognizeClause = 113;
|
|
665
|
+
static readonly RULE_orderByClause = 114;
|
|
666
|
+
static readonly RULE_orderItemDefinition = 115;
|
|
667
|
+
static readonly RULE_limitClause = 116;
|
|
668
|
+
static readonly RULE_partitionByClause = 117;
|
|
669
|
+
static readonly RULE_quantifiers = 118;
|
|
670
|
+
static readonly RULE_measuresClause = 119;
|
|
671
|
+
static readonly RULE_patternDefinition = 120;
|
|
672
|
+
static readonly RULE_patternVariable = 121;
|
|
673
|
+
static readonly RULE_outputMode = 122;
|
|
674
|
+
static readonly RULE_afterMatchStrategy = 123;
|
|
675
|
+
static readonly RULE_patternVariablesDefinition = 124;
|
|
676
|
+
static readonly RULE_windowFrame = 125;
|
|
677
|
+
static readonly RULE_frameBound = 126;
|
|
678
|
+
static readonly RULE_frameStart = 127;
|
|
679
|
+
static readonly RULE_frameEnd = 128;
|
|
680
|
+
static readonly RULE_withinClause = 129;
|
|
681
|
+
static readonly RULE_expression = 130;
|
|
682
|
+
static readonly RULE_booleanExpression = 131;
|
|
683
|
+
static readonly RULE_predicate = 132;
|
|
684
|
+
static readonly RULE_jsonFunctionBranch = 133;
|
|
685
|
+
static readonly RULE_likePredicate = 134;
|
|
686
|
+
static readonly RULE_valueExpression = 135;
|
|
687
|
+
static readonly RULE_functionCallExpression = 136;
|
|
688
|
+
static readonly RULE_primaryExpression = 137;
|
|
689
|
+
static readonly RULE_functionNameCreate = 138;
|
|
690
|
+
static readonly RULE_functionName = 139;
|
|
691
|
+
static readonly RULE_functionNameAndParams = 140;
|
|
692
|
+
static readonly RULE_functionNameWithParams = 141;
|
|
693
|
+
static readonly RULE_functionParam = 142;
|
|
694
|
+
static readonly RULE_jsonValueParams = 143;
|
|
695
|
+
static readonly RULE_jsonQueryParams = 144;
|
|
696
|
+
static readonly RULE_jsonObjectParams = 145;
|
|
697
|
+
static readonly RULE_jsonArrayParams = 146;
|
|
698
|
+
static readonly RULE_dereferenceDefinition = 147;
|
|
699
|
+
static readonly RULE_qualifiedName = 148;
|
|
700
|
+
static readonly RULE_timeIntervalExpression = 149;
|
|
701
|
+
static readonly RULE_errorCapturingMultiUnitsInterval = 150;
|
|
702
|
+
static readonly RULE_multiUnitsInterval = 151;
|
|
703
|
+
static readonly RULE_errorCapturingUnitToUnitInterval = 152;
|
|
704
|
+
static readonly RULE_unitToUnitInterval = 153;
|
|
705
|
+
static readonly RULE_intervalValue = 154;
|
|
706
|
+
static readonly RULE_tableAlias = 155;
|
|
707
|
+
static readonly RULE_errorCapturingIdentifier = 156;
|
|
708
|
+
static readonly RULE_errorCapturingIdentifierExtra = 157;
|
|
709
|
+
static readonly RULE_identifierList = 158;
|
|
710
|
+
static readonly RULE_identifierSeq = 159;
|
|
711
|
+
static readonly RULE_identifier = 160;
|
|
712
|
+
static readonly RULE_unquotedIdentifier = 161;
|
|
713
|
+
static readonly RULE_quotedIdentifier = 162;
|
|
714
|
+
static readonly RULE_whenClause = 163;
|
|
715
|
+
static readonly RULE_catalogPath = 164;
|
|
716
|
+
static readonly RULE_catalogPathCreate = 165;
|
|
717
|
+
static readonly RULE_databasePath = 166;
|
|
718
|
+
static readonly RULE_databasePathCreate = 167;
|
|
719
|
+
static readonly RULE_tablePathCreate = 168;
|
|
720
|
+
static readonly RULE_tablePath = 169;
|
|
721
|
+
static readonly RULE_viewPath = 170;
|
|
722
|
+
static readonly RULE_viewPathCreate = 171;
|
|
723
|
+
static readonly RULE_uid = 172;
|
|
724
|
+
static readonly RULE_uidAllowEmpty = 173;
|
|
725
|
+
static readonly RULE_withOption = 174;
|
|
726
|
+
static readonly RULE_ifNotExists = 175;
|
|
727
|
+
static readonly RULE_ifExists = 176;
|
|
728
|
+
static readonly RULE_tablePropertyList = 177;
|
|
729
|
+
static readonly RULE_tableProperty = 178;
|
|
730
|
+
static readonly RULE_tablePropertyKey = 179;
|
|
731
|
+
static readonly RULE_tablePropertyValue = 180;
|
|
732
|
+
static readonly RULE_logicalOperator = 181;
|
|
733
|
+
static readonly RULE_comparisonOperator = 182;
|
|
734
|
+
static readonly RULE_bitOperator = 183;
|
|
735
|
+
static readonly RULE_mathOperator = 184;
|
|
736
|
+
static readonly RULE_unaryOperator = 185;
|
|
737
|
+
static readonly RULE_constant = 186;
|
|
738
|
+
static readonly RULE_timePointLiteral = 187;
|
|
739
|
+
static readonly RULE_stringLiteral = 188;
|
|
740
|
+
static readonly RULE_decimalLiteral = 189;
|
|
741
|
+
static readonly RULE_booleanLiteral = 190;
|
|
742
|
+
static readonly RULE_setQuantifier = 191;
|
|
743
|
+
static readonly RULE_timePointUnit = 192;
|
|
744
|
+
static readonly RULE_timeIntervalUnit = 193;
|
|
745
|
+
static readonly RULE_reservedKeywordsUsedAsFuncParam = 194;
|
|
746
|
+
static readonly RULE_reservedKeywordsNoParamsUsedAsFuncName = 195;
|
|
747
|
+
static readonly RULE_reservedKeywordsFollowParamsUsedAsFuncName = 196;
|
|
748
|
+
static readonly RULE_reservedKeywordsUsedAsFuncName = 197;
|
|
749
|
+
static readonly RULE_nonReservedKeywords = 198;
|
|
764
750
|
static readonly literalNames: (string | null)[];
|
|
765
751
|
static readonly symbolicNames: (string | null)[];
|
|
766
752
|
static readonly ruleNames: string[];
|
|
@@ -774,7 +760,6 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
774
760
|
program(): ProgramContext;
|
|
775
761
|
singleStatement(): SingleStatementContext;
|
|
776
762
|
sqlStatement(): SqlStatementContext;
|
|
777
|
-
emptyStatement(): EmptyStatementContext;
|
|
778
763
|
ddlStatement(): DdlStatementContext;
|
|
779
764
|
dmlStatement(): DmlStatementContext;
|
|
780
765
|
describeStatement(): DescribeStatementContext;
|
|
@@ -811,15 +796,11 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
811
796
|
rowTypeDimension(): RowTypeDimensionContext;
|
|
812
797
|
columnConstraint(): ColumnConstraintContext;
|
|
813
798
|
metadataColumnDefinition(): MetadataColumnDefinitionContext;
|
|
814
|
-
metadataKey(): MetadataKeyContext;
|
|
815
799
|
computedColumnDefinition(): ComputedColumnDefinitionContext;
|
|
816
|
-
computedColumnExpression(): ComputedColumnExpressionContext;
|
|
817
800
|
watermarkDefinition(): WatermarkDefinitionContext;
|
|
818
801
|
tableConstraint(): TableConstraintContext;
|
|
819
802
|
constraintName(): ConstraintNameContext;
|
|
820
803
|
selfDefinitionClause(): SelfDefinitionClauseContext;
|
|
821
|
-
partitionDefinition(): PartitionDefinitionContext;
|
|
822
|
-
transformList(): TransformListContext;
|
|
823
804
|
transform(): TransformContext;
|
|
824
805
|
transformArgument(): TransformArgumentContext;
|
|
825
806
|
likeDefinition(): LikeDefinitionContext;
|
|
@@ -829,14 +810,12 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
829
810
|
createView(): CreateViewContext;
|
|
830
811
|
createFunction(): CreateFunctionContext;
|
|
831
812
|
usingClause(): UsingClauseContext;
|
|
832
|
-
jarFileName(): JarFileNameContext;
|
|
833
813
|
alterTable(): AlterTableContext;
|
|
834
814
|
renameDefinition(): RenameDefinitionContext;
|
|
835
815
|
setKeyValueDefinition(): SetKeyValueDefinitionContext;
|
|
836
816
|
addConstraint(): AddConstraintContext;
|
|
837
817
|
dropConstraint(): DropConstraintContext;
|
|
838
818
|
addUnique(): AddUniqueContext;
|
|
839
|
-
notForced(): NotForcedContext;
|
|
840
819
|
alterView(): AlterViewContext;
|
|
841
820
|
alterDatabase(): AlterDatabaseContext;
|
|
842
821
|
alterFunction(): AlterFunctionContext;
|
|
@@ -847,7 +826,6 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
847
826
|
dropFunction(): DropFunctionContext;
|
|
848
827
|
insertStatement(): InsertStatementContext;
|
|
849
828
|
insertSimpleStatement(): InsertSimpleStatementContext;
|
|
850
|
-
insertPartitionDefinition(): InsertPartitionDefinitionContext;
|
|
851
829
|
valuesDefinition(): ValuesDefinitionContext;
|
|
852
830
|
valuesRowDefinition(): ValuesRowDefinitionContext;
|
|
853
831
|
valueDefinition(): ValueDefinitionContext;
|
|
@@ -858,7 +836,6 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
858
836
|
valuesClause(): ValuesClauseContext;
|
|
859
837
|
withClause(): WithClauseContext;
|
|
860
838
|
withItem(): WithItemContext;
|
|
861
|
-
withItemName(): WithItemNameContext;
|
|
862
839
|
selectStatement(): SelectStatementContext;
|
|
863
840
|
selectClause(): SelectClauseContext;
|
|
864
841
|
selectList(): SelectListContext;
|
|
@@ -878,7 +855,6 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
878
855
|
atomFunctionTable(): AtomFunctionTableContext;
|
|
879
856
|
atomExpressionTable(): AtomExpressionTableContext;
|
|
880
857
|
systemTimePeriod(): SystemTimePeriodContext;
|
|
881
|
-
dateTimeExpression(): DateTimeExpressionContext;
|
|
882
858
|
inlineDataValueClause(): InlineDataValueClauseContext;
|
|
883
859
|
windowTVFClause(): WindowTVFClauseContext;
|
|
884
860
|
windowTVFExpression(): WindowTVFExpressionContext;
|
|
@@ -890,11 +866,8 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
890
866
|
whereClause(): WhereClauseContext;
|
|
891
867
|
groupByClause(): GroupByClauseContext;
|
|
892
868
|
groupItemDefinition(): GroupItemDefinitionContext;
|
|
893
|
-
groupingSets(): GroupingSetsContext;
|
|
894
|
-
groupingSetsNotationName(): GroupingSetsNotationNameContext;
|
|
895
869
|
groupWindowFunction(): GroupWindowFunctionContext;
|
|
896
870
|
groupWindowFunctionName(): GroupWindowFunctionNameContext;
|
|
897
|
-
timeAttrColumn(): TimeAttrColumnContext;
|
|
898
871
|
havingClause(): HavingClauseContext;
|
|
899
872
|
windowClause(): WindowClauseContext;
|
|
900
873
|
namedWindow(): NamedWindowContext;
|
|
@@ -937,7 +910,6 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
937
910
|
jsonObjectParams(): JsonObjectParamsContext;
|
|
938
911
|
jsonArrayParams(): JsonArrayParamsContext;
|
|
939
912
|
dereferenceDefinition(): DereferenceDefinitionContext;
|
|
940
|
-
correlationName(): CorrelationNameContext;
|
|
941
913
|
qualifiedName(): QualifiedNameContext;
|
|
942
914
|
timeIntervalExpression(): TimeIntervalExpressionContext;
|
|
943
915
|
errorCapturingMultiUnitsInterval(): ErrorCapturingMultiUnitsIntervalContext;
|
|
@@ -1020,7 +992,6 @@ export declare class SingleStatementContext extends antlr.ParserRuleContext {
|
|
|
1020
992
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1021
993
|
sqlStatement(): SqlStatementContext | null;
|
|
1022
994
|
SEMICOLON(): antlr.TerminalNode | null;
|
|
1023
|
-
emptyStatement(): EmptyStatementContext | null;
|
|
1024
995
|
get ruleIndex(): number;
|
|
1025
996
|
enterRule(listener: FlinkSqlParserListener): void;
|
|
1026
997
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
@@ -1045,14 +1016,6 @@ export declare class SqlStatementContext extends antlr.ParserRuleContext {
|
|
|
1045
1016
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
1046
1017
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1047
1018
|
}
|
|
1048
|
-
export declare class EmptyStatementContext extends antlr.ParserRuleContext {
|
|
1049
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1050
|
-
SEMICOLON(): antlr.TerminalNode;
|
|
1051
|
-
get ruleIndex(): number;
|
|
1052
|
-
enterRule(listener: FlinkSqlParserListener): void;
|
|
1053
|
-
exitRule(listener: FlinkSqlParserListener): void;
|
|
1054
|
-
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1055
|
-
}
|
|
1056
1019
|
export declare class DdlStatementContext extends antlr.ParserRuleContext {
|
|
1057
1020
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1058
1021
|
createTable(): CreateTableContext | null;
|
|
@@ -1226,7 +1189,7 @@ export declare class ResetStatementContext extends antlr.ParserRuleContext {
|
|
|
1226
1189
|
export declare class JarStatementContext extends antlr.ParserRuleContext {
|
|
1227
1190
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1228
1191
|
KW_JAR(): antlr.TerminalNode;
|
|
1229
|
-
|
|
1192
|
+
STRING_LITERAL(): antlr.TerminalNode;
|
|
1230
1193
|
KW_ADD(): antlr.TerminalNode | null;
|
|
1231
1194
|
KW_REMOVE(): antlr.TerminalNode | null;
|
|
1232
1195
|
get ruleIndex(): number;
|
|
@@ -1286,10 +1249,12 @@ export declare class SimpleCreateTableContext extends antlr.ParserRuleContext {
|
|
|
1286
1249
|
KW_CREATE(): antlr.TerminalNode;
|
|
1287
1250
|
KW_TABLE(): antlr.TerminalNode;
|
|
1288
1251
|
tablePathCreate(): TablePathCreateContext;
|
|
1289
|
-
LR_BRACKET(): antlr.TerminalNode;
|
|
1252
|
+
LR_BRACKET(): antlr.TerminalNode[];
|
|
1253
|
+
LR_BRACKET(i: number): antlr.TerminalNode | null;
|
|
1290
1254
|
columnOptionDefinition(): ColumnOptionDefinitionContext[];
|
|
1291
1255
|
columnOptionDefinition(i: number): ColumnOptionDefinitionContext | null;
|
|
1292
|
-
RR_BRACKET(): antlr.TerminalNode;
|
|
1256
|
+
RR_BRACKET(): antlr.TerminalNode[];
|
|
1257
|
+
RR_BRACKET(i: number): antlr.TerminalNode | null;
|
|
1293
1258
|
withOption(): WithOptionContext;
|
|
1294
1259
|
KW_TEMPORARY(): antlr.TerminalNode | null;
|
|
1295
1260
|
ifNotExists(): IfNotExistsContext | null;
|
|
@@ -1299,7 +1264,10 @@ export declare class SimpleCreateTableContext extends antlr.ParserRuleContext {
|
|
|
1299
1264
|
tableConstraint(): TableConstraintContext | null;
|
|
1300
1265
|
selfDefinitionClause(): SelfDefinitionClauseContext | null;
|
|
1301
1266
|
KW_COMMENT(): antlr.TerminalNode | null;
|
|
1302
|
-
|
|
1267
|
+
KW_PARTITIONED(): antlr.TerminalNode | null;
|
|
1268
|
+
KW_BY(): antlr.TerminalNode | null;
|
|
1269
|
+
transform(): TransformContext[];
|
|
1270
|
+
transform(i: number): TransformContext | null;
|
|
1303
1271
|
likeDefinition(): LikeDefinitionContext | null;
|
|
1304
1272
|
STRING_LITERAL(): antlr.TerminalNode | null;
|
|
1305
1273
|
get ruleIndex(): number;
|
|
@@ -1538,27 +1506,19 @@ export declare class MetadataColumnDefinitionContext extends antlr.ParserRuleCon
|
|
|
1538
1506
|
columnType(): ColumnTypeContext;
|
|
1539
1507
|
KW_METADATA(): antlr.TerminalNode;
|
|
1540
1508
|
KW_FROM(): antlr.TerminalNode | null;
|
|
1541
|
-
|
|
1509
|
+
STRING_LITERAL(): antlr.TerminalNode | null;
|
|
1542
1510
|
KW_VIRTUAL(): antlr.TerminalNode | null;
|
|
1543
1511
|
get ruleIndex(): number;
|
|
1544
1512
|
enterRule(listener: FlinkSqlParserListener): void;
|
|
1545
1513
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
1546
1514
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1547
1515
|
}
|
|
1548
|
-
export declare class MetadataKeyContext extends antlr.ParserRuleContext {
|
|
1549
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1550
|
-
STRING_LITERAL(): antlr.TerminalNode;
|
|
1551
|
-
get ruleIndex(): number;
|
|
1552
|
-
enterRule(listener: FlinkSqlParserListener): void;
|
|
1553
|
-
exitRule(listener: FlinkSqlParserListener): void;
|
|
1554
|
-
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1555
|
-
}
|
|
1556
1516
|
export declare class ComputedColumnDefinitionContext extends antlr.ParserRuleContext {
|
|
1557
1517
|
_comment?: Token | null;
|
|
1558
1518
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1559
1519
|
columnNameCreate(): ColumnNameCreateContext;
|
|
1560
1520
|
KW_AS(): antlr.TerminalNode;
|
|
1561
|
-
|
|
1521
|
+
expression(): ExpressionContext;
|
|
1562
1522
|
KW_COMMENT(): antlr.TerminalNode | null;
|
|
1563
1523
|
STRING_LITERAL(): antlr.TerminalNode | null;
|
|
1564
1524
|
get ruleIndex(): number;
|
|
@@ -1566,14 +1526,6 @@ export declare class ComputedColumnDefinitionContext extends antlr.ParserRuleCon
|
|
|
1566
1526
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
1567
1527
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1568
1528
|
}
|
|
1569
|
-
export declare class ComputedColumnExpressionContext extends antlr.ParserRuleContext {
|
|
1570
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1571
|
-
expression(): ExpressionContext;
|
|
1572
|
-
get ruleIndex(): number;
|
|
1573
|
-
enterRule(listener: FlinkSqlParserListener): void;
|
|
1574
|
-
exitRule(listener: FlinkSqlParserListener): void;
|
|
1575
|
-
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1576
|
-
}
|
|
1577
1529
|
export declare class WatermarkDefinitionContext extends antlr.ParserRuleContext {
|
|
1578
1530
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1579
1531
|
KW_WATERMARK(): antlr.TerminalNode;
|
|
@@ -1618,29 +1570,6 @@ export declare class SelfDefinitionClauseContext extends antlr.ParserRuleContext
|
|
|
1618
1570
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
1619
1571
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1620
1572
|
}
|
|
1621
|
-
export declare class PartitionDefinitionContext extends antlr.ParserRuleContext {
|
|
1622
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1623
|
-
KW_PARTITIONED(): antlr.TerminalNode;
|
|
1624
|
-
KW_BY(): antlr.TerminalNode;
|
|
1625
|
-
transformList(): TransformListContext;
|
|
1626
|
-
get ruleIndex(): number;
|
|
1627
|
-
enterRule(listener: FlinkSqlParserListener): void;
|
|
1628
|
-
exitRule(listener: FlinkSqlParserListener): void;
|
|
1629
|
-
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1630
|
-
}
|
|
1631
|
-
export declare class TransformListContext extends antlr.ParserRuleContext {
|
|
1632
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1633
|
-
LR_BRACKET(): antlr.TerminalNode;
|
|
1634
|
-
transform(): TransformContext[];
|
|
1635
|
-
transform(i: number): TransformContext | null;
|
|
1636
|
-
RR_BRACKET(): antlr.TerminalNode;
|
|
1637
|
-
COMMA(): antlr.TerminalNode[];
|
|
1638
|
-
COMMA(i: number): antlr.TerminalNode | null;
|
|
1639
|
-
get ruleIndex(): number;
|
|
1640
|
-
enterRule(listener: FlinkSqlParserListener): void;
|
|
1641
|
-
exitRule(listener: FlinkSqlParserListener): void;
|
|
1642
|
-
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1643
|
-
}
|
|
1644
1573
|
export declare class TransformContext extends antlr.ParserRuleContext {
|
|
1645
1574
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1646
1575
|
get ruleIndex(): number;
|
|
@@ -1772,8 +1701,8 @@ export declare class UsingClauseContext extends antlr.ParserRuleContext {
|
|
|
1772
1701
|
KW_USING(): antlr.TerminalNode;
|
|
1773
1702
|
KW_JAR(): antlr.TerminalNode[];
|
|
1774
1703
|
KW_JAR(i: number): antlr.TerminalNode | null;
|
|
1775
|
-
|
|
1776
|
-
|
|
1704
|
+
STRING_LITERAL(): antlr.TerminalNode[];
|
|
1705
|
+
STRING_LITERAL(i: number): antlr.TerminalNode | null;
|
|
1777
1706
|
COMMA(): antlr.TerminalNode[];
|
|
1778
1707
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
1779
1708
|
get ruleIndex(): number;
|
|
@@ -1781,14 +1710,6 @@ export declare class UsingClauseContext extends antlr.ParserRuleContext {
|
|
|
1781
1710
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
1782
1711
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1783
1712
|
}
|
|
1784
|
-
export declare class JarFileNameContext extends antlr.ParserRuleContext {
|
|
1785
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1786
|
-
STRING_LITERAL(): antlr.TerminalNode;
|
|
1787
|
-
get ruleIndex(): number;
|
|
1788
|
-
enterRule(listener: FlinkSqlParserListener): void;
|
|
1789
|
-
exitRule(listener: FlinkSqlParserListener): void;
|
|
1790
|
-
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1791
|
-
}
|
|
1792
1713
|
export declare class AlterTableContext extends antlr.ParserRuleContext {
|
|
1793
1714
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1794
1715
|
KW_ALTER(): antlr.TerminalNode;
|
|
@@ -1833,7 +1754,8 @@ export declare class AddConstraintContext extends antlr.ParserRuleContext {
|
|
|
1833
1754
|
KW_PRIMARY(): antlr.TerminalNode;
|
|
1834
1755
|
KW_KEY(): antlr.TerminalNode;
|
|
1835
1756
|
columnNameList(): ColumnNameListContext;
|
|
1836
|
-
|
|
1757
|
+
KW_NOT(): antlr.TerminalNode | null;
|
|
1758
|
+
KW_ENFORCED(): antlr.TerminalNode | null;
|
|
1837
1759
|
get ruleIndex(): number;
|
|
1838
1760
|
enterRule(listener: FlinkSqlParserListener): void;
|
|
1839
1761
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
@@ -1859,15 +1781,6 @@ export declare class AddUniqueContext extends antlr.ParserRuleContext {
|
|
|
1859
1781
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
1860
1782
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1861
1783
|
}
|
|
1862
|
-
export declare class NotForcedContext extends antlr.ParserRuleContext {
|
|
1863
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1864
|
-
KW_NOT(): antlr.TerminalNode;
|
|
1865
|
-
KW_ENFORCED(): antlr.TerminalNode;
|
|
1866
|
-
get ruleIndex(): number;
|
|
1867
|
-
enterRule(listener: FlinkSqlParserListener): void;
|
|
1868
|
-
exitRule(listener: FlinkSqlParserListener): void;
|
|
1869
|
-
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1870
|
-
}
|
|
1871
1784
|
export declare class AlterViewContext extends antlr.ParserRuleContext {
|
|
1872
1785
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1873
1786
|
KW_ALTER(): antlr.TerminalNode;
|
|
@@ -1992,22 +1905,14 @@ export declare class InsertSimpleStatementContext extends antlr.ParserRuleContex
|
|
|
1992
1905
|
KW_OVERWRITE(): antlr.TerminalNode | null;
|
|
1993
1906
|
queryStatement(): QueryStatementContext | null;
|
|
1994
1907
|
valuesDefinition(): ValuesDefinitionContext | null;
|
|
1995
|
-
|
|
1908
|
+
KW_PARTITION(): antlr.TerminalNode | null;
|
|
1909
|
+
tablePropertyList(): TablePropertyListContext | null;
|
|
1996
1910
|
columnNameList(): ColumnNameListContext | null;
|
|
1997
1911
|
get ruleIndex(): number;
|
|
1998
1912
|
enterRule(listener: FlinkSqlParserListener): void;
|
|
1999
1913
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2000
1914
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2001
1915
|
}
|
|
2002
|
-
export declare class InsertPartitionDefinitionContext extends antlr.ParserRuleContext {
|
|
2003
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2004
|
-
KW_PARTITION(): antlr.TerminalNode;
|
|
2005
|
-
tablePropertyList(): TablePropertyListContext;
|
|
2006
|
-
get ruleIndex(): number;
|
|
2007
|
-
enterRule(listener: FlinkSqlParserListener): void;
|
|
2008
|
-
exitRule(listener: FlinkSqlParserListener): void;
|
|
2009
|
-
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2010
|
-
}
|
|
2011
1916
|
export declare class ValuesDefinitionContext extends antlr.ParserRuleContext {
|
|
2012
1917
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2013
1918
|
KW_VALUES(): antlr.TerminalNode;
|
|
@@ -2122,7 +2027,7 @@ export declare class WithClauseContext extends antlr.ParserRuleContext {
|
|
|
2122
2027
|
}
|
|
2123
2028
|
export declare class WithItemContext extends antlr.ParserRuleContext {
|
|
2124
2029
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2125
|
-
|
|
2030
|
+
identifier(): IdentifierContext;
|
|
2126
2031
|
KW_AS(): antlr.TerminalNode;
|
|
2127
2032
|
LR_BRACKET(): antlr.TerminalNode[];
|
|
2128
2033
|
LR_BRACKET(i: number): antlr.TerminalNode | null;
|
|
@@ -2138,14 +2043,6 @@ export declare class WithItemContext extends antlr.ParserRuleContext {
|
|
|
2138
2043
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2139
2044
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2140
2045
|
}
|
|
2141
|
-
export declare class WithItemNameContext extends antlr.ParserRuleContext {
|
|
2142
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2143
|
-
identifier(): IdentifierContext;
|
|
2144
|
-
get ruleIndex(): number;
|
|
2145
|
-
enterRule(listener: FlinkSqlParserListener): void;
|
|
2146
|
-
exitRule(listener: FlinkSqlParserListener): void;
|
|
2147
|
-
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2148
|
-
}
|
|
2149
2046
|
export declare class SelectStatementContext extends antlr.ParserRuleContext {
|
|
2150
2047
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2151
2048
|
selectClause(): SelectClauseContext;
|
|
@@ -2354,14 +2251,6 @@ export declare class SystemTimePeriodContext extends antlr.ParserRuleContext {
|
|
|
2354
2251
|
KW_SYSTEM_TIME(): antlr.TerminalNode;
|
|
2355
2252
|
KW_AS(): antlr.TerminalNode;
|
|
2356
2253
|
KW_OF(): antlr.TerminalNode;
|
|
2357
|
-
dateTimeExpression(): DateTimeExpressionContext;
|
|
2358
|
-
get ruleIndex(): number;
|
|
2359
|
-
enterRule(listener: FlinkSqlParserListener): void;
|
|
2360
|
-
exitRule(listener: FlinkSqlParserListener): void;
|
|
2361
|
-
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2362
|
-
}
|
|
2363
|
-
export declare class DateTimeExpressionContext extends antlr.ParserRuleContext {
|
|
2364
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2365
2254
|
expression(): ExpressionContext;
|
|
2366
2255
|
get ruleIndex(): number;
|
|
2367
2256
|
enterRule(listener: FlinkSqlParserListener): void;
|
|
@@ -2417,7 +2306,7 @@ export declare class WindowTVFNameContext extends antlr.ParserRuleContext {
|
|
|
2417
2306
|
export declare class WindowTVFParamContext extends antlr.ParserRuleContext {
|
|
2418
2307
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2419
2308
|
KW_TABLE(): antlr.TerminalNode | null;
|
|
2420
|
-
|
|
2309
|
+
uid(): UidContext | null;
|
|
2421
2310
|
columnDescriptor(): ColumnDescriptorContext | null;
|
|
2422
2311
|
timeIntervalExpression(): TimeIntervalExpressionContext | null;
|
|
2423
2312
|
KW_DATA(): antlr.TerminalNode | null;
|
|
@@ -2500,28 +2389,12 @@ export declare class GroupItemDefinitionContext extends antlr.ParserRuleContext
|
|
|
2500
2389
|
expression(i: number): ExpressionContext | null;
|
|
2501
2390
|
COMMA(): antlr.TerminalNode[];
|
|
2502
2391
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
2503
|
-
groupingSetsNotationName(): GroupingSetsNotationNameContext | null;
|
|
2504
|
-
groupingSets(): GroupingSetsContext | null;
|
|
2505
|
-
groupItemDefinition(): GroupItemDefinitionContext[];
|
|
2506
|
-
groupItemDefinition(i: number): GroupItemDefinitionContext | null;
|
|
2507
|
-
get ruleIndex(): number;
|
|
2508
|
-
enterRule(listener: FlinkSqlParserListener): void;
|
|
2509
|
-
exitRule(listener: FlinkSqlParserListener): void;
|
|
2510
|
-
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2511
|
-
}
|
|
2512
|
-
export declare class GroupingSetsContext extends antlr.ParserRuleContext {
|
|
2513
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2514
|
-
KW_GROUPING(): antlr.TerminalNode;
|
|
2515
|
-
KW_SETS(): antlr.TerminalNode;
|
|
2516
|
-
get ruleIndex(): number;
|
|
2517
|
-
enterRule(listener: FlinkSqlParserListener): void;
|
|
2518
|
-
exitRule(listener: FlinkSqlParserListener): void;
|
|
2519
|
-
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2520
|
-
}
|
|
2521
|
-
export declare class GroupingSetsNotationNameContext extends antlr.ParserRuleContext {
|
|
2522
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2523
2392
|
KW_CUBE(): antlr.TerminalNode | null;
|
|
2524
2393
|
KW_ROLLUP(): antlr.TerminalNode | null;
|
|
2394
|
+
KW_GROUPING(): antlr.TerminalNode | null;
|
|
2395
|
+
KW_SETS(): antlr.TerminalNode | null;
|
|
2396
|
+
groupItemDefinition(): GroupItemDefinitionContext[];
|
|
2397
|
+
groupItemDefinition(i: number): GroupItemDefinitionContext | null;
|
|
2525
2398
|
get ruleIndex(): number;
|
|
2526
2399
|
enterRule(listener: FlinkSqlParserListener): void;
|
|
2527
2400
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
@@ -2531,7 +2404,7 @@ export declare class GroupWindowFunctionContext extends antlr.ParserRuleContext
|
|
|
2531
2404
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2532
2405
|
groupWindowFunctionName(): GroupWindowFunctionNameContext;
|
|
2533
2406
|
LR_BRACKET(): antlr.TerminalNode;
|
|
2534
|
-
|
|
2407
|
+
uid(): UidContext;
|
|
2535
2408
|
COMMA(): antlr.TerminalNode;
|
|
2536
2409
|
timeIntervalExpression(): TimeIntervalExpressionContext;
|
|
2537
2410
|
RR_BRACKET(): antlr.TerminalNode;
|
|
@@ -2550,14 +2423,6 @@ export declare class GroupWindowFunctionNameContext extends antlr.ParserRuleCont
|
|
|
2550
2423
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2551
2424
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2552
2425
|
}
|
|
2553
|
-
export declare class TimeAttrColumnContext extends antlr.ParserRuleContext {
|
|
2554
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2555
|
-
uid(): UidContext;
|
|
2556
|
-
get ruleIndex(): number;
|
|
2557
|
-
enterRule(listener: FlinkSqlParserListener): void;
|
|
2558
|
-
exitRule(listener: FlinkSqlParserListener): void;
|
|
2559
|
-
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2560
|
-
}
|
|
2561
2426
|
export declare class HavingClauseContext extends antlr.ParserRuleContext {
|
|
2562
2427
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2563
2428
|
KW_HAVING(): antlr.TerminalNode;
|
|
@@ -3350,14 +3215,6 @@ export declare class DereferenceDefinitionContext extends antlr.ParserRuleContex
|
|
|
3350
3215
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
3351
3216
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
3352
3217
|
}
|
|
3353
|
-
export declare class CorrelationNameContext extends antlr.ParserRuleContext {
|
|
3354
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3355
|
-
identifier(): IdentifierContext;
|
|
3356
|
-
get ruleIndex(): number;
|
|
3357
|
-
enterRule(listener: FlinkSqlParserListener): void;
|
|
3358
|
-
exitRule(listener: FlinkSqlParserListener): void;
|
|
3359
|
-
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
3360
|
-
}
|
|
3361
3218
|
export declare class QualifiedNameContext extends antlr.ParserRuleContext {
|
|
3362
3219
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3363
3220
|
identifier(): IdentifierContext | null;
|