dt-sql-parser 4.5.0-beta.1 → 4.5.0-beta.3
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/SQLParserBase.d.ts +1 -13
- package/dist/lib/SQLParserBase.js +5 -40
- package/dist/lib/flink/FlinkSqlLexer.d.ts +399 -397
- package/dist/lib/flink/FlinkSqlLexer.js +2504 -2489
- package/dist/lib/flink/FlinkSqlParser.d.ts +726 -617
- package/dist/lib/flink/FlinkSqlParser.js +4861 -3558
- package/dist/lib/flink/FlinkSqlParserListener.d.ts +90 -33
- package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +57 -21
- package/dist/lib/hive/HiveSqlParser.d.ts +228 -274
- package/dist/lib/hive/HiveSqlParser.js +5912 -6304
- package/dist/lib/hive/HiveSqlParserListener.d.ts +0 -33
- package/dist/lib/hive/HiveSqlParserVisitor.d.ts +0 -21
- package/dist/lib/impala/ImpalaSqlParser.d.ts +103 -145
- package/dist/lib/impala/ImpalaSqlParser.js +3320 -3687
- package/dist/lib/impala/ImpalaSqlParserListener.d.ts +0 -33
- package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +0 -21
- package/dist/lib/mysql/MySqlParser.d.ts +94 -161
- package/dist/lib/mysql/MySqlParser.js +9499 -9959
- package/dist/lib/mysql/MySqlParserListener.d.ts +5 -79
- package/dist/lib/mysql/MySqlParserVisitor.d.ts +3 -49
- package/dist/lib/postgresql/PostgreSqlParser.d.ts +71 -108
- package/dist/lib/postgresql/PostgreSqlParser.js +10388 -13330
- package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +0 -48
- package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +0 -30
- package/dist/lib/spark/SparkSqlParser.d.ts +145 -185
- package/dist/lib/spark/SparkSqlParser.js +5109 -5420
- package/dist/lib/spark/SparkSqlParserListener.d.ts +0 -33
- package/dist/lib/spark/SparkSqlParserVisitor.d.ts +0 -21
- package/dist/parser/common/basicSQL.d.ts +17 -5
- package/dist/parser/common/basicSQL.js +74 -3
- package/dist/parser/common/entityCollector.js +2 -14
- package/dist/parser/flink/index.js +2 -5
- package/dist/parser/mysql/index.js +1 -3
- package/dist/parser/mysql/mysqlEntityCollector.d.ts +1 -2
- package/dist/parser/mysql/mysqlEntityCollector.js +3 -13
- package/dist/parser/mysql/mysqlErrorListener.js +0 -2
- package/dist/parser/postgresql/postgreEntityCollector.d.ts +1 -3
- package/dist/parser/postgresql/postgreEntityCollector.js +0 -13
- package/dist/parser/spark/index.js +1 -3
- package/package.json +1 -1
|
@@ -95,10 +95,8 @@ import { DatabaseNamePathContext } from "./ImpalaSqlParser.js";
|
|
|
95
95
|
import { TableNamePathContext } from "./ImpalaSqlParser.js";
|
|
96
96
|
import { ViewNamePathContext } from "./ImpalaSqlParser.js";
|
|
97
97
|
import { FunctionNamePathContext } from "./ImpalaSqlParser.js";
|
|
98
|
-
import { EmptyColumnContext } from "./ImpalaSqlParser.js";
|
|
99
98
|
import { ColumnNamePathContext } from "./ImpalaSqlParser.js";
|
|
100
99
|
import { ColumnNameContext } from "./ImpalaSqlParser.js";
|
|
101
|
-
import { ColumnNameAllowEmptyContext } from "./ImpalaSqlParser.js";
|
|
102
100
|
import { TableOrViewPathContext } from "./ImpalaSqlParser.js";
|
|
103
101
|
import { CreateCommonItemContext } from "./ImpalaSqlParser.js";
|
|
104
102
|
import { AssignmentListContext } from "./ImpalaSqlParser.js";
|
|
@@ -242,7 +240,6 @@ import { PathSpecificationContext } from "./ImpalaSqlParser.js";
|
|
|
242
240
|
import { PrivilegeContext } from "./ImpalaSqlParser.js";
|
|
243
241
|
import { ObjectTypeContext } from "./ImpalaSqlParser.js";
|
|
244
242
|
import { QualifiedNameContext } from "./ImpalaSqlParser.js";
|
|
245
|
-
import { QualifiedNameAllowEmptyContext } from "./ImpalaSqlParser.js";
|
|
246
243
|
import { RolePrincipalContext } from "./ImpalaSqlParser.js";
|
|
247
244
|
import { UserPrincipalContext } from "./ImpalaSqlParser.js";
|
|
248
245
|
import { GroupPrincipalContext } from "./ImpalaSqlParser.js";
|
|
@@ -1220,16 +1217,6 @@ export declare class ImpalaSqlParserListener implements ParseTreeListener {
|
|
|
1220
1217
|
* @param ctx the parse tree
|
|
1221
1218
|
*/
|
|
1222
1219
|
exitFunctionNamePath?: (ctx: FunctionNamePathContext) => void;
|
|
1223
|
-
/**
|
|
1224
|
-
* Enter a parse tree produced by `ImpalaSqlParser.emptyColumn`.
|
|
1225
|
-
* @param ctx the parse tree
|
|
1226
|
-
*/
|
|
1227
|
-
enterEmptyColumn?: (ctx: EmptyColumnContext) => void;
|
|
1228
|
-
/**
|
|
1229
|
-
* Exit a parse tree produced by `ImpalaSqlParser.emptyColumn`.
|
|
1230
|
-
* @param ctx the parse tree
|
|
1231
|
-
*/
|
|
1232
|
-
exitEmptyColumn?: (ctx: EmptyColumnContext) => void;
|
|
1233
1220
|
/**
|
|
1234
1221
|
* Enter a parse tree produced by `ImpalaSqlParser.columnNamePath`.
|
|
1235
1222
|
* @param ctx the parse tree
|
|
@@ -1250,16 +1237,6 @@ export declare class ImpalaSqlParserListener implements ParseTreeListener {
|
|
|
1250
1237
|
* @param ctx the parse tree
|
|
1251
1238
|
*/
|
|
1252
1239
|
exitColumnName?: (ctx: ColumnNameContext) => void;
|
|
1253
|
-
/**
|
|
1254
|
-
* Enter a parse tree produced by `ImpalaSqlParser.columnNameAllowEmpty`.
|
|
1255
|
-
* @param ctx the parse tree
|
|
1256
|
-
*/
|
|
1257
|
-
enterColumnNameAllowEmpty?: (ctx: ColumnNameAllowEmptyContext) => void;
|
|
1258
|
-
/**
|
|
1259
|
-
* Exit a parse tree produced by `ImpalaSqlParser.columnNameAllowEmpty`.
|
|
1260
|
-
* @param ctx the parse tree
|
|
1261
|
-
*/
|
|
1262
|
-
exitColumnNameAllowEmpty?: (ctx: ColumnNameAllowEmptyContext) => void;
|
|
1263
1240
|
/**
|
|
1264
1241
|
* Enter a parse tree produced by `ImpalaSqlParser.tableOrViewPath`.
|
|
1265
1242
|
* @param ctx the parse tree
|
|
@@ -2812,16 +2789,6 @@ export declare class ImpalaSqlParserListener implements ParseTreeListener {
|
|
|
2812
2789
|
* @param ctx the parse tree
|
|
2813
2790
|
*/
|
|
2814
2791
|
exitQualifiedName?: (ctx: QualifiedNameContext) => void;
|
|
2815
|
-
/**
|
|
2816
|
-
* Enter a parse tree produced by `ImpalaSqlParser.qualifiedNameAllowEmpty`.
|
|
2817
|
-
* @param ctx the parse tree
|
|
2818
|
-
*/
|
|
2819
|
-
enterQualifiedNameAllowEmpty?: (ctx: QualifiedNameAllowEmptyContext) => void;
|
|
2820
|
-
/**
|
|
2821
|
-
* Exit a parse tree produced by `ImpalaSqlParser.qualifiedNameAllowEmpty`.
|
|
2822
|
-
* @param ctx the parse tree
|
|
2823
|
-
*/
|
|
2824
|
-
exitQualifiedNameAllowEmpty?: (ctx: QualifiedNameAllowEmptyContext) => void;
|
|
2825
2792
|
/**
|
|
2826
2793
|
* Enter a parse tree produced by the `rolePrincipal`
|
|
2827
2794
|
* labeled alternative in `ImpalaSqlParser.principal`.
|
|
@@ -95,10 +95,8 @@ import { DatabaseNamePathContext } from "./ImpalaSqlParser.js";
|
|
|
95
95
|
import { TableNamePathContext } from "./ImpalaSqlParser.js";
|
|
96
96
|
import { ViewNamePathContext } from "./ImpalaSqlParser.js";
|
|
97
97
|
import { FunctionNamePathContext } from "./ImpalaSqlParser.js";
|
|
98
|
-
import { EmptyColumnContext } from "./ImpalaSqlParser.js";
|
|
99
98
|
import { ColumnNamePathContext } from "./ImpalaSqlParser.js";
|
|
100
99
|
import { ColumnNameContext } from "./ImpalaSqlParser.js";
|
|
101
|
-
import { ColumnNameAllowEmptyContext } from "./ImpalaSqlParser.js";
|
|
102
100
|
import { TableOrViewPathContext } from "./ImpalaSqlParser.js";
|
|
103
101
|
import { CreateCommonItemContext } from "./ImpalaSqlParser.js";
|
|
104
102
|
import { AssignmentListContext } from "./ImpalaSqlParser.js";
|
|
@@ -242,7 +240,6 @@ import { PathSpecificationContext } from "./ImpalaSqlParser.js";
|
|
|
242
240
|
import { PrivilegeContext } from "./ImpalaSqlParser.js";
|
|
243
241
|
import { ObjectTypeContext } from "./ImpalaSqlParser.js";
|
|
244
242
|
import { QualifiedNameContext } from "./ImpalaSqlParser.js";
|
|
245
|
-
import { QualifiedNameAllowEmptyContext } from "./ImpalaSqlParser.js";
|
|
246
243
|
import { RolePrincipalContext } from "./ImpalaSqlParser.js";
|
|
247
244
|
import { UserPrincipalContext } from "./ImpalaSqlParser.js";
|
|
248
245
|
import { GroupPrincipalContext } from "./ImpalaSqlParser.js";
|
|
@@ -839,12 +836,6 @@ export declare class ImpalaSqlParserVisitor<Result> extends AbstractParseTreeVis
|
|
|
839
836
|
* @return the visitor result
|
|
840
837
|
*/
|
|
841
838
|
visitFunctionNamePath?: (ctx: FunctionNamePathContext) => Result;
|
|
842
|
-
/**
|
|
843
|
-
* Visit a parse tree produced by `ImpalaSqlParser.emptyColumn`.
|
|
844
|
-
* @param ctx the parse tree
|
|
845
|
-
* @return the visitor result
|
|
846
|
-
*/
|
|
847
|
-
visitEmptyColumn?: (ctx: EmptyColumnContext) => Result;
|
|
848
839
|
/**
|
|
849
840
|
* Visit a parse tree produced by `ImpalaSqlParser.columnNamePath`.
|
|
850
841
|
* @param ctx the parse tree
|
|
@@ -857,12 +848,6 @@ export declare class ImpalaSqlParserVisitor<Result> extends AbstractParseTreeVis
|
|
|
857
848
|
* @return the visitor result
|
|
858
849
|
*/
|
|
859
850
|
visitColumnName?: (ctx: ColumnNameContext) => Result;
|
|
860
|
-
/**
|
|
861
|
-
* Visit a parse tree produced by `ImpalaSqlParser.columnNameAllowEmpty`.
|
|
862
|
-
* @param ctx the parse tree
|
|
863
|
-
* @return the visitor result
|
|
864
|
-
*/
|
|
865
|
-
visitColumnNameAllowEmpty?: (ctx: ColumnNameAllowEmptyContext) => Result;
|
|
866
851
|
/**
|
|
867
852
|
* Visit a parse tree produced by `ImpalaSqlParser.tableOrViewPath`.
|
|
868
853
|
* @param ctx the parse tree
|
|
@@ -1782,12 +1767,6 @@ export declare class ImpalaSqlParserVisitor<Result> extends AbstractParseTreeVis
|
|
|
1782
1767
|
* @return the visitor result
|
|
1783
1768
|
*/
|
|
1784
1769
|
visitQualifiedName?: (ctx: QualifiedNameContext) => Result;
|
|
1785
|
-
/**
|
|
1786
|
-
* Visit a parse tree produced by `ImpalaSqlParser.qualifiedNameAllowEmpty`.
|
|
1787
|
-
* @param ctx the parse tree
|
|
1788
|
-
* @return the visitor result
|
|
1789
|
-
*/
|
|
1790
|
-
visitQualifiedNameAllowEmpty?: (ctx: QualifiedNameAllowEmptyContext) => Result;
|
|
1791
1770
|
/**
|
|
1792
1771
|
* Visit a parse tree produced by the `rolePrincipal`
|
|
1793
1772
|
* labeled alternative in `ImpalaSqlParser.principal`.
|
|
@@ -1235,97 +1235,94 @@ export declare class MySqlParser extends SQLParserBase {
|
|
|
1235
1235
|
static readonly RULE_userOrRoleName = 333;
|
|
1236
1236
|
static readonly RULE_columnNameCreate = 334;
|
|
1237
1237
|
static readonly RULE_columnNames = 335;
|
|
1238
|
-
static readonly
|
|
1239
|
-
static readonly
|
|
1240
|
-
static readonly
|
|
1241
|
-
static readonly
|
|
1242
|
-
static readonly
|
|
1243
|
-
static readonly
|
|
1244
|
-
static readonly
|
|
1245
|
-
static readonly
|
|
1246
|
-
static readonly
|
|
1247
|
-
static readonly
|
|
1248
|
-
static readonly
|
|
1249
|
-
static readonly
|
|
1250
|
-
static readonly
|
|
1251
|
-
static readonly
|
|
1252
|
-
static readonly
|
|
1253
|
-
static readonly
|
|
1254
|
-
static readonly
|
|
1255
|
-
static readonly
|
|
1256
|
-
static readonly
|
|
1257
|
-
static readonly
|
|
1258
|
-
static readonly
|
|
1259
|
-
static readonly
|
|
1260
|
-
static readonly
|
|
1261
|
-
static readonly
|
|
1262
|
-
static readonly
|
|
1263
|
-
static readonly
|
|
1264
|
-
static readonly
|
|
1265
|
-
static readonly
|
|
1266
|
-
static readonly
|
|
1267
|
-
static readonly
|
|
1268
|
-
static readonly
|
|
1269
|
-
static readonly
|
|
1270
|
-
static readonly
|
|
1271
|
-
static readonly
|
|
1272
|
-
static readonly
|
|
1273
|
-
static readonly
|
|
1274
|
-
static readonly
|
|
1275
|
-
static readonly
|
|
1276
|
-
static readonly
|
|
1277
|
-
static readonly
|
|
1278
|
-
static readonly
|
|
1279
|
-
static readonly
|
|
1280
|
-
static readonly
|
|
1281
|
-
static readonly
|
|
1282
|
-
static readonly
|
|
1283
|
-
static readonly
|
|
1284
|
-
static readonly
|
|
1285
|
-
static readonly
|
|
1286
|
-
static readonly
|
|
1287
|
-
static readonly
|
|
1288
|
-
static readonly
|
|
1289
|
-
static readonly
|
|
1290
|
-
static readonly
|
|
1291
|
-
static readonly
|
|
1292
|
-
static readonly
|
|
1293
|
-
static readonly
|
|
1294
|
-
static readonly
|
|
1295
|
-
static readonly
|
|
1296
|
-
static readonly
|
|
1297
|
-
static readonly
|
|
1298
|
-
static readonly
|
|
1299
|
-
static readonly
|
|
1300
|
-
static readonly
|
|
1301
|
-
static readonly
|
|
1302
|
-
static readonly
|
|
1303
|
-
static readonly
|
|
1304
|
-
static readonly
|
|
1305
|
-
static readonly
|
|
1306
|
-
static readonly
|
|
1307
|
-
static readonly
|
|
1308
|
-
static readonly
|
|
1309
|
-
static readonly
|
|
1310
|
-
static readonly
|
|
1311
|
-
static readonly
|
|
1312
|
-
static readonly
|
|
1313
|
-
static readonly
|
|
1314
|
-
static readonly
|
|
1315
|
-
static readonly
|
|
1316
|
-
static readonly
|
|
1317
|
-
static readonly
|
|
1318
|
-
static readonly
|
|
1319
|
-
static readonly
|
|
1320
|
-
static readonly
|
|
1321
|
-
static readonly
|
|
1322
|
-
static readonly
|
|
1323
|
-
static readonly
|
|
1324
|
-
static readonly
|
|
1325
|
-
static readonly
|
|
1326
|
-
static readonly RULE_dataTypeBase = 424;
|
|
1327
|
-
static readonly RULE_keywordsCanBeId = 425;
|
|
1328
|
-
static readonly RULE_functionNameBase = 426;
|
|
1238
|
+
static readonly RULE_columnName = 336;
|
|
1239
|
+
static readonly RULE_tableSpaceNameCreate = 337;
|
|
1240
|
+
static readonly RULE_tableSpaceName = 338;
|
|
1241
|
+
static readonly RULE_partitionNameCreate = 339;
|
|
1242
|
+
static readonly RULE_partitionNames = 340;
|
|
1243
|
+
static readonly RULE_partitionName = 341;
|
|
1244
|
+
static readonly RULE_indexColumnName = 342;
|
|
1245
|
+
static readonly RULE_userHostPort = 343;
|
|
1246
|
+
static readonly RULE_userAtHost = 344;
|
|
1247
|
+
static readonly RULE_simpleUserName = 345;
|
|
1248
|
+
static readonly RULE_hostName = 346;
|
|
1249
|
+
static readonly RULE_userName = 347;
|
|
1250
|
+
static readonly RULE_mysqlVariable = 348;
|
|
1251
|
+
static readonly RULE_charsetName = 349;
|
|
1252
|
+
static readonly RULE_collationName = 350;
|
|
1253
|
+
static readonly RULE_engineName = 351;
|
|
1254
|
+
static readonly RULE_engineNameBase = 352;
|
|
1255
|
+
static readonly RULE_uuidSet = 353;
|
|
1256
|
+
static readonly RULE_xid = 354;
|
|
1257
|
+
static readonly RULE_xuidStringId = 355;
|
|
1258
|
+
static readonly RULE_fullId = 356;
|
|
1259
|
+
static readonly RULE_uidList = 357;
|
|
1260
|
+
static readonly RULE_uid = 358;
|
|
1261
|
+
static readonly RULE_simpleId = 359;
|
|
1262
|
+
static readonly RULE_dottedId = 360;
|
|
1263
|
+
static readonly RULE_decimalLiteral = 361;
|
|
1264
|
+
static readonly RULE_fileSizeLiteral = 362;
|
|
1265
|
+
static readonly RULE_stringLiteral = 363;
|
|
1266
|
+
static readonly RULE_booleanLiteral = 364;
|
|
1267
|
+
static readonly RULE_hexadecimalLiteral = 365;
|
|
1268
|
+
static readonly RULE_nullNotNull = 366;
|
|
1269
|
+
static readonly RULE_constant = 367;
|
|
1270
|
+
static readonly RULE_dataType = 368;
|
|
1271
|
+
static readonly RULE_collectionOptions = 369;
|
|
1272
|
+
static readonly RULE_convertedDataType = 370;
|
|
1273
|
+
static readonly RULE_lengthOneDimension = 371;
|
|
1274
|
+
static readonly RULE_lengthTwoDimension = 372;
|
|
1275
|
+
static readonly RULE_lengthTwoOptionalDimension = 373;
|
|
1276
|
+
static readonly RULE_indexColumnNames = 374;
|
|
1277
|
+
static readonly RULE_expressions = 375;
|
|
1278
|
+
static readonly RULE_valuesOrValueList = 376;
|
|
1279
|
+
static readonly RULE_expressionsWithDefaults = 377;
|
|
1280
|
+
static readonly RULE_expressionOrDefault = 378;
|
|
1281
|
+
static readonly RULE_constants = 379;
|
|
1282
|
+
static readonly RULE_simpleStrings = 380;
|
|
1283
|
+
static readonly RULE_userVariables = 381;
|
|
1284
|
+
static readonly RULE_defaultValue = 382;
|
|
1285
|
+
static readonly RULE_currentTimestamp = 383;
|
|
1286
|
+
static readonly RULE_ifExists = 384;
|
|
1287
|
+
static readonly RULE_ifNotExists = 385;
|
|
1288
|
+
static readonly RULE_orReplace = 386;
|
|
1289
|
+
static readonly RULE_functionCall = 387;
|
|
1290
|
+
static readonly RULE_specificFunction = 388;
|
|
1291
|
+
static readonly RULE_caseFuncAlternative = 389;
|
|
1292
|
+
static readonly RULE_levelsInWeightString = 390;
|
|
1293
|
+
static readonly RULE_levelInWeightListElement = 391;
|
|
1294
|
+
static readonly RULE_aggregateWindowedFunction = 392;
|
|
1295
|
+
static readonly RULE_nonAggregateWindowedFunction = 393;
|
|
1296
|
+
static readonly RULE_overClause = 394;
|
|
1297
|
+
static readonly RULE_windowSpec = 395;
|
|
1298
|
+
static readonly RULE_windowName = 396;
|
|
1299
|
+
static readonly RULE_frameClause = 397;
|
|
1300
|
+
static readonly RULE_frameUnits = 398;
|
|
1301
|
+
static readonly RULE_frameExtent = 399;
|
|
1302
|
+
static readonly RULE_frameBetween = 400;
|
|
1303
|
+
static readonly RULE_frameRange = 401;
|
|
1304
|
+
static readonly RULE_partitionClause = 402;
|
|
1305
|
+
static readonly RULE_scalarFunctionName = 403;
|
|
1306
|
+
static readonly RULE_passwordFunctionClause = 404;
|
|
1307
|
+
static readonly RULE_functionArgs = 405;
|
|
1308
|
+
static readonly RULE_functionArg = 406;
|
|
1309
|
+
static readonly RULE_expression = 407;
|
|
1310
|
+
static readonly RULE_predicate = 408;
|
|
1311
|
+
static readonly RULE_expressionAtom = 409;
|
|
1312
|
+
static readonly RULE_unaryOperator = 410;
|
|
1313
|
+
static readonly RULE_comparisonOperator = 411;
|
|
1314
|
+
static readonly RULE_comparisonBase = 412;
|
|
1315
|
+
static readonly RULE_logicalOperator = 413;
|
|
1316
|
+
static readonly RULE_bitOperator = 414;
|
|
1317
|
+
static readonly RULE_mathOperator = 415;
|
|
1318
|
+
static readonly RULE_jsonOperator = 416;
|
|
1319
|
+
static readonly RULE_charsetNameBase = 417;
|
|
1320
|
+
static readonly RULE_transactionLevelBase = 418;
|
|
1321
|
+
static readonly RULE_privilegesBase = 419;
|
|
1322
|
+
static readonly RULE_intervalTypeBase = 420;
|
|
1323
|
+
static readonly RULE_dataTypeBase = 421;
|
|
1324
|
+
static readonly RULE_keywordsCanBeId = 422;
|
|
1325
|
+
static readonly RULE_functionNameBase = 423;
|
|
1329
1326
|
static readonly literalNames: (string | null)[];
|
|
1330
1327
|
static readonly symbolicNames: (string | null)[];
|
|
1331
1328
|
static readonly ruleNames: string[];
|
|
@@ -1674,10 +1671,7 @@ export declare class MySqlParser extends SQLParserBase {
|
|
|
1674
1671
|
userOrRoleName(): UserOrRoleNameContext;
|
|
1675
1672
|
columnNameCreate(): ColumnNameCreateContext;
|
|
1676
1673
|
columnNames(): ColumnNamesContext;
|
|
1677
|
-
emptyColumn(): EmptyColumnContext;
|
|
1678
1674
|
columnName(): ColumnNameContext;
|
|
1679
|
-
columnNamePath(): ColumnNamePathContext;
|
|
1680
|
-
columnNamePathAllowEmpty(): ColumnNamePathAllowEmptyContext;
|
|
1681
1675
|
tableSpaceNameCreate(): TableSpaceNameCreateContext;
|
|
1682
1676
|
tableSpaceName(): TableSpaceNameContext;
|
|
1683
1677
|
partitionNameCreate(): PartitionNameCreateContext;
|
|
@@ -1771,9 +1765,7 @@ export declare class MySqlParser extends SQLParserBase {
|
|
|
1771
1765
|
sempred(localContext: antlr.RuleContext | null, ruleIndex: number, predIndex: number): boolean;
|
|
1772
1766
|
private queryExpressionBody_sempred;
|
|
1773
1767
|
private queryItem_sempred;
|
|
1774
|
-
private selectElement_sempred;
|
|
1775
1768
|
private columnName_sempred;
|
|
1776
|
-
private columnNamePathAllowEmpty_sempred;
|
|
1777
1769
|
private expression_sempred;
|
|
1778
1770
|
private predicate_sempred;
|
|
1779
1771
|
private expressionAtom_sempred;
|
|
@@ -5585,7 +5577,6 @@ export declare class JoinSpecContext extends antlr.ParserRuleContext {
|
|
|
5585
5577
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
5586
5578
|
KW_ON(): antlr.TerminalNode | null;
|
|
5587
5579
|
expression(): ExpressionContext | null;
|
|
5588
|
-
columnNamePathAllowEmpty(): ColumnNamePathAllowEmptyContext | null;
|
|
5589
5580
|
KW_USING(): antlr.TerminalNode | null;
|
|
5590
5581
|
LR_BRACKET(): antlr.TerminalNode | null;
|
|
5591
5582
|
columnNames(): ColumnNamesContext | null;
|
|
@@ -5763,42 +5754,14 @@ export declare class SelectElementsContext extends antlr.ParserRuleContext {
|
|
|
5763
5754
|
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|
|
5764
5755
|
}
|
|
5765
5756
|
export declare class SelectElementContext extends antlr.ParserRuleContext {
|
|
5766
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
5767
|
-
get ruleIndex(): number;
|
|
5768
|
-
copyFrom(ctx: SelectElementContext): void;
|
|
5769
|
-
}
|
|
5770
|
-
export declare class SelectElement_exprContext extends SelectElementContext {
|
|
5771
5757
|
_alias?: UidContext;
|
|
5772
|
-
constructor(
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
KW_AS(): antlr.TerminalNode | null;
|
|
5776
|
-
enterRule(listener: MySqlParserListener): void;
|
|
5777
|
-
exitRule(listener: MySqlParserListener): void;
|
|
5778
|
-
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|
|
5779
|
-
}
|
|
5780
|
-
export declare class SelectElement_labelContext extends SelectElementContext {
|
|
5781
|
-
_alias?: UidContext;
|
|
5782
|
-
constructor(ctx: SelectElementContext);
|
|
5783
|
-
selectLiteralColumnName(): SelectLiteralColumnNameContext;
|
|
5758
|
+
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
5759
|
+
tableAllColumns(): TableAllColumnsContext | null;
|
|
5760
|
+
selectLiteralColumnName(): SelectLiteralColumnNameContext | null;
|
|
5784
5761
|
uid(): UidContext | null;
|
|
5785
5762
|
KW_AS(): antlr.TerminalNode | null;
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|
|
5789
|
-
}
|
|
5790
|
-
export declare class SelectElement_dot_emptyContext extends SelectElementContext {
|
|
5791
|
-
constructor(ctx: SelectElementContext);
|
|
5792
|
-
uid(): UidContext;
|
|
5793
|
-
DOT(): antlr.TerminalNode;
|
|
5794
|
-
emptyColumn(): EmptyColumnContext;
|
|
5795
|
-
enterRule(listener: MySqlParserListener): void;
|
|
5796
|
-
exitRule(listener: MySqlParserListener): void;
|
|
5797
|
-
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|
|
5798
|
-
}
|
|
5799
|
-
export declare class SelectElement_starContext extends SelectElementContext {
|
|
5800
|
-
constructor(ctx: SelectElementContext);
|
|
5801
|
-
tableAllColumns(): TableAllColumnsContext;
|
|
5763
|
+
selectExpressionColumnName(): SelectExpressionColumnNameContext | null;
|
|
5764
|
+
get ruleIndex(): number;
|
|
5802
5765
|
enterRule(listener: MySqlParserListener): void;
|
|
5803
5766
|
exitRule(listener: MySqlParserListener): void;
|
|
5804
5767
|
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|
|
@@ -5932,7 +5895,6 @@ export declare class FromClauseContext extends antlr.ParserRuleContext {
|
|
|
5932
5895
|
KW_FROM(): antlr.TerminalNode | null;
|
|
5933
5896
|
tableSources(): TableSourcesContext | null;
|
|
5934
5897
|
KW_WHERE(): antlr.TerminalNode | null;
|
|
5935
|
-
columnNamePathAllowEmpty(): ColumnNamePathAllowEmptyContext | null;
|
|
5936
5898
|
expression(): ExpressionContext | null;
|
|
5937
5899
|
get ruleIndex(): number;
|
|
5938
5900
|
enterRule(listener: MySqlParserListener): void;
|
|
@@ -9396,40 +9358,11 @@ export declare class ColumnNamesContext extends antlr.ParserRuleContext {
|
|
|
9396
9358
|
exitRule(listener: MySqlParserListener): void;
|
|
9397
9359
|
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|
|
9398
9360
|
}
|
|
9399
|
-
export declare class EmptyColumnContext extends antlr.ParserRuleContext {
|
|
9400
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
9401
|
-
get ruleIndex(): number;
|
|
9402
|
-
enterRule(listener: MySqlParserListener): void;
|
|
9403
|
-
exitRule(listener: MySqlParserListener): void;
|
|
9404
|
-
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|
|
9405
|
-
}
|
|
9406
9361
|
export declare class ColumnNameContext extends antlr.ParserRuleContext {
|
|
9407
9362
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
9408
9363
|
uid(): UidContext | null;
|
|
9409
9364
|
dottedId(): DottedIdContext[];
|
|
9410
9365
|
dottedId(i: number): DottedIdContext | null;
|
|
9411
|
-
emptyColumn(): EmptyColumnContext | null;
|
|
9412
|
-
get ruleIndex(): number;
|
|
9413
|
-
enterRule(listener: MySqlParserListener): void;
|
|
9414
|
-
exitRule(listener: MySqlParserListener): void;
|
|
9415
|
-
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|
|
9416
|
-
}
|
|
9417
|
-
export declare class ColumnNamePathContext extends antlr.ParserRuleContext {
|
|
9418
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
9419
|
-
uid(): UidContext | null;
|
|
9420
|
-
dottedId(): DottedIdContext[];
|
|
9421
|
-
dottedId(i: number): DottedIdContext | null;
|
|
9422
|
-
get ruleIndex(): number;
|
|
9423
|
-
enterRule(listener: MySqlParserListener): void;
|
|
9424
|
-
exitRule(listener: MySqlParserListener): void;
|
|
9425
|
-
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|
|
9426
|
-
}
|
|
9427
|
-
export declare class ColumnNamePathAllowEmptyContext extends antlr.ParserRuleContext {
|
|
9428
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
9429
|
-
emptyColumn(): EmptyColumnContext | null;
|
|
9430
|
-
uid(): UidContext | null;
|
|
9431
|
-
dottedId(): DottedIdContext[];
|
|
9432
|
-
dottedId(i: number): DottedIdContext | null;
|
|
9433
9366
|
get ruleIndex(): number;
|
|
9434
9367
|
enterRule(listener: MySqlParserListener): void;
|
|
9435
9368
|
exitRule(listener: MySqlParserListener): void;
|
|
@@ -10906,7 +10839,7 @@ export declare class CollateExpressionAtomContext extends ExpressionAtomContext
|
|
|
10906
10839
|
}
|
|
10907
10840
|
export declare class ColumnNameExpressionAtomContext extends ExpressionAtomContext {
|
|
10908
10841
|
constructor(ctx: ExpressionAtomContext);
|
|
10909
|
-
|
|
10842
|
+
columnName(): ColumnNameContext;
|
|
10910
10843
|
enterRule(listener: MySqlParserListener): void;
|
|
10911
10844
|
exitRule(listener: MySqlParserListener): void;
|
|
10912
10845
|
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|