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
|
@@ -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;
|
|
@@ -625,7 +625,7 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
625
625
|
static readonly RULE_insertMulStatementCompatibility = 76;
|
|
626
626
|
static readonly RULE_insertMulStatement = 77;
|
|
627
627
|
static readonly RULE_queryStatement = 78;
|
|
628
|
-
static readonly
|
|
628
|
+
static readonly RULE_valuesClause = 79;
|
|
629
629
|
static readonly RULE_withClause = 80;
|
|
630
630
|
static readonly RULE_withItem = 81;
|
|
631
631
|
static readonly RULE_withItemName = 82;
|
|
@@ -640,9 +640,9 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
640
640
|
static readonly RULE_systemTimePeriod = 91;
|
|
641
641
|
static readonly RULE_dateTimeExpression = 92;
|
|
642
642
|
static readonly RULE_inlineDataValueClause = 93;
|
|
643
|
-
static readonly
|
|
644
|
-
static readonly
|
|
645
|
-
static readonly
|
|
643
|
+
static readonly RULE_windowTVFClause = 94;
|
|
644
|
+
static readonly RULE_windowTVFExpression = 95;
|
|
645
|
+
static readonly RULE_windowTVFName = 96;
|
|
646
646
|
static readonly RULE_windowTVFParam = 97;
|
|
647
647
|
static readonly RULE_timeIntervalParamName = 98;
|
|
648
648
|
static readonly RULE_columnDescriptor = 99;
|
|
@@ -651,7 +651,7 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
651
651
|
static readonly RULE_groupByClause = 102;
|
|
652
652
|
static readonly RULE_groupItemDefinition = 103;
|
|
653
653
|
static readonly RULE_groupingSets = 104;
|
|
654
|
-
static readonly
|
|
654
|
+
static readonly RULE_groupingSetsNotationName = 105;
|
|
655
655
|
static readonly RULE_groupWindowFunction = 106;
|
|
656
656
|
static readonly RULE_groupWindowFunctionName = 107;
|
|
657
657
|
static readonly RULE_timeAttrColumn = 108;
|
|
@@ -660,17 +660,17 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
660
660
|
static readonly RULE_namedWindow = 111;
|
|
661
661
|
static readonly RULE_windowSpec = 112;
|
|
662
662
|
static readonly RULE_matchRecognizeClause = 113;
|
|
663
|
-
static readonly
|
|
664
|
-
static readonly
|
|
663
|
+
static readonly RULE_orderByClause = 114;
|
|
664
|
+
static readonly RULE_orderItemDefinition = 115;
|
|
665
665
|
static readonly RULE_limitClause = 116;
|
|
666
666
|
static readonly RULE_partitionByClause = 117;
|
|
667
667
|
static readonly RULE_quantifiers = 118;
|
|
668
668
|
static readonly RULE_measuresClause = 119;
|
|
669
|
-
static readonly
|
|
669
|
+
static readonly RULE_patternDefinition = 120;
|
|
670
670
|
static readonly RULE_patternVariable = 121;
|
|
671
671
|
static readonly RULE_outputMode = 122;
|
|
672
672
|
static readonly RULE_afterMatchStrategy = 123;
|
|
673
|
-
static readonly
|
|
673
|
+
static readonly RULE_patternVariablesDefinition = 124;
|
|
674
674
|
static readonly RULE_windowFrame = 125;
|
|
675
675
|
static readonly RULE_frameBound = 126;
|
|
676
676
|
static readonly RULE_withinClause = 127;
|
|
@@ -760,12 +760,12 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
760
760
|
explainDetail(): ExplainDetailContext;
|
|
761
761
|
useStatement(): UseStatementContext;
|
|
762
762
|
useModuleStatement(): UseModuleStatementContext;
|
|
763
|
-
|
|
763
|
+
showStatement(): ShowStatementContext;
|
|
764
764
|
loadStatement(): LoadStatementContext;
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
765
|
+
unloadStatement(): UnloadStatementContext;
|
|
766
|
+
setStatement(): SetStatementContext;
|
|
767
|
+
resetStatement(): ResetStatementContext;
|
|
768
|
+
jarStatement(): JarStatementContext;
|
|
769
769
|
dtAddStatement(): DtAddStatementContext;
|
|
770
770
|
dtFilePath(): DtFilePathContext;
|
|
771
771
|
createTable(): CreateTableContext;
|
|
@@ -828,7 +828,7 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
828
828
|
insertMulStatement(): InsertMulStatementContext;
|
|
829
829
|
queryStatement(): QueryStatementContext;
|
|
830
830
|
queryStatement(_p: number): QueryStatementContext;
|
|
831
|
-
|
|
831
|
+
valuesClause(): ValuesClauseContext;
|
|
832
832
|
withClause(): WithClauseContext;
|
|
833
833
|
withItem(): WithItemContext;
|
|
834
834
|
withItemName(): WithItemNameContext;
|
|
@@ -844,9 +844,9 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
844
844
|
systemTimePeriod(): SystemTimePeriodContext;
|
|
845
845
|
dateTimeExpression(): DateTimeExpressionContext;
|
|
846
846
|
inlineDataValueClause(): InlineDataValueClauseContext;
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
847
|
+
windowTVFClause(): WindowTVFClauseContext;
|
|
848
|
+
windowTVFExpression(): WindowTVFExpressionContext;
|
|
849
|
+
windowTVFName(): WindowTVFNameContext;
|
|
850
850
|
windowTVFParam(): WindowTVFParamContext;
|
|
851
851
|
timeIntervalParamName(): TimeIntervalParamNameContext;
|
|
852
852
|
columnDescriptor(): ColumnDescriptorContext;
|
|
@@ -855,7 +855,7 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
855
855
|
groupByClause(): GroupByClauseContext;
|
|
856
856
|
groupItemDefinition(): GroupItemDefinitionContext;
|
|
857
857
|
groupingSets(): GroupingSetsContext;
|
|
858
|
-
|
|
858
|
+
groupingSetsNotationName(): GroupingSetsNotationNameContext;
|
|
859
859
|
groupWindowFunction(): GroupWindowFunctionContext;
|
|
860
860
|
groupWindowFunctionName(): GroupWindowFunctionNameContext;
|
|
861
861
|
timeAttrColumn(): TimeAttrColumnContext;
|
|
@@ -864,17 +864,17 @@ export declare class FlinkSqlParser extends SQLParserBase {
|
|
|
864
864
|
namedWindow(): NamedWindowContext;
|
|
865
865
|
windowSpec(): WindowSpecContext;
|
|
866
866
|
matchRecognizeClause(): MatchRecognizeClauseContext;
|
|
867
|
-
|
|
868
|
-
|
|
867
|
+
orderByClause(): OrderByClauseContext;
|
|
868
|
+
orderItemDefinition(): OrderItemDefinitionContext;
|
|
869
869
|
limitClause(): LimitClauseContext;
|
|
870
870
|
partitionByClause(): PartitionByClauseContext;
|
|
871
871
|
quantifiers(): QuantifiersContext;
|
|
872
872
|
measuresClause(): MeasuresClauseContext;
|
|
873
|
-
|
|
873
|
+
patternDefinition(): PatternDefinitionContext;
|
|
874
874
|
patternVariable(): PatternVariableContext;
|
|
875
875
|
outputMode(): OutputModeContext;
|
|
876
876
|
afterMatchStrategy(): AfterMatchStrategyContext;
|
|
877
|
-
|
|
877
|
+
patternVariablesDefinition(): PatternVariablesDefinitionContext;
|
|
878
878
|
windowFrame(): WindowFrameContext;
|
|
879
879
|
frameBound(): FrameBoundContext;
|
|
880
880
|
withinClause(): WithinClauseContext;
|
|
@@ -986,12 +986,12 @@ export declare class SqlStatementContext extends antlr.ParserRuleContext {
|
|
|
986
986
|
describeStatement(): DescribeStatementContext | null;
|
|
987
987
|
explainStatement(): ExplainStatementContext | null;
|
|
988
988
|
useStatement(): UseStatementContext | null;
|
|
989
|
-
|
|
989
|
+
showStatement(): ShowStatementContext | null;
|
|
990
990
|
loadStatement(): LoadStatementContext | null;
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
991
|
+
unloadStatement(): UnloadStatementContext | null;
|
|
992
|
+
setStatement(): SetStatementContext | null;
|
|
993
|
+
resetStatement(): ResetStatementContext | null;
|
|
994
|
+
jarStatement(): JarStatementContext | null;
|
|
995
995
|
dtAddStatement(): DtAddStatementContext | null;
|
|
996
996
|
get ruleIndex(): number;
|
|
997
997
|
enterRule(listener: FlinkSqlParserListener): void;
|
|
@@ -1106,7 +1106,7 @@ export declare class UseModuleStatementContext extends antlr.ParserRuleContext {
|
|
|
1106
1106
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
1107
1107
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1108
1108
|
}
|
|
1109
|
-
export declare class
|
|
1109
|
+
export declare class ShowStatementContext extends antlr.ParserRuleContext {
|
|
1110
1110
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1111
1111
|
KW_SHOW(): antlr.TerminalNode;
|
|
1112
1112
|
KW_CATALOGS(): antlr.TerminalNode | null;
|
|
@@ -1148,7 +1148,7 @@ export declare class LoadStatementContext extends antlr.ParserRuleContext {
|
|
|
1148
1148
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
1149
1149
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1150
1150
|
}
|
|
1151
|
-
export declare class
|
|
1151
|
+
export declare class UnloadStatementContext extends antlr.ParserRuleContext {
|
|
1152
1152
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1153
1153
|
KW_UNLOAD(): antlr.TerminalNode;
|
|
1154
1154
|
KW_MODULE(): antlr.TerminalNode;
|
|
@@ -1158,7 +1158,7 @@ export declare class UnloadStatememtContext extends antlr.ParserRuleContext {
|
|
|
1158
1158
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
1159
1159
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1160
1160
|
}
|
|
1161
|
-
export declare class
|
|
1161
|
+
export declare class SetStatementContext extends antlr.ParserRuleContext {
|
|
1162
1162
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1163
1163
|
KW_SET(): antlr.TerminalNode;
|
|
1164
1164
|
tableProperty(): TablePropertyContext | null;
|
|
@@ -1167,7 +1167,7 @@ export declare class SetStatememtContext extends antlr.ParserRuleContext {
|
|
|
1167
1167
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
1168
1168
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1169
1169
|
}
|
|
1170
|
-
export declare class
|
|
1170
|
+
export declare class ResetStatementContext extends antlr.ParserRuleContext {
|
|
1171
1171
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1172
1172
|
KW_RESET(): antlr.TerminalNode;
|
|
1173
1173
|
tablePropertyKey(): TablePropertyKeyContext | null;
|
|
@@ -1176,7 +1176,7 @@ export declare class ResetStatememtContext extends antlr.ParserRuleContext {
|
|
|
1176
1176
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
1177
1177
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
1178
1178
|
}
|
|
1179
|
-
export declare class
|
|
1179
|
+
export declare class JarStatementContext extends antlr.ParserRuleContext {
|
|
1180
1180
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1181
1181
|
KW_JAR(): antlr.TerminalNode;
|
|
1182
1182
|
jarFileName(): JarFileNameContext;
|
|
@@ -1996,14 +1996,14 @@ export declare class QueryStatementContext extends antlr.ParserRuleContext {
|
|
|
1996
1996
|
_operator?: Token | null;
|
|
1997
1997
|
_right?: QueryStatementContext;
|
|
1998
1998
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1999
|
-
|
|
1999
|
+
valuesClause(): ValuesClauseContext | null;
|
|
2000
2000
|
withClause(): WithClauseContext | null;
|
|
2001
2001
|
queryStatement(): QueryStatementContext[];
|
|
2002
2002
|
queryStatement(i: number): QueryStatementContext | null;
|
|
2003
2003
|
LR_BRACKET(): antlr.TerminalNode | null;
|
|
2004
2004
|
RR_BRACKET(): antlr.TerminalNode | null;
|
|
2005
2005
|
selectClause(): SelectClauseContext | null;
|
|
2006
|
-
|
|
2006
|
+
orderByClause(): OrderByClauseContext | null;
|
|
2007
2007
|
limitClause(): LimitClauseContext | null;
|
|
2008
2008
|
selectStatement(): SelectStatementContext | null;
|
|
2009
2009
|
KW_INTERSECT(): antlr.TerminalNode | null;
|
|
@@ -2015,7 +2015,7 @@ export declare class QueryStatementContext extends antlr.ParserRuleContext {
|
|
|
2015
2015
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2016
2016
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2017
2017
|
}
|
|
2018
|
-
export declare class
|
|
2018
|
+
export declare class ValuesClauseContext extends antlr.ParserRuleContext {
|
|
2019
2019
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2020
2020
|
KW_VALUES(): antlr.TerminalNode;
|
|
2021
2021
|
expression(): ExpressionContext[];
|
|
@@ -2133,7 +2133,7 @@ export declare class TableExpressionContext extends antlr.ParserRuleContext {
|
|
|
2133
2133
|
COMMA(): antlr.TerminalNode[];
|
|
2134
2134
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
2135
2135
|
inlineDataValueClause(): InlineDataValueClauseContext | null;
|
|
2136
|
-
|
|
2136
|
+
windowTVFClause(): WindowTVFClauseContext | null;
|
|
2137
2137
|
tableExpression(): TableExpressionContext[];
|
|
2138
2138
|
tableExpression(i: number): TableExpressionContext | null;
|
|
2139
2139
|
KW_CROSS(): antlr.TerminalNode | null;
|
|
@@ -2208,20 +2208,20 @@ export declare class InlineDataValueClauseContext extends antlr.ParserRuleContex
|
|
|
2208
2208
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2209
2209
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2210
2210
|
}
|
|
2211
|
-
export declare class
|
|
2211
|
+
export declare class WindowTVFClauseContext extends antlr.ParserRuleContext {
|
|
2212
2212
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2213
2213
|
KW_TABLE(): antlr.TerminalNode;
|
|
2214
2214
|
LR_BRACKET(): antlr.TerminalNode;
|
|
2215
|
-
|
|
2215
|
+
windowTVFExpression(): WindowTVFExpressionContext;
|
|
2216
2216
|
RR_BRACKET(): antlr.TerminalNode;
|
|
2217
2217
|
get ruleIndex(): number;
|
|
2218
2218
|
enterRule(listener: FlinkSqlParserListener): void;
|
|
2219
2219
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2220
2220
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2221
2221
|
}
|
|
2222
|
-
export declare class
|
|
2222
|
+
export declare class WindowTVFExpressionContext extends antlr.ParserRuleContext {
|
|
2223
2223
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2224
|
-
|
|
2224
|
+
windowTVFName(): WindowTVFNameContext;
|
|
2225
2225
|
LR_BRACKET(): antlr.TerminalNode;
|
|
2226
2226
|
windowTVFParam(): WindowTVFParamContext[];
|
|
2227
2227
|
windowTVFParam(i: number): WindowTVFParamContext | null;
|
|
@@ -2233,7 +2233,7 @@ export declare class WindowTVFExressionContext extends antlr.ParserRuleContext {
|
|
|
2233
2233
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2234
2234
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2235
2235
|
}
|
|
2236
|
-
export declare class
|
|
2236
|
+
export declare class WindowTVFNameContext extends antlr.ParserRuleContext {
|
|
2237
2237
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2238
2238
|
KW_TUMBLE(): antlr.TerminalNode | null;
|
|
2239
2239
|
KW_HOP(): antlr.TerminalNode | null;
|
|
@@ -2325,7 +2325,7 @@ export declare class GroupItemDefinitionContext extends antlr.ParserRuleContext
|
|
|
2325
2325
|
expression(i: number): ExpressionContext | null;
|
|
2326
2326
|
COMMA(): antlr.TerminalNode[];
|
|
2327
2327
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
2328
|
-
|
|
2328
|
+
groupingSetsNotationName(): GroupingSetsNotationNameContext | null;
|
|
2329
2329
|
groupingSets(): GroupingSetsContext | null;
|
|
2330
2330
|
groupItemDefinition(): GroupItemDefinitionContext[];
|
|
2331
2331
|
groupItemDefinition(i: number): GroupItemDefinitionContext | null;
|
|
@@ -2343,7 +2343,7 @@ export declare class GroupingSetsContext extends antlr.ParserRuleContext {
|
|
|
2343
2343
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2344
2344
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2345
2345
|
}
|
|
2346
|
-
export declare class
|
|
2346
|
+
export declare class GroupingSetsNotationNameContext extends antlr.ParserRuleContext {
|
|
2347
2347
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2348
2348
|
KW_CUBE(): antlr.TerminalNode | null;
|
|
2349
2349
|
KW_ROLLUP(): antlr.TerminalNode | null;
|
|
@@ -2421,7 +2421,7 @@ export declare class WindowSpecContext extends antlr.ParserRuleContext {
|
|
|
2421
2421
|
LR_BRACKET(): antlr.TerminalNode;
|
|
2422
2422
|
RR_BRACKET(): antlr.TerminalNode;
|
|
2423
2423
|
partitionByClause(): PartitionByClauseContext | null;
|
|
2424
|
-
|
|
2424
|
+
orderByClause(): OrderByClauseContext | null;
|
|
2425
2425
|
windowFrame(): WindowFrameContext | null;
|
|
2426
2426
|
errorCapturingIdentifier(): ErrorCapturingIdentifierContext | null;
|
|
2427
2427
|
get ruleIndex(): number;
|
|
@@ -2433,14 +2433,14 @@ export declare class MatchRecognizeClauseContext extends antlr.ParserRuleContext
|
|
|
2433
2433
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2434
2434
|
KW_MATCH_RECOGNIZE(): antlr.TerminalNode;
|
|
2435
2435
|
LR_BRACKET(): antlr.TerminalNode;
|
|
2436
|
-
|
|
2436
|
+
patternVariablesDefinition(): PatternVariablesDefinitionContext;
|
|
2437
2437
|
RR_BRACKET(): antlr.TerminalNode;
|
|
2438
2438
|
partitionByClause(): PartitionByClauseContext | null;
|
|
2439
|
-
|
|
2439
|
+
orderByClause(): OrderByClauseContext | null;
|
|
2440
2440
|
measuresClause(): MeasuresClauseContext | null;
|
|
2441
2441
|
outputMode(): OutputModeContext | null;
|
|
2442
2442
|
afterMatchStrategy(): AfterMatchStrategyContext | null;
|
|
2443
|
-
|
|
2443
|
+
patternDefinition(): PatternDefinitionContext | null;
|
|
2444
2444
|
identifier(): IdentifierContext | null;
|
|
2445
2445
|
KW_AS(): antlr.TerminalNode | null;
|
|
2446
2446
|
get ruleIndex(): number;
|
|
@@ -2448,12 +2448,12 @@ export declare class MatchRecognizeClauseContext extends antlr.ParserRuleContext
|
|
|
2448
2448
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2449
2449
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2450
2450
|
}
|
|
2451
|
-
export declare class
|
|
2451
|
+
export declare class OrderByClauseContext extends antlr.ParserRuleContext {
|
|
2452
2452
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2453
2453
|
KW_ORDER(): antlr.TerminalNode;
|
|
2454
2454
|
KW_BY(): antlr.TerminalNode;
|
|
2455
|
-
|
|
2456
|
-
|
|
2455
|
+
orderItemDefinition(): OrderItemDefinitionContext[];
|
|
2456
|
+
orderItemDefinition(i: number): OrderItemDefinitionContext | null;
|
|
2457
2457
|
COMMA(): antlr.TerminalNode[];
|
|
2458
2458
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
2459
2459
|
get ruleIndex(): number;
|
|
@@ -2461,7 +2461,7 @@ export declare class OrderByCaluseContext extends antlr.ParserRuleContext {
|
|
|
2461
2461
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2462
2462
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2463
2463
|
}
|
|
2464
|
-
export declare class
|
|
2464
|
+
export declare class OrderItemDefinitionContext extends antlr.ParserRuleContext {
|
|
2465
2465
|
_ordering?: Token | null;
|
|
2466
2466
|
_nullOrder?: Token | null;
|
|
2467
2467
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
@@ -2529,7 +2529,7 @@ export declare class MeasuresClauseContext extends antlr.ParserRuleContext {
|
|
|
2529
2529
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2530
2530
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2531
2531
|
}
|
|
2532
|
-
export declare class
|
|
2532
|
+
export declare class PatternDefinitionContext extends antlr.ParserRuleContext {
|
|
2533
2533
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2534
2534
|
KW_PATTERN(): antlr.TerminalNode;
|
|
2535
2535
|
LR_BRACKET(): antlr.TerminalNode;
|
|
@@ -2581,7 +2581,7 @@ export declare class AfterMatchStrategyContext extends antlr.ParserRuleContext {
|
|
|
2581
2581
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
2582
2582
|
accept<Result>(visitor: FlinkSqlParserVisitor<Result>): Result | null;
|
|
2583
2583
|
}
|
|
2584
|
-
export declare class
|
|
2584
|
+
export declare class PatternVariablesDefinitionContext extends antlr.ParserRuleContext {
|
|
2585
2585
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2586
2586
|
KW_DEFINE(): antlr.TerminalNode;
|
|
2587
2587
|
projectItemDefinition(): ProjectItemDefinitionContext[];
|
|
@@ -2792,10 +2792,10 @@ export declare class ArithmeticBinaryContext extends ValueExpressionContext {
|
|
|
2792
2792
|
valueExpression(i: number): ValueExpressionContext | null;
|
|
2793
2793
|
ASTERISK_SIGN(): antlr.TerminalNode | null;
|
|
2794
2794
|
SLASH_SIGN(): antlr.TerminalNode | null;
|
|
2795
|
-
|
|
2795
|
+
PERCENT_SIGN(): antlr.TerminalNode | null;
|
|
2796
2796
|
KW_DIV(): antlr.TerminalNode | null;
|
|
2797
2797
|
ADD_SIGN(): antlr.TerminalNode | null;
|
|
2798
|
-
|
|
2798
|
+
HYPHEN_SIGN(): antlr.TerminalNode | null;
|
|
2799
2799
|
DOUBLE_VERTICAL_SIGN(): antlr.TerminalNode | null;
|
|
2800
2800
|
BIT_AND_OP(): antlr.TerminalNode | null;
|
|
2801
2801
|
BIT_XOR_OP(): antlr.TerminalNode | null;
|
|
@@ -2808,7 +2808,7 @@ export declare class ArithmeticUnaryContext extends ValueExpressionContext {
|
|
|
2808
2808
|
_operator?: Token | null;
|
|
2809
2809
|
constructor(ctx: ValueExpressionContext);
|
|
2810
2810
|
valueExpression(): ValueExpressionContext;
|
|
2811
|
-
|
|
2811
|
+
HYPHEN_SIGN(): antlr.TerminalNode | null;
|
|
2812
2812
|
ADD_SIGN(): antlr.TerminalNode | null;
|
|
2813
2813
|
BIT_NOT_OP(): antlr.TerminalNode | null;
|
|
2814
2814
|
enterRule(listener: FlinkSqlParserListener): void;
|
|
@@ -3118,7 +3118,7 @@ export declare class IntervalValueContext extends antlr.ParserRuleContext {
|
|
|
3118
3118
|
DIG_LITERAL(): antlr.TerminalNode | null;
|
|
3119
3119
|
REAL_LITERAL(): antlr.TerminalNode | null;
|
|
3120
3120
|
ADD_SIGN(): antlr.TerminalNode | null;
|
|
3121
|
-
|
|
3121
|
+
HYPHEN_SIGN(): antlr.TerminalNode | null;
|
|
3122
3122
|
STRING_LITERAL(): antlr.TerminalNode | null;
|
|
3123
3123
|
get ruleIndex(): number;
|
|
3124
3124
|
enterRule(listener: FlinkSqlParserListener): void;
|
|
@@ -3450,11 +3450,11 @@ export declare class MathOperatorContext extends antlr.ParserRuleContext {
|
|
|
3450
3450
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3451
3451
|
ASTERISK_SIGN(): antlr.TerminalNode | null;
|
|
3452
3452
|
SLASH_SIGN(): antlr.TerminalNode | null;
|
|
3453
|
-
|
|
3453
|
+
PERCENT_SIGN(): antlr.TerminalNode | null;
|
|
3454
3454
|
KW_DIV(): antlr.TerminalNode | null;
|
|
3455
3455
|
ADD_SIGN(): antlr.TerminalNode | null;
|
|
3456
|
-
|
|
3457
|
-
|
|
3456
|
+
HYPHEN_SIGN(): antlr.TerminalNode | null;
|
|
3457
|
+
DOUBLE_HYPHEN_SIGN(): antlr.TerminalNode | null;
|
|
3458
3458
|
get ruleIndex(): number;
|
|
3459
3459
|
enterRule(listener: FlinkSqlParserListener): void;
|
|
3460
3460
|
exitRule(listener: FlinkSqlParserListener): void;
|
|
@@ -3465,7 +3465,7 @@ export declare class UnaryOperatorContext extends antlr.ParserRuleContext {
|
|
|
3465
3465
|
EXCLAMATION_SYMBOL(): antlr.TerminalNode | null;
|
|
3466
3466
|
BIT_NOT_OP(): antlr.TerminalNode | null;
|
|
3467
3467
|
ADD_SIGN(): antlr.TerminalNode | null;
|
|
3468
|
-
|
|
3468
|
+
HYPHEN_SIGN(): antlr.TerminalNode | null;
|
|
3469
3469
|
KW_NOT(): antlr.TerminalNode | null;
|
|
3470
3470
|
get ruleIndex(): number;
|
|
3471
3471
|
enterRule(listener: FlinkSqlParserListener): void;
|
|
@@ -3478,7 +3478,7 @@ export declare class ConstantContext extends antlr.ParserRuleContext {
|
|
|
3478
3478
|
timePointLiteral(): TimePointLiteralContext | null;
|
|
3479
3479
|
stringLiteral(): StringLiteralContext | null;
|
|
3480
3480
|
decimalLiteral(): DecimalLiteralContext | null;
|
|
3481
|
-
|
|
3481
|
+
HYPHEN_SIGN(): antlr.TerminalNode | null;
|
|
3482
3482
|
booleanLiteral(): BooleanLiteralContext | null;
|
|
3483
3483
|
REAL_LITERAL(): antlr.TerminalNode | null;
|
|
3484
3484
|
BIT_STRING(): antlr.TerminalNode | null;
|