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.
Files changed (31) hide show
  1. package/README.md +8 -8
  2. package/dist/lib/flink/FlinkSqlParser.d.ts +220 -363
  3. package/dist/lib/flink/FlinkSqlParser.js +3246 -4046
  4. package/dist/lib/flink/FlinkSqlParserListener.d.ts +0 -154
  5. package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +0 -98
  6. package/dist/lib/generic/GenericSqlListener.d.ts +90 -5
  7. package/dist/lib/generic/GenericSqlParser.d.ts +102 -33
  8. package/dist/lib/generic/GenericSqlParser.js +1329 -930
  9. package/dist/lib/generic/GenericSqlVisitor.d.ts +56 -3
  10. package/dist/lib/hive/HiveSqlParser.d.ts +515 -943
  11. package/dist/lib/hive/HiveSqlParser.js +8234 -10573
  12. package/dist/lib/hive/HiveSqlParserListener.d.ts +50 -490
  13. package/dist/lib/hive/HiveSqlParserVisitor.d.ts +30 -310
  14. package/dist/lib/impala/ImpalaSqlParser.d.ts +96 -131
  15. package/dist/lib/impala/ImpalaSqlParser.js +3311 -3522
  16. package/dist/lib/impala/ImpalaSqlParserListener.d.ts +0 -44
  17. package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +0 -28
  18. package/dist/lib/mysql/MySqlParser.d.ts +422 -464
  19. package/dist/lib/mysql/MySqlParser.js +9954 -10184
  20. package/dist/lib/mysql/MySqlParserListener.d.ts +0 -44
  21. package/dist/lib/mysql/MySqlParserVisitor.d.ts +0 -28
  22. package/dist/lib/trino/TrinoSqlListener.d.ts +0 -328
  23. package/dist/lib/trino/TrinoSqlParser.d.ts +203 -476
  24. package/dist/lib/trino/TrinoSqlParser.js +6680 -7917
  25. package/dist/lib/trino/TrinoSqlVisitor.d.ts +0 -206
  26. package/dist/parser/common/entityCollector.js +5 -0
  27. package/dist/parser/flink/flinkEntityCollector.js +1 -1
  28. package/dist/parser/generic/genericEntityCollector.d.ts +6 -3
  29. package/dist/parser/generic/genericEntityCollector.js +30 -42
  30. package/dist/parser/generic/index.js +13 -10
  31. package/package.json +1 -1
