dt-sql-parser 4.0.1 → 4.1.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 +6 -1
- package/dist/lib/flink/FlinkSqlLexer.js +1 -2
- package/dist/lib/flink/FlinkSqlParser.d.ts +175 -174
- package/dist/lib/flink/FlinkSqlParser.js +2315 -2388
- package/dist/lib/flink/FlinkSqlParserListener.d.ts +5 -16
- package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +3 -10
- package/dist/lib/hive/HiveSqlLexer.js +1 -2
- package/dist/lib/hive/HiveSqlParser.d.ts +3 -1
- package/dist/lib/hive/HiveSqlParser.js +8 -9
- package/dist/lib/impala/ImpalaSqlLexer.js +1 -2
- package/dist/lib/impala/ImpalaSqlParser.d.ts +123 -107
- package/dist/lib/impala/ImpalaSqlParser.js +3223 -3155
- package/dist/lib/impala/ImpalaSqlParserListener.d.ts +22 -0
- package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +14 -0
- package/dist/lib/mysql/MySqlLexer.js +1 -2
- package/dist/lib/mysql/MySqlParser.d.ts +469 -422
- package/dist/lib/mysql/MySqlParser.js +11463 -10512
- package/dist/lib/mysql/MySqlParserListener.d.ts +42 -20
- package/dist/lib/mysql/MySqlParserVisitor.d.ts +26 -12
- package/dist/lib/postgresql/PostgreSqlLexer.js +1 -2
- package/dist/lib/postgresql/PostgreSqlParser.d.ts +2025 -6265
- package/dist/lib/postgresql/PostgreSqlParser.js +60092 -88368
- package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +1688 -6083
- package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +712 -3511
- package/dist/lib/spark/SparkSqlLexer.js +1 -2
- package/dist/lib/spark/SparkSqlParser.d.ts +16 -13
- package/dist/lib/spark/SparkSqlParser.js +50 -51
- package/dist/lib/spark/SparkSqlParserListener.d.ts +10 -10
- package/dist/lib/spark/SparkSqlParserVisitor.d.ts +6 -6
- package/dist/lib/trino/TrinoSqlLexer.d.ts +323 -260
- package/dist/lib/trino/TrinoSqlLexer.js +1610 -1264
- package/dist/lib/trino/TrinoSqlListener.d.ts +1311 -200
- package/dist/lib/trino/TrinoSqlParser.d.ts +1908 -562
- package/dist/lib/trino/TrinoSqlParser.js +22629 -13412
- package/dist/lib/trino/TrinoSqlVisitor.d.ts +761 -69
- package/dist/locale/locale.d.ts +41 -0
- package/dist/locale/locale.js +43 -0
- package/dist/parser/common/basicSQL.d.ts +7 -2
- package/dist/parser/common/basicSQL.js +5 -15
- package/dist/parser/common/entityCollector.d.ts +60 -12
- package/dist/parser/common/entityCollector.js +141 -17
- package/dist/parser/common/parseErrorListener.d.ts +6 -3
- package/dist/parser/common/parseErrorListener.js +83 -2
- package/dist/parser/common/textAndWord.d.ts +6 -9
- package/dist/parser/common/textAndWord.js +9 -20
- package/dist/parser/common/transform.d.ts +8 -0
- package/dist/parser/common/transform.js +11 -0
- package/dist/parser/common/types.d.ts +1 -0
- package/dist/parser/flink/flinkEntityCollector.js +40 -6
- package/dist/parser/flink/flinkErrorListener.d.ts +9 -0
- package/dist/parser/flink/flinkErrorListener.js +67 -0
- package/dist/parser/flink/index.d.ts +3 -0
- package/dist/parser/flink/index.js +13 -9
- package/dist/parser/hive/hiveEntityCollector.js +40 -6
- package/dist/parser/hive/hiveErrorListener.d.ts +9 -0
- package/dist/parser/hive/hiveErrorListener.js +65 -0
- package/dist/parser/hive/index.d.ts +3 -0
- package/dist/parser/hive/index.js +13 -9
- package/dist/parser/impala/ImpalaErrorListener.d.ts +9 -0
- package/dist/parser/impala/ImpalaErrorListener.js +63 -0
- package/dist/parser/impala/impalaEntityCollector.js +51 -6
- package/dist/parser/impala/index.d.ts +3 -0
- package/dist/parser/impala/index.js +4 -0
- package/dist/parser/mysql/index.d.ts +3 -0
- package/dist/parser/mysql/index.js +4 -0
- package/dist/parser/mysql/mysqlEntityCollector.d.ts +3 -1
- package/dist/parser/mysql/mysqlEntityCollector.js +40 -5
- package/dist/parser/mysql/mysqlErrorListener.d.ts +9 -0
- package/dist/parser/mysql/mysqlErrorListener.js +63 -0
- package/dist/parser/postgresql/index.d.ts +3 -0
- package/dist/parser/postgresql/index.js +17 -13
- package/dist/parser/postgresql/postgreEntityCollector.d.ts +5 -1
- package/dist/parser/postgresql/postgreEntityCollector.js +44 -4
- package/dist/parser/postgresql/postgreErrorListener.d.ts +9 -0
- package/dist/parser/postgresql/postgreErrorListener.js +71 -0
- package/dist/parser/spark/index.d.ts +3 -0
- package/dist/parser/spark/index.js +4 -0
- package/dist/parser/spark/sparkEntityCollector.d.ts +1 -1
- package/dist/parser/spark/sparkEntityCollector.js +43 -6
- package/dist/parser/spark/sparkErrorListener.d.ts +9 -0
- package/dist/parser/spark/sparkErrorListener.js +63 -0
- package/dist/parser/trino/index.d.ts +3 -0
- package/dist/parser/trino/index.js +23 -10
- package/dist/parser/trino/trinoEntityCollector.d.ts +6 -4
- package/dist/parser/trino/trinoEntityCollector.js +44 -9
- package/dist/parser/trino/trinoErrorListener.d.ts +9 -0
- package/dist/parser/trino/trinoErrorListener.js +65 -0
- package/package.json +40 -12
|
@@ -916,406 +916,408 @@ export declare class MySqlParser extends SQLParserBase {
|
|
|
916
916
|
static readonly RULE_createIndex = 14;
|
|
917
917
|
static readonly RULE_createLogfileGroup = 15;
|
|
918
918
|
static readonly RULE_createProcedure = 16;
|
|
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
|
|
1064
|
-
static readonly
|
|
1065
|
-
static readonly
|
|
1066
|
-
static readonly
|
|
1067
|
-
static readonly
|
|
1068
|
-
static readonly
|
|
1069
|
-
static readonly
|
|
1070
|
-
static readonly
|
|
1071
|
-
static readonly
|
|
1072
|
-
static readonly
|
|
1073
|
-
static readonly
|
|
1074
|
-
static readonly
|
|
1075
|
-
static readonly
|
|
1076
|
-
static readonly
|
|
1077
|
-
static readonly
|
|
1078
|
-
static readonly
|
|
1079
|
-
static readonly
|
|
1080
|
-
static readonly
|
|
1081
|
-
static readonly
|
|
1082
|
-
static readonly
|
|
1083
|
-
static readonly
|
|
1084
|
-
static readonly
|
|
1085
|
-
static readonly
|
|
1086
|
-
static readonly
|
|
1087
|
-
static readonly
|
|
1088
|
-
static readonly
|
|
1089
|
-
static readonly
|
|
1090
|
-
static readonly
|
|
1091
|
-
static readonly
|
|
1092
|
-
static readonly
|
|
1093
|
-
static readonly
|
|
1094
|
-
static readonly
|
|
1095
|
-
static readonly
|
|
1096
|
-
static readonly
|
|
1097
|
-
static readonly
|
|
1098
|
-
static readonly
|
|
1099
|
-
static readonly
|
|
1100
|
-
static readonly
|
|
1101
|
-
static readonly
|
|
1102
|
-
static readonly
|
|
1103
|
-
static readonly
|
|
1104
|
-
static readonly
|
|
1105
|
-
static readonly
|
|
1106
|
-
static readonly
|
|
1107
|
-
static readonly
|
|
1108
|
-
static readonly
|
|
1109
|
-
static readonly
|
|
1110
|
-
static readonly
|
|
1111
|
-
static readonly
|
|
1112
|
-
static readonly
|
|
1113
|
-
static readonly
|
|
1114
|
-
static readonly
|
|
1115
|
-
static readonly
|
|
1116
|
-
static readonly
|
|
1117
|
-
static readonly
|
|
1118
|
-
static readonly
|
|
1119
|
-
static readonly
|
|
1120
|
-
static readonly
|
|
1121
|
-
static readonly
|
|
1122
|
-
static readonly
|
|
1123
|
-
static readonly
|
|
1124
|
-
static readonly
|
|
1125
|
-
static readonly
|
|
1126
|
-
static readonly
|
|
1127
|
-
static readonly
|
|
1128
|
-
static readonly
|
|
1129
|
-
static readonly
|
|
1130
|
-
static readonly
|
|
1131
|
-
static readonly
|
|
1132
|
-
static readonly
|
|
1133
|
-
static readonly
|
|
1134
|
-
static readonly
|
|
1135
|
-
static readonly
|
|
1136
|
-
static readonly
|
|
1137
|
-
static readonly
|
|
1138
|
-
static readonly
|
|
1139
|
-
static readonly
|
|
1140
|
-
static readonly
|
|
1141
|
-
static readonly
|
|
1142
|
-
static readonly
|
|
1143
|
-
static readonly
|
|
1144
|
-
static readonly
|
|
1145
|
-
static readonly
|
|
1146
|
-
static readonly
|
|
1147
|
-
static readonly
|
|
1148
|
-
static readonly
|
|
1149
|
-
static readonly
|
|
1150
|
-
static readonly
|
|
1151
|
-
static readonly
|
|
1152
|
-
static readonly
|
|
1153
|
-
static readonly
|
|
1154
|
-
static readonly
|
|
1155
|
-
static readonly
|
|
1156
|
-
static readonly
|
|
1157
|
-
static readonly
|
|
1158
|
-
static readonly
|
|
1159
|
-
static readonly
|
|
1160
|
-
static readonly
|
|
1161
|
-
static readonly
|
|
1162
|
-
static readonly
|
|
1163
|
-
static readonly
|
|
1164
|
-
static readonly
|
|
1165
|
-
static readonly
|
|
1166
|
-
static readonly
|
|
1167
|
-
static readonly
|
|
1168
|
-
static readonly
|
|
1169
|
-
static readonly
|
|
1170
|
-
static readonly
|
|
1171
|
-
static readonly
|
|
1172
|
-
static readonly
|
|
1173
|
-
static readonly
|
|
1174
|
-
static readonly
|
|
1175
|
-
static readonly
|
|
1176
|
-
static readonly
|
|
1177
|
-
static readonly
|
|
1178
|
-
static readonly
|
|
1179
|
-
static readonly
|
|
1180
|
-
static readonly
|
|
1181
|
-
static readonly
|
|
1182
|
-
static readonly
|
|
1183
|
-
static readonly
|
|
1184
|
-
static readonly
|
|
1185
|
-
static readonly
|
|
1186
|
-
static readonly
|
|
1187
|
-
static readonly
|
|
1188
|
-
static readonly
|
|
1189
|
-
static readonly
|
|
1190
|
-
static readonly
|
|
1191
|
-
static readonly
|
|
1192
|
-
static readonly
|
|
1193
|
-
static readonly
|
|
1194
|
-
static readonly
|
|
1195
|
-
static readonly
|
|
1196
|
-
static readonly
|
|
1197
|
-
static readonly
|
|
1198
|
-
static readonly
|
|
1199
|
-
static readonly
|
|
1200
|
-
static readonly
|
|
1201
|
-
static readonly
|
|
1202
|
-
static readonly
|
|
1203
|
-
static readonly
|
|
1204
|
-
static readonly
|
|
1205
|
-
static readonly
|
|
1206
|
-
static readonly
|
|
1207
|
-
static readonly
|
|
1208
|
-
static readonly
|
|
1209
|
-
static readonly
|
|
1210
|
-
static readonly
|
|
1211
|
-
static readonly
|
|
1212
|
-
static readonly
|
|
1213
|
-
static readonly
|
|
1214
|
-
static readonly
|
|
1215
|
-
static readonly
|
|
1216
|
-
static readonly
|
|
1217
|
-
static readonly
|
|
1218
|
-
static readonly
|
|
1219
|
-
static readonly
|
|
1220
|
-
static readonly
|
|
1221
|
-
static readonly
|
|
1222
|
-
static readonly
|
|
1223
|
-
static readonly
|
|
1224
|
-
static readonly
|
|
1225
|
-
static readonly
|
|
1226
|
-
static readonly
|
|
1227
|
-
static readonly
|
|
1228
|
-
static readonly
|
|
1229
|
-
static readonly
|
|
1230
|
-
static readonly
|
|
1231
|
-
static readonly
|
|
1232
|
-
static readonly
|
|
1233
|
-
static readonly
|
|
1234
|
-
static readonly
|
|
1235
|
-
static readonly
|
|
1236
|
-
static readonly
|
|
1237
|
-
static readonly
|
|
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
|
|
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_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_intoClause = 151;
|
|
1054
|
+
static readonly RULE_selectFieldsInto = 152;
|
|
1055
|
+
static readonly RULE_selectLinesInto = 153;
|
|
1056
|
+
static readonly RULE_fromClause = 154;
|
|
1057
|
+
static readonly RULE_groupByClause = 155;
|
|
1058
|
+
static readonly RULE_havingClause = 156;
|
|
1059
|
+
static readonly RULE_windowClause = 157;
|
|
1060
|
+
static readonly RULE_groupByItem = 158;
|
|
1061
|
+
static readonly RULE_limitClause = 159;
|
|
1062
|
+
static readonly RULE_limitClauseAtom = 160;
|
|
1063
|
+
static readonly RULE_startTransaction = 161;
|
|
1064
|
+
static readonly RULE_beginWork = 162;
|
|
1065
|
+
static readonly RULE_commitWork = 163;
|
|
1066
|
+
static readonly RULE_rollbackWork = 164;
|
|
1067
|
+
static readonly RULE_savepointStatement = 165;
|
|
1068
|
+
static readonly RULE_rollbackStatement = 166;
|
|
1069
|
+
static readonly RULE_releaseStatement = 167;
|
|
1070
|
+
static readonly RULE_lockTables = 168;
|
|
1071
|
+
static readonly RULE_unlockTables = 169;
|
|
1072
|
+
static readonly RULE_setAutocommitStatement = 170;
|
|
1073
|
+
static readonly RULE_setTransactionStatement = 171;
|
|
1074
|
+
static readonly RULE_transactionMode = 172;
|
|
1075
|
+
static readonly RULE_lockTableElement = 173;
|
|
1076
|
+
static readonly RULE_lockAction = 174;
|
|
1077
|
+
static readonly RULE_transactionOption = 175;
|
|
1078
|
+
static readonly RULE_transactionLevel = 176;
|
|
1079
|
+
static readonly RULE_changeMaster = 177;
|
|
1080
|
+
static readonly RULE_changeReplicationFilter = 178;
|
|
1081
|
+
static readonly RULE_changeReplicationSource = 179;
|
|
1082
|
+
static readonly RULE_purgeBinaryLogs = 180;
|
|
1083
|
+
static readonly RULE_startSlaveOrReplica = 181;
|
|
1084
|
+
static readonly RULE_stopSlaveOrReplica = 182;
|
|
1085
|
+
static readonly RULE_startGroupReplication = 183;
|
|
1086
|
+
static readonly RULE_stopGroupReplication = 184;
|
|
1087
|
+
static readonly RULE_masterOption = 185;
|
|
1088
|
+
static readonly RULE_stringMasterOption = 186;
|
|
1089
|
+
static readonly RULE_decimalMasterOption = 187;
|
|
1090
|
+
static readonly RULE_boolMasterOption = 188;
|
|
1091
|
+
static readonly RULE_v8NewMasterOption = 189;
|
|
1092
|
+
static readonly RULE_replicationSourceOption = 190;
|
|
1093
|
+
static readonly RULE_stringSourceOption = 191;
|
|
1094
|
+
static readonly RULE_decimalSourceOption = 192;
|
|
1095
|
+
static readonly RULE_boolSourceOption = 193;
|
|
1096
|
+
static readonly RULE_otherSourceOption = 194;
|
|
1097
|
+
static readonly RULE_channelOption = 195;
|
|
1098
|
+
static readonly RULE_replicationFilter = 196;
|
|
1099
|
+
static readonly RULE_tablePair = 197;
|
|
1100
|
+
static readonly RULE_threadType = 198;
|
|
1101
|
+
static readonly RULE_untilOption = 199;
|
|
1102
|
+
static readonly RULE_connectionOptions = 200;
|
|
1103
|
+
static readonly RULE_gtuidSet = 201;
|
|
1104
|
+
static readonly RULE_xaStartTransaction = 202;
|
|
1105
|
+
static readonly RULE_xaEndTransaction = 203;
|
|
1106
|
+
static readonly RULE_xaPrepareStatement = 204;
|
|
1107
|
+
static readonly RULE_xaCommitWork = 205;
|
|
1108
|
+
static readonly RULE_xaRollbackWork = 206;
|
|
1109
|
+
static readonly RULE_xaRecoverWork = 207;
|
|
1110
|
+
static readonly RULE_prepareStatement = 208;
|
|
1111
|
+
static readonly RULE_executeStatement = 209;
|
|
1112
|
+
static readonly RULE_deallocatePrepare = 210;
|
|
1113
|
+
static readonly RULE_routineBody = 211;
|
|
1114
|
+
static readonly RULE_blockStatement = 212;
|
|
1115
|
+
static readonly RULE_caseStatement = 213;
|
|
1116
|
+
static readonly RULE_ifStatement = 214;
|
|
1117
|
+
static readonly RULE_iterateStatement = 215;
|
|
1118
|
+
static readonly RULE_leaveStatement = 216;
|
|
1119
|
+
static readonly RULE_loopStatement = 217;
|
|
1120
|
+
static readonly RULE_repeatStatement = 218;
|
|
1121
|
+
static readonly RULE_returnStatement = 219;
|
|
1122
|
+
static readonly RULE_whileStatement = 220;
|
|
1123
|
+
static readonly RULE_cursorStatement = 221;
|
|
1124
|
+
static readonly RULE_declareVariable = 222;
|
|
1125
|
+
static readonly RULE_declareCondition = 223;
|
|
1126
|
+
static readonly RULE_declareCursor = 224;
|
|
1127
|
+
static readonly RULE_declareHandler = 225;
|
|
1128
|
+
static readonly RULE_handlerConditionValue = 226;
|
|
1129
|
+
static readonly RULE_procedureSqlStatement = 227;
|
|
1130
|
+
static readonly RULE_caseAlternative = 228;
|
|
1131
|
+
static readonly RULE_elifAlternative = 229;
|
|
1132
|
+
static readonly RULE_alterUser = 230;
|
|
1133
|
+
static readonly RULE_createUser = 231;
|
|
1134
|
+
static readonly RULE_dropUser = 232;
|
|
1135
|
+
static readonly RULE_grantStatement = 233;
|
|
1136
|
+
static readonly RULE_roleOption = 234;
|
|
1137
|
+
static readonly RULE_grantProxy = 235;
|
|
1138
|
+
static readonly RULE_alterResourceGroup = 236;
|
|
1139
|
+
static readonly RULE_createResourceGroup = 237;
|
|
1140
|
+
static readonly RULE_dropResourceGroup = 238;
|
|
1141
|
+
static readonly RULE_setResourceGroup = 239;
|
|
1142
|
+
static readonly RULE_resourceGroupVcpuSpec = 240;
|
|
1143
|
+
static readonly RULE_renameUser = 241;
|
|
1144
|
+
static readonly RULE_revokeStatement = 242;
|
|
1145
|
+
static readonly RULE_ignoreUnknownUser = 243;
|
|
1146
|
+
static readonly RULE_privilegeObjectType = 244;
|
|
1147
|
+
static readonly RULE_setPasswordStatement = 245;
|
|
1148
|
+
static readonly RULE_userSpecification = 246;
|
|
1149
|
+
static readonly RULE_alterUserAuthOption = 247;
|
|
1150
|
+
static readonly RULE_createUserAuthOption = 248;
|
|
1151
|
+
static readonly RULE_createUserInitialAuthOption = 249;
|
|
1152
|
+
static readonly RULE_userAuthOption = 250;
|
|
1153
|
+
static readonly RULE_authOptionClause = 251;
|
|
1154
|
+
static readonly RULE_authenticationRule = 252;
|
|
1155
|
+
static readonly RULE_tlsOption = 253;
|
|
1156
|
+
static readonly RULE_userResourceOption = 254;
|
|
1157
|
+
static readonly RULE_userPasswordOption = 255;
|
|
1158
|
+
static readonly RULE_userLockOption = 256;
|
|
1159
|
+
static readonly RULE_factorAuthOption = 257;
|
|
1160
|
+
static readonly RULE_registrationOption = 258;
|
|
1161
|
+
static readonly RULE_factor = 259;
|
|
1162
|
+
static readonly RULE_privelegeClause = 260;
|
|
1163
|
+
static readonly RULE_privilege = 261;
|
|
1164
|
+
static readonly RULE_privilegeLevel = 262;
|
|
1165
|
+
static readonly RULE_renameUserClause = 263;
|
|
1166
|
+
static readonly RULE_analyzeTable = 264;
|
|
1167
|
+
static readonly RULE_checkTable = 265;
|
|
1168
|
+
static readonly RULE_checksumTable = 266;
|
|
1169
|
+
static readonly RULE_optimizeTable = 267;
|
|
1170
|
+
static readonly RULE_repairTable = 268;
|
|
1171
|
+
static readonly RULE_tableActionOption = 269;
|
|
1172
|
+
static readonly RULE_checkTableOption = 270;
|
|
1173
|
+
static readonly RULE_installComponent = 271;
|
|
1174
|
+
static readonly RULE_variableExpr = 272;
|
|
1175
|
+
static readonly RULE_uninstallComponent = 273;
|
|
1176
|
+
static readonly RULE_installPlugin = 274;
|
|
1177
|
+
static readonly RULE_uninstallPlugin = 275;
|
|
1178
|
+
static readonly RULE_cloneStatement = 276;
|
|
1179
|
+
static readonly RULE_setStatement = 277;
|
|
1180
|
+
static readonly RULE_showStatement = 278;
|
|
1181
|
+
static readonly RULE_variableClause = 279;
|
|
1182
|
+
static readonly RULE_showCommonEntity = 280;
|
|
1183
|
+
static readonly RULE_showFilter = 281;
|
|
1184
|
+
static readonly RULE_showGlobalInfoClause = 282;
|
|
1185
|
+
static readonly RULE_showSchemaEntity = 283;
|
|
1186
|
+
static readonly RULE_showProfileType = 284;
|
|
1187
|
+
static readonly RULE_binlogStatement = 285;
|
|
1188
|
+
static readonly RULE_cacheIndexStatement = 286;
|
|
1189
|
+
static readonly RULE_flushStatement = 287;
|
|
1190
|
+
static readonly RULE_killStatement = 288;
|
|
1191
|
+
static readonly RULE_loadIndexIntoCache = 289;
|
|
1192
|
+
static readonly RULE_resetStatement = 290;
|
|
1193
|
+
static readonly RULE_resetOption = 291;
|
|
1194
|
+
static readonly RULE_resetPersist = 292;
|
|
1195
|
+
static readonly RULE_resetAllChannel = 293;
|
|
1196
|
+
static readonly RULE_reStartStatement = 294;
|
|
1197
|
+
static readonly RULE_shutdownStatement = 295;
|
|
1198
|
+
static readonly RULE_tableIndex = 296;
|
|
1199
|
+
static readonly RULE_flushOption = 297;
|
|
1200
|
+
static readonly RULE_flushTableOption = 298;
|
|
1201
|
+
static readonly RULE_loadedTableIndexes = 299;
|
|
1202
|
+
static readonly RULE_simpleDescribeStatement = 300;
|
|
1203
|
+
static readonly RULE_fullDescribeStatement = 301;
|
|
1204
|
+
static readonly RULE_analyzeDescribeStatement = 302;
|
|
1205
|
+
static readonly RULE_helpStatement = 303;
|
|
1206
|
+
static readonly RULE_useStatement = 304;
|
|
1207
|
+
static readonly RULE_signalStatement = 305;
|
|
1208
|
+
static readonly RULE_resignalStatement = 306;
|
|
1209
|
+
static readonly RULE_signalConditionInformation = 307;
|
|
1210
|
+
static readonly RULE_withStatement = 308;
|
|
1211
|
+
static readonly RULE_tableStatement = 309;
|
|
1212
|
+
static readonly RULE_diagnosticsStatement = 310;
|
|
1213
|
+
static readonly RULE_diagnosticsConditionInformationName = 311;
|
|
1214
|
+
static readonly RULE_describeObjectClause = 312;
|
|
1215
|
+
static readonly RULE_databaseNameCreate = 313;
|
|
1216
|
+
static readonly RULE_databaseName = 314;
|
|
1217
|
+
static readonly RULE_functionNameCreate = 315;
|
|
1218
|
+
static readonly RULE_functionName = 316;
|
|
1219
|
+
static readonly RULE_viewNameCreate = 317;
|
|
1220
|
+
static readonly RULE_viewName = 318;
|
|
1221
|
+
static readonly RULE_indexNameCreate = 319;
|
|
1222
|
+
static readonly RULE_indexNames = 320;
|
|
1223
|
+
static readonly RULE_indexName = 321;
|
|
1224
|
+
static readonly RULE_groupNameCreate = 322;
|
|
1225
|
+
static readonly RULE_groupName = 323;
|
|
1226
|
+
static readonly RULE_tableNameCreate = 324;
|
|
1227
|
+
static readonly RULE_tableNames = 325;
|
|
1228
|
+
static readonly RULE_tableName = 326;
|
|
1229
|
+
static readonly RULE_userOrRoleNames = 327;
|
|
1230
|
+
static readonly RULE_userOrRoleName = 328;
|
|
1231
|
+
static readonly RULE_columnNameCreate = 329;
|
|
1232
|
+
static readonly RULE_columnNames = 330;
|
|
1233
|
+
static readonly RULE_columnName = 331;
|
|
1234
|
+
static readonly RULE_tablespaceNameCreate = 332;
|
|
1235
|
+
static readonly RULE_tablespaceName = 333;
|
|
1236
|
+
static readonly RULE_partitionNameCreate = 334;
|
|
1237
|
+
static readonly RULE_partitionNames = 335;
|
|
1238
|
+
static readonly RULE_partitionName = 336;
|
|
1239
|
+
static readonly RULE_indexColumnName = 337;
|
|
1240
|
+
static readonly RULE_userHostPort = 338;
|
|
1241
|
+
static readonly RULE_userAtHost = 339;
|
|
1242
|
+
static readonly RULE_simpleUserName = 340;
|
|
1243
|
+
static readonly RULE_hostName = 341;
|
|
1244
|
+
static readonly RULE_userName = 342;
|
|
1245
|
+
static readonly RULE_mysqlVariable = 343;
|
|
1246
|
+
static readonly RULE_charsetName = 344;
|
|
1247
|
+
static readonly RULE_collationName = 345;
|
|
1248
|
+
static readonly RULE_engineName = 346;
|
|
1249
|
+
static readonly RULE_engineNameBase = 347;
|
|
1250
|
+
static readonly RULE_uuidSet = 348;
|
|
1251
|
+
static readonly RULE_xid = 349;
|
|
1252
|
+
static readonly RULE_xuidStringId = 350;
|
|
1253
|
+
static readonly RULE_fullId = 351;
|
|
1254
|
+
static readonly RULE_uidList = 352;
|
|
1255
|
+
static readonly RULE_uid = 353;
|
|
1256
|
+
static readonly RULE_simpleId = 354;
|
|
1257
|
+
static readonly RULE_dottedId = 355;
|
|
1258
|
+
static readonly RULE_decimalLiteral = 356;
|
|
1259
|
+
static readonly RULE_fileSizeLiteral = 357;
|
|
1260
|
+
static readonly RULE_stringLiteral = 358;
|
|
1261
|
+
static readonly RULE_booleanLiteral = 359;
|
|
1262
|
+
static readonly RULE_hexadecimalLiteral = 360;
|
|
1263
|
+
static readonly RULE_nullNotnull = 361;
|
|
1264
|
+
static readonly RULE_constant = 362;
|
|
1265
|
+
static readonly RULE_dataType = 363;
|
|
1266
|
+
static readonly RULE_collectionOptions = 364;
|
|
1267
|
+
static readonly RULE_convertedDataType = 365;
|
|
1268
|
+
static readonly RULE_lengthOneDimension = 366;
|
|
1269
|
+
static readonly RULE_lengthTwoDimension = 367;
|
|
1270
|
+
static readonly RULE_lengthTwoOptionalDimension = 368;
|
|
1271
|
+
static readonly RULE_indexColumnNames = 369;
|
|
1272
|
+
static readonly RULE_expressions = 370;
|
|
1273
|
+
static readonly RULE_valuesOrValueList = 371;
|
|
1274
|
+
static readonly RULE_expressionsWithDefaults = 372;
|
|
1275
|
+
static readonly RULE_expressionOrDefault = 373;
|
|
1276
|
+
static readonly RULE_constants = 374;
|
|
1277
|
+
static readonly RULE_simpleStrings = 375;
|
|
1278
|
+
static readonly RULE_userVariables = 376;
|
|
1279
|
+
static readonly RULE_defaultValue = 377;
|
|
1280
|
+
static readonly RULE_currentTimestamp = 378;
|
|
1281
|
+
static readonly RULE_ifExists = 379;
|
|
1282
|
+
static readonly RULE_ifNotExists = 380;
|
|
1283
|
+
static readonly RULE_orReplace = 381;
|
|
1284
|
+
static readonly RULE_functionCall = 382;
|
|
1285
|
+
static readonly RULE_specificFunction = 383;
|
|
1286
|
+
static readonly RULE_caseFuncAlternative = 384;
|
|
1287
|
+
static readonly RULE_levelsInWeightString = 385;
|
|
1288
|
+
static readonly RULE_levelInWeightListElement = 386;
|
|
1289
|
+
static readonly RULE_aggregateWindowedFunction = 387;
|
|
1290
|
+
static readonly RULE_nonAggregateWindowedFunction = 388;
|
|
1291
|
+
static readonly RULE_overClause = 389;
|
|
1292
|
+
static readonly RULE_windowSpec = 390;
|
|
1293
|
+
static readonly RULE_windowName = 391;
|
|
1294
|
+
static readonly RULE_frameClause = 392;
|
|
1295
|
+
static readonly RULE_frameUnits = 393;
|
|
1296
|
+
static readonly RULE_frameExtent = 394;
|
|
1297
|
+
static readonly RULE_frameBetween = 395;
|
|
1298
|
+
static readonly RULE_frameRange = 396;
|
|
1299
|
+
static readonly RULE_partitionClause = 397;
|
|
1300
|
+
static readonly RULE_scalarFunctionName = 398;
|
|
1301
|
+
static readonly RULE_passwordFunctionClause = 399;
|
|
1302
|
+
static readonly RULE_functionArgs = 400;
|
|
1303
|
+
static readonly RULE_functionArg = 401;
|
|
1304
|
+
static readonly RULE_expression = 402;
|
|
1305
|
+
static readonly RULE_predicate = 403;
|
|
1306
|
+
static readonly RULE_expressionAtom = 404;
|
|
1307
|
+
static readonly RULE_unaryOperator = 405;
|
|
1308
|
+
static readonly RULE_comparisonOperator = 406;
|
|
1309
|
+
static readonly RULE_comparisonBase = 407;
|
|
1310
|
+
static readonly RULE_logicalOperator = 408;
|
|
1311
|
+
static readonly RULE_bitOperator = 409;
|
|
1312
|
+
static readonly RULE_mathOperator = 410;
|
|
1313
|
+
static readonly RULE_jsonOperator = 411;
|
|
1314
|
+
static readonly RULE_charsetNameBase = 412;
|
|
1315
|
+
static readonly RULE_transactionLevelBase = 413;
|
|
1316
|
+
static readonly RULE_privilegesBase = 414;
|
|
1317
|
+
static readonly RULE_intervalTypeBase = 415;
|
|
1318
|
+
static readonly RULE_dataTypeBase = 416;
|
|
1319
|
+
static readonly RULE_keywordsCanBeId = 417;
|
|
1320
|
+
static readonly RULE_functionNameBase = 418;
|
|
1319
1321
|
static readonly literalNames: (string | null)[];
|
|
1320
1322
|
static readonly symbolicNames: (string | null)[];
|
|
1321
1323
|
static readonly ruleNames: string[];
|
|
@@ -1343,6 +1345,8 @@ export declare class MySqlParser extends SQLParserBase {
|
|
|
1343
1345
|
createIndex(): CreateIndexContext;
|
|
1344
1346
|
createLogfileGroup(): CreateLogfileGroupContext;
|
|
1345
1347
|
createProcedure(): CreateProcedureContext;
|
|
1348
|
+
createFunction(): CreateFunctionContext;
|
|
1349
|
+
createFunctionLoadable(): CreateFunctionLoadableContext;
|
|
1346
1350
|
createRole(): CreateRoleContext;
|
|
1347
1351
|
createServer(): CreateServerContext;
|
|
1348
1352
|
createTable(): CreateTableContext;
|
|
@@ -1364,6 +1368,7 @@ export declare class MySqlParser extends SQLParserBase {
|
|
|
1364
1368
|
indexType(): IndexTypeContext;
|
|
1365
1369
|
indexOption(): IndexOptionContext;
|
|
1366
1370
|
procedureParameter(): ProcedureParameterContext;
|
|
1371
|
+
functionParameter(): FunctionParameterContext;
|
|
1367
1372
|
routineOption(): RoutineOptionContext;
|
|
1368
1373
|
serverOption(): ServerOptionContext;
|
|
1369
1374
|
createDefinitions(): CreateDefinitionsContext;
|
|
@@ -1596,7 +1601,6 @@ export declare class MySqlParser extends SQLParserBase {
|
|
|
1596
1601
|
repairTable(): RepairTableContext;
|
|
1597
1602
|
tableActionOption(): TableActionOptionContext;
|
|
1598
1603
|
checkTableOption(): CheckTableOptionContext;
|
|
1599
|
-
createFunction(): CreateFunctionContext;
|
|
1600
1604
|
installComponent(): InstallComponentContext;
|
|
1601
1605
|
variableExpr(): VariableExprContext;
|
|
1602
1606
|
uninstallComponent(): UninstallComponentContext;
|
|
@@ -1812,6 +1816,7 @@ export declare class DdlStatementContext extends antlr.ParserRuleContext {
|
|
|
1812
1816
|
createLogfileGroup(): CreateLogfileGroupContext | null;
|
|
1813
1817
|
createProcedure(): CreateProcedureContext | null;
|
|
1814
1818
|
createFunction(): CreateFunctionContext | null;
|
|
1819
|
+
createFunctionLoadable(): CreateFunctionLoadableContext | null;
|
|
1815
1820
|
createServer(): CreateServerContext | null;
|
|
1816
1821
|
createTable(): CreateTableContext | null;
|
|
1817
1822
|
createTablespaceInnodb(): CreateTablespaceInnodbContext | null;
|
|
@@ -2133,6 +2138,51 @@ export declare class CreateProcedureContext extends antlr.ParserRuleContext {
|
|
|
2133
2138
|
exitRule(listener: MySqlParserListener): void;
|
|
2134
2139
|
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|
|
2135
2140
|
}
|
|
2141
|
+
export declare class CreateFunctionContext extends antlr.ParserRuleContext {
|
|
2142
|
+
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2143
|
+
KW_CREATE(): antlr.TerminalNode;
|
|
2144
|
+
KW_FUNCTION(): antlr.TerminalNode;
|
|
2145
|
+
functionNameCreate(): FunctionNameCreateContext;
|
|
2146
|
+
LR_BRACKET(): antlr.TerminalNode;
|
|
2147
|
+
RR_BRACKET(): antlr.TerminalNode;
|
|
2148
|
+
KW_RETURNS(): antlr.TerminalNode;
|
|
2149
|
+
dataType(): DataTypeContext;
|
|
2150
|
+
routineBody(): RoutineBodyContext | null;
|
|
2151
|
+
returnStatement(): ReturnStatementContext | null;
|
|
2152
|
+
ownerStatement(): OwnerStatementContext | null;
|
|
2153
|
+
KW_AGGREGATE(): antlr.TerminalNode | null;
|
|
2154
|
+
ifNotExists(): IfNotExistsContext | null;
|
|
2155
|
+
functionParameter(): FunctionParameterContext[];
|
|
2156
|
+
functionParameter(i: number): FunctionParameterContext | null;
|
|
2157
|
+
COMMA(): antlr.TerminalNode[];
|
|
2158
|
+
COMMA(i: number): antlr.TerminalNode | null;
|
|
2159
|
+
routineOption(): RoutineOptionContext[];
|
|
2160
|
+
routineOption(i: number): RoutineOptionContext | null;
|
|
2161
|
+
get ruleIndex(): number;
|
|
2162
|
+
enterRule(listener: MySqlParserListener): void;
|
|
2163
|
+
exitRule(listener: MySqlParserListener): void;
|
|
2164
|
+
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|
|
2165
|
+
}
|
|
2166
|
+
export declare class CreateFunctionLoadableContext extends antlr.ParserRuleContext {
|
|
2167
|
+
_returnType?: Token | null;
|
|
2168
|
+
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2169
|
+
KW_CREATE(): antlr.TerminalNode;
|
|
2170
|
+
KW_FUNCTION(): antlr.TerminalNode;
|
|
2171
|
+
functionNameCreate(): FunctionNameCreateContext;
|
|
2172
|
+
KW_RETURNS(): antlr.TerminalNode;
|
|
2173
|
+
KW_SONAME(): antlr.TerminalNode;
|
|
2174
|
+
STRING_LITERAL(): antlr.TerminalNode;
|
|
2175
|
+
KW_STRING(): antlr.TerminalNode | null;
|
|
2176
|
+
KW_INTEGER(): antlr.TerminalNode | null;
|
|
2177
|
+
KW_REAL(): antlr.TerminalNode | null;
|
|
2178
|
+
KW_DECIMAL(): antlr.TerminalNode | null;
|
|
2179
|
+
KW_AGGREGATE(): antlr.TerminalNode | null;
|
|
2180
|
+
ifNotExists(): IfNotExistsContext | null;
|
|
2181
|
+
get ruleIndex(): number;
|
|
2182
|
+
enterRule(listener: MySqlParserListener): void;
|
|
2183
|
+
exitRule(listener: MySqlParserListener): void;
|
|
2184
|
+
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|
|
2185
|
+
}
|
|
2136
2186
|
export declare class CreateRoleContext extends antlr.ParserRuleContext {
|
|
2137
2187
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2138
2188
|
KW_CREATE(): antlr.TerminalNode;
|
|
@@ -2319,7 +2369,8 @@ export declare class CreateTriggerContext extends antlr.ParserRuleContext {
|
|
|
2319
2369
|
KW_UPDATE(): antlr.TerminalNode | null;
|
|
2320
2370
|
KW_DELETE(): antlr.TerminalNode | null;
|
|
2321
2371
|
ownerStatement(): OwnerStatementContext | null;
|
|
2322
|
-
ifNotExists(): IfNotExistsContext
|
|
2372
|
+
ifNotExists(): IfNotExistsContext[];
|
|
2373
|
+
ifNotExists(i: number): IfNotExistsContext | null;
|
|
2323
2374
|
KW_FOLLOWS(): antlr.TerminalNode | null;
|
|
2324
2375
|
KW_PRECEDES(): antlr.TerminalNode | null;
|
|
2325
2376
|
get ruleIndex(): number;
|
|
@@ -2585,6 +2636,16 @@ export declare class ProcedureParameterContext extends antlr.ParserRuleContext {
|
|
|
2585
2636
|
exitRule(listener: MySqlParserListener): void;
|
|
2586
2637
|
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|
|
2587
2638
|
}
|
|
2639
|
+
export declare class FunctionParameterContext extends antlr.ParserRuleContext {
|
|
2640
|
+
_paramName?: UidContext;
|
|
2641
|
+
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2642
|
+
dataType(): DataTypeContext;
|
|
2643
|
+
uid(): UidContext;
|
|
2644
|
+
get ruleIndex(): number;
|
|
2645
|
+
enterRule(listener: MySqlParserListener): void;
|
|
2646
|
+
exitRule(listener: MySqlParserListener): void;
|
|
2647
|
+
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|
|
2648
|
+
}
|
|
2588
2649
|
export declare class RoutineOptionContext extends antlr.ParserRuleContext {
|
|
2589
2650
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2590
2651
|
get ruleIndex(): number;
|
|
@@ -2607,6 +2668,7 @@ export declare class RoutineLanguageContext extends RoutineOptionContext {
|
|
|
2607
2668
|
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|
|
2608
2669
|
}
|
|
2609
2670
|
export declare class RoutineCommentContext extends RoutineOptionContext {
|
|
2671
|
+
_comment?: Token | null;
|
|
2610
2672
|
constructor(ctx: RoutineOptionContext);
|
|
2611
2673
|
KW_COMMENT(): antlr.TerminalNode;
|
|
2612
2674
|
STRING_LITERAL(): antlr.TerminalNode;
|
|
@@ -2719,6 +2781,7 @@ export declare class ConstraintSymbolContext extends antlr.ParserRuleContext {
|
|
|
2719
2781
|
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|
|
2720
2782
|
}
|
|
2721
2783
|
export declare class ColumnDefinitionContext extends antlr.ParserRuleContext {
|
|
2784
|
+
_colType?: DataTypeContext;
|
|
2722
2785
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2723
2786
|
dataType(): DataTypeContext;
|
|
2724
2787
|
columnConstraint(): ColumnConstraintContext[];
|
|
@@ -2762,6 +2825,7 @@ export declare class AutoIncrementColumnConstraintContext extends ColumnConstrai
|
|
|
2762
2825
|
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|
|
2763
2826
|
}
|
|
2764
2827
|
export declare class CommentColumnConstraintContext extends ColumnConstraintContext {
|
|
2828
|
+
_comment?: Token | null;
|
|
2765
2829
|
constructor(ctx: ColumnConstraintContext);
|
|
2766
2830
|
KW_COMMENT(): antlr.TerminalNode;
|
|
2767
2831
|
STRING_LITERAL(): antlr.TerminalNode;
|
|
@@ -3183,6 +3247,7 @@ export declare class TableOptionSecondaryEngineAttributeContext extends TableOpt
|
|
|
3183
3247
|
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|
|
3184
3248
|
}
|
|
3185
3249
|
export declare class TableOptionCommentContext extends TableOptionContext {
|
|
3250
|
+
_comment?: Token | null;
|
|
3186
3251
|
constructor(ctx: TableOptionContext);
|
|
3187
3252
|
KW_COMMENT(): antlr.TerminalNode;
|
|
3188
3253
|
STRING_LITERAL(): antlr.TerminalNode;
|
|
@@ -5528,6 +5593,7 @@ export declare class QuerySpecificationContext extends antlr.ParserRuleContext {
|
|
|
5528
5593
|
windowClause(): WindowClauseContext | null;
|
|
5529
5594
|
orderByClause(): OrderByClauseContext | null;
|
|
5530
5595
|
limitClause(): LimitClauseContext | null;
|
|
5596
|
+
unionStatement(): UnionStatementContext | null;
|
|
5531
5597
|
get ruleIndex(): number;
|
|
5532
5598
|
enterRule(listener: MySqlParserListener): void;
|
|
5533
5599
|
exitRule(listener: MySqlParserListener): void;
|
|
@@ -8067,26 +8133,6 @@ export declare class CheckTableOptionContext extends antlr.ParserRuleContext {
|
|
|
8067
8133
|
exitRule(listener: MySqlParserListener): void;
|
|
8068
8134
|
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|
|
8069
8135
|
}
|
|
8070
|
-
export declare class CreateFunctionContext extends antlr.ParserRuleContext {
|
|
8071
|
-
_returnType?: Token | null;
|
|
8072
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
8073
|
-
KW_CREATE(): antlr.TerminalNode;
|
|
8074
|
-
KW_FUNCTION(): antlr.TerminalNode;
|
|
8075
|
-
functionNameCreate(): FunctionNameCreateContext;
|
|
8076
|
-
KW_RETURNS(): antlr.TerminalNode;
|
|
8077
|
-
KW_SONAME(): antlr.TerminalNode;
|
|
8078
|
-
STRING_LITERAL(): antlr.TerminalNode;
|
|
8079
|
-
KW_STRING(): antlr.TerminalNode | null;
|
|
8080
|
-
KW_INTEGER(): antlr.TerminalNode | null;
|
|
8081
|
-
KW_REAL(): antlr.TerminalNode | null;
|
|
8082
|
-
KW_DECIMAL(): antlr.TerminalNode | null;
|
|
8083
|
-
KW_AGGREGATE(): antlr.TerminalNode | null;
|
|
8084
|
-
ifNotExists(): IfNotExistsContext | null;
|
|
8085
|
-
get ruleIndex(): number;
|
|
8086
|
-
enterRule(listener: MySqlParserListener): void;
|
|
8087
|
-
exitRule(listener: MySqlParserListener): void;
|
|
8088
|
-
accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
|
|
8089
|
-
}
|
|
8090
8136
|
export declare class InstallComponentContext extends antlr.ParserRuleContext {
|
|
8091
8137
|
_component_name?: UidContext;
|
|
8092
8138
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
@@ -11383,6 +11429,7 @@ export declare class KeywordsCanBeIdContext extends antlr.ParserRuleContext {
|
|
|
11383
11429
|
KW_RESOURCE_GROUP_USER(): antlr.TerminalNode | null;
|
|
11384
11430
|
KW_RESUME(): antlr.TerminalNode | null;
|
|
11385
11431
|
KW_RETURNED_SQLSTATE(): antlr.TerminalNode | null;
|
|
11432
|
+
KW_RETURNING(): antlr.TerminalNode | null;
|
|
11386
11433
|
KW_RETURNS(): antlr.TerminalNode | null;
|
|
11387
11434
|
KW_REUSE(): antlr.TerminalNode | null;
|
|
11388
11435
|
KW_ROLE(): antlr.TerminalNode | null;
|