dt-sql-parser 4.4.0-beta.0 → 4.5.0-beta.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 +140 -3
- package/dist/lib/flink/FlinkSqlParser.d.ts +221 -114
- package/dist/lib/flink/FlinkSqlParser.js +3608 -2907
- package/dist/lib/flink/FlinkSqlParserListener.d.ts +99 -0
- package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +63 -0
- package/dist/lib/hive/HiveSqlParser.d.ts +169 -116
- package/dist/lib/hive/HiveSqlParser.js +5708 -5428
- package/dist/lib/hive/HiveSqlParserListener.d.ts +55 -0
- package/dist/lib/hive/HiveSqlParserVisitor.d.ts +35 -0
- package/dist/lib/impala/ImpalaSqlParser.d.ts +150 -81
- package/dist/lib/impala/ImpalaSqlParser.js +3730 -3323
- package/dist/lib/impala/ImpalaSqlParserListener.d.ts +76 -14
- package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +48 -8
- package/dist/lib/mysql/MySqlParser.d.ts +346 -316
- package/dist/lib/mysql/MySqlParser.js +10224 -10020
- package/dist/lib/mysql/MySqlParserListener.d.ts +55 -26
- package/dist/lib/mysql/MySqlParserVisitor.d.ts +33 -14
- package/dist/lib/postgresql/PostgreSqlParser.d.ts +215 -169
- package/dist/lib/postgresql/PostgreSqlParser.js +10333 -10051
- package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +51 -7
- package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +32 -4
- package/dist/lib/spark/SparkSqlParser.d.ts +215 -90
- package/dist/lib/spark/SparkSqlParser.js +5143 -4496
- package/dist/lib/spark/SparkSqlParserListener.d.ts +147 -5
- package/dist/lib/spark/SparkSqlParserVisitor.d.ts +92 -3
- package/dist/lib/trino/TrinoSqlListener.d.ts +90 -37
- package/dist/lib/trino/TrinoSqlParser.d.ts +219 -165
- package/dist/lib/trino/TrinoSqlParser.js +4942 -4615
- package/dist/lib/trino/TrinoSqlVisitor.d.ts +55 -21
- package/dist/parser/common/basicSQL.js +2 -0
- package/dist/parser/common/entityCollector.d.ts +91 -4
- package/dist/parser/common/entityCollector.js +215 -11
- package/dist/parser/common/textAndWord.d.ts +9 -1
- package/dist/parser/common/textAndWord.js +2 -0
- package/dist/parser/common/types.d.ts +2 -0
- package/dist/parser/common/types.js +2 -0
- package/dist/parser/flink/flinkEntityCollector.d.ts +10 -2
- package/dist/parser/flink/flinkEntityCollector.js +76 -14
- package/dist/parser/hive/hiveEntityCollector.d.ts +13 -1
- package/dist/parser/hive/hiveEntityCollector.js +85 -12
- package/dist/parser/impala/impalaEntityCollector.d.ts +7 -1
- package/dist/parser/impala/impalaEntityCollector.js +63 -12
- package/dist/parser/impala/index.js +2 -1
- package/dist/parser/mysql/mysqlEntityCollector.d.ts +9 -1
- package/dist/parser/mysql/mysqlEntityCollector.js +55 -12
- package/dist/parser/postgresql/postgreEntityCollector.d.ts +10 -1
- package/dist/parser/postgresql/postgreEntityCollector.js +86 -22
- package/dist/parser/spark/sparkEntityCollector.d.ts +13 -1
- package/dist/parser/spark/sparkEntityCollector.js +88 -12
- package/dist/parser/trino/index.js +2 -1
- package/dist/parser/trino/trinoEntityCollector.d.ts +7 -1
- package/dist/parser/trino/trinoEntityCollector.js +53 -12
- package/package.json +1 -1
|
@@ -901,166 +901,170 @@ export declare class PostgreSqlParser extends SQLParserBase {
|
|
|
901
901
|
static readonly RULE_fromClause = 302;
|
|
902
902
|
static readonly RULE_fromList = 303;
|
|
903
903
|
static readonly RULE_tableRef = 304;
|
|
904
|
-
static readonly
|
|
905
|
-
static readonly
|
|
906
|
-
static readonly
|
|
907
|
-
static readonly
|
|
908
|
-
static readonly
|
|
909
|
-
static readonly
|
|
910
|
-
static readonly
|
|
911
|
-
static readonly
|
|
912
|
-
static readonly
|
|
913
|
-
static readonly
|
|
914
|
-
static readonly
|
|
915
|
-
static readonly
|
|
916
|
-
static readonly
|
|
917
|
-
static readonly
|
|
918
|
-
static readonly
|
|
919
|
-
static readonly
|
|
920
|
-
static readonly
|
|
921
|
-
static readonly
|
|
922
|
-
static readonly
|
|
923
|
-
static readonly
|
|
924
|
-
static readonly
|
|
925
|
-
static readonly
|
|
926
|
-
static readonly
|
|
927
|
-
static readonly
|
|
928
|
-
static readonly
|
|
929
|
-
static readonly
|
|
930
|
-
static readonly
|
|
931
|
-
static readonly
|
|
932
|
-
static readonly
|
|
933
|
-
static readonly
|
|
934
|
-
static readonly
|
|
935
|
-
static readonly
|
|
936
|
-
static readonly
|
|
937
|
-
static readonly
|
|
938
|
-
static readonly
|
|
939
|
-
static readonly
|
|
940
|
-
static readonly
|
|
941
|
-
static readonly
|
|
942
|
-
static readonly
|
|
943
|
-
static readonly
|
|
944
|
-
static readonly
|
|
945
|
-
static readonly
|
|
946
|
-
static readonly
|
|
947
|
-
static readonly
|
|
948
|
-
static readonly
|
|
949
|
-
static readonly
|
|
950
|
-
static readonly
|
|
951
|
-
static readonly
|
|
952
|
-
static readonly
|
|
953
|
-
static readonly
|
|
954
|
-
static readonly
|
|
955
|
-
static readonly
|
|
956
|
-
static readonly
|
|
957
|
-
static readonly
|
|
958
|
-
static readonly
|
|
959
|
-
static readonly
|
|
960
|
-
static readonly
|
|
961
|
-
static readonly
|
|
962
|
-
static readonly
|
|
963
|
-
static readonly
|
|
964
|
-
static readonly
|
|
965
|
-
static readonly
|
|
966
|
-
static readonly
|
|
967
|
-
static readonly
|
|
968
|
-
static readonly
|
|
969
|
-
static readonly
|
|
970
|
-
static readonly
|
|
971
|
-
static readonly
|
|
972
|
-
static readonly
|
|
973
|
-
static readonly
|
|
974
|
-
static readonly
|
|
975
|
-
static readonly
|
|
976
|
-
static readonly
|
|
977
|
-
static readonly
|
|
978
|
-
static readonly
|
|
979
|
-
static readonly
|
|
980
|
-
static readonly
|
|
981
|
-
static readonly
|
|
982
|
-
static readonly
|
|
983
|
-
static readonly
|
|
984
|
-
static readonly
|
|
985
|
-
static readonly
|
|
986
|
-
static readonly
|
|
987
|
-
static readonly
|
|
988
|
-
static readonly
|
|
989
|
-
static readonly
|
|
990
|
-
static readonly
|
|
991
|
-
static readonly
|
|
992
|
-
static readonly
|
|
993
|
-
static readonly
|
|
994
|
-
static readonly
|
|
995
|
-
static readonly
|
|
996
|
-
static readonly
|
|
997
|
-
static readonly
|
|
998
|
-
static readonly
|
|
999
|
-
static readonly
|
|
1000
|
-
static readonly
|
|
1001
|
-
static readonly
|
|
1002
|
-
static readonly
|
|
1003
|
-
static readonly
|
|
1004
|
-
static readonly
|
|
1005
|
-
static readonly
|
|
1006
|
-
static readonly
|
|
1007
|
-
static readonly
|
|
1008
|
-
static readonly
|
|
1009
|
-
static readonly
|
|
1010
|
-
static readonly
|
|
1011
|
-
static readonly
|
|
1012
|
-
static readonly
|
|
1013
|
-
static readonly
|
|
1014
|
-
static readonly
|
|
1015
|
-
static readonly
|
|
1016
|
-
static readonly
|
|
1017
|
-
static readonly
|
|
1018
|
-
static readonly
|
|
1019
|
-
static readonly
|
|
1020
|
-
static readonly
|
|
1021
|
-
static readonly
|
|
1022
|
-
static readonly
|
|
1023
|
-
static readonly
|
|
1024
|
-
static readonly
|
|
1025
|
-
static readonly
|
|
1026
|
-
static readonly
|
|
1027
|
-
static readonly
|
|
1028
|
-
static readonly
|
|
1029
|
-
static readonly
|
|
1030
|
-
static readonly
|
|
1031
|
-
static readonly
|
|
1032
|
-
static readonly
|
|
1033
|
-
static readonly
|
|
1034
|
-
static readonly
|
|
1035
|
-
static readonly
|
|
1036
|
-
static readonly
|
|
1037
|
-
static readonly
|
|
1038
|
-
static readonly
|
|
1039
|
-
static readonly
|
|
1040
|
-
static readonly
|
|
1041
|
-
static readonly
|
|
1042
|
-
static readonly
|
|
1043
|
-
static readonly
|
|
1044
|
-
static readonly
|
|
1045
|
-
static readonly
|
|
1046
|
-
static readonly
|
|
1047
|
-
static readonly
|
|
1048
|
-
static readonly
|
|
1049
|
-
static readonly
|
|
1050
|
-
static readonly
|
|
1051
|
-
static readonly
|
|
1052
|
-
static readonly
|
|
1053
|
-
static readonly
|
|
1054
|
-
static readonly
|
|
1055
|
-
static readonly
|
|
1056
|
-
static readonly
|
|
1057
|
-
static readonly
|
|
1058
|
-
static readonly
|
|
1059
|
-
static readonly
|
|
1060
|
-
static readonly
|
|
1061
|
-
static readonly
|
|
1062
|
-
static readonly
|
|
1063
|
-
static readonly
|
|
904
|
+
static readonly RULE_expressionTable = 305;
|
|
905
|
+
static readonly RULE_aliasClause = 306;
|
|
906
|
+
static readonly RULE_funcAliasClause = 307;
|
|
907
|
+
static readonly RULE_joinType = 308;
|
|
908
|
+
static readonly RULE_joinQual = 309;
|
|
909
|
+
static readonly RULE_relationExpr = 310;
|
|
910
|
+
static readonly RULE_publicationRelationExpr = 311;
|
|
911
|
+
static readonly RULE_relationExprList = 312;
|
|
912
|
+
static readonly RULE_relationExprOptAlias = 313;
|
|
913
|
+
static readonly RULE_tableSampleClause = 314;
|
|
914
|
+
static readonly RULE_funcTable = 315;
|
|
915
|
+
static readonly RULE_rowsFromItem = 316;
|
|
916
|
+
static readonly RULE_whereClause = 317;
|
|
917
|
+
static readonly RULE_whereOrCurrentClause = 318;
|
|
918
|
+
static readonly RULE_tableFuncElementList = 319;
|
|
919
|
+
static readonly RULE_tableFuncElement = 320;
|
|
920
|
+
static readonly RULE_xmlTable = 321;
|
|
921
|
+
static readonly RULE_xmlTableColumnEl = 322;
|
|
922
|
+
static readonly RULE_xmlNamespaceEle = 323;
|
|
923
|
+
static readonly RULE_typename = 324;
|
|
924
|
+
static readonly RULE_simpleTypeName = 325;
|
|
925
|
+
static readonly RULE_constTypeName = 326;
|
|
926
|
+
static readonly RULE_numeric = 327;
|
|
927
|
+
static readonly RULE_optFloat = 328;
|
|
928
|
+
static readonly RULE_bit = 329;
|
|
929
|
+
static readonly RULE_character = 330;
|
|
930
|
+
static readonly RULE_constDatetime = 331;
|
|
931
|
+
static readonly RULE_optInterval = 332;
|
|
932
|
+
static readonly RULE_intervalSecond = 333;
|
|
933
|
+
static readonly RULE_comparisonOperator = 334;
|
|
934
|
+
static readonly RULE_expression = 335;
|
|
935
|
+
static readonly RULE_booleanExpression = 336;
|
|
936
|
+
static readonly RULE_predicate = 337;
|
|
937
|
+
static readonly RULE_valueExpression = 338;
|
|
938
|
+
static readonly RULE_primaryExpression = 339;
|
|
939
|
+
static readonly RULE_funcApplication = 340;
|
|
940
|
+
static readonly RULE_func_expr = 341;
|
|
941
|
+
static readonly RULE_funcExprWindowless = 342;
|
|
942
|
+
static readonly RULE_funcExprCommonSubExpr = 343;
|
|
943
|
+
static readonly RULE_xmlAttributeList = 344;
|
|
944
|
+
static readonly RULE_xmlAttributeEl = 345;
|
|
945
|
+
static readonly RULE_documentOrContent = 346;
|
|
946
|
+
static readonly RULE_xmlExistsArgument = 347;
|
|
947
|
+
static readonly RULE_xmlPassingMech = 348;
|
|
948
|
+
static readonly RULE_windowClause = 349;
|
|
949
|
+
static readonly RULE_havingClause = 350;
|
|
950
|
+
static readonly RULE_windowDefinition = 351;
|
|
951
|
+
static readonly RULE_over_clause = 352;
|
|
952
|
+
static readonly RULE_windowSpecification = 353;
|
|
953
|
+
static readonly RULE_optFrameClause = 354;
|
|
954
|
+
static readonly RULE_frameBound = 355;
|
|
955
|
+
static readonly RULE_row = 356;
|
|
956
|
+
static readonly RULE_explicitRow = 357;
|
|
957
|
+
static readonly RULE_subType = 358;
|
|
958
|
+
static readonly RULE_allOp = 359;
|
|
959
|
+
static readonly RULE_mathOp = 360;
|
|
960
|
+
static readonly RULE_qualOp = 361;
|
|
961
|
+
static readonly RULE_qualAllOp = 362;
|
|
962
|
+
static readonly RULE_subqueryOperator = 363;
|
|
963
|
+
static readonly RULE_exprList = 364;
|
|
964
|
+
static readonly RULE_selectExpressionColumnName = 365;
|
|
965
|
+
static readonly RULE_selectLiteralColumnName = 366;
|
|
966
|
+
static readonly RULE_columnExpr = 367;
|
|
967
|
+
static readonly RULE_columnExprNoParen = 368;
|
|
968
|
+
static readonly RULE_funcArgList = 369;
|
|
969
|
+
static readonly RULE_funcArgExpr = 370;
|
|
970
|
+
static readonly RULE_arrayExpr = 371;
|
|
971
|
+
static readonly RULE_extractArg = 372;
|
|
972
|
+
static readonly RULE_unicodeNormalForm = 373;
|
|
973
|
+
static readonly RULE_substrList = 374;
|
|
974
|
+
static readonly RULE_when_clause = 375;
|
|
975
|
+
static readonly RULE_indirectionEl = 376;
|
|
976
|
+
static readonly RULE_indirection = 377;
|
|
977
|
+
static readonly RULE_optIndirection = 378;
|
|
978
|
+
static readonly RULE_targetList = 379;
|
|
979
|
+
static readonly RULE_targetEl = 380;
|
|
980
|
+
static readonly RULE_tableAllColumns = 381;
|
|
981
|
+
static readonly RULE_qualifiedNameList = 382;
|
|
982
|
+
static readonly RULE_tableNameList = 383;
|
|
983
|
+
static readonly RULE_schemaNameList = 384;
|
|
984
|
+
static readonly RULE_databaseNameList = 385;
|
|
985
|
+
static readonly RULE_tableSpaceNameCreate = 386;
|
|
986
|
+
static readonly RULE_tableSpaceName = 387;
|
|
987
|
+
static readonly RULE_tableNameCreate = 388;
|
|
988
|
+
static readonly RULE_tableName = 389;
|
|
989
|
+
static readonly RULE_viewNameCreate = 390;
|
|
990
|
+
static readonly RULE_viewName = 391;
|
|
991
|
+
static readonly RULE_qualifiedName = 392;
|
|
992
|
+
static readonly RULE_tableSpaceNameList = 393;
|
|
993
|
+
static readonly RULE_nameList = 394;
|
|
994
|
+
static readonly RULE_databaseNameCreate = 395;
|
|
995
|
+
static readonly RULE_databaseName = 396;
|
|
996
|
+
static readonly RULE_schemaName = 397;
|
|
997
|
+
static readonly RULE_routineNameCreate = 398;
|
|
998
|
+
static readonly RULE_routineName = 399;
|
|
999
|
+
static readonly RULE_procedureName = 400;
|
|
1000
|
+
static readonly RULE_procedureNameCreate = 401;
|
|
1001
|
+
static readonly RULE_columnName = 402;
|
|
1002
|
+
static readonly RULE_columnNamePath = 403;
|
|
1003
|
+
static readonly RULE_columnNameCreate = 404;
|
|
1004
|
+
static readonly RULE_functionNameCreate = 405;
|
|
1005
|
+
static readonly RULE_functionName = 406;
|
|
1006
|
+
static readonly RULE_stringConst = 407;
|
|
1007
|
+
static readonly RULE_anysconst = 408;
|
|
1008
|
+
static readonly RULE_signedConst = 409;
|
|
1009
|
+
static readonly RULE_roleSpec = 410;
|
|
1010
|
+
static readonly RULE_roleList = 411;
|
|
1011
|
+
static readonly RULE_colId = 412;
|
|
1012
|
+
static readonly RULE_typeFunctionName = 413;
|
|
1013
|
+
static readonly RULE_nonReservedWord = 414;
|
|
1014
|
+
static readonly RULE_colLabel = 415;
|
|
1015
|
+
static readonly RULE_identifier = 416;
|
|
1016
|
+
static readonly RULE_unreservedKeyword = 417;
|
|
1017
|
+
static readonly RULE_colNameKeyword = 418;
|
|
1018
|
+
static readonly RULE_typeFuncNameKeyword = 419;
|
|
1019
|
+
static readonly RULE_reservedKeyword = 420;
|
|
1020
|
+
static readonly RULE_plBlock = 421;
|
|
1021
|
+
static readonly RULE_labelDecl = 422;
|
|
1022
|
+
static readonly RULE_declStatement = 423;
|
|
1023
|
+
static readonly RULE_declCursorArg = 424;
|
|
1024
|
+
static readonly RULE_assignOperator = 425;
|
|
1025
|
+
static readonly RULE_procStmt = 426;
|
|
1026
|
+
static readonly RULE_stmtPerform = 427;
|
|
1027
|
+
static readonly RULE_stmtCall = 428;
|
|
1028
|
+
static readonly RULE_stmtAssign = 429;
|
|
1029
|
+
static readonly RULE_stmtGetdiag = 430;
|
|
1030
|
+
static readonly RULE_getdiagListItem = 431;
|
|
1031
|
+
static readonly RULE_assignVar = 432;
|
|
1032
|
+
static readonly RULE_stmtIf = 433;
|
|
1033
|
+
static readonly RULE_stmtElse = 434;
|
|
1034
|
+
static readonly RULE_stmtCase = 435;
|
|
1035
|
+
static readonly RULE_stmtLoopWhileFor = 436;
|
|
1036
|
+
static readonly RULE_forControl = 437;
|
|
1037
|
+
static readonly RULE_stmtForeach = 438;
|
|
1038
|
+
static readonly RULE_stmtExit = 439;
|
|
1039
|
+
static readonly RULE_stmtReturn = 440;
|
|
1040
|
+
static readonly RULE_stmtRaise = 441;
|
|
1041
|
+
static readonly RULE_optRaiseUsingElem = 442;
|
|
1042
|
+
static readonly RULE_stmtAssert = 443;
|
|
1043
|
+
static readonly RULE_loopBody = 444;
|
|
1044
|
+
static readonly RULE_stmtExecsql = 445;
|
|
1045
|
+
static readonly RULE_stmtDynexecute = 446;
|
|
1046
|
+
static readonly RULE_optExecuteInto = 447;
|
|
1047
|
+
static readonly RULE_stmtOpen = 448;
|
|
1048
|
+
static readonly RULE_optOpenBoundListItem = 449;
|
|
1049
|
+
static readonly RULE_stmtFetch = 450;
|
|
1050
|
+
static readonly RULE_optFetchFirection = 451;
|
|
1051
|
+
static readonly RULE_stmtMove = 452;
|
|
1052
|
+
static readonly RULE_mergeStmt = 453;
|
|
1053
|
+
static readonly RULE_dataSource = 454;
|
|
1054
|
+
static readonly RULE_mergeWhenClause = 455;
|
|
1055
|
+
static readonly RULE_mergeInsert = 456;
|
|
1056
|
+
static readonly RULE_mergeUpdate = 457;
|
|
1057
|
+
static readonly RULE_defaultValuesOrValues = 458;
|
|
1058
|
+
static readonly RULE_exprofdefault = 459;
|
|
1059
|
+
static readonly RULE_stmtClose = 460;
|
|
1060
|
+
static readonly RULE_stmtNull = 461;
|
|
1061
|
+
static readonly RULE_stmtCommitOrRollback = 462;
|
|
1062
|
+
static readonly RULE_stmtSet = 463;
|
|
1063
|
+
static readonly RULE_cursorVariable = 464;
|
|
1064
|
+
static readonly RULE_exceptionSect = 465;
|
|
1065
|
+
static readonly RULE_procCondition = 466;
|
|
1066
|
+
static readonly RULE_anyIdentifier = 467;
|
|
1067
|
+
static readonly RULE_sqlExpression = 468;
|
|
1064
1068
|
static readonly literalNames: (string | null)[];
|
|
1065
1069
|
static readonly symbolicNames: (string | null)[];
|
|
1066
1070
|
static readonly ruleNames: string[];
|
|
@@ -1376,6 +1380,7 @@ export declare class PostgreSqlParser extends SQLParserBase {
|
|
|
1376
1380
|
fromClause(): FromClauseContext;
|
|
1377
1381
|
fromList(): FromListContext;
|
|
1378
1382
|
tableRef(): TableRefContext;
|
|
1383
|
+
expressionTable(): ExpressionTableContext;
|
|
1379
1384
|
aliasClause(): AliasClauseContext;
|
|
1380
1385
|
funcAliasClause(): FuncAliasClauseContext;
|
|
1381
1386
|
joinType(): JoinTypeContext;
|
|
@@ -1438,6 +1443,8 @@ export declare class PostgreSqlParser extends SQLParserBase {
|
|
|
1438
1443
|
qualAllOp(): QualAllOpContext;
|
|
1439
1444
|
subqueryOperator(): SubqueryOperatorContext;
|
|
1440
1445
|
exprList(): ExprListContext;
|
|
1446
|
+
selectExpressionColumnName(): SelectExpressionColumnNameContext;
|
|
1447
|
+
selectLiteralColumnName(): SelectLiteralColumnNameContext;
|
|
1441
1448
|
columnExpr(): ColumnExprContext;
|
|
1442
1449
|
columnExprNoParen(): ColumnExprNoParenContext;
|
|
1443
1450
|
funcArgList(): FuncArgListContext;
|
|
@@ -1452,6 +1459,7 @@ export declare class PostgreSqlParser extends SQLParserBase {
|
|
|
1452
1459
|
optIndirection(): OptIndirectionContext;
|
|
1453
1460
|
targetList(): TargetListContext;
|
|
1454
1461
|
targetEl(): TargetElContext;
|
|
1462
|
+
tableAllColumns(): TableAllColumnsContext;
|
|
1455
1463
|
qualifiedNameList(): QualifiedNameListContext;
|
|
1456
1464
|
tableNameList(): TableNameListContext;
|
|
1457
1465
|
schemaNameList(): SchemaNameListContext;
|
|
@@ -6689,6 +6697,7 @@ export declare class FromListContext extends antlr.ParserRuleContext {
|
|
|
6689
6697
|
}
|
|
6690
6698
|
export declare class TableRefContext extends antlr.ParserRuleContext {
|
|
6691
6699
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
6700
|
+
expressionTable(): ExpressionTableContext | null;
|
|
6692
6701
|
OPEN_PAREN(): antlr.TerminalNode | null;
|
|
6693
6702
|
tableRef(): TableRefContext[];
|
|
6694
6703
|
tableRef(i: number): TableRefContext | null;
|
|
@@ -6702,16 +6711,12 @@ export declare class TableRefContext extends antlr.ParserRuleContext {
|
|
|
6702
6711
|
joinQual(): JoinQualContext[];
|
|
6703
6712
|
joinQual(i: number): JoinQualContext | null;
|
|
6704
6713
|
relationExpr(): RelationExprContext | null;
|
|
6705
|
-
xmlTable(): XmlTableContext | null;
|
|
6706
|
-
funcTable(): FuncTableContext | null;
|
|
6707
|
-
selectWithParens(): SelectWithParensContext | null;
|
|
6708
6714
|
aliasClause(): AliasClauseContext | null;
|
|
6709
6715
|
tableSampleClause(): TableSampleClauseContext | null;
|
|
6710
6716
|
KW_LATERAL(): antlr.TerminalNode | null;
|
|
6711
6717
|
viewName(): ViewNameContext | null;
|
|
6712
6718
|
joinType(): JoinTypeContext[];
|
|
6713
6719
|
joinType(i: number): JoinTypeContext | null;
|
|
6714
|
-
funcAliasClause(): FuncAliasClauseContext | null;
|
|
6715
6720
|
KW_ONLY(): antlr.TerminalNode | null;
|
|
6716
6721
|
STAR(): antlr.TerminalNode | null;
|
|
6717
6722
|
columnList(): ColumnListContext | null;
|
|
@@ -6721,6 +6726,18 @@ export declare class TableRefContext extends antlr.ParserRuleContext {
|
|
|
6721
6726
|
exitRule(listener: PostgreSqlParserListener): void;
|
|
6722
6727
|
accept<Result>(visitor: PostgreSqlParserVisitor<Result>): Result | null;
|
|
6723
6728
|
}
|
|
6729
|
+
export declare class ExpressionTableContext extends antlr.ParserRuleContext {
|
|
6730
|
+
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
6731
|
+
xmlTable(): XmlTableContext | null;
|
|
6732
|
+
aliasClause(): AliasClauseContext | null;
|
|
6733
|
+
funcTable(): FuncTableContext | null;
|
|
6734
|
+
funcAliasClause(): FuncAliasClauseContext | null;
|
|
6735
|
+
selectWithParens(): SelectWithParensContext | null;
|
|
6736
|
+
get ruleIndex(): number;
|
|
6737
|
+
enterRule(listener: PostgreSqlParserListener): void;
|
|
6738
|
+
exitRule(listener: PostgreSqlParserListener): void;
|
|
6739
|
+
accept<Result>(visitor: PostgreSqlParserVisitor<Result>): Result | null;
|
|
6740
|
+
}
|
|
6724
6741
|
export declare class AliasClauseContext extends antlr.ParserRuleContext {
|
|
6725
6742
|
_alias?: ColIdContext;
|
|
6726
6743
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
@@ -7770,6 +7787,22 @@ export declare class ExprListContext extends antlr.ParserRuleContext {
|
|
|
7770
7787
|
exitRule(listener: PostgreSqlParserListener): void;
|
|
7771
7788
|
accept<Result>(visitor: PostgreSqlParserVisitor<Result>): Result | null;
|
|
7772
7789
|
}
|
|
7790
|
+
export declare class SelectExpressionColumnNameContext extends antlr.ParserRuleContext {
|
|
7791
|
+
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
7792
|
+
expression(): ExpressionContext;
|
|
7793
|
+
get ruleIndex(): number;
|
|
7794
|
+
enterRule(listener: PostgreSqlParserListener): void;
|
|
7795
|
+
exitRule(listener: PostgreSqlParserListener): void;
|
|
7796
|
+
accept<Result>(visitor: PostgreSqlParserVisitor<Result>): Result | null;
|
|
7797
|
+
}
|
|
7798
|
+
export declare class SelectLiteralColumnNameContext extends antlr.ParserRuleContext {
|
|
7799
|
+
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
7800
|
+
columnName(): ColumnNameContext;
|
|
7801
|
+
get ruleIndex(): number;
|
|
7802
|
+
enterRule(listener: PostgreSqlParserListener): void;
|
|
7803
|
+
exitRule(listener: PostgreSqlParserListener): void;
|
|
7804
|
+
accept<Result>(visitor: PostgreSqlParserVisitor<Result>): Result | null;
|
|
7805
|
+
}
|
|
7773
7806
|
export declare class ColumnExprContext extends antlr.ParserRuleContext {
|
|
7774
7807
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
7775
7808
|
OPEN_PAREN(): antlr.TerminalNode | null;
|
|
@@ -7927,19 +7960,32 @@ export declare class TargetElContext extends antlr.ParserRuleContext {
|
|
|
7927
7960
|
get ruleIndex(): number;
|
|
7928
7961
|
copyFrom(ctx: TargetElContext): void;
|
|
7929
7962
|
}
|
|
7963
|
+
export declare class Target_starContext extends TargetElContext {
|
|
7964
|
+
constructor(ctx: TargetElContext);
|
|
7965
|
+
tableAllColumns(): TableAllColumnsContext;
|
|
7966
|
+
enterRule(listener: PostgreSqlParserListener): void;
|
|
7967
|
+
exitRule(listener: PostgreSqlParserListener): void;
|
|
7968
|
+
accept<Result>(visitor: PostgreSqlParserVisitor<Result>): Result | null;
|
|
7969
|
+
}
|
|
7930
7970
|
export declare class Target_labelContext extends TargetElContext {
|
|
7971
|
+
_alias?: IdentifierContext;
|
|
7931
7972
|
constructor(ctx: TargetElContext);
|
|
7932
|
-
|
|
7933
|
-
|
|
7934
|
-
colLabel(): ColLabelContext | null;
|
|
7973
|
+
selectLiteralColumnName(): SelectLiteralColumnNameContext | null;
|
|
7974
|
+
selectExpressionColumnName(): SelectExpressionColumnNameContext | null;
|
|
7935
7975
|
identifier(): IdentifierContext | null;
|
|
7976
|
+
KW_AS(): antlr.TerminalNode | null;
|
|
7936
7977
|
enterRule(listener: PostgreSqlParserListener): void;
|
|
7937
7978
|
exitRule(listener: PostgreSqlParserListener): void;
|
|
7938
7979
|
accept<Result>(visitor: PostgreSqlParserVisitor<Result>): Result | null;
|
|
7939
7980
|
}
|
|
7940
|
-
export declare class
|
|
7941
|
-
constructor(
|
|
7981
|
+
export declare class TableAllColumnsContext extends antlr.ParserRuleContext {
|
|
7982
|
+
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
7942
7983
|
STAR(): antlr.TerminalNode;
|
|
7984
|
+
colId(): ColIdContext[];
|
|
7985
|
+
colId(i: number): ColIdContext | null;
|
|
7986
|
+
DOT(): antlr.TerminalNode[];
|
|
7987
|
+
DOT(i: number): antlr.TerminalNode | null;
|
|
7988
|
+
get ruleIndex(): number;
|
|
7943
7989
|
enterRule(listener: PostgreSqlParserListener): void;
|
|
7944
7990
|
exitRule(listener: PostgreSqlParserListener): void;
|
|
7945
7991
|
accept<Result>(visitor: PostgreSqlParserVisitor<Result>): Result | null;
|