@@ -902,430 +902,426 @@ export declare class MySqlParser extends SQLParserBase {
902
902
  static readonly RULE_program = 0;
903
903
  static readonly RULE_singleStatement = 1;
904
904
  static readonly RULE_sqlStatement = 2;
905
- static readonly RULE_emptyStatement_ = 3;
906
- static readonly RULE_ddlStatement = 4;
907
- static readonly RULE_dmlStatement = 5;
908
- static readonly RULE_transactionStatement = 6;
909
- static readonly RULE_replicationStatement = 7;
910
- static readonly RULE_preparedStatement = 8;
911
- static readonly RULE_compoundStatement = 9;
912
- static readonly RULE_administrationStatement = 10;
913
- static readonly RULE_utilityStatement = 11;
914
- static readonly RULE_createDatabase = 12;
915
- static readonly RULE_createEvent = 13;
916
- static readonly RULE_createIndex = 14;
917
- static readonly RULE_createLogFileGroup = 15;
918
- static readonly RULE_createProcedure = 16;
919
- static readonly RULE_createFunction = 17;
920
- static readonly RULE_createFunctionLoadable = 18;
921
- static readonly RULE_createRole = 19;
922
- static readonly RULE_createServer = 20;
923
- static readonly RULE_createTable = 21;
924
- static readonly RULE_createTableSpaceInnoDB = 22;
925
- static readonly RULE_createTableSpaceNDB = 23;
926
- static readonly RULE_createTrigger = 24;
927
- static readonly RULE_withClause = 25;
928
- static readonly RULE_commonTableExpressions = 26;
929
- static readonly RULE_createView = 27;
930
- static readonly RULE_createDatabaseOption = 28;
931
- static readonly RULE_charSet = 29;
932
- static readonly RULE_currentUserExpression = 30;
933
- static readonly RULE_ownerStatement = 31;
934
- static readonly RULE_scheduleExpression = 32;
935
- static readonly RULE_timestampValue = 33;
936
- static readonly RULE_intervalExpr = 34;
937
- static readonly RULE_intervalType = 35;
938
- static readonly RULE_enableType = 36;
939
- static readonly RULE_indexType = 37;
940
- static readonly RULE_indexOption = 38;
941
- static readonly RULE_procedureParameter = 39;
942
- static readonly RULE_functionParameter = 40;
943
- static readonly RULE_routineOption = 41;
944
- static readonly RULE_serverOption = 42;
945
- static readonly RULE_createDefinitions = 43;
946
- static readonly RULE_createDefinition = 44;
947
- static readonly RULE_checkConstraintDefinition = 45;
948
- static readonly RULE_constraintSymbol = 46;
949
- static readonly RULE_columnDefinition = 47;
950
- static readonly RULE_columnConstraint = 48;
951
- static readonly RULE_referenceDefinition = 49;
952
- static readonly RULE_referenceAction = 50;
953
- static readonly RULE_referenceControlType = 51;
954
- static readonly RULE_tableOption = 52;
955
- static readonly RULE_tableType = 53;
956
- static readonly RULE_tableSpaceStorage = 54;
957
- static readonly RULE_partitionDefinitions = 55;
958
- static readonly RULE_partitionFunctionDefinition = 56;
959
- static readonly RULE_subpartitionFunctionDefinition = 57;
960
- static readonly RULE_partitionDefinition = 58;
961
- static readonly RULE_partitionDefinerAtom = 59;
962
- static readonly RULE_partitionDefinerVector = 60;
963
- static readonly RULE_subPartitionDefinition = 61;
964
- static readonly RULE_partitionOption = 62;
965
- static readonly RULE_alterDatabase = 63;
966
- static readonly RULE_alterEvent = 64;
967
- static readonly RULE_alterFunction = 65;
968
- static readonly RULE_alterInstance = 66;
969
- static readonly RULE_alterLogFileGroup = 67;
970
- static readonly RULE_alterProcedure = 68;
971
- static readonly RULE_alterServer = 69;
972
- static readonly RULE_alterTable = 70;
973
- static readonly RULE_alterTableSpace = 71;
974
- static readonly RULE_alterView = 72;
975
- static readonly RULE_alterOption = 73;
976
- static readonly RULE_alterPartitionSpecification = 74;
977
- static readonly RULE_dropDatabase = 75;
978
- static readonly RULE_dropEvent = 76;
979
- static readonly RULE_dropIndex = 77;
980
- static readonly RULE_dropLogFileGroup = 78;
981
- static readonly RULE_dropProcedure = 79;
982
- static readonly RULE_dropFunction = 80;
983
- static readonly RULE_dropServer = 81;
984
- static readonly RULE_dropSpatial = 82;
985
- static readonly RULE_dropTable = 83;
986
- static readonly RULE_dropTableSpace = 84;
987
- static readonly RULE_dropTrigger = 85;
988
- static readonly RULE_dropView = 86;
989
- static readonly RULE_dropRole = 87;
990
- static readonly RULE_setRole = 88;
991
- static readonly RULE_renameTable = 89;
992
- static readonly RULE_renameTableClause = 90;
993
- static readonly RULE_truncateTable = 91;
994
- static readonly RULE_callStatement = 92;
995
- static readonly RULE_deleteStatement = 93;
996
- static readonly RULE_doStatement = 94;
997
- static readonly RULE_handlerStatement = 95;
998
- static readonly RULE_insertStatement = 96;
999
- static readonly RULE_asRowAlias = 97;
1000
- static readonly RULE_selectOrTableOrValues = 98;
1001
- static readonly RULE_interSectStatement = 99;
1002
- static readonly RULE_interSectQuery = 100;
1003
- static readonly RULE_loadDataStatement = 101;
1004
- static readonly RULE_loadXmlStatement = 102;
1005
- static readonly RULE_parenthesizedQuery = 103;
1006
- static readonly RULE_replaceStatement = 104;
1007
- static readonly RULE_selectStatement = 105;
1008
- static readonly RULE_setOperations = 106;
1009
- static readonly RULE_queryExpressionBody = 107;
1010
- static readonly RULE_queryItem = 108;
1011
- static readonly RULE_queryPrimary = 109;
1012
- static readonly RULE_updateStatement = 110;
1013
- static readonly RULE_valuesStatement = 111;
1014
- static readonly RULE_parenthesizedQueryExpression = 112;
1015
- static readonly RULE_queryBlock = 113;
1016
- static readonly RULE_replaceStatementValuesOrSelectOrTable = 114;
1017
- static readonly RULE_rowValuesList = 115;
1018
- static readonly RULE_setAssignmentList = 116;
1019
- static readonly RULE_updatedElement = 117;
1020
- static readonly RULE_assignmentField = 118;
1021
- static readonly RULE_lockClause = 119;
1022
- static readonly RULE_singleDeleteStatement = 120;
1023
- static readonly RULE_multipleDeleteStatement = 121;
1024
- static readonly RULE_handlerOpenStatement = 122;
1025
- static readonly RULE_handlerReadIndexStatement = 123;
1026
- static readonly RULE_handlerReadStatement = 124;
1027
- static readonly RULE_handlerCloseStatement = 125;
1028
- static readonly RULE_importTableStatement = 126;
1029
- static readonly RULE_singleUpdateStatement = 127;
1030
- static readonly RULE_multipleUpdateStatement = 128;
1031
- static readonly RULE_orderByClause = 129;
1032
- static readonly RULE_orderByExpression = 130;
1033
- static readonly RULE_tableSources = 131;
1034
- static readonly RULE_tableSource = 132;
1035
- static readonly RULE_tableSourceItem = 133;
1036
- static readonly RULE_atomSubQueryTableSource = 134;
1037
- static readonly RULE_fullColumnNames = 135;
1038
- static readonly RULE_indexHint = 136;
1039
- static readonly RULE_indexHintType = 137;
1040
- static readonly RULE_joinPart = 138;
1041
- static readonly RULE_joinSpec = 139;
1042
- static readonly RULE_queryExpression = 140;
1043
- static readonly RULE_querySpecification = 141;
1044
- static readonly RULE_unionStatement = 142;
1045
- static readonly RULE_lateralStatement = 143;
1046
- static readonly RULE_jsonTable = 144;
1047
- static readonly RULE_jsonColumnList = 145;
1048
- static readonly RULE_jsonColumn = 146;
1049
- static readonly RULE_jsonOnEmpty = 147;
1050
- static readonly RULE_jsonOnError = 148;
1051
- static readonly RULE_selectSpec = 149;
1052
- static readonly RULE_selectElements = 150;
1053
- static readonly RULE_selectElement = 151;
1054
- static readonly RULE_tableAllColumns = 152;
1055
- static readonly RULE_pureAllColumns = 153;
1056
- static readonly RULE_selectLiteralColumnName = 154;
1057
- static readonly RULE_selectExpressionColumnName = 155;
1058
- static readonly RULE_intoClause = 156;
1059
- static readonly RULE_selectFieldsInto = 157;
1060
- static readonly RULE_selectLinesInto = 158;
1061
- static readonly RULE_fromClause = 159;
1062
- static readonly RULE_groupByClause = 160;
1063
- static readonly RULE_havingClause = 161;
1064
- static readonly RULE_windowClause = 162;
1065
- static readonly RULE_groupByItem = 163;
1066
- static readonly RULE_limitClause = 164;
1067
- static readonly RULE_limitClauseAtom = 165;
1068
- static readonly RULE_startTransaction = 166;
1069
- static readonly RULE_beginWork = 167;
1070
- static readonly RULE_commitWork = 168;
1071
- static readonly RULE_rollbackWork = 169;
1072
- static readonly RULE_savePointStatement = 170;
1073
- static readonly RULE_rollbackStatement = 171;
1074
- static readonly RULE_releaseStatement = 172;
1075
- static readonly RULE_lockTables = 173;
1076
- static readonly RULE_unlockTables = 174;
1077
- static readonly RULE_setAutocommitStatement = 175;
1078
- static readonly RULE_setTransactionStatement = 176;
1079
- static readonly RULE_transactionMode = 177;
1080
- static readonly RULE_lockTableElement = 178;
1081
- static readonly RULE_lockAction = 179;
1082
- static readonly RULE_transactionOption = 180;
1083
- static readonly RULE_transactionLevel = 181;
1084
- static readonly RULE_changeMaster = 182;
1085
- static readonly RULE_changeReplicationFilter = 183;
1086
- static readonly RULE_changeReplicationSource = 184;
1087
- static readonly RULE_purgeBinaryLogs = 185;
1088
- static readonly RULE_startSlaveOrReplica = 186;
1089
- static readonly RULE_stopSlaveOrReplica = 187;
1090
- static readonly RULE_startGroupReplication = 188;
1091
- static readonly RULE_stopGroupReplication = 189;
1092
- static readonly RULE_masterOption = 190;
1093
- static readonly RULE_stringMasterOption = 191;
1094
- static readonly RULE_decimalMasterOption = 192;
1095
- static readonly RULE_boolMasterOption = 193;
1096
- static readonly RULE_v8NewMasterOption = 194;
1097
- static readonly RULE_replicationSourceOption = 195;
1098
- static readonly RULE_stringSourceOption = 196;
1099
- static readonly RULE_decimalSourceOption = 197;
1100
- static readonly RULE_boolSourceOption = 198;
1101
- static readonly RULE_otherSourceOption = 199;
1102
- static readonly RULE_channelOption = 200;
1103
- static readonly RULE_replicationFilter = 201;
1104
- static readonly RULE_tablePair = 202;
1105
- static readonly RULE_threadType = 203;
1106
- static readonly RULE_untilOption = 204;
1107
- static readonly RULE_connectionOptions = 205;
1108
- static readonly RULE_gtuidSet = 206;
1109
- static readonly RULE_xaStartTransaction = 207;
1110
- static readonly RULE_xaEndTransaction = 208;
1111
- static readonly RULE_xaPrepareStatement = 209;
1112
- static readonly RULE_xaCommitWork = 210;
1113
- static readonly RULE_xaRollbackWork = 211;
1114
- static readonly RULE_xaRecoverWork = 212;
1115
- static readonly RULE_prepareStatement = 213;
1116
- static readonly RULE_executeStatement = 214;
1117
- static readonly RULE_deallocatePrepare = 215;
1118
- static readonly RULE_routineBody = 216;
1119
- static readonly RULE_blockStatement = 217;
1120
- static readonly RULE_caseStatement = 218;
1121
- static readonly RULE_ifStatement = 219;
1122
- static readonly RULE_iterateStatement = 220;
1123
- static readonly RULE_leaveStatement = 221;
1124
- static readonly RULE_loopStatement = 222;
1125
- static readonly RULE_repeatStatement = 223;
1126
- static readonly RULE_returnStatement = 224;
1127
- static readonly RULE_whileStatement = 225;
1128
- static readonly RULE_cursorStatement = 226;
1129
- static readonly RULE_declareVariable = 227;
1130
- static readonly RULE_declareCondition = 228;
1131
- static readonly RULE_declareCursor = 229;
1132
- static readonly RULE_declareHandler = 230;
1133
- static readonly RULE_handlerConditionValue = 231;
1134
- static readonly RULE_procedureSqlStatement = 232;
1135
- static readonly RULE_caseAlternative = 233;
1136
- static readonly RULE_elseIfAlternative = 234;
1137
- static readonly RULE_alterUser = 235;
1138
- static readonly RULE_createUser = 236;
1139
- static readonly RULE_dropUser = 237;
1140
- static readonly RULE_grantStatement = 238;
1141
- static readonly RULE_roleOption = 239;
1142
- static readonly RULE_grantProxy = 240;
1143
- static readonly RULE_alterResourceGroup = 241;
1144
- static readonly RULE_createResourceGroup = 242;
1145
- static readonly RULE_dropResourceGroup = 243;
1146
- static readonly RULE_setResourceGroup = 244;
1147
- static readonly RULE_resourceGroupVCpuSpec = 245;
1148
- static readonly RULE_renameUser = 246;
1149
- static readonly RULE_revokeStatement = 247;
1150
- static readonly RULE_ignoreUnknownUser = 248;
1151
- static readonly RULE_privilegeObjectType = 249;
1152
- static readonly RULE_setPasswordStatement = 250;
1153
- static readonly RULE_userSpecification = 251;
1154
- static readonly RULE_alterUserAuthOption = 252;
1155
- static readonly RULE_createUserAuthOption = 253;
1156
- static readonly RULE_createUserInitialAuthOption = 254;
1157
- static readonly RULE_userAuthOption = 255;
1158
- static readonly RULE_authOptionClause = 256;
1159
- static readonly RULE_authenticationRule = 257;
1160
- static readonly RULE_tlsOption = 258;
1161
- static readonly RULE_userResourceOption = 259;
1162
- static readonly RULE_userPasswordOption = 260;
1163
- static readonly RULE_userLockOption = 261;
1164
- static readonly RULE_factorAuthOption = 262;
1165
- static readonly RULE_registrationOption = 263;
1166
- static readonly RULE_factor = 264;
1167
- static readonly RULE_privilegeClause = 265;
1168
- static readonly RULE_privilege = 266;
1169
- static readonly RULE_privilegeLevel = 267;
1170
- static readonly RULE_renameUserClause = 268;
1171
- static readonly RULE_analyzeTable = 269;
1172
- static readonly RULE_checkTable = 270;
1173
- static readonly RULE_checksumTable = 271;
1174
- static readonly RULE_optimizeTable = 272;
1175
- static readonly RULE_repairTable = 273;
1176
- static readonly RULE_tableActionOption = 274;
1177
- static readonly RULE_checkTableOption = 275;
1178
- static readonly RULE_installComponent = 276;
1179
- static readonly RULE_variableExpr = 277;
1180
- static readonly RULE_uninstallComponent = 278;
1181
- static readonly RULE_installPlugin = 279;
1182
- static readonly RULE_uninstallPlugin = 280;
1183
- static readonly RULE_cloneStatement = 281;
1184
- static readonly RULE_setStatement = 282;
1185
- static readonly RULE_showStatement = 283;
1186
- static readonly RULE_variableClause = 284;
1187
- static readonly RULE_showCommonEntity = 285;
1188
- static readonly RULE_showFilter = 286;
1189
- static readonly RULE_showGlobalInfoClause = 287;
1190
- static readonly RULE_showSchemaEntity = 288;
1191
- static readonly RULE_showProfileType = 289;
1192
- static readonly RULE_binLogStatement = 290;
1193
- static readonly RULE_cacheIndexStatement = 291;
1194
- static readonly RULE_flushStatement = 292;
1195
- static readonly RULE_killStatement = 293;
1196
- static readonly RULE_loadIndexIntoCache = 294;
1197
- static readonly RULE_resetStatement = 295;
1198
- static readonly RULE_resetOption = 296;
1199
- static readonly RULE_resetPersist = 297;
1200
- static readonly RULE_resetAllChannel = 298;
1201
- static readonly RULE_reStartStatement = 299;
1202
- static readonly RULE_shutdownStatement = 300;
1203
- static readonly RULE_tableIndex = 301;
1204
- static readonly RULE_flushOption = 302;
1205
- static readonly RULE_flushTableOption = 303;
1206
- static readonly RULE_loadedTableIndexes = 304;
1207
- static readonly RULE_simpleDescribeStatement = 305;
1208
- static readonly RULE_fullDescribeStatement = 306;
1209
- static readonly RULE_analyzeDescribeStatement = 307;
1210
- static readonly RULE_helpStatement = 308;
1211
- static readonly RULE_useStatement = 309;
1212
- static readonly RULE_signalStatement = 310;
1213
- static readonly RULE_resignalStatement = 311;
1214
- static readonly RULE_signalConditionInformation = 312;
1215
- static readonly RULE_withStatement = 313;
1216
- static readonly RULE_tableStatement = 314;
1217
- static readonly RULE_diagnosticsStatement = 315;
1218
- static readonly RULE_diagnosticsConditionInformationName = 316;
1219
- static readonly RULE_describeObjectClause = 317;
1220
- static readonly RULE_databaseNameCreate = 318;
1221
- static readonly RULE_databaseName = 319;
1222
- static readonly RULE_functionNameCreate = 320;
1223
- static readonly RULE_functionName = 321;
1224
- static readonly RULE_viewNameCreate = 322;
1225
- static readonly RULE_viewName = 323;
1226
- static readonly RULE_indexNameCreate = 324;
1227
- static readonly RULE_indexNames = 325;
1228
- static readonly RULE_indexName = 326;
1229
- static readonly RULE_groupNameCreate = 327;
1230
- static readonly RULE_groupName = 328;
1231
- static readonly RULE_tableNameCreate = 329;
1232
- static readonly RULE_tableNames = 330;
1233
- static readonly RULE_tableName = 331;
1234
- static readonly RULE_userOrRoleNames = 332;
1235
- static readonly RULE_userOrRoleName = 333;
1236
- static readonly RULE_columnNameCreate = 334;
1237
- static readonly RULE_columnNames = 335;
1238
- static readonly RULE_emptyColumn = 336;
1239
- static readonly RULE_columnName = 337;
1240
- static readonly RULE_columnNamePath = 338;
1241
- static readonly RULE_columnNamePathAllowEmpty = 339;
1242
- static readonly RULE_tableSpaceNameCreate = 340;
1243
- static readonly RULE_tableSpaceName = 341;
1244
- static readonly RULE_partitionNameCreate = 342;
1245
- static readonly RULE_partitionNames = 343;
1246
- static readonly RULE_partitionName = 344;
1247
- static readonly RULE_indexColumnName = 345;
1248
- static readonly RULE_userHostPort = 346;
1249
- static readonly RULE_userAtHost = 347;
1250
- static readonly RULE_simpleUserName = 348;
1251
- static readonly RULE_hostName = 349;
1252
- static readonly RULE_userName = 350;
1253
- static readonly RULE_mysqlVariable = 351;
1254
- static readonly RULE_charsetName = 352;
1255
- static readonly RULE_collationName = 353;
1256
- static readonly RULE_engineName = 354;
1257
- static readonly RULE_engineNameBase = 355;
1258
- static readonly RULE_uuidSet = 356;
1259
- static readonly RULE_xid = 357;
1260
- static readonly RULE_xuidStringId = 358;
1261
- static readonly RULE_fullId = 359;
1262
- static readonly RULE_uidList = 360;
1263
- static readonly RULE_uid = 361;
1264
- static readonly RULE_simpleId = 362;
1265
- static readonly RULE_dottedId = 363;
1266
- static readonly RULE_decimalLiteral = 364;
1267
- static readonly RULE_fileSizeLiteral = 365;
1268
- static readonly RULE_stringLiteral = 366;
1269
- static readonly RULE_booleanLiteral = 367;
1270
- static readonly RULE_hexadecimalLiteral = 368;
1271
- static readonly RULE_nullNotNull = 369;
1272
- static readonly RULE_constant = 370;
1273
- static readonly RULE_dataType = 371;
1274
- static readonly RULE_collectionOptions = 372;
1275
- static readonly RULE_convertedDataType = 373;
1276
- static readonly RULE_lengthOneDimension = 374;
1277
- static readonly RULE_lengthTwoDimension = 375;
1278
- static readonly RULE_lengthTwoOptionalDimension = 376;
1279
- static readonly RULE_indexColumnNames = 377;
1280
- static readonly RULE_expressions = 378;
1281
- static readonly RULE_valuesOrValueList = 379;
1282
- static readonly RULE_expressionsWithDefaults = 380;
1283
- static readonly RULE_expressionOrDefault = 381;
1284
- static readonly RULE_constants = 382;
1285
- static readonly RULE_simpleStrings = 383;
1286
- static readonly RULE_userVariables = 384;
1287
- static readonly RULE_defaultValue = 385;
1288
- static readonly RULE_currentTimestamp = 386;
1289
- static readonly RULE_ifExists = 387;
1290
- static readonly RULE_ifNotExists = 388;
1291
- static readonly RULE_orReplace = 389;
1292
- static readonly RULE_functionCall = 390;
1293
- static readonly RULE_specificFunction = 391;
1294
- static readonly RULE_caseFuncAlternative = 392;
1295
- static readonly RULE_levelsInWeightString = 393;
1296
- static readonly RULE_levelInWeightListElement = 394;
1297
- static readonly RULE_aggregateWindowedFunction = 395;
1298
- static readonly RULE_nonAggregateWindowedFunction = 396;
1299
- static readonly RULE_overClause = 397;
1300
- static readonly RULE_windowSpec = 398;
1301
- static readonly RULE_windowName = 399;
1302
- static readonly RULE_frameClause = 400;
1303
- static readonly RULE_frameUnits = 401;
1304
- static readonly RULE_frameExtent = 402;
1305
- static readonly RULE_frameBetween = 403;
1306
- static readonly RULE_frameRange = 404;
1307
- static readonly RULE_partitionClause = 405;
1308
- static readonly RULE_scalarFunctionName = 406;
1309
- static readonly RULE_passwordFunctionClause = 407;
1310
- static readonly RULE_functionArgs = 408;
1311
- static readonly RULE_functionArg = 409;
1312
- static readonly RULE_expression = 410;
1313
- static readonly RULE_predicate = 411;
1314
- static readonly RULE_expressionAtom = 412;
1315
- static readonly RULE_unaryOperator = 413;
1316
- static readonly RULE_comparisonOperator = 414;
1317
- static readonly RULE_comparisonBase = 415;
1318
- static readonly RULE_logicalOperator = 416;
1319
- static readonly RULE_bitOperator = 417;
1320
- static readonly RULE_mathOperator = 418;
1321
- static readonly RULE_jsonOperator = 419;
1322
- static readonly RULE_charsetNameBase = 420;
1323
- static readonly RULE_transactionLevelBase = 421;
1324
- static readonly RULE_privilegesBase = 422;
1325
- static readonly RULE_intervalTypeBase = 423;
1326
- static readonly RULE_dataTypeBase = 424;
1327
- static readonly RULE_keywordsCanBeId = 425;
1328
- static readonly RULE_functionNameBase = 426;
905
+ static readonly RULE_ddlStatement = 3;
906
+ static readonly RULE_dmlStatement = 4;
907
+ static readonly RULE_transactionStatement = 5;
908
+ static readonly RULE_replicationStatement = 6;
909
+ static readonly RULE_preparedStatement = 7;
910
+ static readonly RULE_compoundStatement = 8;
911
+ static readonly RULE_administrationStatement = 9;
912
+ static readonly RULE_utilityStatement = 10;
913
+ static readonly RULE_createDatabase = 11;
914
+ static readonly RULE_createEvent = 12;
915
+ static readonly RULE_createIndex = 13;
916
+ static readonly RULE_createLogFileGroup = 14;
917
+ static readonly RULE_createProcedure = 15;
918
+ static readonly RULE_createFunction = 16;
919
+ static readonly RULE_createFunctionLoadable = 17;
920
+ static readonly RULE_createRole = 18;
921
+ static readonly RULE_createServer = 19;
922
+ static readonly RULE_createTable = 20;
923
+ static readonly RULE_createTableSpaceInnoDB = 21;
924
+ static readonly RULE_createTableSpaceNDB = 22;
925
+ static readonly RULE_createTrigger = 23;
926
+ static readonly RULE_withClause = 24;
927
+ static readonly RULE_commonTableExpressions = 25;
928
+ static readonly RULE_createView = 26;
929
+ static readonly RULE_createDatabaseOption = 27;
930
+ static readonly RULE_charSet = 28;
931
+ static readonly RULE_currentUserExpression = 29;
932
+ static readonly RULE_ownerStatement = 30;
933
+ static readonly RULE_scheduleExpression = 31;
934
+ static readonly RULE_timestampValue = 32;
935
+ static readonly RULE_intervalExpr = 33;
936
+ static readonly RULE_intervalType = 34;
937
+ static readonly RULE_enableType = 35;
938
+ static readonly RULE_indexType = 36;
939
+ static readonly RULE_indexOption = 37;
940
+ static readonly RULE_procedureParameter = 38;
941
+ static readonly RULE_functionParameter = 39;
942
+ static readonly RULE_routineOption = 40;
943
+ static readonly RULE_serverOption = 41;
944
+ static readonly RULE_createDefinitions = 42;
945
+ static readonly RULE_createDefinition = 43;
946
+ static readonly RULE_checkConstraintDefinition = 44;
947
+ static readonly RULE_constraintSymbol = 45;
948
+ static readonly RULE_columnDefinition = 46;
949
+ static readonly RULE_columnConstraint = 47;
950
+ static readonly RULE_referenceDefinition = 48;
951
+ static readonly RULE_referenceAction = 49;
952
+ static readonly RULE_referenceControlType = 50;
953
+ static readonly RULE_tableOption = 51;
954
+ static readonly RULE_tableType = 52;
955
+ static readonly RULE_tableSpaceStorage = 53;
956
+ static readonly RULE_partitionDefinitions = 54;
957
+ static readonly RULE_partitionFunctionDefinition = 55;
958
+ static readonly RULE_subpartitionFunctionDefinition = 56;
959
+ static readonly RULE_partitionDefinition = 57;
960
+ static readonly RULE_partitionDefinerAtom = 58;
961
+ static readonly RULE_partitionDefinerVector = 59;
962
+ static readonly RULE_subPartitionDefinition = 60;
963
+ static readonly RULE_partitionOption = 61;
964
+ static readonly RULE_alterDatabase = 62;
965
+ static readonly RULE_alterEvent = 63;
966
+ static readonly RULE_alterFunction = 64;
967
+ static readonly RULE_alterInstance = 65;
968
+ static readonly RULE_alterLogFileGroup = 66;
969
+ static readonly RULE_alterProcedure = 67;
970
+ static readonly RULE_alterServer = 68;
971
+ static readonly RULE_alterTable = 69;
972
+ static readonly RULE_alterTableSpace = 70;
973
+ static readonly RULE_alterView = 71;
974
+ static readonly RULE_alterOption = 72;
975
+ static readonly RULE_alterPartitionSpecification = 73;
976
+ static readonly RULE_dropDatabase = 74;
977
+ static readonly RULE_dropEvent = 75;
978
+ static readonly RULE_dropIndex = 76;
979
+ static readonly RULE_dropLogFileGroup = 77;
980
+ static readonly RULE_dropProcedure = 78;
981
+ static readonly RULE_dropFunction = 79;
982
+ static readonly RULE_dropServer = 80;
983
+ static readonly RULE_dropSpatial = 81;
984
+ static readonly RULE_dropTable = 82;
985
+ static readonly RULE_dropTableSpace = 83;
986
+ static readonly RULE_dropTrigger = 84;
987
+ static readonly RULE_dropView = 85;
988
+ static readonly RULE_dropRole = 86;
989
+ static readonly RULE_setRole = 87;
990
+ static readonly RULE_renameTable = 88;
991
+ static readonly RULE_renameTableClause = 89;
992
+ static readonly RULE_truncateTable = 90;
993
+ static readonly RULE_callStatement = 91;
994
+ static readonly RULE_deleteStatement = 92;
995
+ static readonly RULE_doStatement = 93;
996
+ static readonly RULE_handlerStatement = 94;
997
+ static readonly RULE_insertStatement = 95;
998
+ static readonly RULE_asRowAlias = 96;
999
+ static readonly RULE_selectOrTableOrValues = 97;
1000
+ static readonly RULE_interSectStatement = 98;
1001
+ static readonly RULE_interSectQuery = 99;
1002
+ static readonly RULE_loadDataStatement = 100;
1003
+ static readonly RULE_loadXmlStatement = 101;
1004
+ static readonly RULE_parenthesizedQuery = 102;
1005
+ static readonly RULE_replaceStatement = 103;
1006
+ static readonly RULE_selectStatement = 104;
1007
+ static readonly RULE_setOperations = 105;
1008
+ static readonly RULE_queryExpressionBody = 106;
1009
+ static readonly RULE_queryItem = 107;
1010
+ static readonly RULE_queryPrimary = 108;
1011
+ static readonly RULE_updateStatement = 109;
1012
+ static readonly RULE_valuesStatement = 110;
1013
+ static readonly RULE_parenthesizedQueryExpression = 111;
1014
+ static readonly RULE_queryBlock = 112;
1015
+ static readonly RULE_replaceStatementValuesOrSelectOrTable = 113;
1016
+ static readonly RULE_rowValuesList = 114;
1017
+ static readonly RULE_setAssignmentList = 115;
1018
+ static readonly RULE_updatedElement = 116;
1019
+ static readonly RULE_assignmentField = 117;
1020
+ static readonly RULE_lockClause = 118;
1021
+ static readonly RULE_singleDeleteStatement = 119;
1022
+ static readonly RULE_multipleDeleteStatement = 120;
1023
+ static readonly RULE_handlerOpenStatement = 121;
1024
+ static readonly RULE_handlerReadIndexStatement = 122;
1025
+ static readonly RULE_handlerReadStatement = 123;
1026
+ static readonly RULE_handlerCloseStatement = 124;
1027
+ static readonly RULE_importTableStatement = 125;
1028
+ static readonly RULE_singleUpdateStatement = 126;
1029
+ static readonly RULE_multipleUpdateStatement = 127;
1030
+ static readonly RULE_orderByClause = 128;
1031
+ static readonly RULE_orderByExpression = 129;
1032
+ static readonly RULE_tableSources = 130;
1033
+ static readonly RULE_tableSource = 131;
1034
+ static readonly RULE_tableSourceItem = 132;
1035
+ static readonly RULE_atomSubQueryTableSource = 133;
1036
+ static readonly RULE_fullColumnNames = 134;
1037
+ static readonly RULE_indexHint = 135;
1038
+ static readonly RULE_indexHintType = 136;
1039
+ static readonly RULE_joinPart = 137;
1040
+ static readonly RULE_joinSpec = 138;
1041
+ static readonly RULE_queryExpression = 139;
1042
+ static readonly RULE_querySpecification = 140;
1043
+ static readonly RULE_unionStatement = 141;
1044
+ static readonly RULE_lateralStatement = 142;
1045
+ static readonly RULE_jsonTable = 143;
1046
+ static readonly RULE_jsonColumnList = 144;
1047
+ static readonly RULE_jsonColumn = 145;
1048
+ static readonly RULE_jsonOnEmpty = 146;
1049
+ static readonly RULE_jsonOnError = 147;
1050
+ static readonly RULE_selectSpec = 148;
1051
+ static readonly RULE_selectElements = 149;
1052
+ static readonly RULE_selectElement = 150;
1053
+ static readonly RULE_tableAllColumns = 151;
1054
+ static readonly RULE_pureAllColumns = 152;
1055
+ static readonly RULE_selectLiteralColumnName = 153;
1056
+ static readonly RULE_selectExpressionColumnName = 154;
1057
+ static readonly RULE_intoClause = 155;
1058
+ static readonly RULE_selectFieldsInto = 156;
1059
+ static readonly RULE_selectLinesInto = 157;
1060
+ static readonly RULE_fromClause = 158;
1061
+ static readonly RULE_groupByClause = 159;
1062
+ static readonly RULE_havingClause = 160;
1063
+ static readonly RULE_windowClause = 161;
1064
+ static readonly RULE_groupByItem = 162;
1065
+ static readonly RULE_limitClause = 163;
1066
+ static readonly RULE_limitClauseAtom = 164;
1067
+ static readonly RULE_startTransaction = 165;
1068
+ static readonly RULE_beginWork = 166;
1069
+ static readonly RULE_commitWork = 167;
1070
+ static readonly RULE_rollbackWork = 168;
1071
+ static readonly RULE_savePointStatement = 169;
1072
+ static readonly RULE_rollbackStatement = 170;
1073
+ static readonly RULE_releaseStatement = 171;
1074
+ static readonly RULE_lockTables = 172;
1075
+ static readonly RULE_unlockTables = 173;
1076
+ static readonly RULE_setAutocommitStatement = 174;
1077
+ static readonly RULE_setTransactionStatement = 175;
1078
+ static readonly RULE_transactionMode = 176;
1079
+ static readonly RULE_lockTableElement = 177;
1080
+ static readonly RULE_lockAction = 178;
1081
+ static readonly RULE_transactionOption = 179;
1082
+ static readonly RULE_transactionLevel = 180;
1083
+ static readonly RULE_changeMaster = 181;
1084
+ static readonly RULE_changeReplicationFilter = 182;
1085
+ static readonly RULE_changeReplicationSource = 183;
1086
+ static readonly RULE_purgeBinaryLogs = 184;
1087
+ static readonly RULE_startSlaveOrReplica = 185;
1088
+ static readonly RULE_stopSlaveOrReplica = 186;
1089
+ static readonly RULE_startGroupReplication = 187;
1090
+ static readonly RULE_stopGroupReplication = 188;
1091
+ static readonly RULE_masterOption = 189;
1092
+ static readonly RULE_stringMasterOption = 190;
1093
+ static readonly RULE_decimalMasterOption = 191;
1094
+ static readonly RULE_boolMasterOption = 192;
1095
+ static readonly RULE_v8NewMasterOption = 193;
1096
+ static readonly RULE_replicationSourceOption = 194;
1097
+ static readonly RULE_stringSourceOption = 195;
1098
+ static readonly RULE_decimalSourceOption = 196;
1099
+ static readonly RULE_boolSourceOption = 197;
1100
+ static readonly RULE_otherSourceOption = 198;
1101
+ static readonly RULE_channelOption = 199;
1102
+ static readonly RULE_replicationFilter = 200;
1103
+ static readonly RULE_tablePair = 201;
1104
+ static readonly RULE_threadType = 202;
1105
+ static readonly RULE_untilOption = 203;
1106
+ static readonly RULE_connectionOptions = 204;
1107
+ static readonly RULE_gtuidSet = 205;
1108
+ static readonly RULE_xaStartTransaction = 206;
1109
+ static readonly RULE_xaEndTransaction = 207;
1110
+ static readonly RULE_xaPrepareStatement = 208;
1111
+ static readonly RULE_xaCommitWork = 209;
1112
+ static readonly RULE_xaRollbackWork = 210;
1113
+ static readonly RULE_xaRecoverWork = 211;
1114
+ static readonly RULE_prepareStatement = 212;
1115
+ static readonly RULE_executeStatement = 213;
1116
+ static readonly RULE_deallocatePrepare = 214;
1117
+ static readonly RULE_routineBody = 215;
1118
+ static readonly RULE_blockStatement = 216;
1119
+ static readonly RULE_caseStatement = 217;
1120
+ static readonly RULE_ifStatement = 218;
1121
+ static readonly RULE_iterateStatement = 219;
1122
+ static readonly RULE_leaveStatement = 220;
1123
+ static readonly RULE_loopStatement = 221;
1124
+ static readonly RULE_repeatStatement = 222;
1125
+ static readonly RULE_returnStatement = 223;
1126
+ static readonly RULE_whileStatement = 224;
1127
+ static readonly RULE_cursorStatement = 225;
1128
+ static readonly RULE_declareVariable = 226;
1129
+ static readonly RULE_declareCondition = 227;
1130
+ static readonly RULE_declareCursor = 228;
1131
+ static readonly RULE_declareHandler = 229;
1132
+ static readonly RULE_handlerConditionValue = 230;
1133
+ static readonly RULE_procedureSqlStatement = 231;
1134
+ static readonly RULE_caseAlternative = 232;
1135
+ static readonly RULE_elseIfAlternative = 233;
1136
+ static readonly RULE_alterUser = 234;
1137
+ static readonly RULE_createUser = 235;
1138
+ static readonly RULE_dropUser = 236;
1139
+ static readonly RULE_grantStatement = 237;
1140
+ static readonly RULE_roleOption = 238;
1141
+ static readonly RULE_grantProxy = 239;
1142
+ static readonly RULE_alterResourceGroup = 240;
1143
+ static readonly RULE_createResourceGroup = 241;
1144
+ static readonly RULE_dropResourceGroup = 242;
1145
+ static readonly RULE_setResourceGroup = 243;
1146
+ static readonly RULE_resourceGroupVCpuSpec = 244;
1147
+ static readonly RULE_renameUser = 245;
1148
+ static readonly RULE_revokeStatement = 246;
1149
+ static readonly RULE_ignoreUnknownUser = 247;
1150
+ static readonly RULE_privilegeObjectType = 248;
1151
+ static readonly RULE_setPasswordStatement = 249;
1152
+ static readonly RULE_userSpecification = 250;
1153
+ static readonly RULE_alterUserAuthOption = 251;
1154
+ static readonly RULE_createUserAuthOption = 252;
1155
+ static readonly RULE_createUserInitialAuthOption = 253;
1156
+ static readonly RULE_userAuthOption = 254;
1157
+ static readonly RULE_authOptionClause = 255;
1158
+ static readonly RULE_authenticationRule = 256;
1159
+ static readonly RULE_tlsOption = 257;
1160
+ static readonly RULE_userResourceOption = 258;
1161
+ static readonly RULE_userPasswordOption = 259;
1162
+ static readonly RULE_userLockOption = 260;
1163
+ static readonly RULE_factorAuthOption = 261;
1164
+ static readonly RULE_registrationOption = 262;
1165
+ static readonly RULE_factor = 263;
1166
+ static readonly RULE_privilegeClause = 264;
1167
+ static readonly RULE_privilege = 265;
1168
+ static readonly RULE_privilegeLevel = 266;
1169
+ static readonly RULE_renameUserClause = 267;
1170
+ static readonly RULE_analyzeTable = 268;
1171
+ static readonly RULE_checkTable = 269;
1172
+ static readonly RULE_checksumTable = 270;
1173
+ static readonly RULE_optimizeTable = 271;
1174
+ static readonly RULE_repairTable = 272;
1175
+ static readonly RULE_tableActionOption = 273;
1176
+ static readonly RULE_checkTableOption = 274;
1177
+ static readonly RULE_installComponent = 275;
1178
+ static readonly RULE_variableExpr = 276;
1179
+ static readonly RULE_uninstallComponent = 277;
1180
+ static readonly RULE_installPlugin = 278;
1181
+ static readonly RULE_uninstallPlugin = 279;
1182
+ static readonly RULE_cloneStatement = 280;
1183
+ static readonly RULE_setStatement = 281;
1184
+ static readonly RULE_showStatement = 282;
1185
+ static readonly RULE_variableClause = 283;
1186
+ static readonly RULE_showCommonEntity = 284;
1187
+ static readonly RULE_showFilter = 285;
1188
+ static readonly RULE_showGlobalInfoClause = 286;
1189
+ static readonly RULE_showSchemaEntity = 287;
1190
+ static readonly RULE_showProfileType = 288;
1191
+ static readonly RULE_binLogStatement = 289;
1192
+ static readonly RULE_cacheIndexStatement = 290;
1193
+ static readonly RULE_flushStatement = 291;
1194
+ static readonly RULE_killStatement = 292;
1195
+ static readonly RULE_loadIndexIntoCache = 293;
1196
+ static readonly RULE_resetStatement = 294;
1197
+ static readonly RULE_resetOption = 295;
1198
+ static readonly RULE_resetPersist = 296;
1199
+ static readonly RULE_resetAllChannel = 297;
1200
+ static readonly RULE_reStartStatement = 298;
1201
+ static readonly RULE_shutdownStatement = 299;
1202
+ static readonly RULE_tableIndex = 300;
1203
+ static readonly RULE_flushOption = 301;
1204
+ static readonly RULE_flushTableOption = 302;
1205
+ static readonly RULE_loadedTableIndexes = 303;
1206
+ static readonly RULE_simpleDescribeStatement = 304;
1207
+ static readonly RULE_fullDescribeStatement = 305;
1208
+ static readonly RULE_analyzeDescribeStatement = 306;
1209
+ static readonly RULE_helpStatement = 307;
1210
+ static readonly RULE_useStatement = 308;
1211
+ static readonly RULE_signalStatement = 309;
1212
+ static readonly RULE_resignalStatement = 310;
1213
+ static readonly RULE_signalConditionInformation = 311;
1214
+ static readonly RULE_withStatement = 312;
1215
+ static readonly RULE_tableStatement = 313;
1216
+ static readonly RULE_diagnosticsStatement = 314;
1217
+ static readonly RULE_diagnosticsConditionInformationName = 315;
1218
+ static readonly RULE_describeObjectClause = 316;
1219
+ static readonly RULE_databaseNameCreate = 317;
1220
+ static readonly RULE_databaseName = 318;
1221
+ static readonly RULE_functionNameCreate = 319;
1222
+ static readonly RULE_functionName = 320;
1223
+ static readonly RULE_viewNameCreate = 321;
1224
+ static readonly RULE_viewName = 322;
1225
+ static readonly RULE_indexNameCreate = 323;
1226
+ static readonly RULE_indexNames = 324;
1227
+ static readonly RULE_indexName = 325;
1228
+ static readonly RULE_groupNameCreate = 326;
1229
+ static readonly RULE_groupName = 327;
1230
+ static readonly RULE_tableNameCreate = 328;
1231
+ static readonly RULE_tableNames = 329;
1232
+ static readonly RULE_tableName = 330;
1233
+ static readonly RULE_userOrRoleNames = 331;
1234
+ static readonly RULE_userOrRoleName = 332;
1235
+ static readonly RULE_columnNameCreate = 333;
1236
+ static readonly RULE_columnNames = 334;
1237
+ static readonly RULE_emptyColumn = 335;
1238
+ static readonly RULE_columnName = 336;
1239
+ static readonly RULE_columnNamePath = 337;
1240
+ static readonly RULE_columnNamePathAllowEmpty = 338;
1241
+ static readonly RULE_tableSpaceNameCreate = 339;
1242
+ static readonly RULE_tableSpaceName = 340;
1243
+ static readonly RULE_partitionNameCreate = 341;
1244
+ static readonly RULE_partitionNames = 342;
1245
+ static readonly RULE_partitionName = 343;
1246
+ static readonly RULE_indexColumnName = 344;
1247
+ static readonly RULE_userHostPort = 345;
1248
+ static readonly RULE_userAtHost = 346;
1249
+ static readonly RULE_simpleUserName = 347;
1250
+ static readonly RULE_hostName = 348;
1251
+ static readonly RULE_userName = 349;
1252
+ static readonly RULE_mysqlVariable = 350;
1253
+ static readonly RULE_charsetName = 351;
1254
+ static readonly RULE_collationName = 352;
1255
+ static readonly RULE_engineName = 353;
1256
+ static readonly RULE_engineNameBase = 354;
1257
+ static readonly RULE_uuidSet = 355;
1258
+ static readonly RULE_xid = 356;
1259
+ static readonly RULE_xuidStringId = 357;
1260
+ static readonly RULE_fullId = 358;
1261
+ static readonly RULE_uidList = 359;
1262
+ static readonly RULE_uid = 360;
1263
+ static readonly RULE_simpleId = 361;
1264
+ static readonly RULE_dottedId = 362;
1265
+ static readonly RULE_decimalLiteral = 363;
1266
+ static readonly RULE_fileSizeLiteral = 364;
1267
+ static readonly RULE_stringLiteral = 365;
1268
+ static readonly RULE_booleanLiteral = 366;
1269
+ static readonly RULE_hexadecimalLiteral = 367;
1270
+ static readonly RULE_nullNotNull = 368;
1271
+ static readonly RULE_constant = 369;
1272
+ static readonly RULE_dataType = 370;
1273
+ static readonly RULE_collectionOptions = 371;
1274
+ static readonly RULE_convertedDataType = 372;
1275
+ static readonly RULE_lengthOneDimension = 373;
1276
+ static readonly RULE_lengthTwoDimension = 374;
1277
+ static readonly RULE_lengthTwoOptionalDimension = 375;
1278
+ static readonly RULE_indexColumnNames = 376;
1279
+ static readonly RULE_expressions = 377;
1280
+ static readonly RULE_valuesOrValueList = 378;
1281
+ static readonly RULE_expressionsWithDefaults = 379;
1282
+ static readonly RULE_expressionOrDefault = 380;
1283
+ static readonly RULE_constants = 381;
1284
+ static readonly RULE_simpleStrings = 382;
1285
+ static readonly RULE_userVariables = 383;
1286
+ static readonly RULE_defaultValue = 384;
1287
+ static readonly RULE_currentTimestamp = 385;
1288
+ static readonly RULE_ifExists = 386;
1289
+ static readonly RULE_ifNotExists = 387;
1290
+ static readonly RULE_orReplace = 388;
1291
+ static readonly RULE_functionCall = 389;
1292
+ static readonly RULE_specificFunction = 390;
1293
+ static readonly RULE_caseFuncAlternative = 391;
1294
+ static readonly RULE_levelsInWeightString = 392;
1295
+ static readonly RULE_levelInWeightListElement = 393;
1296
+ static readonly RULE_aggregateWindowedFunction = 394;
1297
+ static readonly RULE_nonAggregateWindowedFunction = 395;
1298
+ static readonly RULE_overClause = 396;
1299
+ static readonly RULE_windowSpec = 397;
1300
+ static readonly RULE_windowName = 398;
1301
+ static readonly RULE_frameClause = 399;
1302
+ static readonly RULE_frameRange = 400;
1303
+ static readonly RULE_partitionClause = 401;
1304
+ static readonly RULE_scalarFunctionName = 402;
1305
+ static readonly RULE_passwordFunctionClause = 403;
1306
+ static readonly RULE_functionArgs = 404;
1307
+ static readonly RULE_functionArg = 405;
1308
+ static readonly RULE_expression = 406;
1309
+ static readonly RULE_predicate = 407;
1310
+ static readonly RULE_expressionAtom = 408;
1311
+ static readonly RULE_unaryOperator = 409;
1312
+ static readonly RULE_comparisonOperator = 410;
1313
+ static readonly RULE_comparisonBase = 411;
1314
+ static readonly RULE_logicalOperator = 412;
1315
+ static readonly RULE_bitOperator = 413;
1316
+ static readonly RULE_mathOperator = 414;
1317
+ static readonly RULE_jsonOperator = 415;
1318
+ static readonly RULE_charsetNameBase = 416;
1319
+ static readonly RULE_transactionLevelBase = 417;
1320
+ static readonly RULE_privilegesBase = 418;
1321
+ static readonly RULE_intervalTypeBase = 419;
1322
+ static readonly RULE_dataTypeBase = 420;
1323
+ static readonly RULE_keywordsCanBeId = 421;
1324
+ static readonly RULE_functionNameBase = 422;
1329
1325
  static readonly literalNames: (string | null)[];
1330
1326
  static readonly symbolicNames: (string | null)[];
1331
1327
  static readonly ruleNames: string[];
@@ -1339,7 +1335,6 @@ export declare class MySqlParser extends SQLParserBase {
1339
1335
  program(): ProgramContext;
1340
1336
  singleStatement(): SingleStatementContext;
1341
1337
  sqlStatement(): SqlStatementContext;
1342
- emptyStatement_(): EmptyStatement_Context;
1343
1338
  ddlStatement(): DdlStatementContext;
1344
1339
  dmlStatement(): DmlStatementContext;
1345
1340
  transactionStatement(): TransactionStatementContext;
@@ -1739,9 +1734,6 @@ export declare class MySqlParser extends SQLParserBase {
1739
1734
  windowSpec(): WindowSpecContext;
1740
1735
  windowName(): WindowNameContext;
1741
1736
  frameClause(): FrameClauseContext;
1742
- frameUnits(): FrameUnitsContext;
1743
- frameExtent(): FrameExtentContext;
1744
- frameBetween(): FrameBetweenContext;
1745
1737
  frameRange(): FrameRangeContext;
1746
1738
  partitionClause(): PartitionClauseContext;
1747
1739
  scalarFunctionName(): ScalarFunctionNameContext;
@@ -1799,7 +1791,6 @@ export declare class SingleStatementContext extends antlr.ParserRuleContext {
1799
1791
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1800
1792
  sqlStatement(): SqlStatementContext | null;
1801
1793
  SEMI(): antlr.TerminalNode | null;
1802
- emptyStatement_(): EmptyStatement_Context | null;
1803
1794
  get ruleIndex(): number;
1804
1795
  enterRule(listener: MySqlParserListener): void;
1805
1796
  exitRule(listener: MySqlParserListener): void;
@@ -1819,14 +1810,6 @@ export declare class SqlStatementContext extends antlr.ParserRuleContext {
1819
1810
  exitRule(listener: MySqlParserListener): void;
1820
1811
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
1821
1812
  }
1822
- export declare class EmptyStatement_Context extends antlr.ParserRuleContext {
1823
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1824
- SEMI(): antlr.TerminalNode;
1825
- get ruleIndex(): number;
1826
- enterRule(listener: MySqlParserListener): void;
1827
- exitRule(listener: MySqlParserListener): void;
1828
- accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
1829
- }
1830
1813
  export declare class DdlStatementContext extends antlr.ParserRuleContext {
1831
1814
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1832
1815
  createDatabase(): CreateDatabaseContext | null;
@@ -10627,38 +10610,13 @@ export declare class WindowNameContext extends antlr.ParserRuleContext {
10627
10610
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
10628
10611
  }
10629
10612
  export declare class FrameClauseContext extends antlr.ParserRuleContext {
10630
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
10631
- frameUnits(): FrameUnitsContext;
10632
- frameExtent(): FrameExtentContext;
10633
- get ruleIndex(): number;
10634
- enterRule(listener: MySqlParserListener): void;
10635
- exitRule(listener: MySqlParserListener): void;
10636
- accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
10637
- }
10638
- export declare class FrameUnitsContext extends antlr.ParserRuleContext {
10639
10613
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
10640
10614
  KW_ROWS(): antlr.TerminalNode | null;
10641
10615
  KW_RANGE(): antlr.TerminalNode | null;
10642
- get ruleIndex(): number;
10643
- enterRule(listener: MySqlParserListener): void;
10644
- exitRule(listener: MySqlParserListener): void;
10645
- accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
10646
- }
10647
- export declare class FrameExtentContext extends antlr.ParserRuleContext {
10648
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
10649
- frameRange(): FrameRangeContext | null;
10650
- frameBetween(): FrameBetweenContext | null;
10651
- get ruleIndex(): number;
10652
- enterRule(listener: MySqlParserListener): void;
10653
- exitRule(listener: MySqlParserListener): void;
10654
- accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
10655
- }
10656
- export declare class FrameBetweenContext extends antlr.ParserRuleContext {
10657
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
10658
- KW_BETWEEN(): antlr.TerminalNode;
10659
10616
  frameRange(): FrameRangeContext[];
10660
10617
  frameRange(i: number): FrameRangeContext | null;
10661
- KW_AND(): antlr.TerminalNode;
10618
+ KW_BETWEEN(): antlr.TerminalNode | null;
10619
+ KW_AND(): antlr.TerminalNode | null;
10662
10620
  get ruleIndex(): number;
10663
10621
  enterRule(listener: MySqlParserListener): void;
10664
10622
  exitRule(listener: MySqlParserListener): void;