Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
io.debezium.ddl.parser.mysql.generated.MySqlParser Maven / Gradle / Ivy
// Generated from io/debezium/ddl/parser/mysql/generated/MySqlParser.g4 by ANTLR 4.10.1
package io.debezium.ddl.parser.mysql.generated;
import org.antlr.v4.runtime.atn.*;
import org.antlr.v4.runtime.dfa.DFA;
import org.antlr.v4.runtime.*;
import org.antlr.v4.runtime.misc.*;
import org.antlr.v4.runtime.tree.*;
import java.util.List;
import java.util.Iterator;
import java.util.ArrayList;
@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"})
public class MySqlParser extends Parser {
static { RuntimeMetaData.checkVersion("4.10.1", RuntimeMetaData.VERSION); }
protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
new PredictionContextCache();
public static final int
SPACE=1, SPEC_MYSQL_COMMENT=2, COMMENT_INPUT=3, LINE_COMMENT=4, ADD=5,
ALL=6, ALTER=7, ALWAYS=8, ANALYZE=9, AND=10, ARRAY=11, AS=12, ASC=13,
ATTRIBUTE=14, AUTO=15, BEFORE=16, BETWEEN=17, BOTH=18, BUCKETS=19, BY=20,
CALL=21, CASCADE=22, CASE=23, CAST=24, CHANGE=25, CHARACTER=26, CHECK=27,
COLLATE=28, COLUMN=29, CONDITION=30, CONSTRAINT=31, CONTINUE=32, CONVERT=33,
CREATE=34, CROSS=35, CURRENT=36, CURRENT_ROLE=37, CURRENT_USER=38, CURSOR=39,
DATABASE=40, DATABASES=41, DECLARE=42, DEFAULT=43, DELAYED=44, DELETE=45,
DESC=46, DESCRIBE=47, DETERMINISTIC=48, DIAGNOSTICS=49, DISTINCT=50, DISTINCTROW=51,
DROP=52, EACH=53, ELSE=54, ELSEIF=55, EMPTY=56, ENCLOSED=57, ENFORCED=58,
ESCAPED=59, EXCEPT=60, EXISTS=61, EXIT=62, EXPLAIN=63, FALSE=64, FETCH=65,
FOR=66, FORCE=67, FOREIGN=68, FROM=69, FULLTEXT=70, GENERATED=71, GET=72,
GRANT=73, GROUP=74, GROUP_REPLICATION_STREAM=75, HAVING=76, HIGH_PRIORITY=77,
HISTOGRAM=78, IF=79, IGNORE=80, IGNORED=81, IN=82, INDEX=83, INFILE=84,
INNER=85, INOUT=86, INSERT=87, INTERVAL=88, INTO=89, IS=90, ITERATE=91,
JOIN=92, KEY=93, KEYS=94, KILL=95, LATERAL=96, LEADING=97, LEAVE=98, LEFT=99,
LIKE=100, LIMIT=101, LINEAR=102, LINES=103, LOAD=104, LOCK=105, LOCKED=106,
LOOP=107, LOW_PRIORITY=108, MASTER_BIND=109, MASTER_SSL_VERIFY_SERVER_CERT=110,
MATCH=111, MAXVALUE=112, MINVALUE=113, MODIFIES=114, NATURAL=115, NOT=116,
NO_WRITE_TO_BINLOG=117, NULL_LITERAL=118, NUMBER=119, ON=120, OPTIMIZE=121,
OPTION=122, OPTIONAL=123, OPTIONALLY=124, OR=125, ORDER=126, OUT=127,
OUTER=128, OUTFILE=129, OVER=130, PARTITION=131, PRIMARY=132, PROCEDURE=133,
PURGE=134, RANGE=135, READ=136, READS=137, REFERENCES=138, REGEXP=139,
RELEASE=140, RENAME=141, REPEAT=142, REPLACE=143, REQUIRE=144, RESIGNAL=145,
RESTRICT=146, RETAIN=147, RETURN=148, REVOKE=149, RIGHT=150, RLIKE=151,
SCHEMA=152, SCHEMAS=153, SELECT=154, SET=155, SEPARATOR=156, SHOW=157,
SIGNAL=158, SKIP_=159, SKIP_QUERY_REWRITE=160, SPATIAL=161, SQL=162, SQLEXCEPTION=163,
SQLSTATE=164, SQLWARNING=165, SQL_BIG_RESULT=166, SQL_CALC_FOUND_ROWS=167,
SQL_SMALL_RESULT=168, SSL=169, STACKED=170, STARTING=171, STATEMENT=172,
STRAIGHT_JOIN=173, SYSTEM_TIME=174, TABLE=175, TERMINATED=176, THEN=177,
TO=178, TRAILING=179, TRIGGER=180, TRUE=181, UNDO=182, UNION=183, UNIQUE=184,
UNLOCK=185, UNSIGNED=186, UPDATE=187, USAGE=188, USE=189, USING=190, VALUES=191,
WHEN=192, WHERE=193, WHILE=194, WITH=195, WRITE=196, XOR=197, ZEROFILL=198,
TINYINT=199, SMALLINT=200, MEDIUMINT=201, MIDDLEINT=202, INT=203, INT1=204,
INT2=205, INT3=206, INT4=207, INT8=208, INTEGER=209, BIGINT=210, REAL=211,
DOUBLE=212, PRECISION=213, FLOAT=214, FLOAT4=215, FLOAT8=216, DECIMAL=217,
DEC=218, NUMERIC=219, DATE=220, TIME=221, TIMESTAMP=222, DATETIME=223,
YEAR=224, CHAR=225, VARCHAR=226, NVARCHAR=227, NATIONAL=228, BINARY=229,
VARBINARY=230, TINYBLOB=231, BLOB=232, MEDIUMBLOB=233, LONG=234, LONGBLOB=235,
TINYTEXT=236, TEXT=237, MEDIUMTEXT=238, LONGTEXT=239, ENUM=240, VARYING=241,
SERIAL=242, YEAR_MONTH=243, DAY_HOUR=244, DAY_MINUTE=245, DAY_SECOND=246,
HOUR_MINUTE=247, HOUR_SECOND=248, MINUTE_SECOND=249, SECOND_MICROSECOND=250,
MINUTE_MICROSECOND=251, HOUR_MICROSECOND=252, DAY_MICROSECOND=253, JSON_ARRAY=254,
JSON_ARRAYAGG=255, JSON_ARRAY_APPEND=256, JSON_ARRAY_INSERT=257, JSON_CONTAINS=258,
JSON_CONTAINS_PATH=259, JSON_DEPTH=260, JSON_EXTRACT=261, JSON_INSERT=262,
JSON_KEYS=263, JSON_LENGTH=264, JSON_MERGE=265, JSON_MERGE_PATCH=266,
JSON_MERGE_PRESERVE=267, JSON_OBJECT=268, JSON_OBJECTAGG=269, JSON_OVERLAPS=270,
JSON_PRETTY=271, JSON_QUOTE=272, JSON_REMOVE=273, JSON_REPLACE=274, JSON_SCHEMA_VALID=275,
JSON_SCHEMA_VALIDATION_REPORT=276, JSON_SEARCH=277, JSON_SET=278, JSON_STORAGE_FREE=279,
JSON_STORAGE_SIZE=280, JSON_TABLE=281, JSON_TYPE=282, JSON_UNQUOTE=283,
JSON_VALID=284, JSON_VALUE=285, NESTED=286, ORDINALITY=287, PATH=288,
AVG=289, BIT_AND=290, BIT_OR=291, BIT_XOR=292, COUNT=293, CUME_DIST=294,
DENSE_RANK=295, FIRST_VALUE=296, GROUP_CONCAT=297, LAG=298, LAST_VALUE=299,
LEAD=300, MAX=301, MIN=302, NTILE=303, NTH_VALUE=304, PERCENT_RANK=305,
RANK=306, ROW_NUMBER=307, STD=308, STDDEV=309, STDDEV_POP=310, STDDEV_SAMP=311,
SUM=312, VAR_POP=313, VAR_SAMP=314, VARIANCE=315, CURRENT_DATE=316, CURRENT_TIME=317,
CURRENT_TIMESTAMP=318, LOCALTIME=319, CURDATE=320, CURTIME=321, DATE_ADD=322,
DATE_SUB=323, EXTRACT=324, LOCALTIMESTAMP=325, NOW=326, POSITION=327,
SUBSTR=328, SUBSTRING=329, SYSDATE=330, TRIM=331, UTC_DATE=332, UTC_TIME=333,
UTC_TIMESTAMP=334, ACCOUNT=335, ACTION=336, AFTER=337, AGGREGATE=338,
ALGORITHM=339, ANY=340, AT=341, AUTHORS=342, AUTOCOMMIT=343, AUTOEXTEND_SIZE=344,
AUTO_INCREMENT=345, AVG_ROW_LENGTH=346, BEGIN=347, BINLOG=348, BIT=349,
BLOCK=350, BOOL=351, BOOLEAN=352, BTREE=353, CACHE=354, CASCADED=355,
CHAIN=356, CHANGED=357, CHANNEL=358, CHECKSUM=359, PAGE_CHECKSUM=360,
CIPHER=361, CLASS_ORIGIN=362, CLIENT=363, CLOSE=364, CLUSTERING=365, COALESCE=366,
CODE=367, COLUMNS=368, COLUMN_FORMAT=369, COLUMN_NAME=370, COMMENT=371,
COMMIT=372, COMPACT=373, COMPLETION=374, COMPRESSED=375, COMPRESSION=376,
CONCURRENT=377, CONNECT=378, CONNECTION=379, CONSISTENT=380, CONSTRAINT_CATALOG=381,
CONSTRAINT_SCHEMA=382, CONSTRAINT_NAME=383, CONTAINS=384, CONTEXT=385,
CONTRIBUTORS=386, COPY=387, CPU=388, CYCLE=389, CURSOR_NAME=390, DATA=391,
DATAFILE=392, DEALLOCATE=393, DEFAULT_AUTH=394, DEFINER=395, DELAY_KEY_WRITE=396,
DES_KEY_FILE=397, DIRECTORY=398, DISABLE=399, DISCARD=400, DISK=401, DO=402,
DUMPFILE=403, DUPLICATE=404, DYNAMIC=405, ENABLE=406, ENCRYPTED=407, ENCRYPTION=408,
ENCRYPTION_KEY_ID=409, END=410, ENDS=411, ENGINE=412, ENGINES=413, ERROR=414,
ERRORS=415, ESCAPE=416, EVEN=417, EVENT=418, EVENTS=419, EVERY=420, EXCHANGE=421,
EXCLUSIVE=422, EXPIRE=423, EXPORT=424, EXTENDED=425, EXTENT_SIZE=426,
FAILED_LOGIN_ATTEMPTS=427, FAST=428, FAULTS=429, FIELDS=430, FILE_BLOCK_SIZE=431,
FILTER=432, FIRST=433, FIXED=434, FLUSH=435, FOLLOWING=436, FOLLOWS=437,
FOUND=438, FULL=439, FUNCTION=440, GENERAL=441, GLOBAL=442, GRANTS=443,
GROUP_REPLICATION=444, HANDLER=445, HASH=446, HELP=447, HISTORY=448, HOST=449,
HOSTS=450, IDENTIFIED=451, IGNORE_SERVER_IDS=452, IMPORT=453, INCREMENT=454,
INDEXES=455, INITIAL_SIZE=456, INPLACE=457, INSERT_METHOD=458, INSTALL=459,
INSTANCE=460, INSTANT=461, INVISIBLE=462, INVOKER=463, IO=464, IO_THREAD=465,
IPC=466, ISOLATION=467, ISSUER=468, JSON=469, KEY_BLOCK_SIZE=470, LANGUAGE=471,
LAST=472, LEAVES=473, LESS=474, LEVEL=475, LIST=476, LOCAL=477, LOGFILE=478,
LOGS=479, MASTER=480, MASTER_AUTO_POSITION=481, MASTER_CONNECT_RETRY=482,
MASTER_DELAY=483, MASTER_HEARTBEAT_PERIOD=484, MASTER_HOST=485, MASTER_LOG_FILE=486,
MASTER_LOG_POS=487, MASTER_PASSWORD=488, MASTER_PORT=489, MASTER_RETRY_COUNT=490,
MASTER_SSL=491, MASTER_SSL_CA=492, MASTER_SSL_CAPATH=493, MASTER_SSL_CERT=494,
MASTER_SSL_CIPHER=495, MASTER_SSL_CRL=496, MASTER_SSL_CRLPATH=497, MASTER_SSL_KEY=498,
MASTER_TLS_VERSION=499, MASTER_USER=500, MAX_CONNECTIONS_PER_HOUR=501,
MAX_QUERIES_PER_HOUR=502, MAX_ROWS=503, MAX_SIZE=504, MAX_UPDATES_PER_HOUR=505,
MAX_USER_CONNECTIONS=506, MEDIUM=507, MEMBER=508, MERGE=509, MESSAGE_TEXT=510,
MID=511, MIGRATE=512, MIN_ROWS=513, MODE=514, MODIFY=515, MUTEX=516, MYSQL=517,
MYSQL_ERRNO=518, NAME=519, NAMES=520, NCHAR=521, NEVER=522, NEXT=523,
NO=524, NOCACHE=525, NOCOPY=526, NOCYCLE=527, NOMAXVALUE=528, NOMINVALUE=529,
NOWAIT=530, NODEGROUP=531, NONE=532, ODBC=533, OFFLINE=534, OFFSET=535,
OF=536, OJ=537, OLD_PASSWORD=538, ONE=539, ONLINE=540, ONLY=541, OPEN=542,
OPTIMIZER_COSTS=543, OPTIONS=544, OWNER=545, PACK_KEYS=546, PAGE=547,
PAGE_COMPRESSED=548, PAGE_COMPRESSION_LEVEL=549, PARSER=550, PARTIAL=551,
PARTITIONING=552, PARTITIONS=553, PASSWORD=554, PASSWORD_LOCK_TIME=555,
PHASE=556, PLUGIN=557, PLUGIN_DIR=558, PLUGINS=559, PORT=560, PRECEDES=561,
PRECEDING=562, PREPARE=563, PRESERVE=564, PREV=565, PROCESSLIST=566, PROFILE=567,
PROFILES=568, PROXY=569, QUERY=570, QUICK=571, REBUILD=572, RECOVER=573,
RECURSIVE=574, REDO_BUFFER_SIZE=575, REDUNDANT=576, RELAY=577, RELAY_LOG_FILE=578,
RELAY_LOG_POS=579, RELAYLOG=580, REMOVE=581, REORGANIZE=582, REPAIR=583,
REPLICATE_DO_DB=584, REPLICATE_DO_TABLE=585, REPLICATE_IGNORE_DB=586,
REPLICATE_IGNORE_TABLE=587, REPLICATE_REWRITE_DB=588, REPLICATE_WILD_DO_TABLE=589,
REPLICATE_WILD_IGNORE_TABLE=590, REPLICATION=591, RESET=592, RESTART=593,
RESUME=594, RETURNED_SQLSTATE=595, RETURNING=596, RETURNS=597, REUSE=598,
ROLE=599, ROLLBACK=600, ROLLUP=601, ROTATE=602, ROW=603, ROWS=604, ROW_FORMAT=605,
RTREE=606, SAVEPOINT=607, SCHEDULE=608, SECURITY=609, SEQUENCE=610, SERVER=611,
SESSION=612, SHARE=613, SHARED=614, SIGNED=615, SIMPLE=616, SLAVE=617,
SLOW=618, SNAPSHOT=619, SOCKET=620, SOME=621, SONAME=622, SOUNDS=623,
SOURCE=624, SQL_AFTER_GTIDS=625, SQL_AFTER_MTS_GAPS=626, SQL_BEFORE_GTIDS=627,
SQL_BUFFER_RESULT=628, SQL_CACHE=629, SQL_NO_CACHE=630, SQL_THREAD=631,
START=632, STARTS=633, STATS_AUTO_RECALC=634, STATS_PERSISTENT=635, STATS_SAMPLE_PAGES=636,
STATUS=637, STOP=638, STORAGE=639, STORED=640, STRING=641, SUBCLASS_ORIGIN=642,
SUBJECT=643, SUBPARTITION=644, SUBPARTITIONS=645, SUSPEND=646, SWAPS=647,
SWITCHES=648, TABLE_NAME=649, TABLESPACE=650, TABLE_TYPE=651, TEMPORARY=652,
TEMPTABLE=653, THAN=654, TRADITIONAL=655, TRANSACTION=656, TRANSACTIONAL=657,
TRIGGERS=658, TRUNCATE=659, UNBOUNDED=660, UNDEFINED=661, UNDOFILE=662,
UNDO_BUFFER_SIZE=663, UNINSTALL=664, UNKNOWN=665, UNTIL=666, UPGRADE=667,
USER=668, USE_FRM=669, USER_RESOURCES=670, VALIDATION=671, VALUE=672,
VARIABLES=673, VIEW=674, VIRTUAL=675, VISIBLE=676, WAIT=677, WARNINGS=678,
WINDOW=679, WITHOUT=680, WORK=681, WRAPPER=682, X509=683, XA=684, XML=685,
YES=686, EUR=687, USA=688, JIS=689, ISO=690, INTERNAL=691, QUARTER=692,
MONTH=693, DAY=694, HOUR=695, MINUTE=696, WEEK=697, SECOND=698, MICROSECOND=699,
USER_STATISTICS=700, CLIENT_STATISTICS=701, INDEX_STATISTICS=702, TABLE_STATISTICS=703,
FIREWALL_RULES=704, ADMIN=705, APPLICATION_PASSWORD_ADMIN=706, AUDIT_ADMIN=707,
AUDIT_ABORT_EXEMPT=708, AUTHENTICATION_POLICY_ADMIN=709, BACKUP_ADMIN=710,
BINLOG_ADMIN=711, BINLOG_ENCRYPTION_ADMIN=712, CLONE_ADMIN=713, CONNECTION_ADMIN=714,
ENCRYPTION_KEY_ADMIN=715, EXECUTE=716, FILE=717, FIREWALL_ADMIN=718, FIREWALL_EXEMPT=719,
FIREWALL_USER=720, FLUSH_OPTIMIZER_COSTS=721, FLUSH_STATUS=722, FLUSH_TABLES=723,
FLUSH_USER_RESOURCES=724, GROUP_REPLICATION_ADMIN=725, INNODB_REDO_LOG_ARCHIVE=726,
INNODB_REDO_LOG_ENABLE=727, INVOKE=728, LAMBDA=729, NDB_STORED_USER=730,
PASSWORDLESS_USER_ADMIN=731, PERSIST_RO_VARIABLES_ADMIN=732, PRIVILEGES=733,
PROCESS=734, RELOAD=735, REPLICATION_APPLIER=736, REPLICATION_SLAVE_ADMIN=737,
RESOURCE_GROUP_ADMIN=738, RESOURCE_GROUP_USER=739, ROLE_ADMIN=740, ROUTINE=741,
S3=742, SERVICE_CONNECTION_ADMIN=743, SESSION_VARIABLES_ADMIN=744, SET_USER_ID=745,
SHOW_ROUTINE=746, SHUTDOWN=747, SUPER=748, SYSTEM_VARIABLES_ADMIN=749,
TABLES=750, TABLE_ENCRYPTION_ADMIN=751, VERSION_TOKEN_ADMIN=752, XA_RECOVER_ADMIN=753,
ARMSCII8=754, ASCII=755, BIG5=756, CP1250=757, CP1251=758, CP1256=759,
CP1257=760, CP850=761, CP852=762, CP866=763, CP932=764, DEC8=765, EUCJPMS=766,
EUCKR=767, GB18030=768, GB2312=769, GBK=770, GEOSTD8=771, GREEK=772, HEBREW=773,
HP8=774, KEYBCS2=775, KOI8R=776, KOI8U=777, LATIN1=778, LATIN2=779, LATIN5=780,
LATIN7=781, MACCE=782, MACROMAN=783, SJIS=784, SWE7=785, TIS620=786, UCS2=787,
UJIS=788, UTF16=789, UTF16LE=790, UTF32=791, UTF8=792, UTF8MB3=793, UTF8MB4=794,
ARCHIVE=795, BLACKHOLE=796, CSV=797, FEDERATED=798, INNODB=799, MEMORY=800,
MRG_MYISAM=801, MYISAM=802, NDB=803, NDBCLUSTER=804, PERFORMANCE_SCHEMA=805,
TOKUDB=806, REPEATABLE=807, COMMITTED=808, UNCOMMITTED=809, SERIALIZABLE=810,
GEOMETRYCOLLECTION=811, GEOMCOLLECTION=812, GEOMETRY=813, LINESTRING=814,
MULTILINESTRING=815, MULTIPOINT=816, MULTIPOLYGON=817, POINT=818, POLYGON=819,
ABS=820, ACOS=821, ADDDATE=822, ADDTIME=823, AES_DECRYPT=824, AES_ENCRYPT=825,
AREA=826, ASBINARY=827, ASIN=828, ASTEXT=829, ASWKB=830, ASWKT=831, ASYMMETRIC_DECRYPT=832,
ASYMMETRIC_DERIVE=833, ASYMMETRIC_ENCRYPT=834, ASYMMETRIC_SIGN=835, ASYMMETRIC_VERIFY=836,
ATAN=837, ATAN2=838, BENCHMARK=839, BIN=840, BIT_COUNT=841, BIT_LENGTH=842,
BUFFER=843, CATALOG_NAME=844, CEIL=845, CEILING=846, CENTROID=847, CHARACTER_LENGTH=848,
CHARSET=849, CHAR_LENGTH=850, COERCIBILITY=851, COLLATION=852, COMPRESS=853,
CONCAT=854, CONCAT_WS=855, CONNECTION_ID=856, CONV=857, CONVERT_TZ=858,
COS=859, COT=860, CRC32=861, CREATE_ASYMMETRIC_PRIV_KEY=862, CREATE_ASYMMETRIC_PUB_KEY=863,
CREATE_DH_PARAMETERS=864, CREATE_DIGEST=865, CROSSES=866, DATEDIFF=867,
DATE_FORMAT=868, DAYNAME=869, DAYOFMONTH=870, DAYOFWEEK=871, DAYOFYEAR=872,
DECODE=873, DEGREES=874, DES_DECRYPT=875, DES_ENCRYPT=876, DIMENSION=877,
DISJOINT=878, ELT=879, ENCODE=880, ENCRYPT=881, ENDPOINT=882, ENGINE_ATTRIBUTE=883,
ENVELOPE=884, EQUALS=885, EXP=886, EXPORT_SET=887, EXTERIORRING=888, EXTRACTVALUE=889,
FIELD=890, FIND_IN_SET=891, FLOOR=892, FORMAT=893, FOUND_ROWS=894, FROM_BASE64=895,
FROM_DAYS=896, FROM_UNIXTIME=897, GEOMCOLLFROMTEXT=898, GEOMCOLLFROMWKB=899,
GEOMETRYCOLLECTIONFROMTEXT=900, GEOMETRYCOLLECTIONFROMWKB=901, GEOMETRYFROMTEXT=902,
GEOMETRYFROMWKB=903, GEOMETRYN=904, GEOMETRYTYPE=905, GEOMFROMTEXT=906,
GEOMFROMWKB=907, GET_FORMAT=908, GET_LOCK=909, GLENGTH=910, GREATEST=911,
GTID_SUBSET=912, GTID_SUBTRACT=913, HEX=914, IFNULL=915, INET6_ATON=916,
INET6_NTOA=917, INET_ATON=918, INET_NTOA=919, INSTR=920, INTERIORRINGN=921,
INTERSECTS=922, ISCLOSED=923, ISEMPTY=924, ISNULL=925, ISSIMPLE=926, IS_FREE_LOCK=927,
IS_IPV4=928, IS_IPV4_COMPAT=929, IS_IPV4_MAPPED=930, IS_IPV6=931, IS_USED_LOCK=932,
LAST_INSERT_ID=933, LCASE=934, LEAST=935, LENGTH=936, LINEFROMTEXT=937,
LINEFROMWKB=938, LINESTRINGFROMTEXT=939, LINESTRINGFROMWKB=940, LN=941,
LOAD_FILE=942, LOCATE=943, LOG=944, LOG10=945, LOG2=946, LOWER=947, LPAD=948,
LTRIM=949, MAKEDATE=950, MAKETIME=951, MAKE_SET=952, MASTER_POS_WAIT=953,
MBRCONTAINS=954, MBRDISJOINT=955, MBREQUAL=956, MBRINTERSECTS=957, MBROVERLAPS=958,
MBRTOUCHES=959, MBRWITHIN=960, MD5=961, MLINEFROMTEXT=962, MLINEFROMWKB=963,
MONTHNAME=964, MPOINTFROMTEXT=965, MPOINTFROMWKB=966, MPOLYFROMTEXT=967,
MPOLYFROMWKB=968, MULTILINESTRINGFROMTEXT=969, MULTILINESTRINGFROMWKB=970,
MULTIPOINTFROMTEXT=971, MULTIPOINTFROMWKB=972, MULTIPOLYGONFROMTEXT=973,
MULTIPOLYGONFROMWKB=974, NAME_CONST=975, NULLIF=976, NUMGEOMETRIES=977,
NUMINTERIORRINGS=978, NUMPOINTS=979, OCT=980, OCTET_LENGTH=981, ORD=982,
OVERLAPS=983, PERIOD_ADD=984, PERIOD_DIFF=985, PI=986, POINTFROMTEXT=987,
POINTFROMWKB=988, POINTN=989, POLYFROMTEXT=990, POLYFROMWKB=991, POLYGONFROMTEXT=992,
POLYGONFROMWKB=993, POW=994, POWER=995, QUOTE=996, RADIANS=997, RAND=998,
RANDOM=999, RANDOM_BYTES=1000, RELEASE_LOCK=1001, REVERSE=1002, ROUND=1003,
ROW_COUNT=1004, RPAD=1005, RTRIM=1006, SEC_TO_TIME=1007, SECONDARY_ENGINE_ATTRIBUTE=1008,
SENSITIVE_VARIABLES_OBSERVER=1009, SESSION_USER=1010, SHA=1011, SHA1=1012,
SHA2=1013, SCHEMA_NAME=1014, SIGN=1015, SIN=1016, SLEEP=1017, SOUNDEX=1018,
SQL_THREAD_WAIT_AFTER_GTIDS=1019, SQRT=1020, SRID=1021, STARTPOINT=1022,
STRCMP=1023, STR_TO_DATE=1024, ST_AREA=1025, ST_ASBINARY=1026, ST_ASTEXT=1027,
ST_ASWKB=1028, ST_ASWKT=1029, ST_BUFFER=1030, ST_CENTROID=1031, ST_CONTAINS=1032,
ST_CROSSES=1033, ST_DIFFERENCE=1034, ST_DIMENSION=1035, ST_DISJOINT=1036,
ST_DISTANCE=1037, ST_ENDPOINT=1038, ST_ENVELOPE=1039, ST_EQUALS=1040,
ST_EXTERIORRING=1041, ST_GEOMCOLLFROMTEXT=1042, ST_GEOMCOLLFROMTXT=1043,
ST_GEOMCOLLFROMWKB=1044, ST_GEOMETRYCOLLECTIONFROMTEXT=1045, ST_GEOMETRYCOLLECTIONFROMWKB=1046,
ST_GEOMETRYFROMTEXT=1047, ST_GEOMETRYFROMWKB=1048, ST_GEOMETRYN=1049,
ST_GEOMETRYTYPE=1050, ST_GEOMFROMTEXT=1051, ST_GEOMFROMWKB=1052, ST_INTERIORRINGN=1053,
ST_INTERSECTION=1054, ST_INTERSECTS=1055, ST_ISCLOSED=1056, ST_ISEMPTY=1057,
ST_ISSIMPLE=1058, ST_LINEFROMTEXT=1059, ST_LINEFROMWKB=1060, ST_LINESTRINGFROMTEXT=1061,
ST_LINESTRINGFROMWKB=1062, ST_NUMGEOMETRIES=1063, ST_NUMINTERIORRING=1064,
ST_NUMINTERIORRINGS=1065, ST_NUMPOINTS=1066, ST_OVERLAPS=1067, ST_POINTFROMTEXT=1068,
ST_POINTFROMWKB=1069, ST_POINTN=1070, ST_POLYFROMTEXT=1071, ST_POLYFROMWKB=1072,
ST_POLYGONFROMTEXT=1073, ST_POLYGONFROMWKB=1074, ST_SRID=1075, ST_STARTPOINT=1076,
ST_SYMDIFFERENCE=1077, ST_TOUCHES=1078, ST_UNION=1079, ST_WITHIN=1080,
ST_X=1081, ST_Y=1082, SUBDATE=1083, SUBSTRING_INDEX=1084, SUBTIME=1085,
SYSTEM_USER=1086, SYSTEM=1087, TAN=1088, TELEMETRY_LOG_ADMIN=1089, TIMEDIFF=1090,
TIMESTAMPADD=1091, TIMESTAMPDIFF=1092, TIME_FORMAT=1093, TIME_TO_SEC=1094,
TOUCHES=1095, TO_BASE64=1096, TO_DAYS=1097, TO_SECONDS=1098, TP_CONNECTION_ADMIN=1099,
UCASE=1100, UNCOMPRESS=1101, UNCOMPRESSED_LENGTH=1102, UNHEX=1103, UNIX_TIMESTAMP=1104,
UPDATEXML=1105, UPPER=1106, UUID=1107, UUID_SHORT=1108, VALIDATE_PASSWORD_STRENGTH=1109,
VERSION=1110, VERSIONING=1111, WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS=1112,
WEEKDAY=1113, WEEKOFYEAR=1114, WEIGHT_STRING=1115, WITHIN=1116, YEARWEEK=1117,
Y_FUNCTION=1118, X_FUNCTION=1119, VIA=1120, LASTVAL=1121, NEXTVAL=1122,
SETVAL=1123, PREVIOUS=1124, PERSISTENT=1125, BINLOG_MONITOR=1126, BINLOG_REPLAY=1127,
FEDERATED_ADMIN=1128, READ_ONLY_ADMIN=1129, REPLICA=1130, REPLICATION_MASTER_ADMIN=1131,
MONITOR=1132, READ_ONLY=1133, REPLAY=1134, VAR_ASSIGN=1135, PLUS_ASSIGN=1136,
MINUS_ASSIGN=1137, MULT_ASSIGN=1138, DIV_ASSIGN=1139, MOD_ASSIGN=1140,
AND_ASSIGN=1141, XOR_ASSIGN=1142, OR_ASSIGN=1143, STAR=1144, DIVIDE=1145,
MODULE=1146, PLUS=1147, MINUS=1148, DIV=1149, MOD=1150, EQUAL_SYMBOL=1151,
GREATER_SYMBOL=1152, LESS_SYMBOL=1153, EXCLAMATION_SYMBOL=1154, BIT_NOT_OP=1155,
BIT_OR_OP=1156, BIT_AND_OP=1157, BIT_XOR_OP=1158, DOT=1159, LR_BRACKET=1160,
RR_BRACKET=1161, COMMA=1162, SEMI=1163, AT_SIGN=1164, ZERO_DECIMAL=1165,
ONE_DECIMAL=1166, TWO_DECIMAL=1167, SINGLE_QUOTE_SYMB=1168, DOUBLE_QUOTE_SYMB=1169,
REVERSE_QUOTE_SYMB=1170, COLON_SYMB=1171, CHARSET_REVERSE_QOUTE_STRING=1172,
FILESIZE_LITERAL=1173, START_NATIONAL_STRING_LITERAL=1174, STRING_LITERAL=1175,
DECIMAL_LITERAL=1176, HEXADECIMAL_LITERAL=1177, REAL_LITERAL=1178, NULL_SPEC_LITERAL=1179,
BIT_STRING=1180, STRING_CHARSET_NAME=1181, DOT_ID=1182, ID=1183, REVERSE_QUOTE_ID=1184,
HOST_IP_ADDRESS=1185, LOCAL_ID=1186, GLOBAL_ID=1187, ERROR_RECONGNIGION=1188;
public static final int
RULE_root = 0, RULE_sqlStatements = 1, RULE_sqlStatement = 2, RULE_setStatementFor = 3,
RULE_emptyStatement = 4, RULE_ddlStatement = 5, RULE_dmlStatement = 6,
RULE_transactionStatement = 7, RULE_replicationStatement = 8, RULE_preparedStatement = 9,
RULE_compoundStatement = 10, RULE_administrationStatement = 11, RULE_utilityStatement = 12,
RULE_createDatabase = 13, RULE_createEvent = 14, RULE_createIndex = 15,
RULE_createLogfileGroup = 16, RULE_createProcedure = 17, RULE_createFunction = 18,
RULE_createRole = 19, RULE_createServer = 20, RULE_createTable = 21, RULE_createTablespaceInnodb = 22,
RULE_createTablespaceNdb = 23, RULE_createTrigger = 24, RULE_withClause = 25,
RULE_commonTableExpressions = 26, RULE_cteName = 27, RULE_cteColumnName = 28,
RULE_createView = 29, RULE_createSequence = 30, RULE_sequenceSpec = 31,
RULE_createDatabaseOption = 32, RULE_charSet = 33, RULE_currentUserExpression = 34,
RULE_ownerStatement = 35, RULE_scheduleExpression = 36, RULE_timestampValue = 37,
RULE_intervalExpr = 38, RULE_intervalType = 39, RULE_enableType = 40,
RULE_indexType = 41, RULE_indexOption = 42, RULE_procedureParameter = 43,
RULE_functionParameter = 44, RULE_routineOption = 45, RULE_serverOption = 46,
RULE_createDefinitions = 47, RULE_createDefinition = 48, RULE_columnDefinition = 49,
RULE_columnConstraint = 50, RULE_tableConstraint = 51, RULE_referenceDefinition = 52,
RULE_referenceAction = 53, RULE_referenceControlType = 54, RULE_indexColumnDefinition = 55,
RULE_tableOption = 56, RULE_tableType = 57, RULE_tablespaceStorage = 58,
RULE_partitionDefinitions = 59, RULE_partitionFunctionDefinition = 60,
RULE_partitionSystemVersionDefinitions = 61, RULE_partitionSystemVersionDefinition = 62,
RULE_subpartitionFunctionDefinition = 63, RULE_partitionDefinition = 64,
RULE_partitionDefinerAtom = 65, RULE_partitionDefinerVector = 66, RULE_subpartitionDefinition = 67,
RULE_partitionOption = 68, RULE_alterDatabase = 69, RULE_alterEvent = 70,
RULE_alterFunction = 71, RULE_alterInstance = 72, RULE_alterLogfileGroup = 73,
RULE_alterProcedure = 74, RULE_alterServer = 75, RULE_alterTable = 76,
RULE_alterTablespace = 77, RULE_alterView = 78, RULE_alterSequence = 79,
RULE_alterSpecification = 80, RULE_alterPartitionSpecification = 81, RULE_dropDatabase = 82,
RULE_dropEvent = 83, RULE_dropIndex = 84, RULE_dropLogfileGroup = 85,
RULE_dropProcedure = 86, RULE_dropFunction = 87, RULE_dropServer = 88,
RULE_dropTable = 89, RULE_dropTablespace = 90, RULE_dropTrigger = 91,
RULE_dropView = 92, RULE_dropRole = 93, RULE_setRole = 94, RULE_dropSequence = 95,
RULE_renameTable = 96, RULE_renameTableClause = 97, RULE_truncateTable = 98,
RULE_callStatement = 99, RULE_deleteStatement = 100, RULE_doStatement = 101,
RULE_handlerStatement = 102, RULE_insertStatement = 103, RULE_loadDataStatement = 104,
RULE_loadXmlStatement = 105, RULE_replaceStatement = 106, RULE_selectStatement = 107,
RULE_valuesStatement = 108, RULE_withStatement = 109, RULE_tableStatement = 110,
RULE_updateStatement = 111, RULE_insertStatementValue = 112, RULE_updatedElement = 113,
RULE_assignmentField = 114, RULE_lockClause = 115, RULE_singleDeleteStatement = 116,
RULE_multipleDeleteStatement = 117, RULE_handlerOpenStatement = 118, RULE_handlerReadIndexStatement = 119,
RULE_handlerReadStatement = 120, RULE_handlerCloseStatement = 121, RULE_singleUpdateStatement = 122,
RULE_multipleUpdateStatement = 123, RULE_orderByClause = 124, RULE_orderByExpression = 125,
RULE_tableSources = 126, RULE_tableSource = 127, RULE_tableSourceItem = 128,
RULE_indexHint = 129, RULE_indexHintType = 130, RULE_joinPart = 131, RULE_joinSpec = 132,
RULE_queryExpression = 133, RULE_queryExpressionNointo = 134, RULE_querySpecification = 135,
RULE_querySpecificationNointo = 136, RULE_unionParenthesis = 137, RULE_unionStatement = 138,
RULE_lateralStatement = 139, RULE_jsonTable = 140, RULE_jsonColumnList = 141,
RULE_jsonColumn = 142, RULE_jsonOnEmpty = 143, RULE_jsonOnError = 144,
RULE_selectSpec = 145, RULE_selectElements = 146, RULE_selectElement = 147,
RULE_selectIntoExpression = 148, RULE_selectFieldsInto = 149, RULE_selectLinesInto = 150,
RULE_fromClause = 151, RULE_groupByClause = 152, RULE_havingClause = 153,
RULE_windowClause = 154, RULE_groupByItem = 155, RULE_limitClause = 156,
RULE_limitClauseAtom = 157, RULE_startTransaction = 158, RULE_beginWork = 159,
RULE_commitWork = 160, RULE_rollbackWork = 161, RULE_savepointStatement = 162,
RULE_rollbackStatement = 163, RULE_releaseStatement = 164, RULE_lockTables = 165,
RULE_unlockTables = 166, RULE_setAutocommitStatement = 167, RULE_setTransactionStatement = 168,
RULE_transactionMode = 169, RULE_lockTableElement = 170, RULE_lockAction = 171,
RULE_transactionOption = 172, RULE_transactionLevel = 173, RULE_changeMaster = 174,
RULE_changeReplicationFilter = 175, RULE_purgeBinaryLogs = 176, RULE_resetMaster = 177,
RULE_resetSlave = 178, RULE_startSlave = 179, RULE_stopSlave = 180, RULE_startGroupReplication = 181,
RULE_stopGroupReplication = 182, RULE_masterOption = 183, RULE_stringMasterOption = 184,
RULE_decimalMasterOption = 185, RULE_boolMasterOption = 186, RULE_channelOption = 187,
RULE_replicationFilter = 188, RULE_tablePair = 189, RULE_threadType = 190,
RULE_untilOption = 191, RULE_connectionOption = 192, RULE_gtuidSet = 193,
RULE_xaStartTransaction = 194, RULE_xaEndTransaction = 195, RULE_xaPrepareStatement = 196,
RULE_xaCommitWork = 197, RULE_xaRollbackWork = 198, RULE_xaRecoverWork = 199,
RULE_prepareStatement = 200, RULE_executeStatement = 201, RULE_deallocatePrepare = 202,
RULE_routineBody = 203, RULE_blockStatement = 204, RULE_caseStatement = 205,
RULE_ifStatement = 206, RULE_iterateStatement = 207, RULE_leaveStatement = 208,
RULE_loopStatement = 209, RULE_repeatStatement = 210, RULE_returnStatement = 211,
RULE_whileStatement = 212, RULE_cursorStatement = 213, RULE_declareVariable = 214,
RULE_declareCondition = 215, RULE_declareCursor = 216, RULE_declareHandler = 217,
RULE_handlerConditionValue = 218, RULE_procedureSqlStatement = 219, RULE_caseAlternative = 220,
RULE_elifAlternative = 221, RULE_alterUser = 222, RULE_createUser = 223,
RULE_dropUser = 224, RULE_grantStatement = 225, RULE_roleOption = 226,
RULE_grantProxy = 227, RULE_renameUser = 228, RULE_revokeStatement = 229,
RULE_revokeProxy = 230, RULE_setPasswordStatement = 231, RULE_userSpecification = 232,
RULE_userAuthOption = 233, RULE_authOptionClause = 234, RULE_authenticationRule = 235,
RULE_tlsOption = 236, RULE_userResourceOption = 237, RULE_userPasswordOption = 238,
RULE_userLockOption = 239, RULE_privelegeClause = 240, RULE_privilege = 241,
RULE_privilegeLevel = 242, RULE_renameUserClause = 243, RULE_analyzeTable = 244,
RULE_checkTable = 245, RULE_checksumTable = 246, RULE_optimizeTable = 247,
RULE_repairTable = 248, RULE_checkTableOption = 249, RULE_createUdfunction = 250,
RULE_installPlugin = 251, RULE_uninstallPlugin = 252, RULE_setStatement = 253,
RULE_showStatement = 254, RULE_variableClause = 255, RULE_showCommonEntity = 256,
RULE_showFilter = 257, RULE_showGlobalInfoClause = 258, RULE_showSchemaEntity = 259,
RULE_showProfileType = 260, RULE_binlogStatement = 261, RULE_cacheIndexStatement = 262,
RULE_flushStatement = 263, RULE_killStatement = 264, RULE_loadIndexIntoCache = 265,
RULE_resetStatement = 266, RULE_shutdownStatement = 267, RULE_tableIndexes = 268,
RULE_flushOption = 269, RULE_flushTableOption = 270, RULE_loadedTableIndexes = 271,
RULE_simpleDescribeStatement = 272, RULE_fullDescribeStatement = 273,
RULE_helpStatement = 274, RULE_useStatement = 275, RULE_signalStatement = 276,
RULE_resignalStatement = 277, RULE_signalConditionInformation = 278, RULE_diagnosticsStatement = 279,
RULE_diagnosticsConditionInformationName = 280, RULE_describeObjectClause = 281,
RULE_fullId = 282, RULE_tableName = 283, RULE_roleName = 284, RULE_fullColumnName = 285,
RULE_indexColumnName = 286, RULE_simpleUserName = 287, RULE_hostName = 288,
RULE_userName = 289, RULE_mysqlVariable = 290, RULE_charsetName = 291,
RULE_collationName = 292, RULE_engineName = 293, RULE_engineNameBase = 294,
RULE_encryptedLiteral = 295, RULE_uuidSet = 296, RULE_xid = 297, RULE_xuidStringId = 298,
RULE_authPlugin = 299, RULE_uid = 300, RULE_simpleId = 301, RULE_dottedId = 302,
RULE_decimalLiteral = 303, RULE_fileSizeLiteral = 304, RULE_stringLiteral = 305,
RULE_booleanLiteral = 306, RULE_hexadecimalLiteral = 307, RULE_nullNotnull = 308,
RULE_constant = 309, RULE_dataType = 310, RULE_collectionOptions = 311,
RULE_collectionOption = 312, RULE_convertedDataType = 313, RULE_lengthOneDimension = 314,
RULE_lengthTwoDimension = 315, RULE_lengthTwoOptionalDimension = 316,
RULE_uidList = 317, RULE_fullColumnNameList = 318, RULE_tables = 319,
RULE_indexColumnNames = 320, RULE_expressions = 321, RULE_expressionsWithDefaults = 322,
RULE_constants = 323, RULE_simpleStrings = 324, RULE_userVariables = 325,
RULE_defaultValue = 326, RULE_currentTimestamp = 327, RULE_expressionOrDefault = 328,
RULE_ifExists = 329, RULE_ifNotExists = 330, RULE_orReplace = 331, RULE_waitNowaitClause = 332,
RULE_lockOption = 333, RULE_functionCall = 334, RULE_specificFunction = 335,
RULE_caseFuncAlternative = 336, RULE_levelsInWeightString = 337, RULE_levelInWeightListElement = 338,
RULE_aggregateWindowedFunction = 339, RULE_nonAggregateWindowedFunction = 340,
RULE_overClause = 341, RULE_windowSpec = 342, RULE_windowName = 343, RULE_frameClause = 344,
RULE_frameUnits = 345, RULE_frameExtent = 346, RULE_frameBetween = 347,
RULE_frameRange = 348, RULE_partitionClause = 349, RULE_scalarFunctionName = 350,
RULE_passwordFunctionClause = 351, RULE_functionArgs = 352, RULE_functionArg = 353,
RULE_expression = 354, RULE_predicate = 355, RULE_expressionAtom = 356,
RULE_unaryOperator = 357, RULE_comparisonOperator = 358, RULE_logicalOperator = 359,
RULE_bitOperator = 360, RULE_multOperator = 361, RULE_addOperator = 362,
RULE_jsonOperator = 363, RULE_charsetNameBase = 364, RULE_transactionLevelBase = 365,
RULE_privilegesBase = 366, RULE_intervalTypeBase = 367, RULE_dataTypeBase = 368,
RULE_keywordsCanBeId = 369, RULE_functionNameBase = 370;
private static String[] makeRuleNames() {
return new String[] {
"root", "sqlStatements", "sqlStatement", "setStatementFor", "emptyStatement",
"ddlStatement", "dmlStatement", "transactionStatement", "replicationStatement",
"preparedStatement", "compoundStatement", "administrationStatement",
"utilityStatement", "createDatabase", "createEvent", "createIndex", "createLogfileGroup",
"createProcedure", "createFunction", "createRole", "createServer", "createTable",
"createTablespaceInnodb", "createTablespaceNdb", "createTrigger", "withClause",
"commonTableExpressions", "cteName", "cteColumnName", "createView", "createSequence",
"sequenceSpec", "createDatabaseOption", "charSet", "currentUserExpression",
"ownerStatement", "scheduleExpression", "timestampValue", "intervalExpr",
"intervalType", "enableType", "indexType", "indexOption", "procedureParameter",
"functionParameter", "routineOption", "serverOption", "createDefinitions",
"createDefinition", "columnDefinition", "columnConstraint", "tableConstraint",
"referenceDefinition", "referenceAction", "referenceControlType", "indexColumnDefinition",
"tableOption", "tableType", "tablespaceStorage", "partitionDefinitions",
"partitionFunctionDefinition", "partitionSystemVersionDefinitions", "partitionSystemVersionDefinition",
"subpartitionFunctionDefinition", "partitionDefinition", "partitionDefinerAtom",
"partitionDefinerVector", "subpartitionDefinition", "partitionOption",
"alterDatabase", "alterEvent", "alterFunction", "alterInstance", "alterLogfileGroup",
"alterProcedure", "alterServer", "alterTable", "alterTablespace", "alterView",
"alterSequence", "alterSpecification", "alterPartitionSpecification",
"dropDatabase", "dropEvent", "dropIndex", "dropLogfileGroup", "dropProcedure",
"dropFunction", "dropServer", "dropTable", "dropTablespace", "dropTrigger",
"dropView", "dropRole", "setRole", "dropSequence", "renameTable", "renameTableClause",
"truncateTable", "callStatement", "deleteStatement", "doStatement", "handlerStatement",
"insertStatement", "loadDataStatement", "loadXmlStatement", "replaceStatement",
"selectStatement", "valuesStatement", "withStatement", "tableStatement",
"updateStatement", "insertStatementValue", "updatedElement", "assignmentField",
"lockClause", "singleDeleteStatement", "multipleDeleteStatement", "handlerOpenStatement",
"handlerReadIndexStatement", "handlerReadStatement", "handlerCloseStatement",
"singleUpdateStatement", "multipleUpdateStatement", "orderByClause",
"orderByExpression", "tableSources", "tableSource", "tableSourceItem",
"indexHint", "indexHintType", "joinPart", "joinSpec", "queryExpression",
"queryExpressionNointo", "querySpecification", "querySpecificationNointo",
"unionParenthesis", "unionStatement", "lateralStatement", "jsonTable",
"jsonColumnList", "jsonColumn", "jsonOnEmpty", "jsonOnError", "selectSpec",
"selectElements", "selectElement", "selectIntoExpression", "selectFieldsInto",
"selectLinesInto", "fromClause", "groupByClause", "havingClause", "windowClause",
"groupByItem", "limitClause", "limitClauseAtom", "startTransaction",
"beginWork", "commitWork", "rollbackWork", "savepointStatement", "rollbackStatement",
"releaseStatement", "lockTables", "unlockTables", "setAutocommitStatement",
"setTransactionStatement", "transactionMode", "lockTableElement", "lockAction",
"transactionOption", "transactionLevel", "changeMaster", "changeReplicationFilter",
"purgeBinaryLogs", "resetMaster", "resetSlave", "startSlave", "stopSlave",
"startGroupReplication", "stopGroupReplication", "masterOption", "stringMasterOption",
"decimalMasterOption", "boolMasterOption", "channelOption", "replicationFilter",
"tablePair", "threadType", "untilOption", "connectionOption", "gtuidSet",
"xaStartTransaction", "xaEndTransaction", "xaPrepareStatement", "xaCommitWork",
"xaRollbackWork", "xaRecoverWork", "prepareStatement", "executeStatement",
"deallocatePrepare", "routineBody", "blockStatement", "caseStatement",
"ifStatement", "iterateStatement", "leaveStatement", "loopStatement",
"repeatStatement", "returnStatement", "whileStatement", "cursorStatement",
"declareVariable", "declareCondition", "declareCursor", "declareHandler",
"handlerConditionValue", "procedureSqlStatement", "caseAlternative",
"elifAlternative", "alterUser", "createUser", "dropUser", "grantStatement",
"roleOption", "grantProxy", "renameUser", "revokeStatement", "revokeProxy",
"setPasswordStatement", "userSpecification", "userAuthOption", "authOptionClause",
"authenticationRule", "tlsOption", "userResourceOption", "userPasswordOption",
"userLockOption", "privelegeClause", "privilege", "privilegeLevel", "renameUserClause",
"analyzeTable", "checkTable", "checksumTable", "optimizeTable", "repairTable",
"checkTableOption", "createUdfunction", "installPlugin", "uninstallPlugin",
"setStatement", "showStatement", "variableClause", "showCommonEntity",
"showFilter", "showGlobalInfoClause", "showSchemaEntity", "showProfileType",
"binlogStatement", "cacheIndexStatement", "flushStatement", "killStatement",
"loadIndexIntoCache", "resetStatement", "shutdownStatement", "tableIndexes",
"flushOption", "flushTableOption", "loadedTableIndexes", "simpleDescribeStatement",
"fullDescribeStatement", "helpStatement", "useStatement", "signalStatement",
"resignalStatement", "signalConditionInformation", "diagnosticsStatement",
"diagnosticsConditionInformationName", "describeObjectClause", "fullId",
"tableName", "roleName", "fullColumnName", "indexColumnName", "simpleUserName",
"hostName", "userName", "mysqlVariable", "charsetName", "collationName",
"engineName", "engineNameBase", "encryptedLiteral", "uuidSet", "xid",
"xuidStringId", "authPlugin", "uid", "simpleId", "dottedId", "decimalLiteral",
"fileSizeLiteral", "stringLiteral", "booleanLiteral", "hexadecimalLiteral",
"nullNotnull", "constant", "dataType", "collectionOptions", "collectionOption",
"convertedDataType", "lengthOneDimension", "lengthTwoDimension", "lengthTwoOptionalDimension",
"uidList", "fullColumnNameList", "tables", "indexColumnNames", "expressions",
"expressionsWithDefaults", "constants", "simpleStrings", "userVariables",
"defaultValue", "currentTimestamp", "expressionOrDefault", "ifExists",
"ifNotExists", "orReplace", "waitNowaitClause", "lockOption", "functionCall",
"specificFunction", "caseFuncAlternative", "levelsInWeightString", "levelInWeightListElement",
"aggregateWindowedFunction", "nonAggregateWindowedFunction", "overClause",
"windowSpec", "windowName", "frameClause", "frameUnits", "frameExtent",
"frameBetween", "frameRange", "partitionClause", "scalarFunctionName",
"passwordFunctionClause", "functionArgs", "functionArg", "expression",
"predicate", "expressionAtom", "unaryOperator", "comparisonOperator",
"logicalOperator", "bitOperator", "multOperator", "addOperator", "jsonOperator",
"charsetNameBase", "transactionLevelBase", "privilegesBase", "intervalTypeBase",
"dataTypeBase", "keywordsCanBeId", "functionNameBase"
};
}
public static final String[] ruleNames = makeRuleNames();
private static String[] makeLiteralNames() {
return new String[] {
null, null, null, null, null, "'ADD'", "'ALL'", "'ALTER'", "'ALWAYS'",
"'ANALYZE'", "'AND'", "'ARRAY'", "'AS'", "'ASC'", "'ATTRIBUTE'", "'AUTO'",
"'BEFORE'", "'BETWEEN'", "'BOTH'", "'BUCKETS'", "'BY'", "'CALL'", "'CASCADE'",
"'CASE'", "'CAST'", "'CHANGE'", "'CHARACTER'", "'CHECK'", "'COLLATE'",
"'COLUMN'", "'CONDITION'", "'CONSTRAINT'", "'CONTINUE'", "'CONVERT'",
"'CREATE'", "'CROSS'", "'CURRENT'", "'CURRENT_ROLE'", "'CURRENT_USER'",
"'CURSOR'", "'DATABASE'", "'DATABASES'", "'DECLARE'", "'DEFAULT'", "'DELAYED'",
"'DELETE'", "'DESC'", "'DESCRIBE'", "'DETERMINISTIC'", "'DIAGNOSTICS'",
"'DISTINCT'", "'DISTINCTROW'", "'DROP'", "'EACH'", "'ELSE'", "'ELSEIF'",
"'EMPTY'", "'ENCLOSED'", "'ENFORCED'", "'ESCAPED'", "'EXCEPT'", "'EXISTS'",
"'EXIT'", "'EXPLAIN'", "'FALSE'", "'FETCH'", "'FOR'", "'FORCE'", "'FOREIGN'",
"'FROM'", "'FULLTEXT'", "'GENERATED'", "'GET'", "'GRANT'", "'GROUP'",
"'GROUP_REPLICATION_STREAM'", "'HAVING'", "'HIGH_PRIORITY'", "'HISTOGRAM'",
"'IF'", "'IGNORE'", "'IGNORED'", "'IN'", "'INDEX'", "'INFILE'", "'INNER'",
"'INOUT'", "'INSERT'", "'INTERVAL'", "'INTO'", "'IS'", "'ITERATE'", "'JOIN'",
"'KEY'", "'KEYS'", "'KILL'", "'LATERAL'", "'LEADING'", "'LEAVE'", "'LEFT'",
"'LIKE'", "'LIMIT'", "'LINEAR'", "'LINES'", "'LOAD'", "'LOCK'", "'LOCKED'",
"'LOOP'", "'LOW_PRIORITY'", "'MASTER_BIND'", "'MASTER_SSL_VERIFY_SERVER_CERT'",
"'MATCH'", "'MAXVALUE'", "'MINVALUE'", "'MODIFIES'", "'NATURAL'", "'NOT'",
"'NO_WRITE_TO_BINLOG'", "'NULL'", "'NUMBER'", "'ON'", "'OPTIMIZE'", "'OPTION'",
"'OPTIONAL'", "'OPTIONALLY'", "'OR'", "'ORDER'", "'OUT'", "'OUTER'",
"'OUTFILE'", "'OVER'", "'PARTITION'", "'PRIMARY'", "'PROCEDURE'", "'PURGE'",
"'RANGE'", "'READ'", "'READS'", "'REFERENCES'", "'REGEXP'", "'RELEASE'",
"'RENAME'", "'REPEAT'", "'REPLACE'", "'REQUIRE'", "'RESIGNAL'", "'RESTRICT'",
"'RETAIN'", "'RETURN'", "'REVOKE'", "'RIGHT'", "'RLIKE'", "'SCHEMA'",
"'SCHEMAS'", "'SELECT'", "'SET'", "'SEPARATOR'", "'SHOW'", "'SIGNAL'",
"'SKIP'", "'SKIP_QUERY_REWRITE'", "'SPATIAL'", "'SQL'", "'SQLEXCEPTION'",
"'SQLSTATE'", "'SQLWARNING'", "'SQL_BIG_RESULT'", "'SQL_CALC_FOUND_ROWS'",
"'SQL_SMALL_RESULT'", "'SSL'", "'STACKED'", "'STARTING'", "'STATEMENT'",
"'STRAIGHT_JOIN'", "'SYSTEM_TIME'", "'TABLE'", "'TERMINATED'", "'THEN'",
"'TO'", "'TRAILING'", "'TRIGGER'", "'TRUE'", "'UNDO'", "'UNION'", "'UNIQUE'",
"'UNLOCK'", "'UNSIGNED'", "'UPDATE'", "'USAGE'", "'USE'", "'USING'",
"'VALUES'", "'WHEN'", "'WHERE'", "'WHILE'", "'WITH'", "'WRITE'", "'XOR'",
"'ZEROFILL'", "'TINYINT'", "'SMALLINT'", "'MEDIUMINT'", "'MIDDLEINT'",
"'INT'", "'INT1'", "'INT2'", "'INT3'", "'INT4'", "'INT8'", "'INTEGER'",
"'BIGINT'", "'REAL'", "'DOUBLE'", "'PRECISION'", "'FLOAT'", "'FLOAT4'",
"'FLOAT8'", "'DECIMAL'", "'DEC'", "'NUMERIC'", "'DATE'", "'TIME'", "'TIMESTAMP'",
"'DATETIME'", "'YEAR'", "'CHAR'", "'VARCHAR'", "'NVARCHAR'", "'NATIONAL'",
"'BINARY'", "'VARBINARY'", "'TINYBLOB'", "'BLOB'", "'MEDIUMBLOB'", "'LONG'",
"'LONGBLOB'", "'TINYTEXT'", "'TEXT'", "'MEDIUMTEXT'", "'LONGTEXT'", "'ENUM'",
"'VARYING'", "'SERIAL'", "'YEAR_MONTH'", "'DAY_HOUR'", "'DAY_MINUTE'",
"'DAY_SECOND'", "'HOUR_MINUTE'", "'HOUR_SECOND'", "'MINUTE_SECOND'",
"'SECOND_MICROSECOND'", "'MINUTE_MICROSECOND'", "'HOUR_MICROSECOND'",
"'DAY_MICROSECOND'", "'JSON_ARRAY'", "'JSON_ARRAYAGG'", "'JSON_ARRAY_APPEND'",
"'JSON_ARRAY_INSERT'", "'JSON_CONTAINS'", "'JSON_CONTAINS_PATH'", "'JSON_DEPTH'",
"'JSON_EXTRACT'", "'JSON_INSERT'", "'JSON_KEYS'", "'JSON_LENGTH'", "'JSON_MERGE'",
"'JSON_MERGE_PATCH'", "'JSON_MERGE_PRESERVE'", "'JSON_OBJECT'", "'JSON_OBJECTAGG'",
"'JSON_OVERLAPS'", "'JSON_PRETTY'", "'JSON_QUOTE'", "'JSON_REMOVE'",
"'JSON_REPLACE'", "'JSON_SCHEMA_VALID'", "'JSON_SCHEMA_VALIDATION_REPORT'",
"'JSON_SEARCH'", "'JSON_SET'", "'JSON_STORAGE_FREE'", "'JSON_STORAGE_SIZE'",
"'JSON_TABLE'", "'JSON_TYPE'", "'JSON_UNQUOTE'", "'JSON_VALID'", "'JSON_VALUE'",
"'NESTED'", "'ORDINALITY'", "'PATH'", "'AVG'", "'BIT_AND'", "'BIT_OR'",
"'BIT_XOR'", "'COUNT'", "'CUME_DIST'", "'DENSE_RANK'", "'FIRST_VALUE'",
"'GROUP_CONCAT'", "'LAG'", "'LAST_VALUE'", "'LEAD'", "'MAX'", "'MIN'",
"'NTILE'", "'NTH_VALUE'", "'PERCENT_RANK'", "'RANK'", "'ROW_NUMBER'",
"'STD'", "'STDDEV'", "'STDDEV_POP'", "'STDDEV_SAMP'", "'SUM'", "'VAR_POP'",
"'VAR_SAMP'", "'VARIANCE'", "'CURRENT_DATE'", "'CURRENT_TIME'", "'CURRENT_TIMESTAMP'",
"'LOCALTIME'", "'CURDATE'", "'CURTIME'", "'DATE_ADD'", "'DATE_SUB'",
"'EXTRACT'", "'LOCALTIMESTAMP'", "'NOW'", "'POSITION'", "'SUBSTR'", "'SUBSTRING'",
"'SYSDATE'", "'TRIM'", "'UTC_DATE'", "'UTC_TIME'", "'UTC_TIMESTAMP'",
"'ACCOUNT'", "'ACTION'", "'AFTER'", "'AGGREGATE'", "'ALGORITHM'", "'ANY'",
"'AT'", "'AUTHORS'", "'AUTOCOMMIT'", "'AUTOEXTEND_SIZE'", "'AUTO_INCREMENT'",
"'AVG_ROW_LENGTH'", "'BEGIN'", "'BINLOG'", "'BIT'", "'BLOCK'", "'BOOL'",
"'BOOLEAN'", "'BTREE'", "'CACHE'", "'CASCADED'", "'CHAIN'", "'CHANGED'",
"'CHANNEL'", "'CHECKSUM'", "'PAGE_CHECKSUM'", "'CIPHER'", "'CLASS_ORIGIN'",
"'CLIENT'", "'CLOSE'", "'CLUSTERING'", "'COALESCE'", "'CODE'", "'COLUMNS'",
"'COLUMN_FORMAT'", "'COLUMN_NAME'", "'COMMENT'", "'COMMIT'", "'COMPACT'",
"'COMPLETION'", "'COMPRESSED'", null, "'CONCURRENT'", "'CONNECT'", "'CONNECTION'",
"'CONSISTENT'", "'CONSTRAINT_CATALOG'", "'CONSTRAINT_SCHEMA'", "'CONSTRAINT_NAME'",
"'CONTAINS'", "'CONTEXT'", "'CONTRIBUTORS'", "'COPY'", "'CPU'", "'CYCLE'",
"'CURSOR_NAME'", "'DATA'", "'DATAFILE'", "'DEALLOCATE'", "'DEFAULT_AUTH'",
"'DEFINER'", "'DELAY_KEY_WRITE'", "'DES_KEY_FILE'", "'DIRECTORY'", "'DISABLE'",
"'DISCARD'", "'DISK'", "'DO'", "'DUMPFILE'", "'DUPLICATE'", "'DYNAMIC'",
"'ENABLE'", "'ENCRYPTED'", "'ENCRYPTION'", "'ENCRYPTION_KEY_ID'", "'END'",
"'ENDS'", "'ENGINE'", "'ENGINES'", "'ERROR'", "'ERRORS'", "'ESCAPE'",
"'EVEN'", "'EVENT'", "'EVENTS'", "'EVERY'", "'EXCHANGE'", "'EXCLUSIVE'",
"'EXPIRE'", "'EXPORT'", "'EXTENDED'", "'EXTENT_SIZE'", "'FAILED_LOGIN_ATTEMPTS'",
"'FAST'", "'FAULTS'", "'FIELDS'", "'FILE_BLOCK_SIZE'", "'FILTER'", "'FIRST'",
"'FIXED'", "'FLUSH'", "'FOLLOWING'", "'FOLLOWS'", "'FOUND'", "'FULL'",
"'FUNCTION'", "'GENERAL'", "'GLOBAL'", "'GRANTS'", "'GROUP_REPLICATION'",
"'HANDLER'", "'HASH'", "'HELP'", "'HISTORY'", "'HOST'", "'HOSTS'", "'IDENTIFIED'",
"'IGNORE_SERVER_IDS'", "'IMPORT'", "'INCREMENT'", "'INDEXES'", "'INITIAL_SIZE'",
"'INPLACE'", "'INSERT_METHOD'", "'INSTALL'", "'INSTANCE'", "'INSTANT'",
"'INVISIBLE'", "'INVOKER'", "'IO'", "'IO_THREAD'", "'IPC'", "'ISOLATION'",
"'ISSUER'", "'JSON'", "'KEY_BLOCK_SIZE'", "'LANGUAGE'", "'LAST'", "'LEAVES'",
"'LESS'", "'LEVEL'", "'LIST'", "'LOCAL'", "'LOGFILE'", "'LOGS'", "'MASTER'",
"'MASTER_AUTO_POSITION'", "'MASTER_CONNECT_RETRY'", "'MASTER_DELAY'",
"'MASTER_HEARTBEAT_PERIOD'", "'MASTER_HOST'", "'MASTER_LOG_FILE'", "'MASTER_LOG_POS'",
"'MASTER_PASSWORD'", "'MASTER_PORT'", "'MASTER_RETRY_COUNT'", "'MASTER_SSL'",
"'MASTER_SSL_CA'", "'MASTER_SSL_CAPATH'", "'MASTER_SSL_CERT'", "'MASTER_SSL_CIPHER'",
"'MASTER_SSL_CRL'", "'MASTER_SSL_CRLPATH'", "'MASTER_SSL_KEY'", "'MASTER_TLS_VERSION'",
"'MASTER_USER'", "'MAX_CONNECTIONS_PER_HOUR'", "'MAX_QUERIES_PER_HOUR'",
"'MAX_ROWS'", "'MAX_SIZE'", "'MAX_UPDATES_PER_HOUR'", "'MAX_USER_CONNECTIONS'",
"'MEDIUM'", "'MEMBER'", "'MERGE'", "'MESSAGE_TEXT'", "'MID'", "'MIGRATE'",
"'MIN_ROWS'", "'MODE'", "'MODIFY'", "'MUTEX'", "'MYSQL'", "'MYSQL_ERRNO'",
"'NAME'", "'NAMES'", "'NCHAR'", "'NEVER'", "'NEXT'", "'NO'", "'NOCACHE'",
"'NOCOPY'", "'NOCYCLE'", "'NOMAXVALUE'", "'NOMINVALUE'", "'NOWAIT'",
"'NODEGROUP'", "'NONE'", "'ODBC'", "'OFFLINE'", "'OFFSET'", "'OF'", "'OJ'",
"'OLD_PASSWORD'", "'ONE'", "'ONLINE'", "'ONLY'", "'OPEN'", "'OPTIMIZER_COSTS'",
"'OPTIONS'", "'OWNER'", "'PACK_KEYS'", "'PAGE'", "'PAGE_COMPRESSED'",
"'PAGE_COMPRESSION_LEVEL'", "'PARSER'", "'PARTIAL'", "'PARTITIONING'",
"'PARTITIONS'", "'PASSWORD'", "'PASSWORD_LOCK_TIME'", "'PHASE'", "'PLUGIN'",
"'PLUGIN_DIR'", "'PLUGINS'", "'PORT'", "'PRECEDES'", "'PRECEDING'", "'PREPARE'",
"'PRESERVE'", "'PREV'", "'PROCESSLIST'", "'PROFILE'", "'PROFILES'", "'PROXY'",
"'QUERY'", "'QUICK'", "'REBUILD'", "'RECOVER'", "'RECURSIVE'", "'REDO_BUFFER_SIZE'",
"'REDUNDANT'", "'RELAY'", "'RELAY_LOG_FILE'", "'RELAY_LOG_POS'", "'RELAYLOG'",
"'REMOVE'", "'REORGANIZE'", "'REPAIR'", "'REPLICATE_DO_DB'", "'REPLICATE_DO_TABLE'",
"'REPLICATE_IGNORE_DB'", "'REPLICATE_IGNORE_TABLE'", "'REPLICATE_REWRITE_DB'",
"'REPLICATE_WILD_DO_TABLE'", "'REPLICATE_WILD_IGNORE_TABLE'", "'REPLICATION'",
"'RESET'", "'RESTART'", "'RESUME'", "'RETURNED_SQLSTATE'", "'RETURNING'",
"'RETURNS'", "'REUSE'", "'ROLE'", "'ROLLBACK'", "'ROLLUP'", "'ROTATE'",
"'ROW'", "'ROWS'", "'ROW_FORMAT'", "'RTREE'", "'SAVEPOINT'", "'SCHEDULE'",
"'SECURITY'", "'SEQUENCE'", "'SERVER'", "'SESSION'", "'SHARE'", "'SHARED'",
"'SIGNED'", "'SIMPLE'", "'SLAVE'", "'SLOW'", "'SNAPSHOT'", "'SOCKET'",
"'SOME'", "'SONAME'", "'SOUNDS'", "'SOURCE'", "'SQL_AFTER_GTIDS'", "'SQL_AFTER_MTS_GAPS'",
"'SQL_BEFORE_GTIDS'", "'SQL_BUFFER_RESULT'", "'SQL_CACHE'", "'SQL_NO_CACHE'",
"'SQL_THREAD'", "'START'", "'STARTS'", "'STATS_AUTO_RECALC'", "'STATS_PERSISTENT'",
"'STATS_SAMPLE_PAGES'", "'STATUS'", "'STOP'", "'STORAGE'", "'STORED'",
"'STRING'", "'SUBCLASS_ORIGIN'", "'SUBJECT'", "'SUBPARTITION'", "'SUBPARTITIONS'",
"'SUSPEND'", "'SWAPS'", "'SWITCHES'", "'TABLE_NAME'", "'TABLESPACE'",
"'TABLE_TYPE'", "'TEMPORARY'", "'TEMPTABLE'", "'THAN'", "'TRADITIONAL'",
"'TRANSACTION'", "'TRANSACTIONAL'", "'TRIGGERS'", "'TRUNCATE'", "'UNBOUNDED'",
"'UNDEFINED'", "'UNDOFILE'", "'UNDO_BUFFER_SIZE'", "'UNINSTALL'", "'UNKNOWN'",
"'UNTIL'", "'UPGRADE'", "'USER'", "'USE_FRM'", "'USER_RESOURCES'", "'VALIDATION'",
"'VALUE'", "'VARIABLES'", "'VIEW'", "'VIRTUAL'", "'VISIBLE'", "'WAIT'",
"'WARNINGS'", "'WINDOW'", "'WITHOUT'", "'WORK'", "'WRAPPER'", "'X509'",
"'XA'", "'XML'", "'YES'", "'EUR'", "'USA'", "'JIS'", "'ISO'", "'INTERNAL'",
"'QUARTER'", "'MONTH'", "'DAY'", "'HOUR'", "'MINUTE'", "'WEEK'", "'SECOND'",
"'MICROSECOND'", "'USER_STATISTICS'", "'CLIENT_STATISTICS'", "'INDEX_STATISTICS'",
"'TABLE_STATISTICS'", "'FIREWALL_RULES'", "'ADMIN'", "'APPLICATION_PASSWORD_ADMIN'",
"'AUDIT_ADMIN'", "'AUDIT_ABORT_EXEMPT'", "'AUTHENTICATION_POLICY_ADMIN'",
"'BACKUP_ADMIN'", "'BINLOG_ADMIN'", "'BINLOG_ENCRYPTION_ADMIN'", "'CLONE_ADMIN'",
"'CONNECTION_ADMIN'", "'ENCRYPTION_KEY_ADMIN'", "'EXECUTE'", "'FILE'",
"'FIREWALL_ADMIN'", "'FIREWALL_EXEMPT'", "'FIREWALL_USER'", "'FLUSH_OPTIMIZER_COSTS'",
"'FLUSH_STATUS'", "'FLUSH_TABLES'", "'FLUSH_USER_RESOURCES'", "'GROUP_REPLICATION_ADMIN'",
"'INNODB_REDO_LOG_ARCHIVE'", "'INNODB_REDO_LOG_ENABLE'", "'INVOKE'",
"'LAMBDA'", "'NDB_STORED_USER'", "'PASSWORDLESS_USER_ADMIN'", "'PERSIST_RO_VARIABLES_ADMIN'",
"'PRIVILEGES'", "'PROCESS'", "'RELOAD'", "'REPLICATION_APPLIER'", "'REPLICATION_SLAVE_ADMIN'",
"'RESOURCE_GROUP_ADMIN'", "'RESOURCE_GROUP_USER'", "'ROLE_ADMIN'", "'ROUTINE'",
"'S3'", "'SERVICE_CONNECTION_ADMIN'", null, "'SET_USER_ID'", "'SHOW_ROUTINE'",
"'SHUTDOWN'", "'SUPER'", "'SYSTEM_VARIABLES_ADMIN'", "'TABLES'", "'TABLE_ENCRYPTION_ADMIN'",
"'VERSION_TOKEN_ADMIN'", "'XA_RECOVER_ADMIN'", "'ARMSCII8'", "'ASCII'",
"'BIG5'", "'CP1250'", "'CP1251'", "'CP1256'", "'CP1257'", "'CP850'",
"'CP852'", "'CP866'", "'CP932'", "'DEC8'", "'EUCJPMS'", "'EUCKR'", "'GB18030'",
"'GB2312'", "'GBK'", "'GEOSTD8'", "'GREEK'", "'HEBREW'", "'HP8'", "'KEYBCS2'",
"'KOI8R'", "'KOI8U'", "'LATIN1'", "'LATIN2'", "'LATIN5'", "'LATIN7'",
"'MACCE'", "'MACROMAN'", "'SJIS'", "'SWE7'", "'TIS620'", "'UCS2'", "'UJIS'",
"'UTF16'", "'UTF16LE'", "'UTF32'", "'UTF8'", "'UTF8MB3'", "'UTF8MB4'",
"'ARCHIVE'", "'BLACKHOLE'", "'CSV'", "'FEDERATED'", "'INNODB'", "'MEMORY'",
"'MRG_MYISAM'", "'MYISAM'", "'NDB'", "'NDBCLUSTER'", "'PERFORMANCE_SCHEMA'",
"'TOKUDB'", "'REPEATABLE'", "'COMMITTED'", "'UNCOMMITTED'", "'SERIALIZABLE'",
"'GEOMETRYCOLLECTION'", "'GEOMCOLLECTION'", "'GEOMETRY'", "'LINESTRING'",
"'MULTILINESTRING'", "'MULTIPOINT'", "'MULTIPOLYGON'", "'POINT'", "'POLYGON'",
"'ABS'", "'ACOS'", "'ADDDATE'", "'ADDTIME'", "'AES_DECRYPT'", "'AES_ENCRYPT'",
"'AREA'", "'ASBINARY'", "'ASIN'", "'ASTEXT'", "'ASWKB'", "'ASWKT'", "'ASYMMETRIC_DECRYPT'",
"'ASYMMETRIC_DERIVE'", "'ASYMMETRIC_ENCRYPT'", "'ASYMMETRIC_SIGN'", "'ASYMMETRIC_VERIFY'",
"'ATAN'", "'ATAN2'", "'BENCHMARK'", "'BIN'", "'BIT_COUNT'", "'BIT_LENGTH'",
"'BUFFER'", "'CATALOG_NAME'", "'CEIL'", "'CEILING'", "'CENTROID'", "'CHARACTER_LENGTH'",
"'CHARSET'", "'CHAR_LENGTH'", "'COERCIBILITY'", "'COLLATION'", "'COMPRESS'",
"'CONCAT'", "'CONCAT_WS'", "'CONNECTION_ID'", "'CONV'", "'CONVERT_TZ'",
"'COS'", "'COT'", "'CRC32'", "'CREATE_ASYMMETRIC_PRIV_KEY'", "'CREATE_ASYMMETRIC_PUB_KEY'",
"'CREATE_DH_PARAMETERS'", "'CREATE_DIGEST'", "'CROSSES'", "'DATEDIFF'",
"'DATE_FORMAT'", "'DAYNAME'", "'DAYOFMONTH'", "'DAYOFWEEK'", "'DAYOFYEAR'",
"'DECODE'", "'DEGREES'", "'DES_DECRYPT'", "'DES_ENCRYPT'", "'DIMENSION'",
"'DISJOINT'", "'ELT'", "'ENCODE'", "'ENCRYPT'", "'ENDPOINT'", "'ENGINE_ATTRIBUTE'",
"'ENVELOPE'", "'EQUALS'", "'EXP'", "'EXPORT_SET'", "'EXTERIORRING'",
"'EXTRACTVALUE'", "'FIELD'", "'FIND_IN_SET'", "'FLOOR'", "'FORMAT'",
"'FOUND_ROWS'", "'FROM_BASE64'", "'FROM_DAYS'", "'FROM_UNIXTIME'", "'GEOMCOLLFROMTEXT'",
"'GEOMCOLLFROMWKB'", "'GEOMETRYCOLLECTIONFROMTEXT'", "'GEOMETRYCOLLECTIONFROMWKB'",
"'GEOMETRYFROMTEXT'", "'GEOMETRYFROMWKB'", "'GEOMETRYN'", "'GEOMETRYTYPE'",
"'GEOMFROMTEXT'", "'GEOMFROMWKB'", "'GET_FORMAT'", "'GET_LOCK'", "'GLENGTH'",
"'GREATEST'", "'GTID_SUBSET'", "'GTID_SUBTRACT'", "'HEX'", "'IFNULL'",
"'INET6_ATON'", "'INET6_NTOA'", "'INET_ATON'", "'INET_NTOA'", "'INSTR'",
"'INTERIORRINGN'", "'INTERSECTS'", "'ISCLOSED'", "'ISEMPTY'", "'ISNULL'",
"'ISSIMPLE'", "'IS_FREE_LOCK'", "'IS_IPV4'", "'IS_IPV4_COMPAT'", "'IS_IPV4_MAPPED'",
"'IS_IPV6'", "'IS_USED_LOCK'", "'LAST_INSERT_ID'", "'LCASE'", "'LEAST'",
"'LENGTH'", "'LINEFROMTEXT'", "'LINEFROMWKB'", "'LINESTRINGFROMTEXT'",
"'LINESTRINGFROMWKB'", "'LN'", "'LOAD_FILE'", "'LOCATE'", "'LOG'", "'LOG10'",
"'LOG2'", "'LOWER'", "'LPAD'", "'LTRIM'", "'MAKEDATE'", "'MAKETIME'",
"'MAKE_SET'", "'MASTER_POS_WAIT'", "'MBRCONTAINS'", "'MBRDISJOINT'",
"'MBREQUAL'", "'MBRINTERSECTS'", "'MBROVERLAPS'", "'MBRTOUCHES'", "'MBRWITHIN'",
"'MD5'", "'MLINEFROMTEXT'", "'MLINEFROMWKB'", "'MONTHNAME'", "'MPOINTFROMTEXT'",
"'MPOINTFROMWKB'", "'MPOLYFROMTEXT'", "'MPOLYFROMWKB'", "'MULTILINESTRINGFROMTEXT'",
"'MULTILINESTRINGFROMWKB'", "'MULTIPOINTFROMTEXT'", "'MULTIPOINTFROMWKB'",
"'MULTIPOLYGONFROMTEXT'", "'MULTIPOLYGONFROMWKB'", "'NAME_CONST'", "'NULLIF'",
"'NUMGEOMETRIES'", "'NUMINTERIORRINGS'", "'NUMPOINTS'", "'OCT'", "'OCTET_LENGTH'",
"'ORD'", "'OVERLAPS'", "'PERIOD_ADD'", "'PERIOD_DIFF'", "'PI'", "'POINTFROMTEXT'",
"'POINTFROMWKB'", "'POINTN'", "'POLYFROMTEXT'", "'POLYFROMWKB'", "'POLYGONFROMTEXT'",
"'POLYGONFROMWKB'", "'POW'", "'POWER'", "'QUOTE'", "'RADIANS'", "'RAND'",
"'RANDOM'", "'RANDOM_BYTES'", "'RELEASE_LOCK'", "'REVERSE'", "'ROUND'",
"'ROW_COUNT'", "'RPAD'", "'RTRIM'", "'SEC_TO_TIME'", "'SECONDARY_ENGINE_ATTRIBUTE'",
"'SENSITIVE_VARIABLES_OBSERVER'", "'SESSION_USER'", "'SHA'", "'SHA1'",
"'SHA2'", "'SCHEMA_NAME'", "'SIGN'", "'SIN'", "'SLEEP'", "'SOUNDEX'",
"'SQL_THREAD_WAIT_AFTER_GTIDS'", "'SQRT'", "'SRID'", "'STARTPOINT'",
"'STRCMP'", "'STR_TO_DATE'", "'ST_AREA'", "'ST_ASBINARY'", "'ST_ASTEXT'",
"'ST_ASWKB'", "'ST_ASWKT'", "'ST_BUFFER'", "'ST_CENTROID'", "'ST_CONTAINS'",
"'ST_CROSSES'", "'ST_DIFFERENCE'", "'ST_DIMENSION'", "'ST_DISJOINT'",
"'ST_DISTANCE'", "'ST_ENDPOINT'", "'ST_ENVELOPE'", "'ST_EQUALS'", "'ST_EXTERIORRING'",
"'ST_GEOMCOLLFROMTEXT'", "'ST_GEOMCOLLFROMTXT'", "'ST_GEOMCOLLFROMWKB'",
"'ST_GEOMETRYCOLLECTIONFROMTEXT'", "'ST_GEOMETRYCOLLECTIONFROMWKB'",
"'ST_GEOMETRYFROMTEXT'", "'ST_GEOMETRYFROMWKB'", "'ST_GEOMETRYN'", "'ST_GEOMETRYTYPE'",
"'ST_GEOMFROMTEXT'", "'ST_GEOMFROMWKB'", "'ST_INTERIORRINGN'", "'ST_INTERSECTION'",
"'ST_INTERSECTS'", "'ST_ISCLOSED'", "'ST_ISEMPTY'", "'ST_ISSIMPLE'",
"'ST_LINEFROMTEXT'", "'ST_LINEFROMWKB'", "'ST_LINESTRINGFROMTEXT'", "'ST_LINESTRINGFROMWKB'",
"'ST_NUMGEOMETRIES'", "'ST_NUMINTERIORRING'", "'ST_NUMINTERIORRINGS'",
"'ST_NUMPOINTS'", "'ST_OVERLAPS'", "'ST_POINTFROMTEXT'", "'ST_POINTFROMWKB'",
"'ST_POINTN'", "'ST_POLYFROMTEXT'", "'ST_POLYFROMWKB'", "'ST_POLYGONFROMTEXT'",
"'ST_POLYGONFROMWKB'", "'ST_SRID'", "'ST_STARTPOINT'", "'ST_SYMDIFFERENCE'",
"'ST_TOUCHES'", "'ST_UNION'", "'ST_WITHIN'", "'ST_X'", "'ST_Y'", "'SUBDATE'",
"'SUBSTRING_INDEX'", "'SUBTIME'", "'SYSTEM_USER'", "'SYSTEM'", "'TAN'",
"'TELEMETRY_LOG_ADMIN'", "'TIMEDIFF'", "'TIMESTAMPADD'", "'TIMESTAMPDIFF'",
"'TIME_FORMAT'", "'TIME_TO_SEC'", "'TOUCHES'", "'TO_BASE64'", "'TO_DAYS'",
"'TO_SECONDS'", "'TP_CONNECTION_ADMIN'", "'UCASE'", "'UNCOMPRESS'", "'UNCOMPRESSED_LENGTH'",
"'UNHEX'", "'UNIX_TIMESTAMP'", "'UPDATEXML'", "'UPPER'", "'UUID'", "'UUID_SHORT'",
"'VALIDATE_PASSWORD_STRENGTH'", "'VERSION'", "'VERSIONING'", "'WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS'",
"'WEEKDAY'", "'WEEKOFYEAR'", "'WEIGHT_STRING'", "'WITHIN'", "'YEARWEEK'",
"'Y'", "'X'", "'VIA'", "'LASTVAL'", "'NEXTVAL'", "'SETVAL'", "'PREVIOUS'",
"'PERSISTENT'", "'BINLOG_MONITOR'", "'BINLOG_REPLAY'", "'FEDERATED_ADMIN'",
"'READ_ONLY_ADMIN'", "'REPLICA'", "'REPLICATION_MASTER_ADMIN'", "'MONITOR'",
"'READ_ONLY'", "'REPLAY'", "':='", "'+='", "'-='", "'*='", "'/='", "'%='",
"'&='", "'^='", "'|='", "'*'", "'/'", "'%'", "'+'", "'-'", "'DIV'", "'MOD'",
"'='", "'>'", "'<'", "'!'", "'~'", "'|'", "'&'", "'^'", "'.'", "'('",
"')'", "','", "';'", "'@'", "'0'", "'1'", "'2'", "'''", "'\"'", "'`'",
"':'"
};
}
private static final String[] _LITERAL_NAMES = makeLiteralNames();
private static String[] makeSymbolicNames() {
return new String[] {
null, "SPACE", "SPEC_MYSQL_COMMENT", "COMMENT_INPUT", "LINE_COMMENT",
"ADD", "ALL", "ALTER", "ALWAYS", "ANALYZE", "AND", "ARRAY", "AS", "ASC",
"ATTRIBUTE", "AUTO", "BEFORE", "BETWEEN", "BOTH", "BUCKETS", "BY", "CALL",
"CASCADE", "CASE", "CAST", "CHANGE", "CHARACTER", "CHECK", "COLLATE",
"COLUMN", "CONDITION", "CONSTRAINT", "CONTINUE", "CONVERT", "CREATE",
"CROSS", "CURRENT", "CURRENT_ROLE", "CURRENT_USER", "CURSOR", "DATABASE",
"DATABASES", "DECLARE", "DEFAULT", "DELAYED", "DELETE", "DESC", "DESCRIBE",
"DETERMINISTIC", "DIAGNOSTICS", "DISTINCT", "DISTINCTROW", "DROP", "EACH",
"ELSE", "ELSEIF", "EMPTY", "ENCLOSED", "ENFORCED", "ESCAPED", "EXCEPT",
"EXISTS", "EXIT", "EXPLAIN", "FALSE", "FETCH", "FOR", "FORCE", "FOREIGN",
"FROM", "FULLTEXT", "GENERATED", "GET", "GRANT", "GROUP", "GROUP_REPLICATION_STREAM",
"HAVING", "HIGH_PRIORITY", "HISTOGRAM", "IF", "IGNORE", "IGNORED", "IN",
"INDEX", "INFILE", "INNER", "INOUT", "INSERT", "INTERVAL", "INTO", "IS",
"ITERATE", "JOIN", "KEY", "KEYS", "KILL", "LATERAL", "LEADING", "LEAVE",
"LEFT", "LIKE", "LIMIT", "LINEAR", "LINES", "LOAD", "LOCK", "LOCKED",
"LOOP", "LOW_PRIORITY", "MASTER_BIND", "MASTER_SSL_VERIFY_SERVER_CERT",
"MATCH", "MAXVALUE", "MINVALUE", "MODIFIES", "NATURAL", "NOT", "NO_WRITE_TO_BINLOG",
"NULL_LITERAL", "NUMBER", "ON", "OPTIMIZE", "OPTION", "OPTIONAL", "OPTIONALLY",
"OR", "ORDER", "OUT", "OUTER", "OUTFILE", "OVER", "PARTITION", "PRIMARY",
"PROCEDURE", "PURGE", "RANGE", "READ", "READS", "REFERENCES", "REGEXP",
"RELEASE", "RENAME", "REPEAT", "REPLACE", "REQUIRE", "RESIGNAL", "RESTRICT",
"RETAIN", "RETURN", "REVOKE", "RIGHT", "RLIKE", "SCHEMA", "SCHEMAS",
"SELECT", "SET", "SEPARATOR", "SHOW", "SIGNAL", "SKIP_", "SKIP_QUERY_REWRITE",
"SPATIAL", "SQL", "SQLEXCEPTION", "SQLSTATE", "SQLWARNING", "SQL_BIG_RESULT",
"SQL_CALC_FOUND_ROWS", "SQL_SMALL_RESULT", "SSL", "STACKED", "STARTING",
"STATEMENT", "STRAIGHT_JOIN", "SYSTEM_TIME", "TABLE", "TERMINATED", "THEN",
"TO", "TRAILING", "TRIGGER", "TRUE", "UNDO", "UNION", "UNIQUE", "UNLOCK",
"UNSIGNED", "UPDATE", "USAGE", "USE", "USING", "VALUES", "WHEN", "WHERE",
"WHILE", "WITH", "WRITE", "XOR", "ZEROFILL", "TINYINT", "SMALLINT", "MEDIUMINT",
"MIDDLEINT", "INT", "INT1", "INT2", "INT3", "INT4", "INT8", "INTEGER",
"BIGINT", "REAL", "DOUBLE", "PRECISION", "FLOAT", "FLOAT4", "FLOAT8",
"DECIMAL", "DEC", "NUMERIC", "DATE", "TIME", "TIMESTAMP", "DATETIME",
"YEAR", "CHAR", "VARCHAR", "NVARCHAR", "NATIONAL", "BINARY", "VARBINARY",
"TINYBLOB", "BLOB", "MEDIUMBLOB", "LONG", "LONGBLOB", "TINYTEXT", "TEXT",
"MEDIUMTEXT", "LONGTEXT", "ENUM", "VARYING", "SERIAL", "YEAR_MONTH",
"DAY_HOUR", "DAY_MINUTE", "DAY_SECOND", "HOUR_MINUTE", "HOUR_SECOND",
"MINUTE_SECOND", "SECOND_MICROSECOND", "MINUTE_MICROSECOND", "HOUR_MICROSECOND",
"DAY_MICROSECOND", "JSON_ARRAY", "JSON_ARRAYAGG", "JSON_ARRAY_APPEND",
"JSON_ARRAY_INSERT", "JSON_CONTAINS", "JSON_CONTAINS_PATH", "JSON_DEPTH",
"JSON_EXTRACT", "JSON_INSERT", "JSON_KEYS", "JSON_LENGTH", "JSON_MERGE",
"JSON_MERGE_PATCH", "JSON_MERGE_PRESERVE", "JSON_OBJECT", "JSON_OBJECTAGG",
"JSON_OVERLAPS", "JSON_PRETTY", "JSON_QUOTE", "JSON_REMOVE", "JSON_REPLACE",
"JSON_SCHEMA_VALID", "JSON_SCHEMA_VALIDATION_REPORT", "JSON_SEARCH",
"JSON_SET", "JSON_STORAGE_FREE", "JSON_STORAGE_SIZE", "JSON_TABLE", "JSON_TYPE",
"JSON_UNQUOTE", "JSON_VALID", "JSON_VALUE", "NESTED", "ORDINALITY", "PATH",
"AVG", "BIT_AND", "BIT_OR", "BIT_XOR", "COUNT", "CUME_DIST", "DENSE_RANK",
"FIRST_VALUE", "GROUP_CONCAT", "LAG", "LAST_VALUE", "LEAD", "MAX", "MIN",
"NTILE", "NTH_VALUE", "PERCENT_RANK", "RANK", "ROW_NUMBER", "STD", "STDDEV",
"STDDEV_POP", "STDDEV_SAMP", "SUM", "VAR_POP", "VAR_SAMP", "VARIANCE",
"CURRENT_DATE", "CURRENT_TIME", "CURRENT_TIMESTAMP", "LOCALTIME", "CURDATE",
"CURTIME", "DATE_ADD", "DATE_SUB", "EXTRACT", "LOCALTIMESTAMP", "NOW",
"POSITION", "SUBSTR", "SUBSTRING", "SYSDATE", "TRIM", "UTC_DATE", "UTC_TIME",
"UTC_TIMESTAMP", "ACCOUNT", "ACTION", "AFTER", "AGGREGATE", "ALGORITHM",
"ANY", "AT", "AUTHORS", "AUTOCOMMIT", "AUTOEXTEND_SIZE", "AUTO_INCREMENT",
"AVG_ROW_LENGTH", "BEGIN", "BINLOG", "BIT", "BLOCK", "BOOL", "BOOLEAN",
"BTREE", "CACHE", "CASCADED", "CHAIN", "CHANGED", "CHANNEL", "CHECKSUM",
"PAGE_CHECKSUM", "CIPHER", "CLASS_ORIGIN", "CLIENT", "CLOSE", "CLUSTERING",
"COALESCE", "CODE", "COLUMNS", "COLUMN_FORMAT", "COLUMN_NAME", "COMMENT",
"COMMIT", "COMPACT", "COMPLETION", "COMPRESSED", "COMPRESSION", "CONCURRENT",
"CONNECT", "CONNECTION", "CONSISTENT", "CONSTRAINT_CATALOG", "CONSTRAINT_SCHEMA",
"CONSTRAINT_NAME", "CONTAINS", "CONTEXT", "CONTRIBUTORS", "COPY", "CPU",
"CYCLE", "CURSOR_NAME", "DATA", "DATAFILE", "DEALLOCATE", "DEFAULT_AUTH",
"DEFINER", "DELAY_KEY_WRITE", "DES_KEY_FILE", "DIRECTORY", "DISABLE",
"DISCARD", "DISK", "DO", "DUMPFILE", "DUPLICATE", "DYNAMIC", "ENABLE",
"ENCRYPTED", "ENCRYPTION", "ENCRYPTION_KEY_ID", "END", "ENDS", "ENGINE",
"ENGINES", "ERROR", "ERRORS", "ESCAPE", "EVEN", "EVENT", "EVENTS", "EVERY",
"EXCHANGE", "EXCLUSIVE", "EXPIRE", "EXPORT", "EXTENDED", "EXTENT_SIZE",
"FAILED_LOGIN_ATTEMPTS", "FAST", "FAULTS", "FIELDS", "FILE_BLOCK_SIZE",
"FILTER", "FIRST", "FIXED", "FLUSH", "FOLLOWING", "FOLLOWS", "FOUND",
"FULL", "FUNCTION", "GENERAL", "GLOBAL", "GRANTS", "GROUP_REPLICATION",
"HANDLER", "HASH", "HELP", "HISTORY", "HOST", "HOSTS", "IDENTIFIED",
"IGNORE_SERVER_IDS", "IMPORT", "INCREMENT", "INDEXES", "INITIAL_SIZE",
"INPLACE", "INSERT_METHOD", "INSTALL", "INSTANCE", "INSTANT", "INVISIBLE",
"INVOKER", "IO", "IO_THREAD", "IPC", "ISOLATION", "ISSUER", "JSON", "KEY_BLOCK_SIZE",
"LANGUAGE", "LAST", "LEAVES", "LESS", "LEVEL", "LIST", "LOCAL", "LOGFILE",
"LOGS", "MASTER", "MASTER_AUTO_POSITION", "MASTER_CONNECT_RETRY", "MASTER_DELAY",
"MASTER_HEARTBEAT_PERIOD", "MASTER_HOST", "MASTER_LOG_FILE", "MASTER_LOG_POS",
"MASTER_PASSWORD", "MASTER_PORT", "MASTER_RETRY_COUNT", "MASTER_SSL",
"MASTER_SSL_CA", "MASTER_SSL_CAPATH", "MASTER_SSL_CERT", "MASTER_SSL_CIPHER",
"MASTER_SSL_CRL", "MASTER_SSL_CRLPATH", "MASTER_SSL_KEY", "MASTER_TLS_VERSION",
"MASTER_USER", "MAX_CONNECTIONS_PER_HOUR", "MAX_QUERIES_PER_HOUR", "MAX_ROWS",
"MAX_SIZE", "MAX_UPDATES_PER_HOUR", "MAX_USER_CONNECTIONS", "MEDIUM",
"MEMBER", "MERGE", "MESSAGE_TEXT", "MID", "MIGRATE", "MIN_ROWS", "MODE",
"MODIFY", "MUTEX", "MYSQL", "MYSQL_ERRNO", "NAME", "NAMES", "NCHAR",
"NEVER", "NEXT", "NO", "NOCACHE", "NOCOPY", "NOCYCLE", "NOMAXVALUE",
"NOMINVALUE", "NOWAIT", "NODEGROUP", "NONE", "ODBC", "OFFLINE", "OFFSET",
"OF", "OJ", "OLD_PASSWORD", "ONE", "ONLINE", "ONLY", "OPEN", "OPTIMIZER_COSTS",
"OPTIONS", "OWNER", "PACK_KEYS", "PAGE", "PAGE_COMPRESSED", "PAGE_COMPRESSION_LEVEL",
"PARSER", "PARTIAL", "PARTITIONING", "PARTITIONS", "PASSWORD", "PASSWORD_LOCK_TIME",
"PHASE", "PLUGIN", "PLUGIN_DIR", "PLUGINS", "PORT", "PRECEDES", "PRECEDING",
"PREPARE", "PRESERVE", "PREV", "PROCESSLIST", "PROFILE", "PROFILES",
"PROXY", "QUERY", "QUICK", "REBUILD", "RECOVER", "RECURSIVE", "REDO_BUFFER_SIZE",
"REDUNDANT", "RELAY", "RELAY_LOG_FILE", "RELAY_LOG_POS", "RELAYLOG",
"REMOVE", "REORGANIZE", "REPAIR", "REPLICATE_DO_DB", "REPLICATE_DO_TABLE",
"REPLICATE_IGNORE_DB", "REPLICATE_IGNORE_TABLE", "REPLICATE_REWRITE_DB",
"REPLICATE_WILD_DO_TABLE", "REPLICATE_WILD_IGNORE_TABLE", "REPLICATION",
"RESET", "RESTART", "RESUME", "RETURNED_SQLSTATE", "RETURNING", "RETURNS",
"REUSE", "ROLE", "ROLLBACK", "ROLLUP", "ROTATE", "ROW", "ROWS", "ROW_FORMAT",
"RTREE", "SAVEPOINT", "SCHEDULE", "SECURITY", "SEQUENCE", "SERVER", "SESSION",
"SHARE", "SHARED", "SIGNED", "SIMPLE", "SLAVE", "SLOW", "SNAPSHOT", "SOCKET",
"SOME", "SONAME", "SOUNDS", "SOURCE", "SQL_AFTER_GTIDS", "SQL_AFTER_MTS_GAPS",
"SQL_BEFORE_GTIDS", "SQL_BUFFER_RESULT", "SQL_CACHE", "SQL_NO_CACHE",
"SQL_THREAD", "START", "STARTS", "STATS_AUTO_RECALC", "STATS_PERSISTENT",
"STATS_SAMPLE_PAGES", "STATUS", "STOP", "STORAGE", "STORED", "STRING",
"SUBCLASS_ORIGIN", "SUBJECT", "SUBPARTITION", "SUBPARTITIONS", "SUSPEND",
"SWAPS", "SWITCHES", "TABLE_NAME", "TABLESPACE", "TABLE_TYPE", "TEMPORARY",
"TEMPTABLE", "THAN", "TRADITIONAL", "TRANSACTION", "TRANSACTIONAL", "TRIGGERS",
"TRUNCATE", "UNBOUNDED", "UNDEFINED", "UNDOFILE", "UNDO_BUFFER_SIZE",
"UNINSTALL", "UNKNOWN", "UNTIL", "UPGRADE", "USER", "USE_FRM", "USER_RESOURCES",
"VALIDATION", "VALUE", "VARIABLES", "VIEW", "VIRTUAL", "VISIBLE", "WAIT",
"WARNINGS", "WINDOW", "WITHOUT", "WORK", "WRAPPER", "X509", "XA", "XML",
"YES", "EUR", "USA", "JIS", "ISO", "INTERNAL", "QUARTER", "MONTH", "DAY",
"HOUR", "MINUTE", "WEEK", "SECOND", "MICROSECOND", "USER_STATISTICS",
"CLIENT_STATISTICS", "INDEX_STATISTICS", "TABLE_STATISTICS", "FIREWALL_RULES",
"ADMIN", "APPLICATION_PASSWORD_ADMIN", "AUDIT_ADMIN", "AUDIT_ABORT_EXEMPT",
"AUTHENTICATION_POLICY_ADMIN", "BACKUP_ADMIN", "BINLOG_ADMIN", "BINLOG_ENCRYPTION_ADMIN",
"CLONE_ADMIN", "CONNECTION_ADMIN", "ENCRYPTION_KEY_ADMIN", "EXECUTE",
"FILE", "FIREWALL_ADMIN", "FIREWALL_EXEMPT", "FIREWALL_USER", "FLUSH_OPTIMIZER_COSTS",
"FLUSH_STATUS", "FLUSH_TABLES", "FLUSH_USER_RESOURCES", "GROUP_REPLICATION_ADMIN",
"INNODB_REDO_LOG_ARCHIVE", "INNODB_REDO_LOG_ENABLE", "INVOKE", "LAMBDA",
"NDB_STORED_USER", "PASSWORDLESS_USER_ADMIN", "PERSIST_RO_VARIABLES_ADMIN",
"PRIVILEGES", "PROCESS", "RELOAD", "REPLICATION_APPLIER", "REPLICATION_SLAVE_ADMIN",
"RESOURCE_GROUP_ADMIN", "RESOURCE_GROUP_USER", "ROLE_ADMIN", "ROUTINE",
"S3", "SERVICE_CONNECTION_ADMIN", "SESSION_VARIABLES_ADMIN", "SET_USER_ID",
"SHOW_ROUTINE", "SHUTDOWN", "SUPER", "SYSTEM_VARIABLES_ADMIN", "TABLES",
"TABLE_ENCRYPTION_ADMIN", "VERSION_TOKEN_ADMIN", "XA_RECOVER_ADMIN",
"ARMSCII8", "ASCII", "BIG5", "CP1250", "CP1251", "CP1256", "CP1257",
"CP850", "CP852", "CP866", "CP932", "DEC8", "EUCJPMS", "EUCKR", "GB18030",
"GB2312", "GBK", "GEOSTD8", "GREEK", "HEBREW", "HP8", "KEYBCS2", "KOI8R",
"KOI8U", "LATIN1", "LATIN2", "LATIN5", "LATIN7", "MACCE", "MACROMAN",
"SJIS", "SWE7", "TIS620", "UCS2", "UJIS", "UTF16", "UTF16LE", "UTF32",
"UTF8", "UTF8MB3", "UTF8MB4", "ARCHIVE", "BLACKHOLE", "CSV", "FEDERATED",
"INNODB", "MEMORY", "MRG_MYISAM", "MYISAM", "NDB", "NDBCLUSTER", "PERFORMANCE_SCHEMA",
"TOKUDB", "REPEATABLE", "COMMITTED", "UNCOMMITTED", "SERIALIZABLE", "GEOMETRYCOLLECTION",
"GEOMCOLLECTION", "GEOMETRY", "LINESTRING", "MULTILINESTRING", "MULTIPOINT",
"MULTIPOLYGON", "POINT", "POLYGON", "ABS", "ACOS", "ADDDATE", "ADDTIME",
"AES_DECRYPT", "AES_ENCRYPT", "AREA", "ASBINARY", "ASIN", "ASTEXT", "ASWKB",
"ASWKT", "ASYMMETRIC_DECRYPT", "ASYMMETRIC_DERIVE", "ASYMMETRIC_ENCRYPT",
"ASYMMETRIC_SIGN", "ASYMMETRIC_VERIFY", "ATAN", "ATAN2", "BENCHMARK",
"BIN", "BIT_COUNT", "BIT_LENGTH", "BUFFER", "CATALOG_NAME", "CEIL", "CEILING",
"CENTROID", "CHARACTER_LENGTH", "CHARSET", "CHAR_LENGTH", "COERCIBILITY",
"COLLATION", "COMPRESS", "CONCAT", "CONCAT_WS", "CONNECTION_ID", "CONV",
"CONVERT_TZ", "COS", "COT", "CRC32", "CREATE_ASYMMETRIC_PRIV_KEY", "CREATE_ASYMMETRIC_PUB_KEY",
"CREATE_DH_PARAMETERS", "CREATE_DIGEST", "CROSSES", "DATEDIFF", "DATE_FORMAT",
"DAYNAME", "DAYOFMONTH", "DAYOFWEEK", "DAYOFYEAR", "DECODE", "DEGREES",
"DES_DECRYPT", "DES_ENCRYPT", "DIMENSION", "DISJOINT", "ELT", "ENCODE",
"ENCRYPT", "ENDPOINT", "ENGINE_ATTRIBUTE", "ENVELOPE", "EQUALS", "EXP",
"EXPORT_SET", "EXTERIORRING", "EXTRACTVALUE", "FIELD", "FIND_IN_SET",
"FLOOR", "FORMAT", "FOUND_ROWS", "FROM_BASE64", "FROM_DAYS", "FROM_UNIXTIME",
"GEOMCOLLFROMTEXT", "GEOMCOLLFROMWKB", "GEOMETRYCOLLECTIONFROMTEXT",
"GEOMETRYCOLLECTIONFROMWKB", "GEOMETRYFROMTEXT", "GEOMETRYFROMWKB", "GEOMETRYN",
"GEOMETRYTYPE", "GEOMFROMTEXT", "GEOMFROMWKB", "GET_FORMAT", "GET_LOCK",
"GLENGTH", "GREATEST", "GTID_SUBSET", "GTID_SUBTRACT", "HEX", "IFNULL",
"INET6_ATON", "INET6_NTOA", "INET_ATON", "INET_NTOA", "INSTR", "INTERIORRINGN",
"INTERSECTS", "ISCLOSED", "ISEMPTY", "ISNULL", "ISSIMPLE", "IS_FREE_LOCK",
"IS_IPV4", "IS_IPV4_COMPAT", "IS_IPV4_MAPPED", "IS_IPV6", "IS_USED_LOCK",
"LAST_INSERT_ID", "LCASE", "LEAST", "LENGTH", "LINEFROMTEXT", "LINEFROMWKB",
"LINESTRINGFROMTEXT", "LINESTRINGFROMWKB", "LN", "LOAD_FILE", "LOCATE",
"LOG", "LOG10", "LOG2", "LOWER", "LPAD", "LTRIM", "MAKEDATE", "MAKETIME",
"MAKE_SET", "MASTER_POS_WAIT", "MBRCONTAINS", "MBRDISJOINT", "MBREQUAL",
"MBRINTERSECTS", "MBROVERLAPS", "MBRTOUCHES", "MBRWITHIN", "MD5", "MLINEFROMTEXT",
"MLINEFROMWKB", "MONTHNAME", "MPOINTFROMTEXT", "MPOINTFROMWKB", "MPOLYFROMTEXT",
"MPOLYFROMWKB", "MULTILINESTRINGFROMTEXT", "MULTILINESTRINGFROMWKB",
"MULTIPOINTFROMTEXT", "MULTIPOINTFROMWKB", "MULTIPOLYGONFROMTEXT", "MULTIPOLYGONFROMWKB",
"NAME_CONST", "NULLIF", "NUMGEOMETRIES", "NUMINTERIORRINGS", "NUMPOINTS",
"OCT", "OCTET_LENGTH", "ORD", "OVERLAPS", "PERIOD_ADD", "PERIOD_DIFF",
"PI", "POINTFROMTEXT", "POINTFROMWKB", "POINTN", "POLYFROMTEXT", "POLYFROMWKB",
"POLYGONFROMTEXT", "POLYGONFROMWKB", "POW", "POWER", "QUOTE", "RADIANS",
"RAND", "RANDOM", "RANDOM_BYTES", "RELEASE_LOCK", "REVERSE", "ROUND",
"ROW_COUNT", "RPAD", "RTRIM", "SEC_TO_TIME", "SECONDARY_ENGINE_ATTRIBUTE",
"SENSITIVE_VARIABLES_OBSERVER", "SESSION_USER", "SHA", "SHA1", "SHA2",
"SCHEMA_NAME", "SIGN", "SIN", "SLEEP", "SOUNDEX", "SQL_THREAD_WAIT_AFTER_GTIDS",
"SQRT", "SRID", "STARTPOINT", "STRCMP", "STR_TO_DATE", "ST_AREA", "ST_ASBINARY",
"ST_ASTEXT", "ST_ASWKB", "ST_ASWKT", "ST_BUFFER", "ST_CENTROID", "ST_CONTAINS",
"ST_CROSSES", "ST_DIFFERENCE", "ST_DIMENSION", "ST_DISJOINT", "ST_DISTANCE",
"ST_ENDPOINT", "ST_ENVELOPE", "ST_EQUALS", "ST_EXTERIORRING", "ST_GEOMCOLLFROMTEXT",
"ST_GEOMCOLLFROMTXT", "ST_GEOMCOLLFROMWKB", "ST_GEOMETRYCOLLECTIONFROMTEXT",
"ST_GEOMETRYCOLLECTIONFROMWKB", "ST_GEOMETRYFROMTEXT", "ST_GEOMETRYFROMWKB",
"ST_GEOMETRYN", "ST_GEOMETRYTYPE", "ST_GEOMFROMTEXT", "ST_GEOMFROMWKB",
"ST_INTERIORRINGN", "ST_INTERSECTION", "ST_INTERSECTS", "ST_ISCLOSED",
"ST_ISEMPTY", "ST_ISSIMPLE", "ST_LINEFROMTEXT", "ST_LINEFROMWKB", "ST_LINESTRINGFROMTEXT",
"ST_LINESTRINGFROMWKB", "ST_NUMGEOMETRIES", "ST_NUMINTERIORRING", "ST_NUMINTERIORRINGS",
"ST_NUMPOINTS", "ST_OVERLAPS", "ST_POINTFROMTEXT", "ST_POINTFROMWKB",
"ST_POINTN", "ST_POLYFROMTEXT", "ST_POLYFROMWKB", "ST_POLYGONFROMTEXT",
"ST_POLYGONFROMWKB", "ST_SRID", "ST_STARTPOINT", "ST_SYMDIFFERENCE",
"ST_TOUCHES", "ST_UNION", "ST_WITHIN", "ST_X", "ST_Y", "SUBDATE", "SUBSTRING_INDEX",
"SUBTIME", "SYSTEM_USER", "SYSTEM", "TAN", "TELEMETRY_LOG_ADMIN", "TIMEDIFF",
"TIMESTAMPADD", "TIMESTAMPDIFF", "TIME_FORMAT", "TIME_TO_SEC", "TOUCHES",
"TO_BASE64", "TO_DAYS", "TO_SECONDS", "TP_CONNECTION_ADMIN", "UCASE",
"UNCOMPRESS", "UNCOMPRESSED_LENGTH", "UNHEX", "UNIX_TIMESTAMP", "UPDATEXML",
"UPPER", "UUID", "UUID_SHORT", "VALIDATE_PASSWORD_STRENGTH", "VERSION",
"VERSIONING", "WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS", "WEEKDAY", "WEEKOFYEAR",
"WEIGHT_STRING", "WITHIN", "YEARWEEK", "Y_FUNCTION", "X_FUNCTION", "VIA",
"LASTVAL", "NEXTVAL", "SETVAL", "PREVIOUS", "PERSISTENT", "BINLOG_MONITOR",
"BINLOG_REPLAY", "FEDERATED_ADMIN", "READ_ONLY_ADMIN", "REPLICA", "REPLICATION_MASTER_ADMIN",
"MONITOR", "READ_ONLY", "REPLAY", "VAR_ASSIGN", "PLUS_ASSIGN", "MINUS_ASSIGN",
"MULT_ASSIGN", "DIV_ASSIGN", "MOD_ASSIGN", "AND_ASSIGN", "XOR_ASSIGN",
"OR_ASSIGN", "STAR", "DIVIDE", "MODULE", "PLUS", "MINUS", "DIV", "MOD",
"EQUAL_SYMBOL", "GREATER_SYMBOL", "LESS_SYMBOL", "EXCLAMATION_SYMBOL",
"BIT_NOT_OP", "BIT_OR_OP", "BIT_AND_OP", "BIT_XOR_OP", "DOT", "LR_BRACKET",
"RR_BRACKET", "COMMA", "SEMI", "AT_SIGN", "ZERO_DECIMAL", "ONE_DECIMAL",
"TWO_DECIMAL", "SINGLE_QUOTE_SYMB", "DOUBLE_QUOTE_SYMB", "REVERSE_QUOTE_SYMB",
"COLON_SYMB", "CHARSET_REVERSE_QOUTE_STRING", "FILESIZE_LITERAL", "START_NATIONAL_STRING_LITERAL",
"STRING_LITERAL", "DECIMAL_LITERAL", "HEXADECIMAL_LITERAL", "REAL_LITERAL",
"NULL_SPEC_LITERAL", "BIT_STRING", "STRING_CHARSET_NAME", "DOT_ID", "ID",
"REVERSE_QUOTE_ID", "HOST_IP_ADDRESS", "LOCAL_ID", "GLOBAL_ID", "ERROR_RECONGNIGION"
};
}
private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames();
public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);
/**
* @deprecated Use {@link #VOCABULARY} instead.
*/
@Deprecated
public static final String[] tokenNames;
static {
tokenNames = new String[_SYMBOLIC_NAMES.length];
for (int i = 0; i < tokenNames.length; i++) {
tokenNames[i] = VOCABULARY.getLiteralName(i);
if (tokenNames[i] == null) {
tokenNames[i] = VOCABULARY.getSymbolicName(i);
}
if (tokenNames[i] == null) {
tokenNames[i] = "";
}
}
}
@Override
@Deprecated
public String[] getTokenNames() {
return tokenNames;
}
@Override
public Vocabulary getVocabulary() {
return VOCABULARY;
}
@Override
public String getGrammarFileName() { return "MySqlParser.g4"; }
@Override
public String[] getRuleNames() { return ruleNames; }
@Override
public String getSerializedATN() { return _serializedATN; }
@Override
public ATN getATN() { return _ATN; }
public MySqlParser(TokenStream input) {
super(input);
_interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
}
public static class RootContext extends ParserRuleContext {
public TerminalNode EOF() { return getToken(MySqlParser.EOF, 0); }
public SqlStatementsContext sqlStatements() {
return getRuleContext(SqlStatementsContext.class,0);
}
public List MINUS() { return getTokens(MySqlParser.MINUS); }
public TerminalNode MINUS(int i) {
return getToken(MySqlParser.MINUS, i);
}
public RootContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_root; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterRoot(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitRoot(this);
}
}
public final RootContext root() throws RecognitionException {
RootContext _localctx = new RootContext(_ctx, getState());
enterRule(_localctx, 0, RULE_root);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(743);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ALTER) | (1L << ANALYZE) | (1L << CALL) | (1L << CHANGE) | (1L << CHECK) | (1L << CREATE) | (1L << DELETE) | (1L << DESC) | (1L << DESCRIBE) | (1L << DROP) | (1L << EXPLAIN))) != 0) || ((((_la - 72)) & ~0x3f) == 0 && ((1L << (_la - 72)) & ((1L << (GET - 72)) | (1L << (GRANT - 72)) | (1L << (INSERT - 72)) | (1L << (KILL - 72)) | (1L << (LOAD - 72)) | (1L << (LOCK - 72)) | (1L << (OPTIMIZE - 72)) | (1L << (PURGE - 72)))) != 0) || ((((_la - 140)) & ~0x3f) == 0 && ((1L << (_la - 140)) & ((1L << (RELEASE - 140)) | (1L << (RENAME - 140)) | (1L << (REPLACE - 140)) | (1L << (RESIGNAL - 140)) | (1L << (REVOKE - 140)) | (1L << (SELECT - 140)) | (1L << (SET - 140)) | (1L << (SHOW - 140)) | (1L << (SIGNAL - 140)) | (1L << (TABLE - 140)) | (1L << (UNLOCK - 140)) | (1L << (UPDATE - 140)) | (1L << (USE - 140)) | (1L << (VALUES - 140)) | (1L << (WITH - 140)))) != 0) || ((((_la - 347)) & ~0x3f) == 0 && ((1L << (_la - 347)) & ((1L << (BEGIN - 347)) | (1L << (BINLOG - 347)) | (1L << (CACHE - 347)) | (1L << (CHECKSUM - 347)) | (1L << (COMMIT - 347)) | (1L << (DEALLOCATE - 347)) | (1L << (DO - 347)))) != 0) || ((((_la - 435)) & ~0x3f) == 0 && ((1L << (_la - 435)) & ((1L << (FLUSH - 435)) | (1L << (HANDLER - 435)) | (1L << (HELP - 435)) | (1L << (INSTALL - 435)))) != 0) || ((((_la - 563)) & ~0x3f) == 0 && ((1L << (_la - 563)) & ((1L << (PREPARE - 563)) | (1L << (REPAIR - 563)) | (1L << (RESET - 563)) | (1L << (ROLLBACK - 563)) | (1L << (SAVEPOINT - 563)))) != 0) || ((((_la - 632)) & ~0x3f) == 0 && ((1L << (_la - 632)) & ((1L << (START - 632)) | (1L << (STOP - 632)) | (1L << (TRUNCATE - 632)) | (1L << (UNINSTALL - 632)) | (1L << (XA - 632)))) != 0) || _la==EXECUTE || _la==SHUTDOWN || _la==LR_BRACKET || _la==SEMI) {
{
setState(742);
sqlStatements();
}
}
setState(747);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MINUS) {
{
setState(745);
match(MINUS);
setState(746);
match(MINUS);
}
}
setState(749);
match(EOF);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SqlStatementsContext extends ParserRuleContext {
public List sqlStatement() {
return getRuleContexts(SqlStatementContext.class);
}
public SqlStatementContext sqlStatement(int i) {
return getRuleContext(SqlStatementContext.class,i);
}
public List emptyStatement() {
return getRuleContexts(EmptyStatementContext.class);
}
public EmptyStatementContext emptyStatement(int i) {
return getRuleContext(EmptyStatementContext.class,i);
}
public List SEMI() { return getTokens(MySqlParser.SEMI); }
public TerminalNode SEMI(int i) {
return getToken(MySqlParser.SEMI, i);
}
public List MINUS() { return getTokens(MySqlParser.MINUS); }
public TerminalNode MINUS(int i) {
return getToken(MySqlParser.MINUS, i);
}
public SqlStatementsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_sqlStatements; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSqlStatements(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSqlStatements(this);
}
}
public final SqlStatementsContext sqlStatements() throws RecognitionException {
SqlStatementsContext _localctx = new SqlStatementsContext(_ctx, getState());
enterRule(_localctx, 2, RULE_sqlStatements);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(762);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,5,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
setState(760);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ALTER:
case ANALYZE:
case CALL:
case CHANGE:
case CHECK:
case CREATE:
case DELETE:
case DESC:
case DESCRIBE:
case DROP:
case EXPLAIN:
case GET:
case GRANT:
case INSERT:
case KILL:
case LOAD:
case LOCK:
case OPTIMIZE:
case PURGE:
case RELEASE:
case RENAME:
case REPLACE:
case RESIGNAL:
case REVOKE:
case SELECT:
case SET:
case SHOW:
case SIGNAL:
case TABLE:
case UNLOCK:
case UPDATE:
case USE:
case VALUES:
case WITH:
case BEGIN:
case BINLOG:
case CACHE:
case CHECKSUM:
case COMMIT:
case DEALLOCATE:
case DO:
case FLUSH:
case HANDLER:
case HELP:
case INSTALL:
case PREPARE:
case REPAIR:
case RESET:
case ROLLBACK:
case SAVEPOINT:
case START:
case STOP:
case TRUNCATE:
case UNINSTALL:
case XA:
case EXECUTE:
case SHUTDOWN:
case LR_BRACKET:
{
setState(751);
sqlStatement();
setState(754);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MINUS) {
{
setState(752);
match(MINUS);
setState(753);
match(MINUS);
}
}
setState(757);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,3,_ctx) ) {
case 1:
{
setState(756);
match(SEMI);
}
break;
}
}
break;
case SEMI:
{
setState(759);
emptyStatement();
}
break;
default:
throw new NoViableAltException(this);
}
}
}
setState(764);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,5,_ctx);
}
setState(774);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ALTER:
case ANALYZE:
case CALL:
case CHANGE:
case CHECK:
case CREATE:
case DELETE:
case DESC:
case DESCRIBE:
case DROP:
case EXPLAIN:
case GET:
case GRANT:
case INSERT:
case KILL:
case LOAD:
case LOCK:
case OPTIMIZE:
case PURGE:
case RELEASE:
case RENAME:
case REPLACE:
case RESIGNAL:
case REVOKE:
case SELECT:
case SET:
case SHOW:
case SIGNAL:
case TABLE:
case UNLOCK:
case UPDATE:
case USE:
case VALUES:
case WITH:
case BEGIN:
case BINLOG:
case CACHE:
case CHECKSUM:
case COMMIT:
case DEALLOCATE:
case DO:
case FLUSH:
case HANDLER:
case HELP:
case INSTALL:
case PREPARE:
case REPAIR:
case RESET:
case ROLLBACK:
case SAVEPOINT:
case START:
case STOP:
case TRUNCATE:
case UNINSTALL:
case XA:
case EXECUTE:
case SHUTDOWN:
case LR_BRACKET:
{
setState(765);
sqlStatement();
setState(771);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,7,_ctx) ) {
case 1:
{
setState(768);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MINUS) {
{
setState(766);
match(MINUS);
setState(767);
match(MINUS);
}
}
setState(770);
match(SEMI);
}
break;
}
}
break;
case SEMI:
{
setState(773);
emptyStatement();
}
break;
default:
throw new NoViableAltException(this);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SqlStatementContext extends ParserRuleContext {
public DdlStatementContext ddlStatement() {
return getRuleContext(DdlStatementContext.class,0);
}
public DmlStatementContext dmlStatement() {
return getRuleContext(DmlStatementContext.class,0);
}
public TransactionStatementContext transactionStatement() {
return getRuleContext(TransactionStatementContext.class,0);
}
public ReplicationStatementContext replicationStatement() {
return getRuleContext(ReplicationStatementContext.class,0);
}
public PreparedStatementContext preparedStatement() {
return getRuleContext(PreparedStatementContext.class,0);
}
public AdministrationStatementContext administrationStatement() {
return getRuleContext(AdministrationStatementContext.class,0);
}
public UtilityStatementContext utilityStatement() {
return getRuleContext(UtilityStatementContext.class,0);
}
public SetStatementForContext setStatementFor() {
return getRuleContext(SetStatementForContext.class,0);
}
public SqlStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_sqlStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSqlStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSqlStatement(this);
}
}
public final SqlStatementContext sqlStatement() throws RecognitionException {
SqlStatementContext _localctx = new SqlStatementContext(_ctx, getState());
enterRule(_localctx, 4, RULE_sqlStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(777);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,9,_ctx) ) {
case 1:
{
setState(776);
setStatementFor();
}
break;
}
setState(786);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,10,_ctx) ) {
case 1:
{
setState(779);
ddlStatement();
}
break;
case 2:
{
setState(780);
dmlStatement();
}
break;
case 3:
{
setState(781);
transactionStatement();
}
break;
case 4:
{
setState(782);
replicationStatement();
}
break;
case 5:
{
setState(783);
preparedStatement();
}
break;
case 6:
{
setState(784);
administrationStatement();
}
break;
case 7:
{
setState(785);
utilityStatement();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SetStatementForContext extends ParserRuleContext {
public TerminalNode SET() { return getToken(MySqlParser.SET, 0); }
public TerminalNode STATEMENT() { return getToken(MySqlParser.STATEMENT, 0); }
public List ID() { return getTokens(MySqlParser.ID); }
public TerminalNode ID(int i) {
return getToken(MySqlParser.ID, i);
}
public List EQUAL_SYMBOL() { return getTokens(MySqlParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(MySqlParser.EQUAL_SYMBOL, i);
}
public List constant() {
return getRuleContexts(ConstantContext.class);
}
public ConstantContext constant(int i) {
return getRuleContext(ConstantContext.class,i);
}
public TerminalNode FOR() { return getToken(MySqlParser.FOR, 0); }
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public SetStatementForContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_setStatementFor; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSetStatementFor(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSetStatementFor(this);
}
}
public final SetStatementForContext setStatementFor() throws RecognitionException {
SetStatementForContext _localctx = new SetStatementForContext(_ctx, getState());
enterRule(_localctx, 6, RULE_setStatementFor);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(788);
match(SET);
setState(789);
match(STATEMENT);
setState(790);
match(ID);
setState(791);
match(EQUAL_SYMBOL);
setState(792);
constant();
setState(799);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(793);
match(COMMA);
setState(794);
match(ID);
setState(795);
match(EQUAL_SYMBOL);
setState(796);
constant();
}
}
setState(801);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(802);
match(FOR);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class EmptyStatementContext extends ParserRuleContext {
public TerminalNode SEMI() { return getToken(MySqlParser.SEMI, 0); }
public EmptyStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_emptyStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterEmptyStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitEmptyStatement(this);
}
}
public final EmptyStatementContext emptyStatement() throws RecognitionException {
EmptyStatementContext _localctx = new EmptyStatementContext(_ctx, getState());
enterRule(_localctx, 8, RULE_emptyStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(804);
match(SEMI);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DdlStatementContext extends ParserRuleContext {
public CreateDatabaseContext createDatabase() {
return getRuleContext(CreateDatabaseContext.class,0);
}
public CreateEventContext createEvent() {
return getRuleContext(CreateEventContext.class,0);
}
public CreateIndexContext createIndex() {
return getRuleContext(CreateIndexContext.class,0);
}
public CreateLogfileGroupContext createLogfileGroup() {
return getRuleContext(CreateLogfileGroupContext.class,0);
}
public CreateProcedureContext createProcedure() {
return getRuleContext(CreateProcedureContext.class,0);
}
public CreateFunctionContext createFunction() {
return getRuleContext(CreateFunctionContext.class,0);
}
public CreateServerContext createServer() {
return getRuleContext(CreateServerContext.class,0);
}
public CreateTableContext createTable() {
return getRuleContext(CreateTableContext.class,0);
}
public CreateTablespaceInnodbContext createTablespaceInnodb() {
return getRuleContext(CreateTablespaceInnodbContext.class,0);
}
public CreateTablespaceNdbContext createTablespaceNdb() {
return getRuleContext(CreateTablespaceNdbContext.class,0);
}
public CreateTriggerContext createTrigger() {
return getRuleContext(CreateTriggerContext.class,0);
}
public CreateViewContext createView() {
return getRuleContext(CreateViewContext.class,0);
}
public CreateRoleContext createRole() {
return getRuleContext(CreateRoleContext.class,0);
}
public CreateSequenceContext createSequence() {
return getRuleContext(CreateSequenceContext.class,0);
}
public AlterDatabaseContext alterDatabase() {
return getRuleContext(AlterDatabaseContext.class,0);
}
public AlterEventContext alterEvent() {
return getRuleContext(AlterEventContext.class,0);
}
public AlterFunctionContext alterFunction() {
return getRuleContext(AlterFunctionContext.class,0);
}
public AlterInstanceContext alterInstance() {
return getRuleContext(AlterInstanceContext.class,0);
}
public AlterLogfileGroupContext alterLogfileGroup() {
return getRuleContext(AlterLogfileGroupContext.class,0);
}
public AlterProcedureContext alterProcedure() {
return getRuleContext(AlterProcedureContext.class,0);
}
public AlterServerContext alterServer() {
return getRuleContext(AlterServerContext.class,0);
}
public AlterTableContext alterTable() {
return getRuleContext(AlterTableContext.class,0);
}
public AlterTablespaceContext alterTablespace() {
return getRuleContext(AlterTablespaceContext.class,0);
}
public AlterViewContext alterView() {
return getRuleContext(AlterViewContext.class,0);
}
public AlterSequenceContext alterSequence() {
return getRuleContext(AlterSequenceContext.class,0);
}
public DropDatabaseContext dropDatabase() {
return getRuleContext(DropDatabaseContext.class,0);
}
public DropEventContext dropEvent() {
return getRuleContext(DropEventContext.class,0);
}
public DropIndexContext dropIndex() {
return getRuleContext(DropIndexContext.class,0);
}
public DropLogfileGroupContext dropLogfileGroup() {
return getRuleContext(DropLogfileGroupContext.class,0);
}
public DropProcedureContext dropProcedure() {
return getRuleContext(DropProcedureContext.class,0);
}
public DropFunctionContext dropFunction() {
return getRuleContext(DropFunctionContext.class,0);
}
public DropServerContext dropServer() {
return getRuleContext(DropServerContext.class,0);
}
public DropTableContext dropTable() {
return getRuleContext(DropTableContext.class,0);
}
public DropTablespaceContext dropTablespace() {
return getRuleContext(DropTablespaceContext.class,0);
}
public DropTriggerContext dropTrigger() {
return getRuleContext(DropTriggerContext.class,0);
}
public DropViewContext dropView() {
return getRuleContext(DropViewContext.class,0);
}
public DropRoleContext dropRole() {
return getRuleContext(DropRoleContext.class,0);
}
public DropSequenceContext dropSequence() {
return getRuleContext(DropSequenceContext.class,0);
}
public SetRoleContext setRole() {
return getRuleContext(SetRoleContext.class,0);
}
public RenameTableContext renameTable() {
return getRuleContext(RenameTableContext.class,0);
}
public TruncateTableContext truncateTable() {
return getRuleContext(TruncateTableContext.class,0);
}
public DdlStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_ddlStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterDdlStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitDdlStatement(this);
}
}
public final DdlStatementContext ddlStatement() throws RecognitionException {
DdlStatementContext _localctx = new DdlStatementContext(_ctx, getState());
enterRule(_localctx, 10, RULE_ddlStatement);
try {
setState(847);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,12,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(806);
createDatabase();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(807);
createEvent();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(808);
createIndex();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(809);
createLogfileGroup();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(810);
createProcedure();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(811);
createFunction();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(812);
createServer();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(813);
createTable();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(814);
createTablespaceInnodb();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(815);
createTablespaceNdb();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(816);
createTrigger();
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(817);
createView();
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(818);
createRole();
}
break;
case 14:
enterOuterAlt(_localctx, 14);
{
setState(819);
createSequence();
}
break;
case 15:
enterOuterAlt(_localctx, 15);
{
setState(820);
alterDatabase();
}
break;
case 16:
enterOuterAlt(_localctx, 16);
{
setState(821);
alterEvent();
}
break;
case 17:
enterOuterAlt(_localctx, 17);
{
setState(822);
alterFunction();
}
break;
case 18:
enterOuterAlt(_localctx, 18);
{
setState(823);
alterInstance();
}
break;
case 19:
enterOuterAlt(_localctx, 19);
{
setState(824);
alterLogfileGroup();
}
break;
case 20:
enterOuterAlt(_localctx, 20);
{
setState(825);
alterProcedure();
}
break;
case 21:
enterOuterAlt(_localctx, 21);
{
setState(826);
alterServer();
}
break;
case 22:
enterOuterAlt(_localctx, 22);
{
setState(827);
alterTable();
}
break;
case 23:
enterOuterAlt(_localctx, 23);
{
setState(828);
alterTablespace();
}
break;
case 24:
enterOuterAlt(_localctx, 24);
{
setState(829);
alterView();
}
break;
case 25:
enterOuterAlt(_localctx, 25);
{
setState(830);
alterSequence();
}
break;
case 26:
enterOuterAlt(_localctx, 26);
{
setState(831);
dropDatabase();
}
break;
case 27:
enterOuterAlt(_localctx, 27);
{
setState(832);
dropEvent();
}
break;
case 28:
enterOuterAlt(_localctx, 28);
{
setState(833);
dropIndex();
}
break;
case 29:
enterOuterAlt(_localctx, 29);
{
setState(834);
dropLogfileGroup();
}
break;
case 30:
enterOuterAlt(_localctx, 30);
{
setState(835);
dropProcedure();
}
break;
case 31:
enterOuterAlt(_localctx, 31);
{
setState(836);
dropFunction();
}
break;
case 32:
enterOuterAlt(_localctx, 32);
{
setState(837);
dropServer();
}
break;
case 33:
enterOuterAlt(_localctx, 33);
{
setState(838);
dropTable();
}
break;
case 34:
enterOuterAlt(_localctx, 34);
{
setState(839);
dropTablespace();
}
break;
case 35:
enterOuterAlt(_localctx, 35);
{
setState(840);
dropTrigger();
}
break;
case 36:
enterOuterAlt(_localctx, 36);
{
setState(841);
dropView();
}
break;
case 37:
enterOuterAlt(_localctx, 37);
{
setState(842);
dropRole();
}
break;
case 38:
enterOuterAlt(_localctx, 38);
{
setState(843);
dropSequence();
}
break;
case 39:
enterOuterAlt(_localctx, 39);
{
setState(844);
setRole();
}
break;
case 40:
enterOuterAlt(_localctx, 40);
{
setState(845);
renameTable();
}
break;
case 41:
enterOuterAlt(_localctx, 41);
{
setState(846);
truncateTable();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DmlStatementContext extends ParserRuleContext {
public SelectStatementContext selectStatement() {
return getRuleContext(SelectStatementContext.class,0);
}
public InsertStatementContext insertStatement() {
return getRuleContext(InsertStatementContext.class,0);
}
public UpdateStatementContext updateStatement() {
return getRuleContext(UpdateStatementContext.class,0);
}
public DeleteStatementContext deleteStatement() {
return getRuleContext(DeleteStatementContext.class,0);
}
public ReplaceStatementContext replaceStatement() {
return getRuleContext(ReplaceStatementContext.class,0);
}
public CallStatementContext callStatement() {
return getRuleContext(CallStatementContext.class,0);
}
public LoadDataStatementContext loadDataStatement() {
return getRuleContext(LoadDataStatementContext.class,0);
}
public LoadXmlStatementContext loadXmlStatement() {
return getRuleContext(LoadXmlStatementContext.class,0);
}
public DoStatementContext doStatement() {
return getRuleContext(DoStatementContext.class,0);
}
public HandlerStatementContext handlerStatement() {
return getRuleContext(HandlerStatementContext.class,0);
}
public ValuesStatementContext valuesStatement() {
return getRuleContext(ValuesStatementContext.class,0);
}
public WithStatementContext withStatement() {
return getRuleContext(WithStatementContext.class,0);
}
public TableStatementContext tableStatement() {
return getRuleContext(TableStatementContext.class,0);
}
public DmlStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dmlStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterDmlStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitDmlStatement(this);
}
}
public final DmlStatementContext dmlStatement() throws RecognitionException {
DmlStatementContext _localctx = new DmlStatementContext(_ctx, getState());
enterRule(_localctx, 12, RULE_dmlStatement);
try {
setState(862);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,13,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(849);
selectStatement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(850);
insertStatement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(851);
updateStatement();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(852);
deleteStatement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(853);
replaceStatement();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(854);
callStatement();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(855);
loadDataStatement();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(856);
loadXmlStatement();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(857);
doStatement();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(858);
handlerStatement();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(859);
valuesStatement();
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(860);
withStatement();
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(861);
tableStatement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TransactionStatementContext extends ParserRuleContext {
public StartTransactionContext startTransaction() {
return getRuleContext(StartTransactionContext.class,0);
}
public BeginWorkContext beginWork() {
return getRuleContext(BeginWorkContext.class,0);
}
public CommitWorkContext commitWork() {
return getRuleContext(CommitWorkContext.class,0);
}
public RollbackWorkContext rollbackWork() {
return getRuleContext(RollbackWorkContext.class,0);
}
public SavepointStatementContext savepointStatement() {
return getRuleContext(SavepointStatementContext.class,0);
}
public RollbackStatementContext rollbackStatement() {
return getRuleContext(RollbackStatementContext.class,0);
}
public ReleaseStatementContext releaseStatement() {
return getRuleContext(ReleaseStatementContext.class,0);
}
public LockTablesContext lockTables() {
return getRuleContext(LockTablesContext.class,0);
}
public UnlockTablesContext unlockTables() {
return getRuleContext(UnlockTablesContext.class,0);
}
public TransactionStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_transactionStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTransactionStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTransactionStatement(this);
}
}
public final TransactionStatementContext transactionStatement() throws RecognitionException {
TransactionStatementContext _localctx = new TransactionStatementContext(_ctx, getState());
enterRule(_localctx, 14, RULE_transactionStatement);
try {
setState(873);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,14,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(864);
startTransaction();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(865);
beginWork();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(866);
commitWork();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(867);
rollbackWork();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(868);
savepointStatement();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(869);
rollbackStatement();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(870);
releaseStatement();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(871);
lockTables();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(872);
unlockTables();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ReplicationStatementContext extends ParserRuleContext {
public ChangeMasterContext changeMaster() {
return getRuleContext(ChangeMasterContext.class,0);
}
public ChangeReplicationFilterContext changeReplicationFilter() {
return getRuleContext(ChangeReplicationFilterContext.class,0);
}
public PurgeBinaryLogsContext purgeBinaryLogs() {
return getRuleContext(PurgeBinaryLogsContext.class,0);
}
public ResetMasterContext resetMaster() {
return getRuleContext(ResetMasterContext.class,0);
}
public ResetSlaveContext resetSlave() {
return getRuleContext(ResetSlaveContext.class,0);
}
public StartSlaveContext startSlave() {
return getRuleContext(StartSlaveContext.class,0);
}
public StopSlaveContext stopSlave() {
return getRuleContext(StopSlaveContext.class,0);
}
public StartGroupReplicationContext startGroupReplication() {
return getRuleContext(StartGroupReplicationContext.class,0);
}
public StopGroupReplicationContext stopGroupReplication() {
return getRuleContext(StopGroupReplicationContext.class,0);
}
public XaStartTransactionContext xaStartTransaction() {
return getRuleContext(XaStartTransactionContext.class,0);
}
public XaEndTransactionContext xaEndTransaction() {
return getRuleContext(XaEndTransactionContext.class,0);
}
public XaPrepareStatementContext xaPrepareStatement() {
return getRuleContext(XaPrepareStatementContext.class,0);
}
public XaCommitWorkContext xaCommitWork() {
return getRuleContext(XaCommitWorkContext.class,0);
}
public XaRollbackWorkContext xaRollbackWork() {
return getRuleContext(XaRollbackWorkContext.class,0);
}
public XaRecoverWorkContext xaRecoverWork() {
return getRuleContext(XaRecoverWorkContext.class,0);
}
public ReplicationStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_replicationStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterReplicationStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitReplicationStatement(this);
}
}
public final ReplicationStatementContext replicationStatement() throws RecognitionException {
ReplicationStatementContext _localctx = new ReplicationStatementContext(_ctx, getState());
enterRule(_localctx, 16, RULE_replicationStatement);
try {
setState(890);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,15,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(875);
changeMaster();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(876);
changeReplicationFilter();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(877);
purgeBinaryLogs();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(878);
resetMaster();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(879);
resetSlave();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(880);
startSlave();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(881);
stopSlave();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(882);
startGroupReplication();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(883);
stopGroupReplication();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(884);
xaStartTransaction();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(885);
xaEndTransaction();
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(886);
xaPrepareStatement();
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(887);
xaCommitWork();
}
break;
case 14:
enterOuterAlt(_localctx, 14);
{
setState(888);
xaRollbackWork();
}
break;
case 15:
enterOuterAlt(_localctx, 15);
{
setState(889);
xaRecoverWork();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class PreparedStatementContext extends ParserRuleContext {
public PrepareStatementContext prepareStatement() {
return getRuleContext(PrepareStatementContext.class,0);
}
public ExecuteStatementContext executeStatement() {
return getRuleContext(ExecuteStatementContext.class,0);
}
public DeallocatePrepareContext deallocatePrepare() {
return getRuleContext(DeallocatePrepareContext.class,0);
}
public PreparedStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_preparedStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPreparedStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPreparedStatement(this);
}
}
public final PreparedStatementContext preparedStatement() throws RecognitionException {
PreparedStatementContext _localctx = new PreparedStatementContext(_ctx, getState());
enterRule(_localctx, 18, RULE_preparedStatement);
try {
setState(895);
_errHandler.sync(this);
switch (_input.LA(1)) {
case PREPARE:
enterOuterAlt(_localctx, 1);
{
setState(892);
prepareStatement();
}
break;
case EXECUTE:
enterOuterAlt(_localctx, 2);
{
setState(893);
executeStatement();
}
break;
case DROP:
case DEALLOCATE:
enterOuterAlt(_localctx, 3);
{
setState(894);
deallocatePrepare();
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CompoundStatementContext extends ParserRuleContext {
public BlockStatementContext blockStatement() {
return getRuleContext(BlockStatementContext.class,0);
}
public CaseStatementContext caseStatement() {
return getRuleContext(CaseStatementContext.class,0);
}
public IfStatementContext ifStatement() {
return getRuleContext(IfStatementContext.class,0);
}
public LeaveStatementContext leaveStatement() {
return getRuleContext(LeaveStatementContext.class,0);
}
public LoopStatementContext loopStatement() {
return getRuleContext(LoopStatementContext.class,0);
}
public RepeatStatementContext repeatStatement() {
return getRuleContext(RepeatStatementContext.class,0);
}
public WhileStatementContext whileStatement() {
return getRuleContext(WhileStatementContext.class,0);
}
public IterateStatementContext iterateStatement() {
return getRuleContext(IterateStatementContext.class,0);
}
public ReturnStatementContext returnStatement() {
return getRuleContext(ReturnStatementContext.class,0);
}
public CursorStatementContext cursorStatement() {
return getRuleContext(CursorStatementContext.class,0);
}
public WithStatementContext withStatement() {
return getRuleContext(WithStatementContext.class,0);
}
public DmlStatementContext dmlStatement() {
return getRuleContext(DmlStatementContext.class,0);
}
public CompoundStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_compoundStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCompoundStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCompoundStatement(this);
}
}
public final CompoundStatementContext compoundStatement() throws RecognitionException {
CompoundStatementContext _localctx = new CompoundStatementContext(_ctx, getState());
enterRule(_localctx, 20, RULE_compoundStatement);
try {
setState(910);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,17,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(897);
blockStatement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(898);
caseStatement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(899);
ifStatement();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(900);
leaveStatement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(901);
loopStatement();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(902);
repeatStatement();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(903);
whileStatement();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(904);
iterateStatement();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(905);
returnStatement();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(906);
cursorStatement();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(907);
withStatement();
setState(908);
dmlStatement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AdministrationStatementContext extends ParserRuleContext {
public AlterUserContext alterUser() {
return getRuleContext(AlterUserContext.class,0);
}
public CreateUserContext createUser() {
return getRuleContext(CreateUserContext.class,0);
}
public DropUserContext dropUser() {
return getRuleContext(DropUserContext.class,0);
}
public GrantStatementContext grantStatement() {
return getRuleContext(GrantStatementContext.class,0);
}
public GrantProxyContext grantProxy() {
return getRuleContext(GrantProxyContext.class,0);
}
public RenameUserContext renameUser() {
return getRuleContext(RenameUserContext.class,0);
}
public RevokeStatementContext revokeStatement() {
return getRuleContext(RevokeStatementContext.class,0);
}
public RevokeProxyContext revokeProxy() {
return getRuleContext(RevokeProxyContext.class,0);
}
public AnalyzeTableContext analyzeTable() {
return getRuleContext(AnalyzeTableContext.class,0);
}
public CheckTableContext checkTable() {
return getRuleContext(CheckTableContext.class,0);
}
public ChecksumTableContext checksumTable() {
return getRuleContext(ChecksumTableContext.class,0);
}
public OptimizeTableContext optimizeTable() {
return getRuleContext(OptimizeTableContext.class,0);
}
public RepairTableContext repairTable() {
return getRuleContext(RepairTableContext.class,0);
}
public CreateUdfunctionContext createUdfunction() {
return getRuleContext(CreateUdfunctionContext.class,0);
}
public InstallPluginContext installPlugin() {
return getRuleContext(InstallPluginContext.class,0);
}
public UninstallPluginContext uninstallPlugin() {
return getRuleContext(UninstallPluginContext.class,0);
}
public SetStatementContext setStatement() {
return getRuleContext(SetStatementContext.class,0);
}
public ShowStatementContext showStatement() {
return getRuleContext(ShowStatementContext.class,0);
}
public BinlogStatementContext binlogStatement() {
return getRuleContext(BinlogStatementContext.class,0);
}
public CacheIndexStatementContext cacheIndexStatement() {
return getRuleContext(CacheIndexStatementContext.class,0);
}
public FlushStatementContext flushStatement() {
return getRuleContext(FlushStatementContext.class,0);
}
public KillStatementContext killStatement() {
return getRuleContext(KillStatementContext.class,0);
}
public LoadIndexIntoCacheContext loadIndexIntoCache() {
return getRuleContext(LoadIndexIntoCacheContext.class,0);
}
public ResetStatementContext resetStatement() {
return getRuleContext(ResetStatementContext.class,0);
}
public ShutdownStatementContext shutdownStatement() {
return getRuleContext(ShutdownStatementContext.class,0);
}
public AdministrationStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_administrationStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAdministrationStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAdministrationStatement(this);
}
}
public final AdministrationStatementContext administrationStatement() throws RecognitionException {
AdministrationStatementContext _localctx = new AdministrationStatementContext(_ctx, getState());
enterRule(_localctx, 22, RULE_administrationStatement);
try {
setState(937);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,18,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(912);
alterUser();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(913);
createUser();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(914);
dropUser();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(915);
grantStatement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(916);
grantProxy();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(917);
renameUser();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(918);
revokeStatement();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(919);
revokeProxy();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(920);
analyzeTable();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(921);
checkTable();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(922);
checksumTable();
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(923);
optimizeTable();
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(924);
repairTable();
}
break;
case 14:
enterOuterAlt(_localctx, 14);
{
setState(925);
createUdfunction();
}
break;
case 15:
enterOuterAlt(_localctx, 15);
{
setState(926);
installPlugin();
}
break;
case 16:
enterOuterAlt(_localctx, 16);
{
setState(927);
uninstallPlugin();
}
break;
case 17:
enterOuterAlt(_localctx, 17);
{
setState(928);
setStatement();
}
break;
case 18:
enterOuterAlt(_localctx, 18);
{
setState(929);
showStatement();
}
break;
case 19:
enterOuterAlt(_localctx, 19);
{
setState(930);
binlogStatement();
}
break;
case 20:
enterOuterAlt(_localctx, 20);
{
setState(931);
cacheIndexStatement();
}
break;
case 21:
enterOuterAlt(_localctx, 21);
{
setState(932);
flushStatement();
}
break;
case 22:
enterOuterAlt(_localctx, 22);
{
setState(933);
killStatement();
}
break;
case 23:
enterOuterAlt(_localctx, 23);
{
setState(934);
loadIndexIntoCache();
}
break;
case 24:
enterOuterAlt(_localctx, 24);
{
setState(935);
resetStatement();
}
break;
case 25:
enterOuterAlt(_localctx, 25);
{
setState(936);
shutdownStatement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class UtilityStatementContext extends ParserRuleContext {
public SimpleDescribeStatementContext simpleDescribeStatement() {
return getRuleContext(SimpleDescribeStatementContext.class,0);
}
public FullDescribeStatementContext fullDescribeStatement() {
return getRuleContext(FullDescribeStatementContext.class,0);
}
public HelpStatementContext helpStatement() {
return getRuleContext(HelpStatementContext.class,0);
}
public UseStatementContext useStatement() {
return getRuleContext(UseStatementContext.class,0);
}
public SignalStatementContext signalStatement() {
return getRuleContext(SignalStatementContext.class,0);
}
public ResignalStatementContext resignalStatement() {
return getRuleContext(ResignalStatementContext.class,0);
}
public DiagnosticsStatementContext diagnosticsStatement() {
return getRuleContext(DiagnosticsStatementContext.class,0);
}
public UtilityStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_utilityStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterUtilityStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitUtilityStatement(this);
}
}
public final UtilityStatementContext utilityStatement() throws RecognitionException {
UtilityStatementContext _localctx = new UtilityStatementContext(_ctx, getState());
enterRule(_localctx, 24, RULE_utilityStatement);
try {
setState(946);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,19,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(939);
simpleDescribeStatement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(940);
fullDescribeStatement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(941);
helpStatement();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(942);
useStatement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(943);
signalStatement();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(944);
resignalStatement();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(945);
diagnosticsStatement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CreateDatabaseContext extends ParserRuleContext {
public Token dbFormat;
public TerminalNode CREATE() { return getToken(MySqlParser.CREATE, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode DATABASE() { return getToken(MySqlParser.DATABASE, 0); }
public TerminalNode SCHEMA() { return getToken(MySqlParser.SCHEMA, 0); }
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public List createDatabaseOption() {
return getRuleContexts(CreateDatabaseOptionContext.class);
}
public CreateDatabaseOptionContext createDatabaseOption(int i) {
return getRuleContext(CreateDatabaseOptionContext.class,i);
}
public CreateDatabaseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createDatabase; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCreateDatabase(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCreateDatabase(this);
}
}
public final CreateDatabaseContext createDatabase() throws RecognitionException {
CreateDatabaseContext _localctx = new CreateDatabaseContext(_ctx, getState());
enterRule(_localctx, 26, RULE_createDatabase);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(948);
match(CREATE);
setState(949);
((CreateDatabaseContext)_localctx).dbFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DATABASE || _la==SCHEMA) ) {
((CreateDatabaseContext)_localctx).dbFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(951);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,20,_ctx) ) {
case 1:
{
setState(950);
ifNotExists();
}
break;
}
setState(953);
uid();
setState(957);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << CHARACTER) | (1L << COLLATE) | (1L << DEFAULT))) != 0) || _la==READ || _la==CHAR || _la==ENCRYPTION || _la==CHARSET) {
{
{
setState(954);
createDatabaseOption();
}
}
setState(959);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CreateEventContext extends ParserRuleContext {
public TerminalNode CREATE() { return getToken(MySqlParser.CREATE, 0); }
public TerminalNode EVENT() { return getToken(MySqlParser.EVENT, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public List ON() { return getTokens(MySqlParser.ON); }
public TerminalNode ON(int i) {
return getToken(MySqlParser.ON, i);
}
public TerminalNode SCHEDULE() { return getToken(MySqlParser.SCHEDULE, 0); }
public ScheduleExpressionContext scheduleExpression() {
return getRuleContext(ScheduleExpressionContext.class,0);
}
public TerminalNode DO() { return getToken(MySqlParser.DO, 0); }
public RoutineBodyContext routineBody() {
return getRuleContext(RoutineBodyContext.class,0);
}
public OwnerStatementContext ownerStatement() {
return getRuleContext(OwnerStatementContext.class,0);
}
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public TerminalNode COMPLETION() { return getToken(MySqlParser.COMPLETION, 0); }
public TerminalNode PRESERVE() { return getToken(MySqlParser.PRESERVE, 0); }
public EnableTypeContext enableType() {
return getRuleContext(EnableTypeContext.class,0);
}
public TerminalNode COMMENT() { return getToken(MySqlParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode NOT() { return getToken(MySqlParser.NOT, 0); }
public CreateEventContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createEvent; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCreateEvent(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCreateEvent(this);
}
}
public final CreateEventContext createEvent() throws RecognitionException {
CreateEventContext _localctx = new CreateEventContext(_ctx, getState());
enterRule(_localctx, 28, RULE_createEvent);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(960);
match(CREATE);
setState(962);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(961);
ownerStatement();
}
}
setState(964);
match(EVENT);
setState(966);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,23,_ctx) ) {
case 1:
{
setState(965);
ifNotExists();
}
break;
}
setState(968);
fullId();
setState(969);
match(ON);
setState(970);
match(SCHEDULE);
setState(971);
scheduleExpression();
setState(978);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ON) {
{
setState(972);
match(ON);
setState(973);
match(COMPLETION);
setState(975);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOT) {
{
setState(974);
match(NOT);
}
}
setState(977);
match(PRESERVE);
}
}
setState(981);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DISABLE || _la==ENABLE) {
{
setState(980);
enableType();
}
}
setState(985);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMENT) {
{
setState(983);
match(COMMENT);
setState(984);
match(STRING_LITERAL);
}
}
setState(987);
match(DO);
setState(988);
routineBody();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CreateIndexContext extends ParserRuleContext {
public Token intimeAction;
public Token indexCategory;
public Token algType;
public Token lockType;
public TerminalNode CREATE() { return getToken(MySqlParser.CREATE, 0); }
public TerminalNode INDEX() { return getToken(MySqlParser.INDEX, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode ON() { return getToken(MySqlParser.ON, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public OrReplaceContext orReplace() {
return getRuleContext(OrReplaceContext.class,0);
}
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public IndexTypeContext indexType() {
return getRuleContext(IndexTypeContext.class,0);
}
public WaitNowaitClauseContext waitNowaitClause() {
return getRuleContext(WaitNowaitClauseContext.class,0);
}
public List indexOption() {
return getRuleContexts(IndexOptionContext.class);
}
public IndexOptionContext indexOption(int i) {
return getRuleContext(IndexOptionContext.class,i);
}
public List ALGORITHM() { return getTokens(MySqlParser.ALGORITHM); }
public TerminalNode ALGORITHM(int i) {
return getToken(MySqlParser.ALGORITHM, i);
}
public List LOCK() { return getTokens(MySqlParser.LOCK); }
public TerminalNode LOCK(int i) {
return getToken(MySqlParser.LOCK, i);
}
public TerminalNode ONLINE() { return getToken(MySqlParser.ONLINE, 0); }
public TerminalNode OFFLINE() { return getToken(MySqlParser.OFFLINE, 0); }
public TerminalNode UNIQUE() { return getToken(MySqlParser.UNIQUE, 0); }
public TerminalNode FULLTEXT() { return getToken(MySqlParser.FULLTEXT, 0); }
public TerminalNode SPATIAL() { return getToken(MySqlParser.SPATIAL, 0); }
public List DEFAULT() { return getTokens(MySqlParser.DEFAULT); }
public TerminalNode DEFAULT(int i) {
return getToken(MySqlParser.DEFAULT, i);
}
public List INPLACE() { return getTokens(MySqlParser.INPLACE); }
public TerminalNode INPLACE(int i) {
return getToken(MySqlParser.INPLACE, i);
}
public List COPY() { return getTokens(MySqlParser.COPY); }
public TerminalNode COPY(int i) {
return getToken(MySqlParser.COPY, i);
}
public List NOCOPY() { return getTokens(MySqlParser.NOCOPY); }
public TerminalNode NOCOPY(int i) {
return getToken(MySqlParser.NOCOPY, i);
}
public List INSTANT() { return getTokens(MySqlParser.INSTANT); }
public TerminalNode INSTANT(int i) {
return getToken(MySqlParser.INSTANT, i);
}
public List NONE() { return getTokens(MySqlParser.NONE); }
public TerminalNode NONE(int i) {
return getToken(MySqlParser.NONE, i);
}
public List SHARED() { return getTokens(MySqlParser.SHARED); }
public TerminalNode SHARED(int i) {
return getToken(MySqlParser.SHARED, i);
}
public List EXCLUSIVE() { return getTokens(MySqlParser.EXCLUSIVE); }
public TerminalNode EXCLUSIVE(int i) {
return getToken(MySqlParser.EXCLUSIVE, i);
}
public List EQUAL_SYMBOL() { return getTokens(MySqlParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(MySqlParser.EQUAL_SYMBOL, i);
}
public CreateIndexContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createIndex; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCreateIndex(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCreateIndex(this);
}
}
public final CreateIndexContext createIndex() throws RecognitionException {
CreateIndexContext _localctx = new CreateIndexContext(_ctx, getState());
enterRule(_localctx, 30, RULE_createIndex);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(990);
match(CREATE);
setState(992);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(991);
orReplace();
}
}
setState(995);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OFFLINE || _la==ONLINE) {
{
setState(994);
((CreateIndexContext)_localctx).intimeAction = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==OFFLINE || _la==ONLINE) ) {
((CreateIndexContext)_localctx).intimeAction = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(998);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FULLTEXT || _la==SPATIAL || _la==UNIQUE) {
{
setState(997);
((CreateIndexContext)_localctx).indexCategory = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==FULLTEXT || _la==SPATIAL || _la==UNIQUE) ) {
((CreateIndexContext)_localctx).indexCategory = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(1000);
match(INDEX);
setState(1002);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,31,_ctx) ) {
case 1:
{
setState(1001);
ifNotExists();
}
break;
}
setState(1004);
uid();
setState(1006);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==USING) {
{
setState(1005);
indexType();
}
}
setState(1008);
match(ON);
setState(1009);
tableName();
setState(1010);
indexColumnNames();
setState(1012);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOWAIT || _la==WAIT) {
{
setState(1011);
waitNowaitClause();
}
}
setState(1017);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,34,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(1014);
indexOption();
}
}
}
setState(1019);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,34,_ctx);
}
setState(1032);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,38,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
setState(1030);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ALGORITHM:
{
setState(1020);
match(ALGORITHM);
setState(1022);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1021);
match(EQUAL_SYMBOL);
}
}
setState(1024);
((CreateIndexContext)_localctx).algType = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DEFAULT || _la==COPY || _la==INPLACE || _la==INSTANT || _la==NOCOPY) ) {
((CreateIndexContext)_localctx).algType = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case LOCK:
{
setState(1025);
match(LOCK);
setState(1027);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1026);
match(EQUAL_SYMBOL);
}
}
setState(1029);
((CreateIndexContext)_localctx).lockType = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DEFAULT || _la==EXCLUSIVE || _la==NONE || _la==SHARED) ) {
((CreateIndexContext)_localctx).lockType = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
default:
throw new NoViableAltException(this);
}
}
}
setState(1034);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,38,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CreateLogfileGroupContext extends ParserRuleContext {
public Token undoFile;
public FileSizeLiteralContext initSize;
public FileSizeLiteralContext undoSize;
public FileSizeLiteralContext redoSize;
public Token comment;
public TerminalNode CREATE() { return getToken(MySqlParser.CREATE, 0); }
public TerminalNode LOGFILE() { return getToken(MySqlParser.LOGFILE, 0); }
public TerminalNode GROUP() { return getToken(MySqlParser.GROUP, 0); }
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public TerminalNode ADD() { return getToken(MySqlParser.ADD, 0); }
public TerminalNode UNDOFILE() { return getToken(MySqlParser.UNDOFILE, 0); }
public TerminalNode ENGINE() { return getToken(MySqlParser.ENGINE, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public List STRING_LITERAL() { return getTokens(MySqlParser.STRING_LITERAL); }
public TerminalNode STRING_LITERAL(int i) {
return getToken(MySqlParser.STRING_LITERAL, i);
}
public TerminalNode INITIAL_SIZE() { return getToken(MySqlParser.INITIAL_SIZE, 0); }
public TerminalNode UNDO_BUFFER_SIZE() { return getToken(MySqlParser.UNDO_BUFFER_SIZE, 0); }
public TerminalNode REDO_BUFFER_SIZE() { return getToken(MySqlParser.REDO_BUFFER_SIZE, 0); }
public TerminalNode NODEGROUP() { return getToken(MySqlParser.NODEGROUP, 0); }
public TerminalNode WAIT() { return getToken(MySqlParser.WAIT, 0); }
public TerminalNode COMMENT() { return getToken(MySqlParser.COMMENT, 0); }
public List EQUAL_SYMBOL() { return getTokens(MySqlParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(MySqlParser.EQUAL_SYMBOL, i);
}
public List fileSizeLiteral() {
return getRuleContexts(FileSizeLiteralContext.class);
}
public FileSizeLiteralContext fileSizeLiteral(int i) {
return getRuleContext(FileSizeLiteralContext.class,i);
}
public CreateLogfileGroupContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createLogfileGroup; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCreateLogfileGroup(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCreateLogfileGroup(this);
}
}
public final CreateLogfileGroupContext createLogfileGroup() throws RecognitionException {
CreateLogfileGroupContext _localctx = new CreateLogfileGroupContext(_ctx, getState());
enterRule(_localctx, 32, RULE_createLogfileGroup);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1035);
match(CREATE);
setState(1036);
match(LOGFILE);
setState(1037);
match(GROUP);
setState(1038);
uid();
setState(1039);
match(ADD);
setState(1040);
match(UNDOFILE);
setState(1041);
((CreateLogfileGroupContext)_localctx).undoFile = match(STRING_LITERAL);
setState(1047);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INITIAL_SIZE) {
{
setState(1042);
match(INITIAL_SIZE);
setState(1044);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1043);
match(EQUAL_SYMBOL);
}
}
setState(1046);
((CreateLogfileGroupContext)_localctx).initSize = fileSizeLiteral();
}
}
setState(1054);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==UNDO_BUFFER_SIZE) {
{
setState(1049);
match(UNDO_BUFFER_SIZE);
setState(1051);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1050);
match(EQUAL_SYMBOL);
}
}
setState(1053);
((CreateLogfileGroupContext)_localctx).undoSize = fileSizeLiteral();
}
}
setState(1061);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==REDO_BUFFER_SIZE) {
{
setState(1056);
match(REDO_BUFFER_SIZE);
setState(1058);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1057);
match(EQUAL_SYMBOL);
}
}
setState(1060);
((CreateLogfileGroupContext)_localctx).redoSize = fileSizeLiteral();
}
}
setState(1068);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NODEGROUP) {
{
setState(1063);
match(NODEGROUP);
setState(1065);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1064);
match(EQUAL_SYMBOL);
}
}
setState(1067);
uid();
}
}
setState(1071);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WAIT) {
{
setState(1070);
match(WAIT);
}
}
setState(1078);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMENT) {
{
setState(1073);
match(COMMENT);
setState(1075);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1074);
match(EQUAL_SYMBOL);
}
}
setState(1077);
((CreateLogfileGroupContext)_localctx).comment = match(STRING_LITERAL);
}
}
setState(1080);
match(ENGINE);
setState(1082);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1081);
match(EQUAL_SYMBOL);
}
}
setState(1084);
engineName();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CreateProcedureContext extends ParserRuleContext {
public TerminalNode CREATE() { return getToken(MySqlParser.CREATE, 0); }
public TerminalNode PROCEDURE() { return getToken(MySqlParser.PROCEDURE, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public RoutineBodyContext routineBody() {
return getRuleContext(RoutineBodyContext.class,0);
}
public OrReplaceContext orReplace() {
return getRuleContext(OrReplaceContext.class,0);
}
public OwnerStatementContext ownerStatement() {
return getRuleContext(OwnerStatementContext.class,0);
}
public List procedureParameter() {
return getRuleContexts(ProcedureParameterContext.class);
}
public ProcedureParameterContext procedureParameter(int i) {
return getRuleContext(ProcedureParameterContext.class,i);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public List routineOption() {
return getRuleContexts(RoutineOptionContext.class);
}
public RoutineOptionContext routineOption(int i) {
return getRuleContext(RoutineOptionContext.class,i);
}
public CreateProcedureContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createProcedure; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCreateProcedure(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCreateProcedure(this);
}
}
public final CreateProcedureContext createProcedure() throws RecognitionException {
CreateProcedureContext _localctx = new CreateProcedureContext(_ctx, getState());
enterRule(_localctx, 34, RULE_createProcedure);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(1086);
match(CREATE);
setState(1088);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1087);
orReplace();
}
}
setState(1091);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(1090);
ownerStatement();
}
}
setState(1093);
match(PROCEDURE);
setState(1094);
fullId();
setState(1095);
match(LR_BRACKET);
setState(1097);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (IN - 74)) | (1L << (INOUT - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (OUT - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(1096);
procedureParameter();
}
}
setState(1103);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1099);
match(COMMA);
setState(1100);
procedureParameter();
}
}
setState(1105);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1106);
match(RR_BRACKET);
setState(1110);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,55,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(1107);
routineOption();
}
}
}
setState(1112);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,55,_ctx);
}
setState(1113);
routineBody();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CreateFunctionContext extends ParserRuleContext {
public TerminalNode CREATE() { return getToken(MySqlParser.CREATE, 0); }
public TerminalNode FUNCTION() { return getToken(MySqlParser.FUNCTION, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode RETURNS() { return getToken(MySqlParser.RETURNS, 0); }
public DataTypeContext dataType() {
return getRuleContext(DataTypeContext.class,0);
}
public RoutineBodyContext routineBody() {
return getRuleContext(RoutineBodyContext.class,0);
}
public ReturnStatementContext returnStatement() {
return getRuleContext(ReturnStatementContext.class,0);
}
public OrReplaceContext orReplace() {
return getRuleContext(OrReplaceContext.class,0);
}
public OwnerStatementContext ownerStatement() {
return getRuleContext(OwnerStatementContext.class,0);
}
public TerminalNode AGGREGATE() { return getToken(MySqlParser.AGGREGATE, 0); }
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public List functionParameter() {
return getRuleContexts(FunctionParameterContext.class);
}
public FunctionParameterContext functionParameter(int i) {
return getRuleContext(FunctionParameterContext.class,i);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public List routineOption() {
return getRuleContexts(RoutineOptionContext.class);
}
public RoutineOptionContext routineOption(int i) {
return getRuleContext(RoutineOptionContext.class,i);
}
public CreateFunctionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createFunction; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCreateFunction(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCreateFunction(this);
}
}
public final CreateFunctionContext createFunction() throws RecognitionException {
CreateFunctionContext _localctx = new CreateFunctionContext(_ctx, getState());
enterRule(_localctx, 36, RULE_createFunction);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(1115);
match(CREATE);
setState(1117);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1116);
orReplace();
}
}
setState(1120);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(1119);
ownerStatement();
}
}
setState(1123);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AGGREGATE) {
{
setState(1122);
match(AGGREGATE);
}
}
setState(1125);
match(FUNCTION);
setState(1127);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,59,_ctx) ) {
case 1:
{
setState(1126);
ifNotExists();
}
break;
}
setState(1129);
fullId();
setState(1130);
match(LR_BRACKET);
setState(1132);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(1131);
functionParameter();
}
}
setState(1138);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1134);
match(COMMA);
setState(1135);
functionParameter();
}
}
setState(1140);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1141);
match(RR_BRACKET);
setState(1142);
match(RETURNS);
setState(1143);
dataType();
setState(1147);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,62,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(1144);
routineOption();
}
}
}
setState(1149);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,62,_ctx);
}
setState(1152);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ALTER:
case ANALYZE:
case ARRAY:
case ATTRIBUTE:
case BUCKETS:
case CALL:
case CHANGE:
case CHECK:
case CONDITION:
case CREATE:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DELETE:
case DESC:
case DESCRIBE:
case DIAGNOSTICS:
case DROP:
case EMPTY:
case ENFORCED:
case EXCEPT:
case EXPLAIN:
case GET:
case GRANT:
case GROUP:
case GROUP_REPLICATION_STREAM:
case IF:
case IGNORED:
case INSERT:
case KILL:
case LATERAL:
case LEFT:
case LOAD:
case LOCK:
case LOCKED:
case MAXVALUE:
case MINVALUE:
case NUMBER:
case OPTIMIZE:
case OPTIONAL:
case ORDER:
case PRIMARY:
case PURGE:
case RELEASE:
case RENAME:
case REPEAT:
case REPLACE:
case RESIGNAL:
case REVOKE:
case RIGHT:
case SCHEMA:
case SELECT:
case SET:
case SHOW:
case SIGNAL:
case SKIP_:
case SKIP_QUERY_REWRITE:
case STACKED:
case STATEMENT:
case TABLE:
case UNLOCK:
case UPDATE:
case USE:
case VALUES:
case WITH:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
case NATIONAL:
case BINARY:
case TEXT:
case ENUM:
case SERIAL:
case JSON_ARRAY:
case JSON_ARRAYAGG:
case JSON_ARRAY_APPEND:
case JSON_ARRAY_INSERT:
case JSON_CONTAINS:
case JSON_CONTAINS_PATH:
case JSON_DEPTH:
case JSON_EXTRACT:
case JSON_INSERT:
case JSON_KEYS:
case JSON_LENGTH:
case JSON_MERGE:
case JSON_MERGE_PATCH:
case JSON_MERGE_PRESERVE:
case JSON_OBJECT:
case JSON_OBJECTAGG:
case JSON_OVERLAPS:
case JSON_PRETTY:
case JSON_QUOTE:
case JSON_REMOVE:
case JSON_REPLACE:
case JSON_SCHEMA_VALID:
case JSON_SCHEMA_VALIDATION_REPORT:
case JSON_SEARCH:
case JSON_SET:
case JSON_STORAGE_FREE:
case JSON_STORAGE_SIZE:
case JSON_TABLE:
case JSON_TYPE:
case JSON_UNQUOTE:
case JSON_VALID:
case JSON_VALUE:
case NESTED:
case ORDINALITY:
case PATH:
case AVG:
case BIT_AND:
case BIT_OR:
case BIT_XOR:
case COUNT:
case CUME_DIST:
case DENSE_RANK:
case FIRST_VALUE:
case GROUP_CONCAT:
case LAG:
case LAST_VALUE:
case LEAD:
case MAX:
case MIN:
case NTILE:
case NTH_VALUE:
case PERCENT_RANK:
case RANK:
case ROW_NUMBER:
case STD:
case STDDEV:
case STDDEV_POP:
case STDDEV_SAMP:
case SUM:
case VAR_POP:
case VAR_SAMP:
case VARIANCE:
case CURRENT_DATE:
case CURRENT_TIME:
case CURRENT_TIMESTAMP:
case LOCALTIME:
case CURDATE:
case CURTIME:
case DATE_ADD:
case DATE_SUB:
case LOCALTIMESTAMP:
case NOW:
case POSITION:
case SUBSTR:
case SUBSTRING:
case SYSDATE:
case TRIM:
case UTC_DATE:
case UTC_TIME:
case UTC_TIMESTAMP:
case ACCOUNT:
case ACTION:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ANY:
case AT:
case AUTHORS:
case AUTOCOMMIT:
case AUTOEXTEND_SIZE:
case AUTO_INCREMENT:
case AVG_ROW_LENGTH:
case BEGIN:
case BINLOG:
case BIT:
case BLOCK:
case BOOL:
case BOOLEAN:
case BTREE:
case CACHE:
case CASCADED:
case CHAIN:
case CHANGED:
case CHANNEL:
case CHECKSUM:
case PAGE_CHECKSUM:
case CIPHER:
case CLASS_ORIGIN:
case CLIENT:
case CLOSE:
case CLUSTERING:
case COALESCE:
case CODE:
case COLUMNS:
case COLUMN_FORMAT:
case COLUMN_NAME:
case COMMENT:
case COMMIT:
case COMPACT:
case COMPLETION:
case COMPRESSED:
case COMPRESSION:
case CONCURRENT:
case CONNECT:
case CONNECTION:
case CONSISTENT:
case CONSTRAINT_CATALOG:
case CONSTRAINT_SCHEMA:
case CONSTRAINT_NAME:
case CONTAINS:
case CONTEXT:
case CONTRIBUTORS:
case COPY:
case CPU:
case CYCLE:
case CURSOR_NAME:
case DATA:
case DATAFILE:
case DEALLOCATE:
case DEFAULT_AUTH:
case DEFINER:
case DELAY_KEY_WRITE:
case DES_KEY_FILE:
case DIRECTORY:
case DISABLE:
case DISCARD:
case DISK:
case DO:
case DUMPFILE:
case DUPLICATE:
case DYNAMIC:
case ENABLE:
case ENCRYPTED:
case ENCRYPTION:
case ENCRYPTION_KEY_ID:
case END:
case ENDS:
case ENGINE:
case ENGINES:
case ERROR:
case ERRORS:
case ESCAPE:
case EVEN:
case EVENT:
case EVENTS:
case EVERY:
case EXCHANGE:
case EXCLUSIVE:
case EXPIRE:
case EXPORT:
case EXTENDED:
case EXTENT_SIZE:
case FAILED_LOGIN_ATTEMPTS:
case FAST:
case FAULTS:
case FIELDS:
case FILE_BLOCK_SIZE:
case FILTER:
case FIRST:
case FIXED:
case FLUSH:
case FOLLOWS:
case FOUND:
case FULL:
case FUNCTION:
case GENERAL:
case GLOBAL:
case GRANTS:
case GROUP_REPLICATION:
case HANDLER:
case HASH:
case HELP:
case HISTORY:
case HOST:
case HOSTS:
case IDENTIFIED:
case IGNORE_SERVER_IDS:
case IMPORT:
case INCREMENT:
case INDEXES:
case INITIAL_SIZE:
case INPLACE:
case INSERT_METHOD:
case INSTALL:
case INSTANCE:
case INSTANT:
case INVISIBLE:
case INVOKER:
case IO:
case IO_THREAD:
case IPC:
case ISOLATION:
case ISSUER:
case JSON:
case KEY_BLOCK_SIZE:
case LANGUAGE:
case LAST:
case LEAVES:
case LESS:
case LEVEL:
case LIST:
case LOCAL:
case LOGFILE:
case LOGS:
case MASTER:
case MASTER_AUTO_POSITION:
case MASTER_CONNECT_RETRY:
case MASTER_DELAY:
case MASTER_HEARTBEAT_PERIOD:
case MASTER_HOST:
case MASTER_LOG_FILE:
case MASTER_LOG_POS:
case MASTER_PASSWORD:
case MASTER_PORT:
case MASTER_RETRY_COUNT:
case MASTER_SSL:
case MASTER_SSL_CA:
case MASTER_SSL_CAPATH:
case MASTER_SSL_CERT:
case MASTER_SSL_CIPHER:
case MASTER_SSL_CRL:
case MASTER_SSL_CRLPATH:
case MASTER_SSL_KEY:
case MASTER_TLS_VERSION:
case MASTER_USER:
case MAX_CONNECTIONS_PER_HOUR:
case MAX_QUERIES_PER_HOUR:
case MAX_ROWS:
case MAX_SIZE:
case MAX_UPDATES_PER_HOUR:
case MAX_USER_CONNECTIONS:
case MEDIUM:
case MEMBER:
case MERGE:
case MESSAGE_TEXT:
case MID:
case MIGRATE:
case MIN_ROWS:
case MODE:
case MODIFY:
case MUTEX:
case MYSQL:
case MYSQL_ERRNO:
case NAME:
case NAMES:
case NCHAR:
case NEVER:
case NEXT:
case NO:
case NOCACHE:
case NOCOPY:
case NOCYCLE:
case NOMAXVALUE:
case NOMINVALUE:
case NOWAIT:
case NODEGROUP:
case NONE:
case ODBC:
case OFFLINE:
case OFFSET:
case OF:
case OJ:
case OLD_PASSWORD:
case ONE:
case ONLINE:
case ONLY:
case OPEN:
case OPTIMIZER_COSTS:
case OPTIONS:
case OWNER:
case PACK_KEYS:
case PAGE:
case PARSER:
case PARTIAL:
case PARTITIONING:
case PARTITIONS:
case PASSWORD:
case PASSWORD_LOCK_TIME:
case PHASE:
case PLUGIN:
case PLUGIN_DIR:
case PLUGINS:
case PORT:
case PRECEDES:
case PREPARE:
case PRESERVE:
case PREV:
case PROCESSLIST:
case PROFILE:
case PROFILES:
case PROXY:
case QUERY:
case QUICK:
case REBUILD:
case RECOVER:
case RECURSIVE:
case REDO_BUFFER_SIZE:
case REDUNDANT:
case RELAY:
case RELAY_LOG_FILE:
case RELAY_LOG_POS:
case RELAYLOG:
case REMOVE:
case REORGANIZE:
case REPAIR:
case REPLICATE_DO_DB:
case REPLICATE_DO_TABLE:
case REPLICATE_IGNORE_DB:
case REPLICATE_IGNORE_TABLE:
case REPLICATE_REWRITE_DB:
case REPLICATE_WILD_DO_TABLE:
case REPLICATE_WILD_IGNORE_TABLE:
case REPLICATION:
case RESET:
case RESTART:
case RESUME:
case RETURNED_SQLSTATE:
case RETURNING:
case RETURNS:
case REUSE:
case ROLE:
case ROLLBACK:
case ROLLUP:
case ROTATE:
case ROW:
case ROWS:
case ROW_FORMAT:
case RTREE:
case SAVEPOINT:
case SCHEDULE:
case SECURITY:
case SEQUENCE:
case SERVER:
case SESSION:
case SHARE:
case SHARED:
case SIGNED:
case SIMPLE:
case SLAVE:
case SLOW:
case SNAPSHOT:
case SOCKET:
case SOME:
case SONAME:
case SOUNDS:
case SOURCE:
case SQL_AFTER_GTIDS:
case SQL_AFTER_MTS_GAPS:
case SQL_BEFORE_GTIDS:
case SQL_BUFFER_RESULT:
case SQL_CACHE:
case SQL_NO_CACHE:
case SQL_THREAD:
case START:
case STARTS:
case STATS_AUTO_RECALC:
case STATS_PERSISTENT:
case STATS_SAMPLE_PAGES:
case STATUS:
case STOP:
case STORAGE:
case STRING:
case SUBCLASS_ORIGIN:
case SUBJECT:
case SUBPARTITION:
case SUBPARTITIONS:
case SUSPEND:
case SWAPS:
case SWITCHES:
case TABLE_NAME:
case TABLESPACE:
case TABLE_TYPE:
case TEMPORARY:
case TEMPTABLE:
case THAN:
case TRADITIONAL:
case TRANSACTION:
case TRANSACTIONAL:
case TRIGGERS:
case TRUNCATE:
case UNBOUNDED:
case UNDEFINED:
case UNDOFILE:
case UNDO_BUFFER_SIZE:
case UNINSTALL:
case UNKNOWN:
case UNTIL:
case UPGRADE:
case USER:
case USE_FRM:
case USER_RESOURCES:
case VALIDATION:
case VALUE:
case VARIABLES:
case VIEW:
case VIRTUAL:
case VISIBLE:
case WAIT:
case WARNINGS:
case WITHOUT:
case WORK:
case WRAPPER:
case X509:
case XA:
case XML:
case YES:
case EUR:
case USA:
case JIS:
case ISO:
case INTERNAL:
case QUARTER:
case MONTH:
case DAY:
case HOUR:
case MINUTE:
case WEEK:
case SECOND:
case MICROSECOND:
case USER_STATISTICS:
case CLIENT_STATISTICS:
case INDEX_STATISTICS:
case TABLE_STATISTICS:
case FIREWALL_RULES:
case ADMIN:
case APPLICATION_PASSWORD_ADMIN:
case AUDIT_ADMIN:
case AUDIT_ABORT_EXEMPT:
case AUTHENTICATION_POLICY_ADMIN:
case BACKUP_ADMIN:
case BINLOG_ADMIN:
case BINLOG_ENCRYPTION_ADMIN:
case CLONE_ADMIN:
case CONNECTION_ADMIN:
case ENCRYPTION_KEY_ADMIN:
case EXECUTE:
case FILE:
case FIREWALL_ADMIN:
case FIREWALL_EXEMPT:
case FIREWALL_USER:
case FLUSH_OPTIMIZER_COSTS:
case FLUSH_STATUS:
case FLUSH_TABLES:
case FLUSH_USER_RESOURCES:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
case INNODB_REDO_LOG_ENABLE:
case INVOKE:
case LAMBDA:
case NDB_STORED_USER:
case PASSWORDLESS_USER_ADMIN:
case PERSIST_RO_VARIABLES_ADMIN:
case PRIVILEGES:
case PROCESS:
case RELOAD:
case REPLICATION_APPLIER:
case REPLICATION_SLAVE_ADMIN:
case RESOURCE_GROUP_ADMIN:
case RESOURCE_GROUP_USER:
case ROLE_ADMIN:
case ROUTINE:
case S3:
case SESSION_VARIABLES_ADMIN:
case SET_USER_ID:
case SHOW_ROUTINE:
case SHUTDOWN:
case SUPER:
case SYSTEM_VARIABLES_ADMIN:
case TABLES:
case TABLE_ENCRYPTION_ADMIN:
case VERSION_TOKEN_ADMIN:
case XA_RECOVER_ADMIN:
case ARMSCII8:
case ASCII:
case BIG5:
case CP1250:
case CP1251:
case CP1256:
case CP1257:
case CP850:
case CP852:
case CP866:
case CP932:
case DEC8:
case EUCJPMS:
case EUCKR:
case GB18030:
case GB2312:
case GBK:
case GEOSTD8:
case GREEK:
case HEBREW:
case HP8:
case KEYBCS2:
case KOI8R:
case KOI8U:
case LATIN1:
case LATIN2:
case LATIN5:
case LATIN7:
case MACCE:
case MACROMAN:
case SJIS:
case SWE7:
case TIS620:
case UCS2:
case UJIS:
case UTF16:
case UTF16LE:
case UTF32:
case UTF8:
case UTF8MB3:
case UTF8MB4:
case ARCHIVE:
case BLACKHOLE:
case CSV:
case FEDERATED:
case INNODB:
case MEMORY:
case MRG_MYISAM:
case MYISAM:
case NDB:
case NDBCLUSTER:
case PERFORMANCE_SCHEMA:
case TOKUDB:
case REPEATABLE:
case COMMITTED:
case UNCOMMITTED:
case SERIALIZABLE:
case GEOMETRYCOLLECTION:
case GEOMETRY:
case LINESTRING:
case MULTILINESTRING:
case MULTIPOINT:
case MULTIPOLYGON:
case POINT:
case POLYGON:
case ABS:
case ACOS:
case ADDDATE:
case ADDTIME:
case AES_DECRYPT:
case AES_ENCRYPT:
case AREA:
case ASBINARY:
case ASIN:
case ASTEXT:
case ASWKB:
case ASWKT:
case ASYMMETRIC_DECRYPT:
case ASYMMETRIC_DERIVE:
case ASYMMETRIC_ENCRYPT:
case ASYMMETRIC_SIGN:
case ASYMMETRIC_VERIFY:
case ATAN:
case ATAN2:
case BENCHMARK:
case BIN:
case BIT_COUNT:
case BIT_LENGTH:
case BUFFER:
case CATALOG_NAME:
case CEIL:
case CEILING:
case CENTROID:
case CHARACTER_LENGTH:
case CHARSET:
case CHAR_LENGTH:
case COERCIBILITY:
case COLLATION:
case COMPRESS:
case CONCAT:
case CONCAT_WS:
case CONNECTION_ID:
case CONV:
case CONVERT_TZ:
case COS:
case COT:
case CRC32:
case CREATE_ASYMMETRIC_PRIV_KEY:
case CREATE_ASYMMETRIC_PUB_KEY:
case CREATE_DH_PARAMETERS:
case CREATE_DIGEST:
case CROSSES:
case DATEDIFF:
case DATE_FORMAT:
case DAYNAME:
case DAYOFMONTH:
case DAYOFWEEK:
case DAYOFYEAR:
case DECODE:
case DEGREES:
case DES_DECRYPT:
case DES_ENCRYPT:
case DIMENSION:
case DISJOINT:
case ELT:
case ENCODE:
case ENCRYPT:
case ENDPOINT:
case ENGINE_ATTRIBUTE:
case ENVELOPE:
case EQUALS:
case EXP:
case EXPORT_SET:
case EXTERIORRING:
case EXTRACTVALUE:
case FIELD:
case FIND_IN_SET:
case FLOOR:
case FORMAT:
case FOUND_ROWS:
case FROM_BASE64:
case FROM_DAYS:
case FROM_UNIXTIME:
case GEOMCOLLFROMTEXT:
case GEOMCOLLFROMWKB:
case GEOMETRYCOLLECTIONFROMTEXT:
case GEOMETRYCOLLECTIONFROMWKB:
case GEOMETRYFROMTEXT:
case GEOMETRYFROMWKB:
case GEOMETRYN:
case GEOMETRYTYPE:
case GEOMFROMTEXT:
case GEOMFROMWKB:
case GET_FORMAT:
case GET_LOCK:
case GLENGTH:
case GREATEST:
case GTID_SUBSET:
case GTID_SUBTRACT:
case HEX:
case IFNULL:
case INET6_ATON:
case INET6_NTOA:
case INET_ATON:
case INET_NTOA:
case INSTR:
case INTERIORRINGN:
case INTERSECTS:
case ISCLOSED:
case ISEMPTY:
case ISNULL:
case ISSIMPLE:
case IS_FREE_LOCK:
case IS_IPV4:
case IS_IPV4_COMPAT:
case IS_IPV4_MAPPED:
case IS_IPV6:
case IS_USED_LOCK:
case LAST_INSERT_ID:
case LCASE:
case LEAST:
case LENGTH:
case LINEFROMTEXT:
case LINEFROMWKB:
case LINESTRINGFROMTEXT:
case LINESTRINGFROMWKB:
case LN:
case LOAD_FILE:
case LOCATE:
case LOG:
case LOG10:
case LOG2:
case LOWER:
case LPAD:
case LTRIM:
case MAKEDATE:
case MAKETIME:
case MAKE_SET:
case MASTER_POS_WAIT:
case MBRCONTAINS:
case MBRDISJOINT:
case MBREQUAL:
case MBRINTERSECTS:
case MBROVERLAPS:
case MBRTOUCHES:
case MBRWITHIN:
case MD5:
case MLINEFROMTEXT:
case MLINEFROMWKB:
case MONTHNAME:
case MPOINTFROMTEXT:
case MPOINTFROMWKB:
case MPOLYFROMTEXT:
case MPOLYFROMWKB:
case MULTILINESTRINGFROMTEXT:
case MULTILINESTRINGFROMWKB:
case MULTIPOINTFROMTEXT:
case MULTIPOINTFROMWKB:
case MULTIPOLYGONFROMTEXT:
case MULTIPOLYGONFROMWKB:
case NAME_CONST:
case NULLIF:
case NUMGEOMETRIES:
case NUMINTERIORRINGS:
case NUMPOINTS:
case OCT:
case OCTET_LENGTH:
case ORD:
case OVERLAPS:
case PERIOD_ADD:
case PERIOD_DIFF:
case PI:
case POINTFROMTEXT:
case POINTFROMWKB:
case POINTN:
case POLYFROMTEXT:
case POLYFROMWKB:
case POLYGONFROMTEXT:
case POLYGONFROMWKB:
case POW:
case POWER:
case QUOTE:
case RADIANS:
case RAND:
case RANDOM:
case RANDOM_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
case SENSITIVE_VARIABLES_OBSERVER:
case SESSION_USER:
case SHA:
case SHA1:
case SHA2:
case SCHEMA_NAME:
case SIGN:
case SIN:
case SLEEP:
case SOUNDEX:
case SQL_THREAD_WAIT_AFTER_GTIDS:
case SQRT:
case SRID:
case STARTPOINT:
case STRCMP:
case STR_TO_DATE:
case ST_AREA:
case ST_ASBINARY:
case ST_ASTEXT:
case ST_ASWKB:
case ST_ASWKT:
case ST_BUFFER:
case ST_CENTROID:
case ST_CONTAINS:
case ST_CROSSES:
case ST_DIFFERENCE:
case ST_DIMENSION:
case ST_DISJOINT:
case ST_DISTANCE:
case ST_ENDPOINT:
case ST_ENVELOPE:
case ST_EQUALS:
case ST_EXTERIORRING:
case ST_GEOMCOLLFROMTEXT:
case ST_GEOMCOLLFROMTXT:
case ST_GEOMCOLLFROMWKB:
case ST_GEOMETRYCOLLECTIONFROMTEXT:
case ST_GEOMETRYCOLLECTIONFROMWKB:
case ST_GEOMETRYFROMTEXT:
case ST_GEOMETRYFROMWKB:
case ST_GEOMETRYN:
case ST_GEOMETRYTYPE:
case ST_GEOMFROMTEXT:
case ST_GEOMFROMWKB:
case ST_INTERIORRINGN:
case ST_INTERSECTION:
case ST_INTERSECTS:
case ST_ISCLOSED:
case ST_ISEMPTY:
case ST_ISSIMPLE:
case ST_LINEFROMTEXT:
case ST_LINEFROMWKB:
case ST_LINESTRINGFROMTEXT:
case ST_LINESTRINGFROMWKB:
case ST_NUMGEOMETRIES:
case ST_NUMINTERIORRING:
case ST_NUMINTERIORRINGS:
case ST_NUMPOINTS:
case ST_OVERLAPS:
case ST_POINTFROMTEXT:
case ST_POINTFROMWKB:
case ST_POINTN:
case ST_POLYFROMTEXT:
case ST_POLYFROMWKB:
case ST_POLYGONFROMTEXT:
case ST_POLYGONFROMWKB:
case ST_SRID:
case ST_STARTPOINT:
case ST_SYMDIFFERENCE:
case ST_TOUCHES:
case ST_UNION:
case ST_WITHIN:
case ST_X:
case ST_Y:
case SUBDATE:
case SUBSTRING_INDEX:
case SUBTIME:
case SYSTEM_USER:
case SYSTEM:
case TAN:
case TELEMETRY_LOG_ADMIN:
case TIMEDIFF:
case TIMESTAMPADD:
case TIMESTAMPDIFF:
case TIME_FORMAT:
case TIME_TO_SEC:
case TOUCHES:
case TO_BASE64:
case TO_DAYS:
case TO_SECONDS:
case TP_CONNECTION_ADMIN:
case UCASE:
case UNCOMPRESS:
case UNCOMPRESSED_LENGTH:
case UNHEX:
case UNIX_TIMESTAMP:
case UPDATEXML:
case UPPER:
case UUID:
case UUID_SHORT:
case VALIDATE_PASSWORD_STRENGTH:
case VERSION:
case VERSIONING:
case WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS:
case WEEKDAY:
case WEEKOFYEAR:
case WEIGHT_STRING:
case WITHIN:
case YEARWEEK:
case Y_FUNCTION:
case X_FUNCTION:
case VIA:
case LASTVAL:
case NEXTVAL:
case SETVAL:
case PREVIOUS:
case PERSISTENT:
case BINLOG_MONITOR:
case BINLOG_REPLAY:
case FEDERATED_ADMIN:
case READ_ONLY_ADMIN:
case REPLICA:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case LR_BRACKET:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
{
setState(1150);
routineBody();
}
break;
case RETURN:
{
setState(1151);
returnStatement();
}
break;
default:
throw new NoViableAltException(this);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CreateRoleContext extends ParserRuleContext {
public TerminalNode CREATE() { return getToken(MySqlParser.CREATE, 0); }
public TerminalNode ROLE() { return getToken(MySqlParser.ROLE, 0); }
public List roleName() {
return getRuleContexts(RoleNameContext.class);
}
public RoleNameContext roleName(int i) {
return getRuleContext(RoleNameContext.class,i);
}
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public CreateRoleContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createRole; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCreateRole(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCreateRole(this);
}
}
public final CreateRoleContext createRole() throws RecognitionException {
CreateRoleContext _localctx = new CreateRoleContext(_ctx, getState());
enterRule(_localctx, 38, RULE_createRole);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1154);
match(CREATE);
setState(1155);
match(ROLE);
setState(1157);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,64,_ctx) ) {
case 1:
{
setState(1156);
ifNotExists();
}
break;
}
setState(1159);
roleName();
setState(1164);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1160);
match(COMMA);
setState(1161);
roleName();
}
}
setState(1166);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CreateServerContext extends ParserRuleContext {
public Token wrapperName;
public TerminalNode CREATE() { return getToken(MySqlParser.CREATE, 0); }
public TerminalNode SERVER() { return getToken(MySqlParser.SERVER, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode FOREIGN() { return getToken(MySqlParser.FOREIGN, 0); }
public TerminalNode DATA() { return getToken(MySqlParser.DATA, 0); }
public TerminalNode WRAPPER() { return getToken(MySqlParser.WRAPPER, 0); }
public TerminalNode OPTIONS() { return getToken(MySqlParser.OPTIONS, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public List serverOption() {
return getRuleContexts(ServerOptionContext.class);
}
public ServerOptionContext serverOption(int i) {
return getRuleContext(ServerOptionContext.class,i);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode MYSQL() { return getToken(MySqlParser.MYSQL, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public CreateServerContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createServer; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCreateServer(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCreateServer(this);
}
}
public final CreateServerContext createServer() throws RecognitionException {
CreateServerContext _localctx = new CreateServerContext(_ctx, getState());
enterRule(_localctx, 40, RULE_createServer);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1167);
match(CREATE);
setState(1168);
match(SERVER);
setState(1169);
uid();
setState(1170);
match(FOREIGN);
setState(1171);
match(DATA);
setState(1172);
match(WRAPPER);
setState(1173);
((CreateServerContext)_localctx).wrapperName = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==MYSQL || _la==STRING_LITERAL) ) {
((CreateServerContext)_localctx).wrapperName = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(1174);
match(OPTIONS);
setState(1175);
match(LR_BRACKET);
setState(1176);
serverOption();
setState(1181);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1177);
match(COMMA);
setState(1178);
serverOption();
}
}
setState(1183);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1184);
match(RR_BRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CreateTableContext extends ParserRuleContext {
public CreateTableContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createTable; }
public CreateTableContext() { }
public void copyFrom(CreateTableContext ctx) {
super.copyFrom(ctx);
}
}
public static class CopyCreateTableContext extends CreateTableContext {
public TableNameContext parenthesisTable;
public TerminalNode CREATE() { return getToken(MySqlParser.CREATE, 0); }
public TerminalNode TABLE() { return getToken(MySqlParser.TABLE, 0); }
public List tableName() {
return getRuleContexts(TableNameContext.class);
}
public TableNameContext tableName(int i) {
return getRuleContext(TableNameContext.class,i);
}
public TerminalNode LIKE() { return getToken(MySqlParser.LIKE, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public OrReplaceContext orReplace() {
return getRuleContext(OrReplaceContext.class,0);
}
public TerminalNode TEMPORARY() { return getToken(MySqlParser.TEMPORARY, 0); }
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public CopyCreateTableContext(CreateTableContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCopyCreateTable(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCopyCreateTable(this);
}
}
public static class ColumnCreateTableContext extends CreateTableContext {
public TerminalNode CREATE() { return getToken(MySqlParser.CREATE, 0); }
public TerminalNode TABLE() { return getToken(MySqlParser.TABLE, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public CreateDefinitionsContext createDefinitions() {
return getRuleContext(CreateDefinitionsContext.class,0);
}
public OrReplaceContext orReplace() {
return getRuleContext(OrReplaceContext.class,0);
}
public TerminalNode TEMPORARY() { return getToken(MySqlParser.TEMPORARY, 0); }
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public List tableOption() {
return getRuleContexts(TableOptionContext.class);
}
public TableOptionContext tableOption(int i) {
return getRuleContext(TableOptionContext.class,i);
}
public PartitionDefinitionsContext partitionDefinitions() {
return getRuleContext(PartitionDefinitionsContext.class,0);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public ColumnCreateTableContext(CreateTableContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterColumnCreateTable(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitColumnCreateTable(this);
}
}
public static class QueryCreateTableContext extends CreateTableContext {
public Token keyViolate;
public TerminalNode CREATE() { return getToken(MySqlParser.CREATE, 0); }
public TerminalNode TABLE() { return getToken(MySqlParser.TABLE, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public SelectStatementContext selectStatement() {
return getRuleContext(SelectStatementContext.class,0);
}
public OrReplaceContext orReplace() {
return getRuleContext(OrReplaceContext.class,0);
}
public TerminalNode TEMPORARY() { return getToken(MySqlParser.TEMPORARY, 0); }
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public CreateDefinitionsContext createDefinitions() {
return getRuleContext(CreateDefinitionsContext.class,0);
}
public List tableOption() {
return getRuleContexts(TableOptionContext.class);
}
public TableOptionContext tableOption(int i) {
return getRuleContext(TableOptionContext.class,i);
}
public PartitionDefinitionsContext partitionDefinitions() {
return getRuleContext(PartitionDefinitionsContext.class,0);
}
public TerminalNode AS() { return getToken(MySqlParser.AS, 0); }
public TerminalNode IGNORE() { return getToken(MySqlParser.IGNORE, 0); }
public TerminalNode REPLACE() { return getToken(MySqlParser.REPLACE, 0); }
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public QueryCreateTableContext(CreateTableContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterQueryCreateTable(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitQueryCreateTable(this);
}
}
public final CreateTableContext createTable() throws RecognitionException {
CreateTableContext _localctx = new CreateTableContext(_ctx, getState());
enterRule(_localctx, 42, RULE_createTable);
int _la;
try {
int _alt;
setState(1273);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,88,_ctx) ) {
case 1:
_localctx = new CopyCreateTableContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1186);
match(CREATE);
setState(1188);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1187);
orReplace();
}
}
setState(1191);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==TEMPORARY) {
{
setState(1190);
match(TEMPORARY);
}
}
setState(1193);
match(TABLE);
setState(1195);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,69,_ctx) ) {
case 1:
{
setState(1194);
ifNotExists();
}
break;
}
setState(1197);
tableName();
setState(1205);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LIKE:
{
setState(1198);
match(LIKE);
setState(1199);
tableName();
}
break;
case LR_BRACKET:
{
setState(1200);
match(LR_BRACKET);
setState(1201);
match(LIKE);
setState(1202);
((CopyCreateTableContext)_localctx).parenthesisTable = tableName();
setState(1203);
match(RR_BRACKET);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 2:
_localctx = new QueryCreateTableContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1207);
match(CREATE);
setState(1209);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1208);
orReplace();
}
}
setState(1212);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==TEMPORARY) {
{
setState(1211);
match(TEMPORARY);
}
}
setState(1214);
match(TABLE);
setState(1216);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,73,_ctx) ) {
case 1:
{
setState(1215);
ifNotExists();
}
break;
}
setState(1218);
tableName();
setState(1220);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,74,_ctx) ) {
case 1:
{
setState(1219);
createDefinitions();
}
break;
}
setState(1232);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 26)) & ~0x3f) == 0 && ((1L << (_la - 26)) & ((1L << (CHARACTER - 26)) | (1L << (COLLATE - 26)) | (1L << (DEFAULT - 26)) | (1L << (INDEX - 26)))) != 0) || ((((_la - 183)) & ~0x3f) == 0 && ((1L << (_la - 183)) & ((1L << (UNION - 183)) | (1L << (WITH - 183)) | (1L << (CHAR - 183)))) != 0) || ((((_la - 344)) & ~0x3f) == 0 && ((1L << (_la - 344)) & ((1L << (AUTOEXTEND_SIZE - 344)) | (1L << (AUTO_INCREMENT - 344)) | (1L << (AVG_ROW_LENGTH - 344)) | (1L << (CHECKSUM - 344)) | (1L << (PAGE_CHECKSUM - 344)) | (1L << (COMMENT - 344)) | (1L << (COMPRESSION - 344)) | (1L << (CONNECTION - 344)) | (1L << (DATA - 344)) | (1L << (DELAY_KEY_WRITE - 344)) | (1L << (ENCRYPTED - 344)))) != 0) || ((((_la - 408)) & ~0x3f) == 0 && ((1L << (_la - 408)) & ((1L << (ENCRYPTION - 408)) | (1L << (ENCRYPTION_KEY_ID - 408)) | (1L << (ENGINE - 408)) | (1L << (INSERT_METHOD - 408)) | (1L << (KEY_BLOCK_SIZE - 408)))) != 0) || ((((_la - 503)) & ~0x3f) == 0 && ((1L << (_la - 503)) & ((1L << (MAX_ROWS - 503)) | (1L << (MIN_ROWS - 503)) | (1L << (PACK_KEYS - 503)) | (1L << (PAGE_COMPRESSED - 503)) | (1L << (PAGE_COMPRESSION_LEVEL - 503)) | (1L << (PASSWORD - 503)))) != 0) || ((((_la - 605)) & ~0x3f) == 0 && ((1L << (_la - 605)) & ((1L << (ROW_FORMAT - 605)) | (1L << (START - 605)) | (1L << (STATS_AUTO_RECALC - 605)) | (1L << (STATS_PERSISTENT - 605)) | (1L << (STATS_SAMPLE_PAGES - 605)) | (1L << (STORAGE - 605)) | (1L << (TABLESPACE - 605)) | (1L << (TABLE_TYPE - 605)) | (1L << (TRANSACTIONAL - 605)))) != 0) || _la==CHARSET || _la==ENGINE_ATTRIBUTE || _la==SECONDARY_ENGINE_ATTRIBUTE || _la==STRING_LITERAL) {
{
setState(1222);
tableOption();
setState(1229);
_errHandler.sync(this);
_la = _input.LA(1);
while (((((_la - 26)) & ~0x3f) == 0 && ((1L << (_la - 26)) & ((1L << (CHARACTER - 26)) | (1L << (COLLATE - 26)) | (1L << (DEFAULT - 26)) | (1L << (INDEX - 26)))) != 0) || ((((_la - 183)) & ~0x3f) == 0 && ((1L << (_la - 183)) & ((1L << (UNION - 183)) | (1L << (WITH - 183)) | (1L << (CHAR - 183)))) != 0) || ((((_la - 344)) & ~0x3f) == 0 && ((1L << (_la - 344)) & ((1L << (AUTOEXTEND_SIZE - 344)) | (1L << (AUTO_INCREMENT - 344)) | (1L << (AVG_ROW_LENGTH - 344)) | (1L << (CHECKSUM - 344)) | (1L << (PAGE_CHECKSUM - 344)) | (1L << (COMMENT - 344)) | (1L << (COMPRESSION - 344)) | (1L << (CONNECTION - 344)) | (1L << (DATA - 344)) | (1L << (DELAY_KEY_WRITE - 344)) | (1L << (ENCRYPTED - 344)))) != 0) || ((((_la - 408)) & ~0x3f) == 0 && ((1L << (_la - 408)) & ((1L << (ENCRYPTION - 408)) | (1L << (ENCRYPTION_KEY_ID - 408)) | (1L << (ENGINE - 408)) | (1L << (INSERT_METHOD - 408)) | (1L << (KEY_BLOCK_SIZE - 408)))) != 0) || ((((_la - 503)) & ~0x3f) == 0 && ((1L << (_la - 503)) & ((1L << (MAX_ROWS - 503)) | (1L << (MIN_ROWS - 503)) | (1L << (PACK_KEYS - 503)) | (1L << (PAGE_COMPRESSED - 503)) | (1L << (PAGE_COMPRESSION_LEVEL - 503)) | (1L << (PASSWORD - 503)))) != 0) || ((((_la - 605)) & ~0x3f) == 0 && ((1L << (_la - 605)) & ((1L << (ROW_FORMAT - 605)) | (1L << (START - 605)) | (1L << (STATS_AUTO_RECALC - 605)) | (1L << (STATS_PERSISTENT - 605)) | (1L << (STATS_SAMPLE_PAGES - 605)) | (1L << (STORAGE - 605)) | (1L << (TABLESPACE - 605)) | (1L << (TABLE_TYPE - 605)) | (1L << (TRANSACTIONAL - 605)))) != 0) || _la==CHARSET || _la==ENGINE_ATTRIBUTE || _la==SECONDARY_ENGINE_ATTRIBUTE || _la==COMMA || _la==STRING_LITERAL) {
{
{
setState(1224);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1223);
match(COMMA);
}
}
setState(1226);
tableOption();
}
}
setState(1231);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
setState(1235);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITION) {
{
setState(1234);
partitionDefinitions();
}
}
setState(1238);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE || _la==REPLACE) {
{
setState(1237);
((QueryCreateTableContext)_localctx).keyViolate = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==IGNORE || _la==REPLACE) ) {
((QueryCreateTableContext)_localctx).keyViolate = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(1241);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(1240);
match(AS);
}
}
setState(1243);
selectStatement();
}
break;
case 3:
_localctx = new ColumnCreateTableContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(1245);
match(CREATE);
setState(1247);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1246);
orReplace();
}
}
setState(1250);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==TEMPORARY) {
{
setState(1249);
match(TEMPORARY);
}
}
setState(1252);
match(TABLE);
setState(1254);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,83,_ctx) ) {
case 1:
{
setState(1253);
ifNotExists();
}
break;
}
setState(1256);
tableName();
setState(1257);
createDefinitions();
setState(1268);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,86,_ctx) ) {
case 1:
{
setState(1258);
tableOption();
setState(1265);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,85,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(1260);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1259);
match(COMMA);
}
}
setState(1262);
tableOption();
}
}
}
setState(1267);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,85,_ctx);
}
}
break;
}
setState(1271);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITION) {
{
setState(1270);
partitionDefinitions();
}
}
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CreateTablespaceInnodbContext extends ParserRuleContext {
public Token datafile;
public FileSizeLiteralContext fileBlockSize;
public TerminalNode CREATE() { return getToken(MySqlParser.CREATE, 0); }
public TerminalNode TABLESPACE() { return getToken(MySqlParser.TABLESPACE, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode ADD() { return getToken(MySqlParser.ADD, 0); }
public TerminalNode DATAFILE() { return getToken(MySqlParser.DATAFILE, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode FILE_BLOCK_SIZE() { return getToken(MySqlParser.FILE_BLOCK_SIZE, 0); }
public List EQUAL_SYMBOL() { return getTokens(MySqlParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(MySqlParser.EQUAL_SYMBOL, i);
}
public TerminalNode ENGINE() { return getToken(MySqlParser.ENGINE, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public FileSizeLiteralContext fileSizeLiteral() {
return getRuleContext(FileSizeLiteralContext.class,0);
}
public CreateTablespaceInnodbContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createTablespaceInnodb; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCreateTablespaceInnodb(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCreateTablespaceInnodb(this);
}
}
public final CreateTablespaceInnodbContext createTablespaceInnodb() throws RecognitionException {
CreateTablespaceInnodbContext _localctx = new CreateTablespaceInnodbContext(_ctx, getState());
enterRule(_localctx, 44, RULE_createTablespaceInnodb);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1275);
match(CREATE);
setState(1276);
match(TABLESPACE);
setState(1277);
uid();
setState(1278);
match(ADD);
setState(1279);
match(DATAFILE);
setState(1280);
((CreateTablespaceInnodbContext)_localctx).datafile = match(STRING_LITERAL);
setState(1284);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FILE_BLOCK_SIZE) {
{
setState(1281);
match(FILE_BLOCK_SIZE);
setState(1282);
match(EQUAL_SYMBOL);
setState(1283);
((CreateTablespaceInnodbContext)_localctx).fileBlockSize = fileSizeLiteral();
}
}
setState(1291);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ENGINE) {
{
setState(1286);
match(ENGINE);
setState(1288);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1287);
match(EQUAL_SYMBOL);
}
}
setState(1290);
engineName();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CreateTablespaceNdbContext extends ParserRuleContext {
public Token datafile;
public FileSizeLiteralContext extentSize;
public FileSizeLiteralContext initialSize;
public FileSizeLiteralContext autoextendSize;
public FileSizeLiteralContext maxSize;
public Token comment;
public TerminalNode CREATE() { return getToken(MySqlParser.CREATE, 0); }
public TerminalNode TABLESPACE() { return getToken(MySqlParser.TABLESPACE, 0); }
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public TerminalNode ADD() { return getToken(MySqlParser.ADD, 0); }
public TerminalNode DATAFILE() { return getToken(MySqlParser.DATAFILE, 0); }
public TerminalNode USE() { return getToken(MySqlParser.USE, 0); }
public TerminalNode LOGFILE() { return getToken(MySqlParser.LOGFILE, 0); }
public TerminalNode GROUP() { return getToken(MySqlParser.GROUP, 0); }
public TerminalNode ENGINE() { return getToken(MySqlParser.ENGINE, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public List STRING_LITERAL() { return getTokens(MySqlParser.STRING_LITERAL); }
public TerminalNode STRING_LITERAL(int i) {
return getToken(MySqlParser.STRING_LITERAL, i);
}
public TerminalNode EXTENT_SIZE() { return getToken(MySqlParser.EXTENT_SIZE, 0); }
public TerminalNode INITIAL_SIZE() { return getToken(MySqlParser.INITIAL_SIZE, 0); }
public TerminalNode AUTOEXTEND_SIZE() { return getToken(MySqlParser.AUTOEXTEND_SIZE, 0); }
public TerminalNode MAX_SIZE() { return getToken(MySqlParser.MAX_SIZE, 0); }
public TerminalNode NODEGROUP() { return getToken(MySqlParser.NODEGROUP, 0); }
public TerminalNode WAIT() { return getToken(MySqlParser.WAIT, 0); }
public TerminalNode COMMENT() { return getToken(MySqlParser.COMMENT, 0); }
public List EQUAL_SYMBOL() { return getTokens(MySqlParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(MySqlParser.EQUAL_SYMBOL, i);
}
public List fileSizeLiteral() {
return getRuleContexts(FileSizeLiteralContext.class);
}
public FileSizeLiteralContext fileSizeLiteral(int i) {
return getRuleContext(FileSizeLiteralContext.class,i);
}
public CreateTablespaceNdbContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createTablespaceNdb; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCreateTablespaceNdb(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCreateTablespaceNdb(this);
}
}
public final CreateTablespaceNdbContext createTablespaceNdb() throws RecognitionException {
CreateTablespaceNdbContext _localctx = new CreateTablespaceNdbContext(_ctx, getState());
enterRule(_localctx, 46, RULE_createTablespaceNdb);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1293);
match(CREATE);
setState(1294);
match(TABLESPACE);
setState(1295);
uid();
setState(1296);
match(ADD);
setState(1297);
match(DATAFILE);
setState(1298);
((CreateTablespaceNdbContext)_localctx).datafile = match(STRING_LITERAL);
setState(1299);
match(USE);
setState(1300);
match(LOGFILE);
setState(1301);
match(GROUP);
setState(1302);
uid();
setState(1308);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EXTENT_SIZE) {
{
setState(1303);
match(EXTENT_SIZE);
setState(1305);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1304);
match(EQUAL_SYMBOL);
}
}
setState(1307);
((CreateTablespaceNdbContext)_localctx).extentSize = fileSizeLiteral();
}
}
setState(1315);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INITIAL_SIZE) {
{
setState(1310);
match(INITIAL_SIZE);
setState(1312);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1311);
match(EQUAL_SYMBOL);
}
}
setState(1314);
((CreateTablespaceNdbContext)_localctx).initialSize = fileSizeLiteral();
}
}
setState(1322);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AUTOEXTEND_SIZE) {
{
setState(1317);
match(AUTOEXTEND_SIZE);
setState(1319);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1318);
match(EQUAL_SYMBOL);
}
}
setState(1321);
((CreateTablespaceNdbContext)_localctx).autoextendSize = fileSizeLiteral();
}
}
setState(1329);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MAX_SIZE) {
{
setState(1324);
match(MAX_SIZE);
setState(1326);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1325);
match(EQUAL_SYMBOL);
}
}
setState(1328);
((CreateTablespaceNdbContext)_localctx).maxSize = fileSizeLiteral();
}
}
setState(1336);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NODEGROUP) {
{
setState(1331);
match(NODEGROUP);
setState(1333);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1332);
match(EQUAL_SYMBOL);
}
}
setState(1335);
uid();
}
}
setState(1339);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WAIT) {
{
setState(1338);
match(WAIT);
}
}
setState(1346);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMENT) {
{
setState(1341);
match(COMMENT);
setState(1343);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1342);
match(EQUAL_SYMBOL);
}
}
setState(1345);
((CreateTablespaceNdbContext)_localctx).comment = match(STRING_LITERAL);
}
}
setState(1348);
match(ENGINE);
setState(1350);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1349);
match(EQUAL_SYMBOL);
}
}
setState(1352);
engineName();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CreateTriggerContext extends ParserRuleContext {
public FullIdContext thisTrigger;
public Token triggerTime;
public Token triggerEvent;
public Token triggerPlace;
public FullIdContext otherTrigger;
public TerminalNode CREATE() { return getToken(MySqlParser.CREATE, 0); }
public TerminalNode TRIGGER() { return getToken(MySqlParser.TRIGGER, 0); }
public TerminalNode ON() { return getToken(MySqlParser.ON, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode FOR() { return getToken(MySqlParser.FOR, 0); }
public TerminalNode EACH() { return getToken(MySqlParser.EACH, 0); }
public TerminalNode ROW() { return getToken(MySqlParser.ROW, 0); }
public RoutineBodyContext routineBody() {
return getRuleContext(RoutineBodyContext.class,0);
}
public List fullId() {
return getRuleContexts(FullIdContext.class);
}
public FullIdContext fullId(int i) {
return getRuleContext(FullIdContext.class,i);
}
public TerminalNode BEFORE() { return getToken(MySqlParser.BEFORE, 0); }
public TerminalNode AFTER() { return getToken(MySqlParser.AFTER, 0); }
public TerminalNode INSERT() { return getToken(MySqlParser.INSERT, 0); }
public TerminalNode UPDATE() { return getToken(MySqlParser.UPDATE, 0); }
public TerminalNode DELETE() { return getToken(MySqlParser.DELETE, 0); }
public OrReplaceContext orReplace() {
return getRuleContext(OrReplaceContext.class,0);
}
public OwnerStatementContext ownerStatement() {
return getRuleContext(OwnerStatementContext.class,0);
}
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public TerminalNode FOLLOWS() { return getToken(MySqlParser.FOLLOWS, 0); }
public TerminalNode PRECEDES() { return getToken(MySqlParser.PRECEDES, 0); }
public CreateTriggerContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createTrigger; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCreateTrigger(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCreateTrigger(this);
}
}
public final CreateTriggerContext createTrigger() throws RecognitionException {
CreateTriggerContext _localctx = new CreateTriggerContext(_ctx, getState());
enterRule(_localctx, 48, RULE_createTrigger);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1354);
match(CREATE);
setState(1356);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1355);
orReplace();
}
}
setState(1359);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(1358);
ownerStatement();
}
}
setState(1361);
match(TRIGGER);
setState(1363);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,108,_ctx) ) {
case 1:
{
setState(1362);
ifNotExists();
}
break;
}
setState(1365);
((CreateTriggerContext)_localctx).thisTrigger = fullId();
setState(1366);
((CreateTriggerContext)_localctx).triggerTime = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==BEFORE || _la==AFTER) ) {
((CreateTriggerContext)_localctx).triggerTime = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(1367);
((CreateTriggerContext)_localctx).triggerEvent = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DELETE || _la==INSERT || _la==UPDATE) ) {
((CreateTriggerContext)_localctx).triggerEvent = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(1368);
match(ON);
setState(1369);
tableName();
setState(1370);
match(FOR);
setState(1371);
match(EACH);
setState(1372);
match(ROW);
setState(1375);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,109,_ctx) ) {
case 1:
{
setState(1373);
((CreateTriggerContext)_localctx).triggerPlace = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==FOLLOWS || _la==PRECEDES) ) {
((CreateTriggerContext)_localctx).triggerPlace = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(1374);
((CreateTriggerContext)_localctx).otherTrigger = fullId();
}
break;
}
setState(1377);
routineBody();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class WithClauseContext extends ParserRuleContext {
public TerminalNode WITH() { return getToken(MySqlParser.WITH, 0); }
public CommonTableExpressionsContext commonTableExpressions() {
return getRuleContext(CommonTableExpressionsContext.class,0);
}
public TerminalNode RECURSIVE() { return getToken(MySqlParser.RECURSIVE, 0); }
public WithClauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_withClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterWithClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitWithClause(this);
}
}
public final WithClauseContext withClause() throws RecognitionException {
WithClauseContext _localctx = new WithClauseContext(_ctx, getState());
enterRule(_localctx, 50, RULE_withClause);
try {
enterOuterAlt(_localctx, 1);
{
setState(1379);
match(WITH);
setState(1381);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,110,_ctx) ) {
case 1:
{
setState(1380);
match(RECURSIVE);
}
break;
}
setState(1383);
commonTableExpressions();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CommonTableExpressionsContext extends ParserRuleContext {
public CteNameContext cteName() {
return getRuleContext(CteNameContext.class,0);
}
public TerminalNode AS() { return getToken(MySqlParser.AS, 0); }
public List LR_BRACKET() { return getTokens(MySqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MySqlParser.LR_BRACKET, i);
}
public DmlStatementContext dmlStatement() {
return getRuleContext(DmlStatementContext.class,0);
}
public List RR_BRACKET() { return getTokens(MySqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MySqlParser.RR_BRACKET, i);
}
public List cteColumnName() {
return getRuleContexts(CteColumnNameContext.class);
}
public CteColumnNameContext cteColumnName(int i) {
return getRuleContext(CteColumnNameContext.class,i);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public CommonTableExpressionsContext commonTableExpressions() {
return getRuleContext(CommonTableExpressionsContext.class,0);
}
public CommonTableExpressionsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_commonTableExpressions; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCommonTableExpressions(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCommonTableExpressions(this);
}
}
public final CommonTableExpressionsContext commonTableExpressions() throws RecognitionException {
CommonTableExpressionsContext _localctx = new CommonTableExpressionsContext(_ctx, getState());
enterRule(_localctx, 52, RULE_commonTableExpressions);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1385);
cteName();
setState(1397);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(1386);
match(LR_BRACKET);
setState(1387);
cteColumnName();
setState(1392);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1388);
match(COMMA);
setState(1389);
cteColumnName();
}
}
setState(1394);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1395);
match(RR_BRACKET);
}
}
setState(1399);
match(AS);
setState(1400);
match(LR_BRACKET);
setState(1401);
dmlStatement();
setState(1402);
match(RR_BRACKET);
setState(1405);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,113,_ctx) ) {
case 1:
{
setState(1403);
match(COMMA);
setState(1404);
commonTableExpressions();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CteNameContext extends ParserRuleContext {
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public CteNameContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_cteName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCteName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCteName(this);
}
}
public final CteNameContext cteName() throws RecognitionException {
CteNameContext _localctx = new CteNameContext(_ctx, getState());
enterRule(_localctx, 54, RULE_cteName);
try {
enterOuterAlt(_localctx, 1);
{
setState(1407);
uid();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CteColumnNameContext extends ParserRuleContext {
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public CteColumnNameContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_cteColumnName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCteColumnName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCteColumnName(this);
}
}
public final CteColumnNameContext cteColumnName() throws RecognitionException {
CteColumnNameContext _localctx = new CteColumnNameContext(_ctx, getState());
enterRule(_localctx, 56, RULE_cteColumnName);
try {
enterOuterAlt(_localctx, 1);
{
setState(1409);
uid();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CreateViewContext extends ParserRuleContext {
public Token algType;
public Token secContext;
public Token checkOption;
public TerminalNode CREATE() { return getToken(MySqlParser.CREATE, 0); }
public TerminalNode VIEW() { return getToken(MySqlParser.VIEW, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public TerminalNode AS() { return getToken(MySqlParser.AS, 0); }
public List LR_BRACKET() { return getTokens(MySqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MySqlParser.LR_BRACKET, i);
}
public SelectStatementContext selectStatement() {
return getRuleContext(SelectStatementContext.class,0);
}
public List RR_BRACKET() { return getTokens(MySqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MySqlParser.RR_BRACKET, i);
}
public OrReplaceContext orReplace() {
return getRuleContext(OrReplaceContext.class,0);
}
public TerminalNode ALGORITHM() { return getToken(MySqlParser.ALGORITHM, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public OwnerStatementContext ownerStatement() {
return getRuleContext(OwnerStatementContext.class,0);
}
public TerminalNode SQL() { return getToken(MySqlParser.SQL, 0); }
public TerminalNode SECURITY() { return getToken(MySqlParser.SECURITY, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode UNDEFINED() { return getToken(MySqlParser.UNDEFINED, 0); }
public TerminalNode MERGE() { return getToken(MySqlParser.MERGE, 0); }
public TerminalNode TEMPTABLE() { return getToken(MySqlParser.TEMPTABLE, 0); }
public TerminalNode DEFINER() { return getToken(MySqlParser.DEFINER, 0); }
public TerminalNode INVOKER() { return getToken(MySqlParser.INVOKER, 0); }
public WithClauseContext withClause() {
return getRuleContext(WithClauseContext.class,0);
}
public TerminalNode WITH() { return getToken(MySqlParser.WITH, 0); }
public TerminalNode CHECK() { return getToken(MySqlParser.CHECK, 0); }
public TerminalNode OPTION() { return getToken(MySqlParser.OPTION, 0); }
public TerminalNode CASCADED() { return getToken(MySqlParser.CASCADED, 0); }
public TerminalNode LOCAL() { return getToken(MySqlParser.LOCAL, 0); }
public CreateViewContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createView; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCreateView(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCreateView(this);
}
}
public final CreateViewContext createView() throws RecognitionException {
CreateViewContext _localctx = new CreateViewContext(_ctx, getState());
enterRule(_localctx, 58, RULE_createView);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1411);
match(CREATE);
setState(1413);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1412);
orReplace();
}
}
setState(1418);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ALGORITHM) {
{
setState(1415);
match(ALGORITHM);
setState(1416);
match(EQUAL_SYMBOL);
setState(1417);
((CreateViewContext)_localctx).algType = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==MERGE || _la==TEMPTABLE || _la==UNDEFINED) ) {
((CreateViewContext)_localctx).algType = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(1421);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(1420);
ownerStatement();
}
}
setState(1426);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==SQL) {
{
setState(1423);
match(SQL);
setState(1424);
match(SECURITY);
setState(1425);
((CreateViewContext)_localctx).secContext = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DEFINER || _la==INVOKER) ) {
((CreateViewContext)_localctx).secContext = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(1428);
match(VIEW);
setState(1429);
fullId();
setState(1434);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(1430);
match(LR_BRACKET);
setState(1431);
uidList();
setState(1432);
match(RR_BRACKET);
}
}
setState(1436);
match(AS);
setState(1456);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,123,_ctx) ) {
case 1:
{
setState(1437);
match(LR_BRACKET);
setState(1439);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WITH) {
{
setState(1438);
withClause();
}
}
setState(1441);
selectStatement();
setState(1442);
match(RR_BRACKET);
}
break;
case 2:
{
setState(1445);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WITH) {
{
setState(1444);
withClause();
}
}
setState(1447);
selectStatement();
setState(1454);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,122,_ctx) ) {
case 1:
{
setState(1448);
match(WITH);
setState(1450);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CASCADED || _la==LOCAL) {
{
setState(1449);
((CreateViewContext)_localctx).checkOption = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==CASCADED || _la==LOCAL) ) {
((CreateViewContext)_localctx).checkOption = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(1452);
match(CHECK);
setState(1453);
match(OPTION);
}
break;
}
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CreateSequenceContext extends ParserRuleContext {
public TerminalNode CREATE() { return getToken(MySqlParser.CREATE, 0); }
public TerminalNode SEQUENCE() { return getToken(MySqlParser.SEQUENCE, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public OrReplaceContext orReplace() {
return getRuleContext(OrReplaceContext.class,0);
}
public TerminalNode TEMPORARY() { return getToken(MySqlParser.TEMPORARY, 0); }
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public List sequenceSpec() {
return getRuleContexts(SequenceSpecContext.class);
}
public SequenceSpecContext sequenceSpec(int i) {
return getRuleContext(SequenceSpecContext.class,i);
}
public List tableOption() {
return getRuleContexts(TableOptionContext.class);
}
public TableOptionContext tableOption(int i) {
return getRuleContext(TableOptionContext.class,i);
}
public CreateSequenceContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createSequence; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCreateSequence(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCreateSequence(this);
}
}
public final CreateSequenceContext createSequence() throws RecognitionException {
CreateSequenceContext _localctx = new CreateSequenceContext(_ctx, getState());
enterRule(_localctx, 60, RULE_createSequence);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(1458);
match(CREATE);
setState(1460);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1459);
orReplace();
}
}
setState(1463);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==TEMPORARY) {
{
setState(1462);
match(TEMPORARY);
}
}
setState(1465);
match(SEQUENCE);
setState(1467);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,126,_ctx) ) {
case 1:
{
setState(1466);
ifNotExists();
}
break;
}
setState(1469);
fullId();
setState(1474);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,128,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
setState(1472);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,127,_ctx) ) {
case 1:
{
setState(1470);
sequenceSpec();
}
break;
case 2:
{
setState(1471);
tableOption();
}
break;
}
}
}
setState(1476);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,128,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SequenceSpecContext extends ParserRuleContext {
public TerminalNode INCREMENT() { return getToken(MySqlParser.INCREMENT, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode BY() { return getToken(MySqlParser.BY, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TerminalNode MINVALUE() { return getToken(MySqlParser.MINVALUE, 0); }
public TerminalNode NO() { return getToken(MySqlParser.NO, 0); }
public TerminalNode NOMINVALUE() { return getToken(MySqlParser.NOMINVALUE, 0); }
public TerminalNode MAXVALUE() { return getToken(MySqlParser.MAXVALUE, 0); }
public TerminalNode NOMAXVALUE() { return getToken(MySqlParser.NOMAXVALUE, 0); }
public TerminalNode START() { return getToken(MySqlParser.START, 0); }
public TerminalNode WITH() { return getToken(MySqlParser.WITH, 0); }
public TerminalNode CACHE() { return getToken(MySqlParser.CACHE, 0); }
public TerminalNode NOCACHE() { return getToken(MySqlParser.NOCACHE, 0); }
public TerminalNode CYCLE() { return getToken(MySqlParser.CYCLE, 0); }
public TerminalNode NOCYCLE() { return getToken(MySqlParser.NOCYCLE, 0); }
public TerminalNode RESTART() { return getToken(MySqlParser.RESTART, 0); }
public SequenceSpecContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_sequenceSpec; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSequenceSpec(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSequenceSpec(this);
}
}
public final SequenceSpecContext sequenceSpec() throws RecognitionException {
SequenceSpecContext _localctx = new SequenceSpecContext(_ctx, getState());
enterRule(_localctx, 62, RULE_sequenceSpec);
int _la;
try {
setState(1516);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,135,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1477);
match(INCREMENT);
setState(1479);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==BY || _la==EQUAL_SYMBOL) {
{
setState(1478);
_la = _input.LA(1);
if ( !(_la==BY || _la==EQUAL_SYMBOL) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(1481);
decimalLiteral();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1482);
match(MINVALUE);
setState(1484);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1483);
match(EQUAL_SYMBOL);
}
}
setState(1486);
decimalLiteral();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1487);
match(NO);
setState(1488);
match(MINVALUE);
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1489);
match(NOMINVALUE);
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(1490);
match(MAXVALUE);
setState(1492);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1491);
match(EQUAL_SYMBOL);
}
}
setState(1494);
decimalLiteral();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(1495);
match(NO);
setState(1496);
match(MAXVALUE);
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(1497);
match(NOMAXVALUE);
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(1498);
match(START);
setState(1500);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WITH || _la==EQUAL_SYMBOL) {
{
setState(1499);
_la = _input.LA(1);
if ( !(_la==WITH || _la==EQUAL_SYMBOL) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(1502);
decimalLiteral();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(1503);
match(CACHE);
setState(1505);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1504);
match(EQUAL_SYMBOL);
}
}
setState(1507);
decimalLiteral();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(1508);
match(NOCACHE);
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(1509);
match(CYCLE);
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(1510);
match(NOCYCLE);
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(1511);
match(RESTART);
setState(1513);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WITH || _la==EQUAL_SYMBOL) {
{
setState(1512);
_la = _input.LA(1);
if ( !(_la==WITH || _la==EQUAL_SYMBOL) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(1515);
decimalLiteral();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CreateDatabaseOptionContext extends ParserRuleContext {
public CharSetContext charSet() {
return getRuleContext(CharSetContext.class,0);
}
public CharsetNameContext charsetName() {
return getRuleContext(CharsetNameContext.class,0);
}
public List DEFAULT() { return getTokens(MySqlParser.DEFAULT); }
public TerminalNode DEFAULT(int i) {
return getToken(MySqlParser.DEFAULT, i);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TerminalNode COLLATE() { return getToken(MySqlParser.COLLATE, 0); }
public CollationNameContext collationName() {
return getRuleContext(CollationNameContext.class,0);
}
public TerminalNode ENCRYPTION() { return getToken(MySqlParser.ENCRYPTION, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode READ() { return getToken(MySqlParser.READ, 0); }
public TerminalNode ONLY() { return getToken(MySqlParser.ONLY, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(MySqlParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(MySqlParser.ONE_DECIMAL, 0); }
public CreateDatabaseOptionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createDatabaseOption; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCreateDatabaseOption(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCreateDatabaseOption(this);
}
}
public final CreateDatabaseOptionContext createDatabaseOption() throws RecognitionException {
CreateDatabaseOptionContext _localctx = new CreateDatabaseOptionContext(_ctx, getState());
enterRule(_localctx, 64, RULE_createDatabaseOption);
int _la;
try {
setState(1551);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,144,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1519);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
setState(1518);
match(DEFAULT);
}
}
setState(1521);
charSet();
setState(1523);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1522);
match(EQUAL_SYMBOL);
}
}
setState(1527);
_errHandler.sync(this);
switch (_input.LA(1)) {
case BINARY:
case ARMSCII8:
case ASCII:
case BIG5:
case CP1250:
case CP1251:
case CP1256:
case CP1257:
case CP850:
case CP852:
case CP866:
case CP932:
case DEC8:
case EUCJPMS:
case EUCKR:
case GB18030:
case GB2312:
case GBK:
case GEOSTD8:
case GREEK:
case HEBREW:
case HP8:
case KEYBCS2:
case KOI8R:
case KOI8U:
case LATIN1:
case LATIN2:
case LATIN5:
case LATIN7:
case MACCE:
case MACROMAN:
case SJIS:
case SWE7:
case TIS620:
case UCS2:
case UJIS:
case UTF16:
case UTF16LE:
case UTF32:
case UTF8:
case UTF8MB3:
case UTF8MB4:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
{
setState(1525);
charsetName();
}
break;
case DEFAULT:
{
setState(1526);
match(DEFAULT);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1530);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
setState(1529);
match(DEFAULT);
}
}
setState(1532);
match(COLLATE);
setState(1534);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1533);
match(EQUAL_SYMBOL);
}
}
setState(1536);
collationName();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1538);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
setState(1537);
match(DEFAULT);
}
}
setState(1540);
match(ENCRYPTION);
setState(1542);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1541);
match(EQUAL_SYMBOL);
}
}
setState(1544);
match(STRING_LITERAL);
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1545);
match(READ);
setState(1546);
match(ONLY);
setState(1548);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1547);
match(EQUAL_SYMBOL);
}
}
setState(1550);
_la = _input.LA(1);
if ( !(_la==DEFAULT || _la==ZERO_DECIMAL || _la==ONE_DECIMAL) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CharSetContext extends ParserRuleContext {
public TerminalNode CHARACTER() { return getToken(MySqlParser.CHARACTER, 0); }
public TerminalNode SET() { return getToken(MySqlParser.SET, 0); }
public TerminalNode CHARSET() { return getToken(MySqlParser.CHARSET, 0); }
public TerminalNode CHAR() { return getToken(MySqlParser.CHAR, 0); }
public CharSetContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_charSet; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCharSet(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCharSet(this);
}
}
public final CharSetContext charSet() throws RecognitionException {
CharSetContext _localctx = new CharSetContext(_ctx, getState());
enterRule(_localctx, 66, RULE_charSet);
try {
setState(1558);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CHARACTER:
enterOuterAlt(_localctx, 1);
{
setState(1553);
match(CHARACTER);
setState(1554);
match(SET);
}
break;
case CHARSET:
enterOuterAlt(_localctx, 2);
{
setState(1555);
match(CHARSET);
}
break;
case CHAR:
enterOuterAlt(_localctx, 3);
{
setState(1556);
match(CHAR);
setState(1557);
match(SET);
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CurrentUserExpressionContext extends ParserRuleContext {
public TerminalNode CURRENT_USER() { return getToken(MySqlParser.CURRENT_USER, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public CurrentUserExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_currentUserExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCurrentUserExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCurrentUserExpression(this);
}
}
public final CurrentUserExpressionContext currentUserExpression() throws RecognitionException {
CurrentUserExpressionContext _localctx = new CurrentUserExpressionContext(_ctx, getState());
enterRule(_localctx, 68, RULE_currentUserExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(1560);
match(CURRENT_USER);
setState(1563);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,146,_ctx) ) {
case 1:
{
setState(1561);
match(LR_BRACKET);
setState(1562);
match(RR_BRACKET);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class OwnerStatementContext extends ParserRuleContext {
public TerminalNode DEFINER() { return getToken(MySqlParser.DEFINER, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public UserNameContext userName() {
return getRuleContext(UserNameContext.class,0);
}
public CurrentUserExpressionContext currentUserExpression() {
return getRuleContext(CurrentUserExpressionContext.class,0);
}
public TerminalNode CURRENT_ROLE() { return getToken(MySqlParser.CURRENT_ROLE, 0); }
public OwnerStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_ownerStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterOwnerStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitOwnerStatement(this);
}
}
public final OwnerStatementContext ownerStatement() throws RecognitionException {
OwnerStatementContext _localctx = new OwnerStatementContext(_ctx, getState());
enterRule(_localctx, 70, RULE_ownerStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(1565);
match(DEFINER);
setState(1566);
match(EQUAL_SYMBOL);
setState(1570);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,147,_ctx) ) {
case 1:
{
setState(1567);
userName();
}
break;
case 2:
{
setState(1568);
currentUserExpression();
}
break;
case 3:
{
setState(1569);
match(CURRENT_ROLE);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ScheduleExpressionContext extends ParserRuleContext {
public ScheduleExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_scheduleExpression; }
public ScheduleExpressionContext() { }
public void copyFrom(ScheduleExpressionContext ctx) {
super.copyFrom(ctx);
}
}
public static class PreciseScheduleContext extends ScheduleExpressionContext {
public TerminalNode AT() { return getToken(MySqlParser.AT, 0); }
public TimestampValueContext timestampValue() {
return getRuleContext(TimestampValueContext.class,0);
}
public List intervalExpr() {
return getRuleContexts(IntervalExprContext.class);
}
public IntervalExprContext intervalExpr(int i) {
return getRuleContext(IntervalExprContext.class,i);
}
public PreciseScheduleContext(ScheduleExpressionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPreciseSchedule(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPreciseSchedule(this);
}
}
public static class IntervalScheduleContext extends ScheduleExpressionContext {
public TimestampValueContext startTimestamp;
public IntervalExprContext intervalExpr;
public List startIntervals = new ArrayList();
public TimestampValueContext endTimestamp;
public List endIntervals = new ArrayList();
public TerminalNode EVERY() { return getToken(MySqlParser.EVERY, 0); }
public IntervalTypeContext intervalType() {
return getRuleContext(IntervalTypeContext.class,0);
}
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode STARTS() { return getToken(MySqlParser.STARTS, 0); }
public TerminalNode ENDS() { return getToken(MySqlParser.ENDS, 0); }
public List timestampValue() {
return getRuleContexts(TimestampValueContext.class);
}
public TimestampValueContext timestampValue(int i) {
return getRuleContext(TimestampValueContext.class,i);
}
public List intervalExpr() {
return getRuleContexts(IntervalExprContext.class);
}
public IntervalExprContext intervalExpr(int i) {
return getRuleContext(IntervalExprContext.class,i);
}
public IntervalScheduleContext(ScheduleExpressionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterIntervalSchedule(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitIntervalSchedule(this);
}
}
public final ScheduleExpressionContext scheduleExpression() throws RecognitionException {
ScheduleExpressionContext _localctx = new ScheduleExpressionContext(_ctx, getState());
enterRule(_localctx, 72, RULE_scheduleExpression);
int _la;
try {
setState(1606);
_errHandler.sync(this);
switch (_input.LA(1)) {
case AT:
_localctx = new PreciseScheduleContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1572);
match(AT);
setState(1573);
timestampValue();
setState(1577);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==PLUS) {
{
{
setState(1574);
intervalExpr();
}
}
setState(1579);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case EVERY:
_localctx = new IntervalScheduleContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1580);
match(EVERY);
setState(1583);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,149,_ctx) ) {
case 1:
{
setState(1581);
decimalLiteral();
}
break;
case 2:
{
setState(1582);
expression(0);
}
break;
}
setState(1585);
intervalType();
setState(1594);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==STARTS) {
{
setState(1586);
match(STARTS);
setState(1587);
((IntervalScheduleContext)_localctx).startTimestamp = timestampValue();
setState(1591);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==PLUS) {
{
{
setState(1588);
((IntervalScheduleContext)_localctx).intervalExpr = intervalExpr();
((IntervalScheduleContext)_localctx).startIntervals.add(((IntervalScheduleContext)_localctx).intervalExpr);
}
}
setState(1593);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
setState(1604);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ENDS) {
{
setState(1596);
match(ENDS);
setState(1597);
((IntervalScheduleContext)_localctx).endTimestamp = timestampValue();
setState(1601);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==PLUS) {
{
{
setState(1598);
((IntervalScheduleContext)_localctx).intervalExpr = intervalExpr();
((IntervalScheduleContext)_localctx).endIntervals.add(((IntervalScheduleContext)_localctx).intervalExpr);
}
}
setState(1603);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TimestampValueContext extends ParserRuleContext {
public TerminalNode CURRENT_TIMESTAMP() { return getToken(MySqlParser.CURRENT_TIMESTAMP, 0); }
public StringLiteralContext stringLiteral() {
return getRuleContext(StringLiteralContext.class,0);
}
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TimestampValueContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_timestampValue; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTimestampValue(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTimestampValue(this);
}
}
public final TimestampValueContext timestampValue() throws RecognitionException {
TimestampValueContext _localctx = new TimestampValueContext(_ctx, getState());
enterRule(_localctx, 74, RULE_timestampValue);
try {
setState(1612);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,155,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1608);
match(CURRENT_TIMESTAMP);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1609);
stringLiteral();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1610);
decimalLiteral();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1611);
expression(0);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class IntervalExprContext extends ParserRuleContext {
public TerminalNode PLUS() { return getToken(MySqlParser.PLUS, 0); }
public TerminalNode INTERVAL() { return getToken(MySqlParser.INTERVAL, 0); }
public IntervalTypeContext intervalType() {
return getRuleContext(IntervalTypeContext.class,0);
}
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public IntervalExprContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_intervalExpr; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterIntervalExpr(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitIntervalExpr(this);
}
}
public final IntervalExprContext intervalExpr() throws RecognitionException {
IntervalExprContext _localctx = new IntervalExprContext(_ctx, getState());
enterRule(_localctx, 76, RULE_intervalExpr);
try {
enterOuterAlt(_localctx, 1);
{
setState(1614);
match(PLUS);
setState(1615);
match(INTERVAL);
setState(1618);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,156,_ctx) ) {
case 1:
{
setState(1616);
decimalLiteral();
}
break;
case 2:
{
setState(1617);
expression(0);
}
break;
}
setState(1620);
intervalType();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class IntervalTypeContext extends ParserRuleContext {
public IntervalTypeBaseContext intervalTypeBase() {
return getRuleContext(IntervalTypeBaseContext.class,0);
}
public TerminalNode YEAR() { return getToken(MySqlParser.YEAR, 0); }
public TerminalNode YEAR_MONTH() { return getToken(MySqlParser.YEAR_MONTH, 0); }
public TerminalNode DAY_HOUR() { return getToken(MySqlParser.DAY_HOUR, 0); }
public TerminalNode DAY_MINUTE() { return getToken(MySqlParser.DAY_MINUTE, 0); }
public TerminalNode DAY_SECOND() { return getToken(MySqlParser.DAY_SECOND, 0); }
public TerminalNode HOUR_MINUTE() { return getToken(MySqlParser.HOUR_MINUTE, 0); }
public TerminalNode HOUR_SECOND() { return getToken(MySqlParser.HOUR_SECOND, 0); }
public TerminalNode MINUTE_SECOND() { return getToken(MySqlParser.MINUTE_SECOND, 0); }
public TerminalNode SECOND_MICROSECOND() { return getToken(MySqlParser.SECOND_MICROSECOND, 0); }
public TerminalNode MINUTE_MICROSECOND() { return getToken(MySqlParser.MINUTE_MICROSECOND, 0); }
public TerminalNode HOUR_MICROSECOND() { return getToken(MySqlParser.HOUR_MICROSECOND, 0); }
public TerminalNode DAY_MICROSECOND() { return getToken(MySqlParser.DAY_MICROSECOND, 0); }
public IntervalTypeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_intervalType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterIntervalType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitIntervalType(this);
}
}
public final IntervalTypeContext intervalType() throws RecognitionException {
IntervalTypeContext _localctx = new IntervalTypeContext(_ctx, getState());
enterRule(_localctx, 78, RULE_intervalType);
try {
setState(1635);
_errHandler.sync(this);
switch (_input.LA(1)) {
case QUARTER:
case MONTH:
case DAY:
case HOUR:
case MINUTE:
case WEEK:
case SECOND:
case MICROSECOND:
enterOuterAlt(_localctx, 1);
{
setState(1622);
intervalTypeBase();
}
break;
case YEAR:
enterOuterAlt(_localctx, 2);
{
setState(1623);
match(YEAR);
}
break;
case YEAR_MONTH:
enterOuterAlt(_localctx, 3);
{
setState(1624);
match(YEAR_MONTH);
}
break;
case DAY_HOUR:
enterOuterAlt(_localctx, 4);
{
setState(1625);
match(DAY_HOUR);
}
break;
case DAY_MINUTE:
enterOuterAlt(_localctx, 5);
{
setState(1626);
match(DAY_MINUTE);
}
break;
case DAY_SECOND:
enterOuterAlt(_localctx, 6);
{
setState(1627);
match(DAY_SECOND);
}
break;
case HOUR_MINUTE:
enterOuterAlt(_localctx, 7);
{
setState(1628);
match(HOUR_MINUTE);
}
break;
case HOUR_SECOND:
enterOuterAlt(_localctx, 8);
{
setState(1629);
match(HOUR_SECOND);
}
break;
case MINUTE_SECOND:
enterOuterAlt(_localctx, 9);
{
setState(1630);
match(MINUTE_SECOND);
}
break;
case SECOND_MICROSECOND:
enterOuterAlt(_localctx, 10);
{
setState(1631);
match(SECOND_MICROSECOND);
}
break;
case MINUTE_MICROSECOND:
enterOuterAlt(_localctx, 11);
{
setState(1632);
match(MINUTE_MICROSECOND);
}
break;
case HOUR_MICROSECOND:
enterOuterAlt(_localctx, 12);
{
setState(1633);
match(HOUR_MICROSECOND);
}
break;
case DAY_MICROSECOND:
enterOuterAlt(_localctx, 13);
{
setState(1634);
match(DAY_MICROSECOND);
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class EnableTypeContext extends ParserRuleContext {
public TerminalNode ENABLE() { return getToken(MySqlParser.ENABLE, 0); }
public TerminalNode DISABLE() { return getToken(MySqlParser.DISABLE, 0); }
public TerminalNode ON() { return getToken(MySqlParser.ON, 0); }
public TerminalNode SLAVE() { return getToken(MySqlParser.SLAVE, 0); }
public EnableTypeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_enableType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterEnableType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitEnableType(this);
}
}
public final EnableTypeContext enableType() throws RecognitionException {
EnableTypeContext _localctx = new EnableTypeContext(_ctx, getState());
enterRule(_localctx, 80, RULE_enableType);
try {
setState(1642);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,158,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1637);
match(ENABLE);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1638);
match(DISABLE);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1639);
match(DISABLE);
setState(1640);
match(ON);
setState(1641);
match(SLAVE);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class IndexTypeContext extends ParserRuleContext {
public TerminalNode USING() { return getToken(MySqlParser.USING, 0); }
public TerminalNode BTREE() { return getToken(MySqlParser.BTREE, 0); }
public TerminalNode HASH() { return getToken(MySqlParser.HASH, 0); }
public TerminalNode RTREE() { return getToken(MySqlParser.RTREE, 0); }
public IndexTypeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_indexType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterIndexType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitIndexType(this);
}
}
public final IndexTypeContext indexType() throws RecognitionException {
IndexTypeContext _localctx = new IndexTypeContext(_ctx, getState());
enterRule(_localctx, 82, RULE_indexType);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1644);
match(USING);
setState(1645);
_la = _input.LA(1);
if ( !(_la==BTREE || _la==HASH || _la==RTREE) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class IndexOptionContext extends ParserRuleContext {
public TerminalNode KEY_BLOCK_SIZE() { return getToken(MySqlParser.KEY_BLOCK_SIZE, 0); }
public FileSizeLiteralContext fileSizeLiteral() {
return getRuleContext(FileSizeLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public IndexTypeContext indexType() {
return getRuleContext(IndexTypeContext.class,0);
}
public TerminalNode WITH() { return getToken(MySqlParser.WITH, 0); }
public TerminalNode PARSER() { return getToken(MySqlParser.PARSER, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode COMMENT() { return getToken(MySqlParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode VISIBLE() { return getToken(MySqlParser.VISIBLE, 0); }
public TerminalNode INVISIBLE() { return getToken(MySqlParser.INVISIBLE, 0); }
public TerminalNode ENGINE_ATTRIBUTE() { return getToken(MySqlParser.ENGINE_ATTRIBUTE, 0); }
public TerminalNode SECONDARY_ENGINE_ATTRIBUTE() { return getToken(MySqlParser.SECONDARY_ENGINE_ATTRIBUTE, 0); }
public TerminalNode CLUSTERING() { return getToken(MySqlParser.CLUSTERING, 0); }
public TerminalNode YES() { return getToken(MySqlParser.YES, 0); }
public TerminalNode NO() { return getToken(MySqlParser.NO, 0); }
public TerminalNode IGNORED() { return getToken(MySqlParser.IGNORED, 0); }
public TerminalNode NOT() { return getToken(MySqlParser.NOT, 0); }
public IndexOptionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_indexOption; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterIndexOption(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitIndexOption(this);
}
}
public final IndexOptionContext indexOption() throws RecognitionException {
IndexOptionContext _localctx = new IndexOptionContext(_ctx, getState());
enterRule(_localctx, 84, RULE_indexOption);
int _la;
try {
setState(1677);
_errHandler.sync(this);
switch (_input.LA(1)) {
case KEY_BLOCK_SIZE:
enterOuterAlt(_localctx, 1);
{
setState(1647);
match(KEY_BLOCK_SIZE);
setState(1649);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1648);
match(EQUAL_SYMBOL);
}
}
setState(1651);
fileSizeLiteral();
}
break;
case USING:
enterOuterAlt(_localctx, 2);
{
setState(1652);
indexType();
}
break;
case WITH:
enterOuterAlt(_localctx, 3);
{
setState(1653);
match(WITH);
setState(1654);
match(PARSER);
setState(1655);
uid();
}
break;
case COMMENT:
enterOuterAlt(_localctx, 4);
{
setState(1656);
match(COMMENT);
setState(1657);
match(STRING_LITERAL);
}
break;
case INVISIBLE:
case VISIBLE:
enterOuterAlt(_localctx, 5);
{
setState(1658);
_la = _input.LA(1);
if ( !(_la==INVISIBLE || _la==VISIBLE) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case ENGINE_ATTRIBUTE:
enterOuterAlt(_localctx, 6);
{
setState(1659);
match(ENGINE_ATTRIBUTE);
setState(1661);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1660);
match(EQUAL_SYMBOL);
}
}
setState(1663);
match(STRING_LITERAL);
}
break;
case SECONDARY_ENGINE_ATTRIBUTE:
enterOuterAlt(_localctx, 7);
{
setState(1664);
match(SECONDARY_ENGINE_ATTRIBUTE);
setState(1666);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1665);
match(EQUAL_SYMBOL);
}
}
setState(1668);
match(STRING_LITERAL);
}
break;
case CLUSTERING:
enterOuterAlt(_localctx, 8);
{
setState(1669);
match(CLUSTERING);
setState(1670);
match(EQUAL_SYMBOL);
setState(1671);
_la = _input.LA(1);
if ( !(_la==NO || _la==YES) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case IGNORED:
case NOT:
enterOuterAlt(_localctx, 9);
{
setState(1675);
_errHandler.sync(this);
switch (_input.LA(1)) {
case IGNORED:
{
setState(1672);
match(IGNORED);
}
break;
case NOT:
{
setState(1673);
match(NOT);
setState(1674);
match(IGNORED);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ProcedureParameterContext extends ParserRuleContext {
public Token direction;
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public DataTypeContext dataType() {
return getRuleContext(DataTypeContext.class,0);
}
public TerminalNode IN() { return getToken(MySqlParser.IN, 0); }
public TerminalNode OUT() { return getToken(MySqlParser.OUT, 0); }
public TerminalNode INOUT() { return getToken(MySqlParser.INOUT, 0); }
public ProcedureParameterContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_procedureParameter; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterProcedureParameter(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitProcedureParameter(this);
}
}
public final ProcedureParameterContext procedureParameter() throws RecognitionException {
ProcedureParameterContext _localctx = new ProcedureParameterContext(_ctx, getState());
enterRule(_localctx, 86, RULE_procedureParameter);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1680);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 82)) & ~0x3f) == 0 && ((1L << (_la - 82)) & ((1L << (IN - 82)) | (1L << (INOUT - 82)) | (1L << (OUT - 82)))) != 0)) {
{
setState(1679);
((ProcedureParameterContext)_localctx).direction = _input.LT(1);
_la = _input.LA(1);
if ( !(((((_la - 82)) & ~0x3f) == 0 && ((1L << (_la - 82)) & ((1L << (IN - 82)) | (1L << (INOUT - 82)) | (1L << (OUT - 82)))) != 0)) ) {
((ProcedureParameterContext)_localctx).direction = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(1682);
uid();
setState(1683);
dataType();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class FunctionParameterContext extends ParserRuleContext {
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public DataTypeContext dataType() {
return getRuleContext(DataTypeContext.class,0);
}
public FunctionParameterContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_functionParameter; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterFunctionParameter(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitFunctionParameter(this);
}
}
public final FunctionParameterContext functionParameter() throws RecognitionException {
FunctionParameterContext _localctx = new FunctionParameterContext(_ctx, getState());
enterRule(_localctx, 88, RULE_functionParameter);
try {
enterOuterAlt(_localctx, 1);
{
setState(1685);
uid();
setState(1686);
dataType();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class RoutineOptionContext extends ParserRuleContext {
public RoutineOptionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_routineOption; }
public RoutineOptionContext() { }
public void copyFrom(RoutineOptionContext ctx) {
super.copyFrom(ctx);
}
}
public static class RoutineBehaviorContext extends RoutineOptionContext {
public TerminalNode DETERMINISTIC() { return getToken(MySqlParser.DETERMINISTIC, 0); }
public TerminalNode NOT() { return getToken(MySqlParser.NOT, 0); }
public RoutineBehaviorContext(RoutineOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterRoutineBehavior(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitRoutineBehavior(this);
}
}
public static class RoutineLanguageContext extends RoutineOptionContext {
public TerminalNode LANGUAGE() { return getToken(MySqlParser.LANGUAGE, 0); }
public TerminalNode SQL() { return getToken(MySqlParser.SQL, 0); }
public RoutineLanguageContext(RoutineOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterRoutineLanguage(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitRoutineLanguage(this);
}
}
public static class RoutineCommentContext extends RoutineOptionContext {
public TerminalNode COMMENT() { return getToken(MySqlParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public RoutineCommentContext(RoutineOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterRoutineComment(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitRoutineComment(this);
}
}
public static class RoutineSecurityContext extends RoutineOptionContext {
public Token context;
public TerminalNode SQL() { return getToken(MySqlParser.SQL, 0); }
public TerminalNode SECURITY() { return getToken(MySqlParser.SECURITY, 0); }
public TerminalNode DEFINER() { return getToken(MySqlParser.DEFINER, 0); }
public TerminalNode INVOKER() { return getToken(MySqlParser.INVOKER, 0); }
public RoutineSecurityContext(RoutineOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterRoutineSecurity(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitRoutineSecurity(this);
}
}
public static class RoutineDataContext extends RoutineOptionContext {
public TerminalNode CONTAINS() { return getToken(MySqlParser.CONTAINS, 0); }
public TerminalNode SQL() { return getToken(MySqlParser.SQL, 0); }
public TerminalNode NO() { return getToken(MySqlParser.NO, 0); }
public TerminalNode READS() { return getToken(MySqlParser.READS, 0); }
public TerminalNode DATA() { return getToken(MySqlParser.DATA, 0); }
public TerminalNode MODIFIES() { return getToken(MySqlParser.MODIFIES, 0); }
public RoutineDataContext(RoutineOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterRoutineData(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitRoutineData(this);
}
}
public final RoutineOptionContext routineOption() throws RecognitionException {
RoutineOptionContext _localctx = new RoutineOptionContext(_ctx, getState());
enterRule(_localctx, 90, RULE_routineOption);
int _la;
try {
setState(1711);
_errHandler.sync(this);
switch (_input.LA(1)) {
case COMMENT:
_localctx = new RoutineCommentContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1688);
match(COMMENT);
setState(1689);
match(STRING_LITERAL);
}
break;
case LANGUAGE:
_localctx = new RoutineLanguageContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1690);
match(LANGUAGE);
setState(1691);
match(SQL);
}
break;
case DETERMINISTIC:
case NOT:
_localctx = new RoutineBehaviorContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(1693);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOT) {
{
setState(1692);
match(NOT);
}
}
setState(1695);
match(DETERMINISTIC);
}
break;
case MODIFIES:
case READS:
case CONTAINS:
case NO:
_localctx = new RoutineDataContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(1706);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CONTAINS:
{
setState(1696);
match(CONTAINS);
setState(1697);
match(SQL);
}
break;
case NO:
{
setState(1698);
match(NO);
setState(1699);
match(SQL);
}
break;
case READS:
{
setState(1700);
match(READS);
setState(1701);
match(SQL);
setState(1702);
match(DATA);
}
break;
case MODIFIES:
{
setState(1703);
match(MODIFIES);
setState(1704);
match(SQL);
setState(1705);
match(DATA);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case SQL:
_localctx = new RoutineSecurityContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(1708);
match(SQL);
setState(1709);
match(SECURITY);
setState(1710);
((RoutineSecurityContext)_localctx).context = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DEFINER || _la==INVOKER) ) {
((RoutineSecurityContext)_localctx).context = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ServerOptionContext extends ParserRuleContext {
public TerminalNode HOST() { return getToken(MySqlParser.HOST, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode DATABASE() { return getToken(MySqlParser.DATABASE, 0); }
public TerminalNode USER() { return getToken(MySqlParser.USER, 0); }
public TerminalNode PASSWORD() { return getToken(MySqlParser.PASSWORD, 0); }
public TerminalNode SOCKET() { return getToken(MySqlParser.SOCKET, 0); }
public TerminalNode OWNER() { return getToken(MySqlParser.OWNER, 0); }
public TerminalNode PORT() { return getToken(MySqlParser.PORT, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public ServerOptionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_serverOption; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterServerOption(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitServerOption(this);
}
}
public final ServerOptionContext serverOption() throws RecognitionException {
ServerOptionContext _localctx = new ServerOptionContext(_ctx, getState());
enterRule(_localctx, 92, RULE_serverOption);
try {
setState(1727);
_errHandler.sync(this);
switch (_input.LA(1)) {
case HOST:
enterOuterAlt(_localctx, 1);
{
setState(1713);
match(HOST);
setState(1714);
match(STRING_LITERAL);
}
break;
case DATABASE:
enterOuterAlt(_localctx, 2);
{
setState(1715);
match(DATABASE);
setState(1716);
match(STRING_LITERAL);
}
break;
case USER:
enterOuterAlt(_localctx, 3);
{
setState(1717);
match(USER);
setState(1718);
match(STRING_LITERAL);
}
break;
case PASSWORD:
enterOuterAlt(_localctx, 4);
{
setState(1719);
match(PASSWORD);
setState(1720);
match(STRING_LITERAL);
}
break;
case SOCKET:
enterOuterAlt(_localctx, 5);
{
setState(1721);
match(SOCKET);
setState(1722);
match(STRING_LITERAL);
}
break;
case OWNER:
enterOuterAlt(_localctx, 6);
{
setState(1723);
match(OWNER);
setState(1724);
match(STRING_LITERAL);
}
break;
case PORT:
enterOuterAlt(_localctx, 7);
{
setState(1725);
match(PORT);
setState(1726);
decimalLiteral();
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CreateDefinitionsContext extends ParserRuleContext {
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public List createDefinition() {
return getRuleContexts(CreateDefinitionContext.class);
}
public CreateDefinitionContext createDefinition(int i) {
return getRuleContext(CreateDefinitionContext.class,i);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public CreateDefinitionsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createDefinitions; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCreateDefinitions(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCreateDefinitions(this);
}
}
public final CreateDefinitionsContext createDefinitions() throws RecognitionException {
CreateDefinitionsContext _localctx = new CreateDefinitionsContext(_ctx, getState());
enterRule(_localctx, 94, RULE_createDefinitions);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1729);
match(LR_BRACKET);
setState(1730);
createDefinition();
setState(1735);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1731);
match(COMMA);
setState(1732);
createDefinition();
}
}
setState(1737);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1738);
match(RR_BRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CreateDefinitionContext extends ParserRuleContext {
public CreateDefinitionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createDefinition; }
public CreateDefinitionContext() { }
public void copyFrom(CreateDefinitionContext ctx) {
super.copyFrom(ctx);
}
}
public static class ColumnDeclarationContext extends CreateDefinitionContext {
public FullColumnNameContext fullColumnName() {
return getRuleContext(FullColumnNameContext.class,0);
}
public ColumnDefinitionContext columnDefinition() {
return getRuleContext(ColumnDefinitionContext.class,0);
}
public ColumnDeclarationContext(CreateDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterColumnDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitColumnDeclaration(this);
}
}
public static class ConstraintDeclarationContext extends CreateDefinitionContext {
public TableConstraintContext tableConstraint() {
return getRuleContext(TableConstraintContext.class,0);
}
public TerminalNode NOT() { return getToken(MySqlParser.NOT, 0); }
public TerminalNode ENFORCED() { return getToken(MySqlParser.ENFORCED, 0); }
public ConstraintDeclarationContext(CreateDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterConstraintDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitConstraintDeclaration(this);
}
}
public static class IndexDeclarationContext extends CreateDefinitionContext {
public IndexColumnDefinitionContext indexColumnDefinition() {
return getRuleContext(IndexColumnDefinitionContext.class,0);
}
public IndexDeclarationContext(CreateDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterIndexDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitIndexDeclaration(this);
}
}
public final CreateDefinitionContext createDefinition() throws RecognitionException {
CreateDefinitionContext _localctx = new CreateDefinitionContext(_ctx, getState());
enterRule(_localctx, 96, RULE_createDefinition);
int _la;
try {
setState(1751);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,172,_ctx) ) {
case 1:
_localctx = new ColumnDeclarationContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1740);
fullColumnName();
setState(1741);
columnDefinition();
}
break;
case 2:
_localctx = new ConstraintDeclarationContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1743);
tableConstraint();
setState(1745);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOT) {
{
setState(1744);
match(NOT);
}
}
setState(1748);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ENFORCED) {
{
setState(1747);
match(ENFORCED);
}
}
}
break;
case 3:
_localctx = new IndexDeclarationContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(1750);
indexColumnDefinition();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ColumnDefinitionContext extends ParserRuleContext {
public DataTypeContext dataType() {
return getRuleContext(DataTypeContext.class,0);
}
public List columnConstraint() {
return getRuleContexts(ColumnConstraintContext.class);
}
public ColumnConstraintContext columnConstraint(int i) {
return getRuleContext(ColumnConstraintContext.class,i);
}
public TerminalNode NOT() { return getToken(MySqlParser.NOT, 0); }
public TerminalNode ENFORCED() { return getToken(MySqlParser.ENFORCED, 0); }
public ColumnDefinitionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_columnDefinition; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterColumnDefinition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitColumnDefinition(this);
}
}
public final ColumnDefinitionContext columnDefinition() throws RecognitionException {
ColumnDefinitionContext _localctx = new ColumnDefinitionContext(_ctx, getState());
enterRule(_localctx, 98, RULE_columnDefinition);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(1753);
dataType();
setState(1757);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,173,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(1754);
columnConstraint();
}
}
}
setState(1759);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,173,_ctx);
}
setState(1761);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOT) {
{
setState(1760);
match(NOT);
}
}
setState(1764);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ENFORCED) {
{
setState(1763);
match(ENFORCED);
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ColumnConstraintContext extends ParserRuleContext {
public ColumnConstraintContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_columnConstraint; }
public ColumnConstraintContext() { }
public void copyFrom(ColumnConstraintContext ctx) {
super.copyFrom(ctx);
}
}
public static class StorageColumnConstraintContext extends ColumnConstraintContext {
public Token storageval;
public TerminalNode STORAGE() { return getToken(MySqlParser.STORAGE, 0); }
public TerminalNode DISK() { return getToken(MySqlParser.DISK, 0); }
public TerminalNode MEMORY() { return getToken(MySqlParser.MEMORY, 0); }
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public StorageColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterStorageColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitStorageColumnConstraint(this);
}
}
public static class VisibilityColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode VISIBLE() { return getToken(MySqlParser.VISIBLE, 0); }
public VisibilityColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterVisibilityColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitVisibilityColumnConstraint(this);
}
}
public static class AutoIncrementColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode AUTO_INCREMENT() { return getToken(MySqlParser.AUTO_INCREMENT, 0); }
public TerminalNode ON() { return getToken(MySqlParser.ON, 0); }
public TerminalNode UPDATE() { return getToken(MySqlParser.UPDATE, 0); }
public CurrentTimestampContext currentTimestamp() {
return getRuleContext(CurrentTimestampContext.class,0);
}
public AutoIncrementColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAutoIncrementColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAutoIncrementColumnConstraint(this);
}
}
public static class ClusteringKeyColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode CLUSTERING() { return getToken(MySqlParser.CLUSTERING, 0); }
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public ClusteringKeyColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterClusteringKeyColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitClusteringKeyColumnConstraint(this);
}
}
public static class CommentColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode COMMENT() { return getToken(MySqlParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public CommentColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCommentColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCommentColumnConstraint(this);
}
}
public static class UniqueKeyColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode UNIQUE() { return getToken(MySqlParser.UNIQUE, 0); }
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public UniqueKeyColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterUniqueKeyColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitUniqueKeyColumnConstraint(this);
}
}
public static class SerialDefaultColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode SERIAL() { return getToken(MySqlParser.SERIAL, 0); }
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public TerminalNode VALUE() { return getToken(MySqlParser.VALUE, 0); }
public SerialDefaultColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSerialDefaultColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSerialDefaultColumnConstraint(this);
}
}
public static class GeneratedColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode AS() { return getToken(MySqlParser.AS, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode GENERATED() { return getToken(MySqlParser.GENERATED, 0); }
public TerminalNode ALWAYS() { return getToken(MySqlParser.ALWAYS, 0); }
public TerminalNode VIRTUAL() { return getToken(MySqlParser.VIRTUAL, 0); }
public TerminalNode STORED() { return getToken(MySqlParser.STORED, 0); }
public TerminalNode PERSISTENT() { return getToken(MySqlParser.PERSISTENT, 0); }
public GeneratedColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterGeneratedColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitGeneratedColumnConstraint(this);
}
}
public static class FormatColumnConstraintContext extends ColumnConstraintContext {
public Token colformat;
public TerminalNode COLUMN_FORMAT() { return getToken(MySqlParser.COLUMN_FORMAT, 0); }
public TerminalNode FIXED() { return getToken(MySqlParser.FIXED, 0); }
public TerminalNode DYNAMIC() { return getToken(MySqlParser.DYNAMIC, 0); }
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public FormatColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterFormatColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitFormatColumnConstraint(this);
}
}
public static class CollateColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode COLLATE() { return getToken(MySqlParser.COLLATE, 0); }
public CollationNameContext collationName() {
return getRuleContext(CollationNameContext.class,0);
}
public CollateColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCollateColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCollateColumnConstraint(this);
}
}
public static class PrimaryKeyColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public TerminalNode PRIMARY() { return getToken(MySqlParser.PRIMARY, 0); }
public PrimaryKeyColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPrimaryKeyColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPrimaryKeyColumnConstraint(this);
}
}
public static class CheckColumnConstraintContext extends ColumnConstraintContext {
public UidContext name;
public TerminalNode CHECK() { return getToken(MySqlParser.CHECK, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode CONSTRAINT() { return getToken(MySqlParser.CONSTRAINT, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public CheckColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCheckColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCheckColumnConstraint(this);
}
}
public static class NullColumnConstraintContext extends ColumnConstraintContext {
public NullNotnullContext nullNotnull() {
return getRuleContext(NullNotnullContext.class,0);
}
public NullColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterNullColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitNullColumnConstraint(this);
}
}
public static class DefaultColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public DefaultValueContext defaultValue() {
return getRuleContext(DefaultValueContext.class,0);
}
public DefaultColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterDefaultColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitDefaultColumnConstraint(this);
}
}
public static class ReferenceColumnConstraintContext extends ColumnConstraintContext {
public ReferenceDefinitionContext referenceDefinition() {
return getRuleContext(ReferenceDefinitionContext.class,0);
}
public ReferenceColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterReferenceColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitReferenceColumnConstraint(this);
}
}
public static class InvisibilityColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode INVISIBLE() { return getToken(MySqlParser.INVISIBLE, 0); }
public InvisibilityColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterInvisibilityColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitInvisibilityColumnConstraint(this);
}
}
public final ColumnConstraintContext columnConstraint() throws RecognitionException {
ColumnConstraintContext _localctx = new ColumnConstraintContext(_ctx, getState());
enterRule(_localctx, 100, RULE_columnConstraint);
int _la;
try {
setState(1821);
_errHandler.sync(this);
switch (_input.LA(1)) {
case NOT:
case NULL_LITERAL:
case NULL_SPEC_LITERAL:
_localctx = new NullColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1766);
nullNotnull();
}
break;
case DEFAULT:
_localctx = new DefaultColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1767);
match(DEFAULT);
setState(1768);
defaultValue();
}
break;
case VISIBLE:
_localctx = new VisibilityColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(1769);
match(VISIBLE);
}
break;
case INVISIBLE:
_localctx = new InvisibilityColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(1770);
match(INVISIBLE);
}
break;
case ON:
case AUTO_INCREMENT:
_localctx = new AutoIncrementColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(1775);
_errHandler.sync(this);
switch (_input.LA(1)) {
case AUTO_INCREMENT:
{
setState(1771);
match(AUTO_INCREMENT);
}
break;
case ON:
{
setState(1772);
match(ON);
setState(1773);
match(UPDATE);
setState(1774);
currentTimestamp();
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case KEY:
case PRIMARY:
_localctx = new PrimaryKeyColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 6);
{
setState(1778);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PRIMARY) {
{
setState(1777);
match(PRIMARY);
}
}
setState(1780);
match(KEY);
}
break;
case CLUSTERING:
_localctx = new ClusteringKeyColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 7);
{
setState(1781);
match(CLUSTERING);
setState(1782);
match(KEY);
}
break;
case UNIQUE:
_localctx = new UniqueKeyColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 8);
{
setState(1783);
match(UNIQUE);
setState(1785);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,178,_ctx) ) {
case 1:
{
setState(1784);
match(KEY);
}
break;
}
}
break;
case COMMENT:
_localctx = new CommentColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 9);
{
setState(1787);
match(COMMENT);
setState(1788);
match(STRING_LITERAL);
}
break;
case COLUMN_FORMAT:
_localctx = new FormatColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 10);
{
setState(1789);
match(COLUMN_FORMAT);
setState(1790);
((FormatColumnConstraintContext)_localctx).colformat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DEFAULT || _la==DYNAMIC || _la==FIXED) ) {
((FormatColumnConstraintContext)_localctx).colformat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case STORAGE:
_localctx = new StorageColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 11);
{
setState(1791);
match(STORAGE);
setState(1792);
((StorageColumnConstraintContext)_localctx).storageval = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DEFAULT || _la==DISK || _la==MEMORY) ) {
((StorageColumnConstraintContext)_localctx).storageval = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case REFERENCES:
_localctx = new ReferenceColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 12);
{
setState(1793);
referenceDefinition();
}
break;
case COLLATE:
_localctx = new CollateColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 13);
{
setState(1794);
match(COLLATE);
setState(1795);
collationName();
}
break;
case AS:
case GENERATED:
_localctx = new GeneratedColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 14);
{
setState(1798);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==GENERATED) {
{
setState(1796);
match(GENERATED);
setState(1797);
match(ALWAYS);
}
}
setState(1800);
match(AS);
setState(1801);
match(LR_BRACKET);
setState(1802);
expression(0);
setState(1803);
match(RR_BRACKET);
setState(1805);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==STORED || _la==VIRTUAL || _la==PERSISTENT) {
{
setState(1804);
_la = _input.LA(1);
if ( !(_la==STORED || _la==VIRTUAL || _la==PERSISTENT) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
}
break;
case SERIAL:
_localctx = new SerialDefaultColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 15);
{
setState(1807);
match(SERIAL);
setState(1808);
match(DEFAULT);
setState(1809);
match(VALUE);
}
break;
case CHECK:
case CONSTRAINT:
_localctx = new CheckColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 16);
{
setState(1814);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(1810);
match(CONSTRAINT);
setState(1812);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(1811);
((CheckColumnConstraintContext)_localctx).name = uid();
}
}
}
}
setState(1816);
match(CHECK);
setState(1817);
match(LR_BRACKET);
setState(1818);
expression(0);
setState(1819);
match(RR_BRACKET);
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TableConstraintContext extends ParserRuleContext {
public TableConstraintContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tableConstraint; }
public TableConstraintContext() { }
public void copyFrom(TableConstraintContext ctx) {
super.copyFrom(ctx);
}
}
public static class UniqueKeyTableConstraintContext extends TableConstraintContext {
public UidContext name;
public Token indexFormat;
public UidContext index;
public TerminalNode UNIQUE() { return getToken(MySqlParser.UNIQUE, 0); }
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode CONSTRAINT() { return getToken(MySqlParser.CONSTRAINT, 0); }
public IndexTypeContext indexType() {
return getRuleContext(IndexTypeContext.class,0);
}
public List indexOption() {
return getRuleContexts(IndexOptionContext.class);
}
public IndexOptionContext indexOption(int i) {
return getRuleContext(IndexOptionContext.class,i);
}
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public TerminalNode INDEX() { return getToken(MySqlParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public UniqueKeyTableConstraintContext(TableConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterUniqueKeyTableConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitUniqueKeyTableConstraint(this);
}
}
public static class CheckTableConstraintContext extends TableConstraintContext {
public UidContext name;
public TerminalNode CHECK() { return getToken(MySqlParser.CHECK, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode CONSTRAINT() { return getToken(MySqlParser.CONSTRAINT, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public CheckTableConstraintContext(TableConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCheckTableConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCheckTableConstraint(this);
}
}
public static class PrimaryKeyTableConstraintContext extends TableConstraintContext {
public UidContext name;
public UidContext index;
public TerminalNode PRIMARY() { return getToken(MySqlParser.PRIMARY, 0); }
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode CONSTRAINT() { return getToken(MySqlParser.CONSTRAINT, 0); }
public IndexTypeContext indexType() {
return getRuleContext(IndexTypeContext.class,0);
}
public List indexOption() {
return getRuleContexts(IndexOptionContext.class);
}
public IndexOptionContext indexOption(int i) {
return getRuleContext(IndexOptionContext.class,i);
}
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public PrimaryKeyTableConstraintContext(TableConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPrimaryKeyTableConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPrimaryKeyTableConstraint(this);
}
}
public static class ClusteringKeyTableConstraintContext extends TableConstraintContext {
public UidContext index;
public TerminalNode CLUSTERING() { return getToken(MySqlParser.CLUSTERING, 0); }
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public ClusteringKeyTableConstraintContext(TableConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterClusteringKeyTableConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitClusteringKeyTableConstraint(this);
}
}
public static class ForeignKeyTableConstraintContext extends TableConstraintContext {
public UidContext name;
public UidContext index;
public TerminalNode FOREIGN() { return getToken(MySqlParser.FOREIGN, 0); }
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public ReferenceDefinitionContext referenceDefinition() {
return getRuleContext(ReferenceDefinitionContext.class,0);
}
public TerminalNode CONSTRAINT() { return getToken(MySqlParser.CONSTRAINT, 0); }
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public ForeignKeyTableConstraintContext(TableConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterForeignKeyTableConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitForeignKeyTableConstraint(this);
}
}
public final TableConstraintContext tableConstraint() throws RecognitionException {
TableConstraintContext _localctx = new TableConstraintContext(_ctx, getState());
enterRule(_localctx, 102, RULE_tableConstraint);
int _la;
try {
int _alt;
setState(1898);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,201,_ctx) ) {
case 1:
_localctx = new PrimaryKeyTableConstraintContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1827);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(1823);
match(CONSTRAINT);
setState(1825);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,184,_ctx) ) {
case 1:
{
setState(1824);
((PrimaryKeyTableConstraintContext)_localctx).name = uid();
}
break;
}
}
}
setState(1829);
match(PRIMARY);
setState(1830);
match(KEY);
setState(1832);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(1831);
((PrimaryKeyTableConstraintContext)_localctx).index = uid();
}
}
setState(1835);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==USING) {
{
setState(1834);
indexType();
}
}
setState(1837);
indexColumnNames();
setState(1841);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,188,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(1838);
indexOption();
}
}
}
setState(1843);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,188,_ctx);
}
}
break;
case 2:
_localctx = new UniqueKeyTableConstraintContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1848);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(1844);
match(CONSTRAINT);
setState(1846);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(1845);
((UniqueKeyTableConstraintContext)_localctx).name = uid();
}
}
}
}
setState(1850);
match(UNIQUE);
setState(1852);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INDEX || _la==KEY) {
{
setState(1851);
((UniqueKeyTableConstraintContext)_localctx).indexFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==INDEX || _la==KEY) ) {
((UniqueKeyTableConstraintContext)_localctx).indexFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(1855);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(1854);
((UniqueKeyTableConstraintContext)_localctx).index = uid();
}
}
setState(1858);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==USING) {
{
setState(1857);
indexType();
}
}
setState(1860);
indexColumnNames();
setState(1864);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,194,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(1861);
indexOption();
}
}
}
setState(1866);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,194,_ctx);
}
}
break;
case 3:
_localctx = new ForeignKeyTableConstraintContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(1871);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(1867);
match(CONSTRAINT);
setState(1869);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(1868);
((ForeignKeyTableConstraintContext)_localctx).name = uid();
}
}
}
}
setState(1873);
match(FOREIGN);
setState(1874);
match(KEY);
setState(1876);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(1875);
((ForeignKeyTableConstraintContext)_localctx).index = uid();
}
}
setState(1878);
indexColumnNames();
setState(1879);
referenceDefinition();
}
break;
case 4:
_localctx = new CheckTableConstraintContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(1885);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(1881);
match(CONSTRAINT);
setState(1883);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(1882);
((CheckTableConstraintContext)_localctx).name = uid();
}
}
}
}
setState(1887);
match(CHECK);
setState(1888);
match(LR_BRACKET);
setState(1889);
expression(0);
setState(1890);
match(RR_BRACKET);
}
break;
case 5:
_localctx = new ClusteringKeyTableConstraintContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(1892);
match(CLUSTERING);
setState(1893);
match(KEY);
setState(1895);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(1894);
((ClusteringKeyTableConstraintContext)_localctx).index = uid();
}
}
setState(1897);
indexColumnNames();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ReferenceDefinitionContext extends ParserRuleContext {
public Token matchType;
public TerminalNode REFERENCES() { return getToken(MySqlParser.REFERENCES, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode MATCH() { return getToken(MySqlParser.MATCH, 0); }
public ReferenceActionContext referenceAction() {
return getRuleContext(ReferenceActionContext.class,0);
}
public TerminalNode FULL() { return getToken(MySqlParser.FULL, 0); }
public TerminalNode PARTIAL() { return getToken(MySqlParser.PARTIAL, 0); }
public TerminalNode SIMPLE() { return getToken(MySqlParser.SIMPLE, 0); }
public ReferenceDefinitionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_referenceDefinition; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterReferenceDefinition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitReferenceDefinition(this);
}
}
public final ReferenceDefinitionContext referenceDefinition() throws RecognitionException {
ReferenceDefinitionContext _localctx = new ReferenceDefinitionContext(_ctx, getState());
enterRule(_localctx, 104, RULE_referenceDefinition);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1900);
match(REFERENCES);
setState(1901);
tableName();
setState(1903);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,202,_ctx) ) {
case 1:
{
setState(1902);
indexColumnNames();
}
break;
}
setState(1907);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MATCH) {
{
setState(1905);
match(MATCH);
setState(1906);
((ReferenceDefinitionContext)_localctx).matchType = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==FULL || _la==PARTIAL || _la==SIMPLE) ) {
((ReferenceDefinitionContext)_localctx).matchType = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(1910);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,204,_ctx) ) {
case 1:
{
setState(1909);
referenceAction();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ReferenceActionContext extends ParserRuleContext {
public ReferenceControlTypeContext onDelete;
public ReferenceControlTypeContext onUpdate;
public List ON() { return getTokens(MySqlParser.ON); }
public TerminalNode ON(int i) {
return getToken(MySqlParser.ON, i);
}
public TerminalNode DELETE() { return getToken(MySqlParser.DELETE, 0); }
public List referenceControlType() {
return getRuleContexts(ReferenceControlTypeContext.class);
}
public ReferenceControlTypeContext referenceControlType(int i) {
return getRuleContext(ReferenceControlTypeContext.class,i);
}
public TerminalNode UPDATE() { return getToken(MySqlParser.UPDATE, 0); }
public ReferenceActionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_referenceAction; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterReferenceAction(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitReferenceAction(this);
}
}
public final ReferenceActionContext referenceAction() throws RecognitionException {
ReferenceActionContext _localctx = new ReferenceActionContext(_ctx, getState());
enterRule(_localctx, 106, RULE_referenceAction);
try {
setState(1928);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,207,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1912);
match(ON);
setState(1913);
match(DELETE);
setState(1914);
((ReferenceActionContext)_localctx).onDelete = referenceControlType();
setState(1918);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,205,_ctx) ) {
case 1:
{
setState(1915);
match(ON);
setState(1916);
match(UPDATE);
setState(1917);
((ReferenceActionContext)_localctx).onUpdate = referenceControlType();
}
break;
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1920);
match(ON);
setState(1921);
match(UPDATE);
setState(1922);
((ReferenceActionContext)_localctx).onUpdate = referenceControlType();
setState(1926);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,206,_ctx) ) {
case 1:
{
setState(1923);
match(ON);
setState(1924);
match(DELETE);
setState(1925);
((ReferenceActionContext)_localctx).onDelete = referenceControlType();
}
break;
}
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ReferenceControlTypeContext extends ParserRuleContext {
public TerminalNode RESTRICT() { return getToken(MySqlParser.RESTRICT, 0); }
public TerminalNode CASCADE() { return getToken(MySqlParser.CASCADE, 0); }
public TerminalNode SET() { return getToken(MySqlParser.SET, 0); }
public TerminalNode NULL_LITERAL() { return getToken(MySqlParser.NULL_LITERAL, 0); }
public TerminalNode NO() { return getToken(MySqlParser.NO, 0); }
public TerminalNode ACTION() { return getToken(MySqlParser.ACTION, 0); }
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public ReferenceControlTypeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_referenceControlType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterReferenceControlType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitReferenceControlType(this);
}
}
public final ReferenceControlTypeContext referenceControlType() throws RecognitionException {
ReferenceControlTypeContext _localctx = new ReferenceControlTypeContext(_ctx, getState());
enterRule(_localctx, 108, RULE_referenceControlType);
try {
setState(1938);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,208,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1930);
match(RESTRICT);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1931);
match(CASCADE);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1932);
match(SET);
setState(1933);
match(NULL_LITERAL);
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1934);
match(NO);
setState(1935);
match(ACTION);
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(1936);
match(SET);
setState(1937);
match(DEFAULT);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class IndexColumnDefinitionContext extends ParserRuleContext {
public IndexColumnDefinitionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_indexColumnDefinition; }
public IndexColumnDefinitionContext() { }
public void copyFrom(IndexColumnDefinitionContext ctx) {
super.copyFrom(ctx);
}
}
public static class SpecialIndexDeclarationContext extends IndexColumnDefinitionContext {
public Token indexFormat;
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode FULLTEXT() { return getToken(MySqlParser.FULLTEXT, 0); }
public TerminalNode SPATIAL() { return getToken(MySqlParser.SPATIAL, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public List indexOption() {
return getRuleContexts(IndexOptionContext.class);
}
public IndexOptionContext indexOption(int i) {
return getRuleContext(IndexOptionContext.class,i);
}
public TerminalNode INDEX() { return getToken(MySqlParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public SpecialIndexDeclarationContext(IndexColumnDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSpecialIndexDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSpecialIndexDeclaration(this);
}
}
public static class SimpleIndexDeclarationContext extends IndexColumnDefinitionContext {
public Token indexFormat;
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode INDEX() { return getToken(MySqlParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public IndexTypeContext indexType() {
return getRuleContext(IndexTypeContext.class,0);
}
public List indexOption() {
return getRuleContexts(IndexOptionContext.class);
}
public IndexOptionContext indexOption(int i) {
return getRuleContext(IndexOptionContext.class,i);
}
public SimpleIndexDeclarationContext(IndexColumnDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSimpleIndexDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSimpleIndexDeclaration(this);
}
}
public final IndexColumnDefinitionContext indexColumnDefinition() throws RecognitionException {
IndexColumnDefinitionContext _localctx = new IndexColumnDefinitionContext(_ctx, getState());
enterRule(_localctx, 110, RULE_indexColumnDefinition);
int _la;
try {
setState(1968);
_errHandler.sync(this);
switch (_input.LA(1)) {
case INDEX:
case KEY:
_localctx = new SimpleIndexDeclarationContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1940);
((SimpleIndexDeclarationContext)_localctx).indexFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==INDEX || _la==KEY) ) {
((SimpleIndexDeclarationContext)_localctx).indexFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(1942);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(1941);
uid();
}
}
setState(1945);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==USING) {
{
setState(1944);
indexType();
}
}
setState(1947);
indexColumnNames();
setState(1951);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==IGNORED || _la==NOT || _la==USING || _la==WITH || _la==CLUSTERING || _la==COMMENT || _la==INVISIBLE || _la==KEY_BLOCK_SIZE || _la==VISIBLE || _la==ENGINE_ATTRIBUTE || _la==SECONDARY_ENGINE_ATTRIBUTE) {
{
{
setState(1948);
indexOption();
}
}
setState(1953);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case FULLTEXT:
case SPATIAL:
_localctx = new SpecialIndexDeclarationContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1954);
_la = _input.LA(1);
if ( !(_la==FULLTEXT || _la==SPATIAL) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(1956);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INDEX || _la==KEY) {
{
setState(1955);
((SpecialIndexDeclarationContext)_localctx).indexFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==INDEX || _la==KEY) ) {
((SpecialIndexDeclarationContext)_localctx).indexFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(1959);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(1958);
uid();
}
}
setState(1961);
indexColumnNames();
setState(1965);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==IGNORED || _la==NOT || _la==USING || _la==WITH || _la==CLUSTERING || _la==COMMENT || _la==INVISIBLE || _la==KEY_BLOCK_SIZE || _la==VISIBLE || _la==ENGINE_ATTRIBUTE || _la==SECONDARY_ENGINE_ATTRIBUTE) {
{
{
setState(1962);
indexOption();
}
}
setState(1967);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TableOptionContext extends ParserRuleContext {
public TableOptionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tableOption; }
public TableOptionContext() { }
public void copyFrom(TableOptionContext ctx) {
super.copyFrom(ctx);
}
}
public static class TableOptionEngineContext extends TableOptionContext {
public TerminalNode ENGINE() { return getToken(MySqlParser.ENGINE, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public TableOptionEngineContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionEngine(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionEngine(this);
}
}
public static class TableOptionMaxRowsContext extends TableOptionContext {
public TerminalNode MAX_ROWS() { return getToken(MySqlParser.MAX_ROWS, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionMaxRowsContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionMaxRows(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionMaxRows(this);
}
}
public static class TableOptionCollateContext extends TableOptionContext {
public TerminalNode COLLATE() { return getToken(MySqlParser.COLLATE, 0); }
public CollationNameContext collationName() {
return getRuleContext(CollationNameContext.class,0);
}
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionCollateContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionCollate(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionCollate(this);
}
}
public static class TableOptionPersistentContext extends TableOptionContext {
public Token extBoolValue;
public TerminalNode STATS_PERSISTENT() { return getToken(MySqlParser.STATS_PERSISTENT, 0); }
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(MySqlParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(MySqlParser.ONE_DECIMAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionPersistentContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionPersistent(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionPersistent(this);
}
}
public static class TableOptionTablespaceContext extends TableOptionContext {
public TerminalNode TABLESPACE() { return getToken(MySqlParser.TABLESPACE, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TablespaceStorageContext tablespaceStorage() {
return getRuleContext(TablespaceStorageContext.class,0);
}
public TableOptionTablespaceContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionTablespace(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionTablespace(this);
}
}
public static class TableOptionAutoextendSizeContext extends TableOptionContext {
public TerminalNode AUTOEXTEND_SIZE() { return getToken(MySqlParser.AUTOEXTEND_SIZE, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionAutoextendSizeContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionAutoextendSize(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionAutoextendSize(this);
}
}
public static class TableOptionPageCompressedContext extends TableOptionContext {
public TerminalNode PAGE_COMPRESSED() { return getToken(MySqlParser.PAGE_COMPRESSED, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(MySqlParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(MySqlParser.ONE_DECIMAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionPageCompressedContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionPageCompressed(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionPageCompressed(this);
}
}
public static class TableOptionStartTransactionContext extends TableOptionContext {
public TerminalNode START() { return getToken(MySqlParser.START, 0); }
public TerminalNode TRANSACTION() { return getToken(MySqlParser.TRANSACTION, 0); }
public TableOptionStartTransactionContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionStartTransaction(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionStartTransaction(this);
}
}
public static class TableOptionPackKeysContext extends TableOptionContext {
public Token extBoolValue;
public TerminalNode PACK_KEYS() { return getToken(MySqlParser.PACK_KEYS, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(MySqlParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(MySqlParser.ONE_DECIMAL, 0); }
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionPackKeysContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionPackKeys(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionPackKeys(this);
}
}
public static class TableOptionPasswordContext extends TableOptionContext {
public TerminalNode PASSWORD() { return getToken(MySqlParser.PASSWORD, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionPasswordContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionPassword(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionPassword(this);
}
}
public static class TableOptionUnionContext extends TableOptionContext {
public TerminalNode UNION() { return getToken(MySqlParser.UNION, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public TablesContext tables() {
return getRuleContext(TablesContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionUnionContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionUnion(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionUnion(this);
}
}
public static class TableOptionSamplePageContext extends TableOptionContext {
public TerminalNode STATS_SAMPLE_PAGES() { return getToken(MySqlParser.STATS_SAMPLE_PAGES, 0); }
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionSamplePageContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionSamplePage(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionSamplePage(this);
}
}
public static class TableOptionCharsetContext extends TableOptionContext {
public CharSetContext charSet() {
return getRuleContext(CharSetContext.class,0);
}
public CharsetNameContext charsetName() {
return getRuleContext(CharsetNameContext.class,0);
}
public List DEFAULT() { return getTokens(MySqlParser.DEFAULT); }
public TerminalNode DEFAULT(int i) {
return getToken(MySqlParser.DEFAULT, i);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionCharsetContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionCharset(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionCharset(this);
}
}
public static class TableOptionIndexDirectoryContext extends TableOptionContext {
public TerminalNode INDEX() { return getToken(MySqlParser.INDEX, 0); }
public TerminalNode DIRECTORY() { return getToken(MySqlParser.DIRECTORY, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionIndexDirectoryContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionIndexDirectory(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionIndexDirectory(this);
}
}
public static class TableOptionTableTypeContext extends TableOptionContext {
public TerminalNode TABLE_TYPE() { return getToken(MySqlParser.TABLE_TYPE, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableTypeContext tableType() {
return getRuleContext(TableTypeContext.class,0);
}
public TableOptionTableTypeContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionTableType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionTableType(this);
}
}
public static class TableOptionKeyBlockSizeContext extends TableOptionContext {
public TerminalNode KEY_BLOCK_SIZE() { return getToken(MySqlParser.KEY_BLOCK_SIZE, 0); }
public FileSizeLiteralContext fileSizeLiteral() {
return getRuleContext(FileSizeLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionKeyBlockSizeContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionKeyBlockSize(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionKeyBlockSize(this);
}
}
public static class TableOptionEncryptionContext extends TableOptionContext {
public TerminalNode ENCRYPTION() { return getToken(MySqlParser.ENCRYPTION, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionEncryptionContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionEncryption(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionEncryption(this);
}
}
public static class TableOptionDataDirectoryContext extends TableOptionContext {
public TerminalNode DIRECTORY() { return getToken(MySqlParser.DIRECTORY, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode DATA() { return getToken(MySqlParser.DATA, 0); }
public TerminalNode INDEX() { return getToken(MySqlParser.INDEX, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionDataDirectoryContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionDataDirectory(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionDataDirectory(this);
}
}
public static class TableOptionRecalculationContext extends TableOptionContext {
public Token extBoolValue;
public TerminalNode STATS_AUTO_RECALC() { return getToken(MySqlParser.STATS_AUTO_RECALC, 0); }
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(MySqlParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(MySqlParser.ONE_DECIMAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionRecalculationContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionRecalculation(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionRecalculation(this);
}
}
public static class TableOptionAutoIncrementContext extends TableOptionContext {
public TerminalNode AUTO_INCREMENT() { return getToken(MySqlParser.AUTO_INCREMENT, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionAutoIncrementContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionAutoIncrement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionAutoIncrement(this);
}
}
public static class TableOptionEncryptionKeyIdContext extends TableOptionContext {
public TerminalNode ENCRYPTION_KEY_ID() { return getToken(MySqlParser.ENCRYPTION_KEY_ID, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionEncryptionKeyIdContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionEncryptionKeyId(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionEncryptionKeyId(this);
}
}
public static class TableOptionChecksumContext extends TableOptionContext {
public Token boolValue;
public TerminalNode CHECKSUM() { return getToken(MySqlParser.CHECKSUM, 0); }
public TerminalNode PAGE_CHECKSUM() { return getToken(MySqlParser.PAGE_CHECKSUM, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(MySqlParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(MySqlParser.ONE_DECIMAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionChecksumContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionChecksum(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionChecksum(this);
}
}
public static class TableOptionEncryptedContext extends TableOptionContext {
public EncryptedLiteralContext encryptedLiteral() {
return getRuleContext(EncryptedLiteralContext.class,0);
}
public TerminalNode YES() { return getToken(MySqlParser.YES, 0); }
public TerminalNode NO() { return getToken(MySqlParser.NO, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionEncryptedContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionEncrypted(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionEncrypted(this);
}
}
public static class TableOptionDelayContext extends TableOptionContext {
public Token boolValue;
public TerminalNode DELAY_KEY_WRITE() { return getToken(MySqlParser.DELAY_KEY_WRITE, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(MySqlParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(MySqlParser.ONE_DECIMAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionDelayContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionDelay(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionDelay(this);
}
}
public static class TableOptionConnectionContext extends TableOptionContext {
public TerminalNode CONNECTION() { return getToken(MySqlParser.CONNECTION, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionConnectionContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionConnection(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionConnection(this);
}
}
public static class TableOptionTransactionalContext extends TableOptionContext {
public TerminalNode TRANSACTIONAL() { return getToken(MySqlParser.TRANSACTIONAL, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(MySqlParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(MySqlParser.ONE_DECIMAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionTransactionalContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionTransactional(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionTransactional(this);
}
}
public static class TableOptionPageCompressionLevelContext extends TableOptionContext {
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode PAGE_COMPRESSION_LEVEL() { return getToken(MySqlParser.PAGE_COMPRESSION_LEVEL, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionPageCompressionLevelContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionPageCompressionLevel(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionPageCompressionLevel(this);
}
}
public static class TableOptionSecondaryEngineAttributeContext extends TableOptionContext {
public TerminalNode SECONDARY_ENGINE_ATTRIBUTE() { return getToken(MySqlParser.SECONDARY_ENGINE_ATTRIBUTE, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionSecondaryEngineAttributeContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionSecondaryEngineAttribute(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionSecondaryEngineAttribute(this);
}
}
public static class TableOptionWithSystemVersioningContext extends TableOptionContext {
public TerminalNode WITH() { return getToken(MySqlParser.WITH, 0); }
public TerminalNode SYSTEM() { return getToken(MySqlParser.SYSTEM, 0); }
public TerminalNode VERSIONING() { return getToken(MySqlParser.VERSIONING, 0); }
public TableOptionWithSystemVersioningContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionWithSystemVersioning(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionWithSystemVersioning(this);
}
}
public static class TableOptionCommentContext extends TableOptionContext {
public TerminalNode COMMENT() { return getToken(MySqlParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionCommentContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionComment(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionComment(this);
}
}
public static class TableOptionAverageContext extends TableOptionContext {
public TerminalNode AVG_ROW_LENGTH() { return getToken(MySqlParser.AVG_ROW_LENGTH, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionAverageContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionAverage(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionAverage(this);
}
}
public static class TableOptionRowFormatContext extends TableOptionContext {
public Token rowFormat;
public TerminalNode ROW_FORMAT() { return getToken(MySqlParser.ROW_FORMAT, 0); }
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public TerminalNode DYNAMIC() { return getToken(MySqlParser.DYNAMIC, 0); }
public TerminalNode FIXED() { return getToken(MySqlParser.FIXED, 0); }
public TerminalNode COMPRESSED() { return getToken(MySqlParser.COMPRESSED, 0); }
public TerminalNode REDUNDANT() { return getToken(MySqlParser.REDUNDANT, 0); }
public TerminalNode COMPACT() { return getToken(MySqlParser.COMPACT, 0); }
public TerminalNode ID() { return getToken(MySqlParser.ID, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionRowFormatContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionRowFormat(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionRowFormat(this);
}
}
public static class TableOptionCompressionContext extends TableOptionContext {
public TerminalNode COMPRESSION() { return getToken(MySqlParser.COMPRESSION, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode ID() { return getToken(MySqlParser.ID, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionCompressionContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionCompression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionCompression(this);
}
}
public static class TableOptionInsertMethodContext extends TableOptionContext {
public Token insertMethod;
public TerminalNode INSERT_METHOD() { return getToken(MySqlParser.INSERT_METHOD, 0); }
public TerminalNode NO() { return getToken(MySqlParser.NO, 0); }
public TerminalNode FIRST() { return getToken(MySqlParser.FIRST, 0); }
public TerminalNode LAST() { return getToken(MySqlParser.LAST, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionInsertMethodContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionInsertMethod(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionInsertMethod(this);
}
}
public static class TableOptionEngineAttributeContext extends TableOptionContext {
public TerminalNode ENGINE_ATTRIBUTE() { return getToken(MySqlParser.ENGINE_ATTRIBUTE, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionEngineAttributeContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionEngineAttribute(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionEngineAttribute(this);
}
}
public static class TableOptionMinRowsContext extends TableOptionContext {
public TerminalNode MIN_ROWS() { return getToken(MySqlParser.MIN_ROWS, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TableOptionMinRowsContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableOptionMinRows(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableOptionMinRows(this);
}
}
public final TableOptionContext tableOption() throws RecognitionException {
TableOptionContext _localctx = new TableOptionContext(_ctx, getState());
enterRule(_localctx, 112, RULE_tableOption);
int _la;
try {
setState(2164);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,254,_ctx) ) {
case 1:
_localctx = new TableOptionEngineContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1970);
match(ENGINE);
setState(1972);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1971);
match(EQUAL_SYMBOL);
}
}
setState(1975);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,217,_ctx) ) {
case 1:
{
setState(1974);
engineName();
}
break;
}
}
break;
case 2:
_localctx = new TableOptionEngineAttributeContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1977);
match(ENGINE_ATTRIBUTE);
setState(1979);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1978);
match(EQUAL_SYMBOL);
}
}
setState(1981);
match(STRING_LITERAL);
}
break;
case 3:
_localctx = new TableOptionAutoextendSizeContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(1982);
match(AUTOEXTEND_SIZE);
setState(1984);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1983);
match(EQUAL_SYMBOL);
}
}
setState(1986);
decimalLiteral();
}
break;
case 4:
_localctx = new TableOptionAutoIncrementContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(1987);
match(AUTO_INCREMENT);
setState(1989);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1988);
match(EQUAL_SYMBOL);
}
}
setState(1991);
decimalLiteral();
}
break;
case 5:
_localctx = new TableOptionAverageContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(1992);
match(AVG_ROW_LENGTH);
setState(1994);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1993);
match(EQUAL_SYMBOL);
}
}
setState(1996);
decimalLiteral();
}
break;
case 6:
_localctx = new TableOptionCharsetContext(_localctx);
enterOuterAlt(_localctx, 6);
{
setState(1998);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
setState(1997);
match(DEFAULT);
}
}
setState(2000);
charSet();
setState(2002);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2001);
match(EQUAL_SYMBOL);
}
}
setState(2006);
_errHandler.sync(this);
switch (_input.LA(1)) {
case BINARY:
case ARMSCII8:
case ASCII:
case BIG5:
case CP1250:
case CP1251:
case CP1256:
case CP1257:
case CP850:
case CP852:
case CP866:
case CP932:
case DEC8:
case EUCJPMS:
case EUCKR:
case GB18030:
case GB2312:
case GBK:
case GEOSTD8:
case GREEK:
case HEBREW:
case HP8:
case KEYBCS2:
case KOI8R:
case KOI8U:
case LATIN1:
case LATIN2:
case LATIN5:
case LATIN7:
case MACCE:
case MACROMAN:
case SJIS:
case SWE7:
case TIS620:
case UCS2:
case UJIS:
case UTF16:
case UTF16LE:
case UTF32:
case UTF8:
case UTF8MB3:
case UTF8MB4:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
{
setState(2004);
charsetName();
}
break;
case DEFAULT:
{
setState(2005);
match(DEFAULT);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 7:
_localctx = new TableOptionChecksumContext(_localctx);
enterOuterAlt(_localctx, 7);
{
setState(2008);
_la = _input.LA(1);
if ( !(_la==CHECKSUM || _la==PAGE_CHECKSUM) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(2010);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2009);
match(EQUAL_SYMBOL);
}
}
setState(2012);
((TableOptionChecksumContext)_localctx).boolValue = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==ZERO_DECIMAL || _la==ONE_DECIMAL) ) {
((TableOptionChecksumContext)_localctx).boolValue = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case 8:
_localctx = new TableOptionCollateContext(_localctx);
enterOuterAlt(_localctx, 8);
{
setState(2014);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
setState(2013);
match(DEFAULT);
}
}
setState(2016);
match(COLLATE);
setState(2018);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2017);
match(EQUAL_SYMBOL);
}
}
setState(2020);
collationName();
}
break;
case 9:
_localctx = new TableOptionCommentContext(_localctx);
enterOuterAlt(_localctx, 9);
{
setState(2021);
match(COMMENT);
setState(2023);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2022);
match(EQUAL_SYMBOL);
}
}
setState(2025);
match(STRING_LITERAL);
}
break;
case 10:
_localctx = new TableOptionCompressionContext(_localctx);
enterOuterAlt(_localctx, 10);
{
setState(2026);
match(COMPRESSION);
setState(2028);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2027);
match(EQUAL_SYMBOL);
}
}
setState(2030);
_la = _input.LA(1);
if ( !(_la==STRING_LITERAL || _la==ID) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case 11:
_localctx = new TableOptionConnectionContext(_localctx);
enterOuterAlt(_localctx, 11);
{
setState(2031);
match(CONNECTION);
setState(2033);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2032);
match(EQUAL_SYMBOL);
}
}
setState(2035);
match(STRING_LITERAL);
}
break;
case 12:
_localctx = new TableOptionDataDirectoryContext(_localctx);
enterOuterAlt(_localctx, 12);
{
setState(2036);
_la = _input.LA(1);
if ( !(_la==INDEX || _la==DATA) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(2037);
match(DIRECTORY);
setState(2039);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2038);
match(EQUAL_SYMBOL);
}
}
setState(2041);
match(STRING_LITERAL);
}
break;
case 13:
_localctx = new TableOptionDelayContext(_localctx);
enterOuterAlt(_localctx, 13);
{
setState(2042);
match(DELAY_KEY_WRITE);
setState(2044);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2043);
match(EQUAL_SYMBOL);
}
}
setState(2046);
((TableOptionDelayContext)_localctx).boolValue = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==ZERO_DECIMAL || _la==ONE_DECIMAL) ) {
((TableOptionDelayContext)_localctx).boolValue = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case 14:
_localctx = new TableOptionEncryptionContext(_localctx);
enterOuterAlt(_localctx, 14);
{
setState(2047);
match(ENCRYPTION);
setState(2049);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2048);
match(EQUAL_SYMBOL);
}
}
setState(2051);
match(STRING_LITERAL);
}
break;
case 15:
_localctx = new TableOptionEncryptedContext(_localctx);
enterOuterAlt(_localctx, 15);
{
setState(2052);
encryptedLiteral();
setState(2054);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2053);
match(EQUAL_SYMBOL);
}
}
setState(2056);
_la = _input.LA(1);
if ( !(_la==NO || _la==YES) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case 16:
_localctx = new TableOptionPageCompressedContext(_localctx);
enterOuterAlt(_localctx, 16);
{
setState(2058);
_la = _input.LA(1);
if ( !(_la==PAGE_COMPRESSED || _la==STRING_LITERAL) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(2060);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2059);
match(EQUAL_SYMBOL);
}
}
setState(2062);
_la = _input.LA(1);
if ( !(_la==ZERO_DECIMAL || _la==ONE_DECIMAL) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case 17:
_localctx = new TableOptionPageCompressionLevelContext(_localctx);
enterOuterAlt(_localctx, 17);
{
setState(2063);
_la = _input.LA(1);
if ( !(_la==PAGE_COMPRESSION_LEVEL || _la==STRING_LITERAL) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(2065);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2064);
match(EQUAL_SYMBOL);
}
}
setState(2067);
decimalLiteral();
}
break;
case 18:
_localctx = new TableOptionEncryptionKeyIdContext(_localctx);
enterOuterAlt(_localctx, 18);
{
setState(2068);
match(ENCRYPTION_KEY_ID);
setState(2070);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2069);
match(EQUAL_SYMBOL);
}
}
setState(2072);
decimalLiteral();
}
break;
case 19:
_localctx = new TableOptionIndexDirectoryContext(_localctx);
enterOuterAlt(_localctx, 19);
{
setState(2073);
match(INDEX);
setState(2074);
match(DIRECTORY);
setState(2076);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2075);
match(EQUAL_SYMBOL);
}
}
setState(2078);
match(STRING_LITERAL);
}
break;
case 20:
_localctx = new TableOptionInsertMethodContext(_localctx);
enterOuterAlt(_localctx, 20);
{
setState(2079);
match(INSERT_METHOD);
setState(2081);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2080);
match(EQUAL_SYMBOL);
}
}
setState(2083);
((TableOptionInsertMethodContext)_localctx).insertMethod = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==FIRST || _la==LAST || _la==NO) ) {
((TableOptionInsertMethodContext)_localctx).insertMethod = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case 21:
_localctx = new TableOptionKeyBlockSizeContext(_localctx);
enterOuterAlt(_localctx, 21);
{
setState(2084);
match(KEY_BLOCK_SIZE);
setState(2086);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2085);
match(EQUAL_SYMBOL);
}
}
setState(2088);
fileSizeLiteral();
}
break;
case 22:
_localctx = new TableOptionMaxRowsContext(_localctx);
enterOuterAlt(_localctx, 22);
{
setState(2089);
match(MAX_ROWS);
setState(2091);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2090);
match(EQUAL_SYMBOL);
}
}
setState(2093);
decimalLiteral();
}
break;
case 23:
_localctx = new TableOptionMinRowsContext(_localctx);
enterOuterAlt(_localctx, 23);
{
setState(2094);
match(MIN_ROWS);
setState(2096);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2095);
match(EQUAL_SYMBOL);
}
}
setState(2098);
decimalLiteral();
}
break;
case 24:
_localctx = new TableOptionPackKeysContext(_localctx);
enterOuterAlt(_localctx, 24);
{
setState(2099);
match(PACK_KEYS);
setState(2101);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2100);
match(EQUAL_SYMBOL);
}
}
setState(2103);
((TableOptionPackKeysContext)_localctx).extBoolValue = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DEFAULT || _la==ZERO_DECIMAL || _la==ONE_DECIMAL) ) {
((TableOptionPackKeysContext)_localctx).extBoolValue = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case 25:
_localctx = new TableOptionPasswordContext(_localctx);
enterOuterAlt(_localctx, 25);
{
setState(2104);
match(PASSWORD);
setState(2106);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2105);
match(EQUAL_SYMBOL);
}
}
setState(2108);
match(STRING_LITERAL);
}
break;
case 26:
_localctx = new TableOptionRowFormatContext(_localctx);
enterOuterAlt(_localctx, 26);
{
setState(2109);
match(ROW_FORMAT);
setState(2111);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2110);
match(EQUAL_SYMBOL);
}
}
setState(2113);
((TableOptionRowFormatContext)_localctx).rowFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DEFAULT || ((((_la - 373)) & ~0x3f) == 0 && ((1L << (_la - 373)) & ((1L << (COMPACT - 373)) | (1L << (COMPRESSED - 373)) | (1L << (DYNAMIC - 373)) | (1L << (FIXED - 373)))) != 0) || _la==REDUNDANT || _la==ID) ) {
((TableOptionRowFormatContext)_localctx).rowFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case 27:
_localctx = new TableOptionStartTransactionContext(_localctx);
enterOuterAlt(_localctx, 27);
{
setState(2114);
match(START);
setState(2115);
match(TRANSACTION);
}
break;
case 28:
_localctx = new TableOptionSecondaryEngineAttributeContext(_localctx);
enterOuterAlt(_localctx, 28);
{
setState(2116);
match(SECONDARY_ENGINE_ATTRIBUTE);
setState(2118);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2117);
match(EQUAL_SYMBOL);
}
}
setState(2120);
match(STRING_LITERAL);
}
break;
case 29:
_localctx = new TableOptionRecalculationContext(_localctx);
enterOuterAlt(_localctx, 29);
{
setState(2121);
match(STATS_AUTO_RECALC);
setState(2123);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2122);
match(EQUAL_SYMBOL);
}
}
setState(2125);
((TableOptionRecalculationContext)_localctx).extBoolValue = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DEFAULT || _la==ZERO_DECIMAL || _la==ONE_DECIMAL) ) {
((TableOptionRecalculationContext)_localctx).extBoolValue = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case 30:
_localctx = new TableOptionPersistentContext(_localctx);
enterOuterAlt(_localctx, 30);
{
setState(2126);
match(STATS_PERSISTENT);
setState(2128);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2127);
match(EQUAL_SYMBOL);
}
}
setState(2130);
((TableOptionPersistentContext)_localctx).extBoolValue = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DEFAULT || _la==ZERO_DECIMAL || _la==ONE_DECIMAL) ) {
((TableOptionPersistentContext)_localctx).extBoolValue = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case 31:
_localctx = new TableOptionSamplePageContext(_localctx);
enterOuterAlt(_localctx, 31);
{
setState(2131);
match(STATS_SAMPLE_PAGES);
setState(2133);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2132);
match(EQUAL_SYMBOL);
}
}
setState(2137);
_errHandler.sync(this);
switch (_input.LA(1)) {
case DEFAULT:
{
setState(2135);
match(DEFAULT);
}
break;
case ZERO_DECIMAL:
case ONE_DECIMAL:
case TWO_DECIMAL:
case DECIMAL_LITERAL:
case REAL_LITERAL:
{
setState(2136);
decimalLiteral();
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 32:
_localctx = new TableOptionTablespaceContext(_localctx);
enterOuterAlt(_localctx, 32);
{
setState(2139);
match(TABLESPACE);
setState(2140);
uid();
setState(2142);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,251,_ctx) ) {
case 1:
{
setState(2141);
tablespaceStorage();
}
break;
}
}
break;
case 33:
_localctx = new TableOptionTableTypeContext(_localctx);
enterOuterAlt(_localctx, 33);
{
setState(2144);
match(TABLE_TYPE);
setState(2145);
match(EQUAL_SYMBOL);
setState(2146);
tableType();
}
break;
case 34:
_localctx = new TableOptionTablespaceContext(_localctx);
enterOuterAlt(_localctx, 34);
{
setState(2147);
tablespaceStorage();
}
break;
case 35:
_localctx = new TableOptionTransactionalContext(_localctx);
enterOuterAlt(_localctx, 35);
{
setState(2148);
match(TRANSACTIONAL);
setState(2150);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2149);
match(EQUAL_SYMBOL);
}
}
setState(2152);
_la = _input.LA(1);
if ( !(_la==ZERO_DECIMAL || _la==ONE_DECIMAL) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case 36:
_localctx = new TableOptionUnionContext(_localctx);
enterOuterAlt(_localctx, 36);
{
setState(2153);
match(UNION);
setState(2155);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2154);
match(EQUAL_SYMBOL);
}
}
setState(2157);
match(LR_BRACKET);
setState(2158);
tables();
setState(2159);
match(RR_BRACKET);
}
break;
case 37:
_localctx = new TableOptionWithSystemVersioningContext(_localctx);
enterOuterAlt(_localctx, 37);
{
setState(2161);
match(WITH);
setState(2162);
match(SYSTEM);
setState(2163);
match(VERSIONING);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TableTypeContext extends ParserRuleContext {
public TerminalNode MYSQL() { return getToken(MySqlParser.MYSQL, 0); }
public TerminalNode ODBC() { return getToken(MySqlParser.ODBC, 0); }
public TableTypeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tableType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableType(this);
}
}
public final TableTypeContext tableType() throws RecognitionException {
TableTypeContext _localctx = new TableTypeContext(_ctx, getState());
enterRule(_localctx, 114, RULE_tableType);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2166);
_la = _input.LA(1);
if ( !(_la==MYSQL || _la==ODBC) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TablespaceStorageContext extends ParserRuleContext {
public TerminalNode STORAGE() { return getToken(MySqlParser.STORAGE, 0); }
public TerminalNode DISK() { return getToken(MySqlParser.DISK, 0); }
public TerminalNode MEMORY() { return getToken(MySqlParser.MEMORY, 0); }
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public TablespaceStorageContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tablespaceStorage; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTablespaceStorage(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTablespaceStorage(this);
}
}
public final TablespaceStorageContext tablespaceStorage() throws RecognitionException {
TablespaceStorageContext _localctx = new TablespaceStorageContext(_ctx, getState());
enterRule(_localctx, 116, RULE_tablespaceStorage);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2168);
match(STORAGE);
setState(2169);
_la = _input.LA(1);
if ( !(_la==DEFAULT || _la==DISK || _la==MEMORY) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class PartitionDefinitionsContext extends ParserRuleContext {
public DecimalLiteralContext count;
public DecimalLiteralContext subCount;
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public List BY() { return getTokens(MySqlParser.BY); }
public TerminalNode BY(int i) {
return getToken(MySqlParser.BY, i);
}
public PartitionFunctionDefinitionContext partitionFunctionDefinition() {
return getRuleContext(PartitionFunctionDefinitionContext.class,0);
}
public TerminalNode PARTITIONS() { return getToken(MySqlParser.PARTITIONS, 0); }
public TerminalNode SUBPARTITION() { return getToken(MySqlParser.SUBPARTITION, 0); }
public SubpartitionFunctionDefinitionContext subpartitionFunctionDefinition() {
return getRuleContext(SubpartitionFunctionDefinitionContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public List partitionDefinition() {
return getRuleContexts(PartitionDefinitionContext.class);
}
public PartitionDefinitionContext partitionDefinition(int i) {
return getRuleContext(PartitionDefinitionContext.class,i);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public List decimalLiteral() {
return getRuleContexts(DecimalLiteralContext.class);
}
public DecimalLiteralContext decimalLiteral(int i) {
return getRuleContext(DecimalLiteralContext.class,i);
}
public TerminalNode SUBPARTITIONS() { return getToken(MySqlParser.SUBPARTITIONS, 0); }
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public PartitionDefinitionsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_partitionDefinitions; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionDefinitions(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionDefinitions(this);
}
}
public final PartitionDefinitionsContext partitionDefinitions() throws RecognitionException {
PartitionDefinitionsContext _localctx = new PartitionDefinitionsContext(_ctx, getState());
enterRule(_localctx, 118, RULE_partitionDefinitions);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2171);
match(PARTITION);
setState(2172);
match(BY);
setState(2173);
partitionFunctionDefinition();
setState(2176);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITIONS) {
{
setState(2174);
match(PARTITIONS);
setState(2175);
((PartitionDefinitionsContext)_localctx).count = decimalLiteral();
}
}
setState(2185);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==SUBPARTITION) {
{
setState(2178);
match(SUBPARTITION);
setState(2179);
match(BY);
setState(2180);
subpartitionFunctionDefinition();
setState(2183);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==SUBPARTITIONS) {
{
setState(2181);
match(SUBPARTITIONS);
setState(2182);
((PartitionDefinitionsContext)_localctx).subCount = decimalLiteral();
}
}
}
}
setState(2198);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,259,_ctx) ) {
case 1:
{
setState(2187);
match(LR_BRACKET);
setState(2188);
partitionDefinition();
setState(2193);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2189);
match(COMMA);
setState(2190);
partitionDefinition();
}
}
setState(2195);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2196);
match(RR_BRACKET);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class PartitionFunctionDefinitionContext extends ParserRuleContext {
public PartitionFunctionDefinitionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_partitionFunctionDefinition; }
public PartitionFunctionDefinitionContext() { }
public void copyFrom(PartitionFunctionDefinitionContext ctx) {
super.copyFrom(ctx);
}
}
public static class PartitionFunctionKeyContext extends PartitionFunctionDefinitionContext {
public Token algType;
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode LINEAR() { return getToken(MySqlParser.LINEAR, 0); }
public TerminalNode ALGORITHM() { return getToken(MySqlParser.ALGORITHM, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode ONE_DECIMAL() { return getToken(MySqlParser.ONE_DECIMAL, 0); }
public TerminalNode TWO_DECIMAL() { return getToken(MySqlParser.TWO_DECIMAL, 0); }
public PartitionFunctionKeyContext(PartitionFunctionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionFunctionKey(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionFunctionKey(this);
}
}
public static class PartitionFunctionHashContext extends PartitionFunctionDefinitionContext {
public TerminalNode HASH() { return getToken(MySqlParser.HASH, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode LINEAR() { return getToken(MySqlParser.LINEAR, 0); }
public PartitionFunctionHashContext(PartitionFunctionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionFunctionHash(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionFunctionHash(this);
}
}
public static class PartitionFunctionListContext extends PartitionFunctionDefinitionContext {
public TerminalNode LIST() { return getToken(MySqlParser.LIST, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode COLUMNS() { return getToken(MySqlParser.COLUMNS, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public PartitionFunctionListContext(PartitionFunctionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionFunctionList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionFunctionList(this);
}
}
public static class PartitionFunctionRangeContext extends PartitionFunctionDefinitionContext {
public TerminalNode RANGE() { return getToken(MySqlParser.RANGE, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode COLUMNS() { return getToken(MySqlParser.COLUMNS, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public PartitionFunctionRangeContext(PartitionFunctionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionFunctionRange(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionFunctionRange(this);
}
}
public static class PartitionSystemVersionContext extends PartitionFunctionDefinitionContext {
public TerminalNode SYSTEM_TIME() { return getToken(MySqlParser.SYSTEM_TIME, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode LIMIT() { return getToken(MySqlParser.LIMIT, 0); }
public TerminalNode STARTS() { return getToken(MySqlParser.STARTS, 0); }
public TerminalNode AUTO() { return getToken(MySqlParser.AUTO, 0); }
public PartitionSystemVersionDefinitionsContext partitionSystemVersionDefinitions() {
return getRuleContext(PartitionSystemVersionDefinitionsContext.class,0);
}
public TerminalNode TIMESTAMP() { return getToken(MySqlParser.TIMESTAMP, 0); }
public TimestampValueContext timestampValue() {
return getRuleContext(TimestampValueContext.class,0);
}
public PartitionSystemVersionContext(PartitionFunctionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionSystemVersion(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionSystemVersion(this);
}
}
public final PartitionFunctionDefinitionContext partitionFunctionDefinition() throws RecognitionException {
PartitionFunctionDefinitionContext _localctx = new PartitionFunctionDefinitionContext(_ctx, getState());
enterRule(_localctx, 120, RULE_partitionFunctionDefinition);
int _la;
try {
setState(2266);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,271,_ctx) ) {
case 1:
_localctx = new PartitionFunctionHashContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(2201);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LINEAR) {
{
setState(2200);
match(LINEAR);
}
}
setState(2203);
match(HASH);
setState(2204);
match(LR_BRACKET);
setState(2205);
expression(0);
setState(2206);
match(RR_BRACKET);
}
break;
case 2:
_localctx = new PartitionFunctionKeyContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(2209);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LINEAR) {
{
setState(2208);
match(LINEAR);
}
}
setState(2211);
match(KEY);
setState(2215);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ALGORITHM) {
{
setState(2212);
match(ALGORITHM);
setState(2213);
match(EQUAL_SYMBOL);
setState(2214);
((PartitionFunctionKeyContext)_localctx).algType = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==ONE_DECIMAL || _la==TWO_DECIMAL) ) {
((PartitionFunctionKeyContext)_localctx).algType = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(2217);
match(LR_BRACKET);
setState(2219);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(2218);
uidList();
}
}
setState(2221);
match(RR_BRACKET);
}
break;
case 3:
_localctx = new PartitionFunctionRangeContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(2222);
match(RANGE);
setState(2232);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LR_BRACKET:
{
setState(2223);
match(LR_BRACKET);
setState(2224);
expression(0);
setState(2225);
match(RR_BRACKET);
}
break;
case COLUMNS:
{
setState(2227);
match(COLUMNS);
setState(2228);
match(LR_BRACKET);
setState(2229);
uidList();
setState(2230);
match(RR_BRACKET);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 4:
_localctx = new PartitionFunctionListContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(2234);
match(LIST);
setState(2244);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LR_BRACKET:
{
setState(2235);
match(LR_BRACKET);
setState(2236);
expression(0);
setState(2237);
match(RR_BRACKET);
}
break;
case COLUMNS:
{
setState(2239);
match(COLUMNS);
setState(2240);
match(LR_BRACKET);
setState(2241);
uidList();
setState(2242);
match(RR_BRACKET);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 5:
_localctx = new PartitionSystemVersionContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(2246);
match(SYSTEM_TIME);
setState(2250);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,266,_ctx) ) {
case 1:
{
setState(2247);
expression(0);
}
break;
case 2:
{
setState(2248);
match(LIMIT);
setState(2249);
expression(0);
}
break;
}
setState(2258);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==STARTS) {
{
setState(2252);
match(STARTS);
setState(2256);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,267,_ctx) ) {
case 1:
{
setState(2253);
match(TIMESTAMP);
setState(2254);
timestampValue();
}
break;
case 2:
{
setState(2255);
timestampValue();
}
break;
}
}
}
setState(2261);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AUTO) {
{
setState(2260);
match(AUTO);
}
}
setState(2264);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,270,_ctx) ) {
case 1:
{
setState(2263);
partitionSystemVersionDefinitions();
}
break;
}
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class PartitionSystemVersionDefinitionsContext extends ParserRuleContext {
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public List partitionSystemVersionDefinition() {
return getRuleContexts(PartitionSystemVersionDefinitionContext.class);
}
public PartitionSystemVersionDefinitionContext partitionSystemVersionDefinition(int i) {
return getRuleContext(PartitionSystemVersionDefinitionContext.class,i);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public PartitionSystemVersionDefinitionsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_partitionSystemVersionDefinitions; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionSystemVersionDefinitions(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionSystemVersionDefinitions(this);
}
}
public final PartitionSystemVersionDefinitionsContext partitionSystemVersionDefinitions() throws RecognitionException {
PartitionSystemVersionDefinitionsContext _localctx = new PartitionSystemVersionDefinitionsContext(_ctx, getState());
enterRule(_localctx, 122, RULE_partitionSystemVersionDefinitions);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2268);
match(LR_BRACKET);
setState(2269);
partitionSystemVersionDefinition();
setState(2274);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2270);
match(COMMA);
setState(2271);
partitionSystemVersionDefinition();
}
}
setState(2276);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2277);
match(RR_BRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class PartitionSystemVersionDefinitionContext extends ParserRuleContext {
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode HISTORY() { return getToken(MySqlParser.HISTORY, 0); }
public TerminalNode CURRENT() { return getToken(MySqlParser.CURRENT, 0); }
public PartitionSystemVersionDefinitionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_partitionSystemVersionDefinition; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionSystemVersionDefinition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionSystemVersionDefinition(this);
}
}
public final PartitionSystemVersionDefinitionContext partitionSystemVersionDefinition() throws RecognitionException {
PartitionSystemVersionDefinitionContext _localctx = new PartitionSystemVersionDefinitionContext(_ctx, getState());
enterRule(_localctx, 124, RULE_partitionSystemVersionDefinition);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2279);
match(PARTITION);
setState(2280);
uid();
setState(2281);
_la = _input.LA(1);
if ( !(_la==CURRENT || _la==HISTORY) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SubpartitionFunctionDefinitionContext extends ParserRuleContext {
public SubpartitionFunctionDefinitionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_subpartitionFunctionDefinition; }
public SubpartitionFunctionDefinitionContext() { }
public void copyFrom(SubpartitionFunctionDefinitionContext ctx) {
super.copyFrom(ctx);
}
}
public static class SubPartitionFunctionHashContext extends SubpartitionFunctionDefinitionContext {
public TerminalNode HASH() { return getToken(MySqlParser.HASH, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode LINEAR() { return getToken(MySqlParser.LINEAR, 0); }
public SubPartitionFunctionHashContext(SubpartitionFunctionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSubPartitionFunctionHash(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSubPartitionFunctionHash(this);
}
}
public static class SubPartitionFunctionKeyContext extends SubpartitionFunctionDefinitionContext {
public Token algType;
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode LINEAR() { return getToken(MySqlParser.LINEAR, 0); }
public TerminalNode ALGORITHM() { return getToken(MySqlParser.ALGORITHM, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(MySqlParser.ONE_DECIMAL, 0); }
public TerminalNode TWO_DECIMAL() { return getToken(MySqlParser.TWO_DECIMAL, 0); }
public SubPartitionFunctionKeyContext(SubpartitionFunctionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSubPartitionFunctionKey(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSubPartitionFunctionKey(this);
}
}
public final SubpartitionFunctionDefinitionContext subpartitionFunctionDefinition() throws RecognitionException {
SubpartitionFunctionDefinitionContext _localctx = new SubpartitionFunctionDefinitionContext(_ctx, getState());
enterRule(_localctx, 126, RULE_subpartitionFunctionDefinition);
int _la;
try {
setState(2304);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,276,_ctx) ) {
case 1:
_localctx = new SubPartitionFunctionHashContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(2284);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LINEAR) {
{
setState(2283);
match(LINEAR);
}
}
setState(2286);
match(HASH);
setState(2287);
match(LR_BRACKET);
setState(2288);
expression(0);
setState(2289);
match(RR_BRACKET);
}
break;
case 2:
_localctx = new SubPartitionFunctionKeyContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(2292);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LINEAR) {
{
setState(2291);
match(LINEAR);
}
}
setState(2294);
match(KEY);
setState(2298);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ALGORITHM) {
{
setState(2295);
match(ALGORITHM);
setState(2296);
match(EQUAL_SYMBOL);
setState(2297);
((SubPartitionFunctionKeyContext)_localctx).algType = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==ONE_DECIMAL || _la==TWO_DECIMAL) ) {
((SubPartitionFunctionKeyContext)_localctx).algType = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(2300);
match(LR_BRACKET);
setState(2301);
uidList();
setState(2302);
match(RR_BRACKET);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class PartitionDefinitionContext extends ParserRuleContext {
public PartitionDefinitionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_partitionDefinition; }
public PartitionDefinitionContext() { }
public void copyFrom(PartitionDefinitionContext ctx) {
super.copyFrom(ctx);
}
}
public static class PartitionComparisonContext extends PartitionDefinitionContext {
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode VALUES() { return getToken(MySqlParser.VALUES, 0); }
public TerminalNode LESS() { return getToken(MySqlParser.LESS, 0); }
public TerminalNode THAN() { return getToken(MySqlParser.THAN, 0); }
public List LR_BRACKET() { return getTokens(MySqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MySqlParser.LR_BRACKET, i);
}
public List partitionDefinerAtom() {
return getRuleContexts(PartitionDefinerAtomContext.class);
}
public PartitionDefinerAtomContext partitionDefinerAtom(int i) {
return getRuleContext(PartitionDefinerAtomContext.class,i);
}
public List RR_BRACKET() { return getTokens(MySqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MySqlParser.RR_BRACKET, i);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public List partitionOption() {
return getRuleContexts(PartitionOptionContext.class);
}
public PartitionOptionContext partitionOption(int i) {
return getRuleContext(PartitionOptionContext.class,i);
}
public List subpartitionDefinition() {
return getRuleContexts(SubpartitionDefinitionContext.class);
}
public SubpartitionDefinitionContext subpartitionDefinition(int i) {
return getRuleContext(SubpartitionDefinitionContext.class,i);
}
public PartitionComparisonContext(PartitionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionComparison(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionComparison(this);
}
}
public static class PartitionListAtomContext extends PartitionDefinitionContext {
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode VALUES() { return getToken(MySqlParser.VALUES, 0); }
public TerminalNode IN() { return getToken(MySqlParser.IN, 0); }
public List LR_BRACKET() { return getTokens(MySqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MySqlParser.LR_BRACKET, i);
}
public List partitionDefinerAtom() {
return getRuleContexts(PartitionDefinerAtomContext.class);
}
public PartitionDefinerAtomContext partitionDefinerAtom(int i) {
return getRuleContext(PartitionDefinerAtomContext.class,i);
}
public List RR_BRACKET() { return getTokens(MySqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MySqlParser.RR_BRACKET, i);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public List partitionOption() {
return getRuleContexts(PartitionOptionContext.class);
}
public PartitionOptionContext partitionOption(int i) {
return getRuleContext(PartitionOptionContext.class,i);
}
public List subpartitionDefinition() {
return getRuleContexts(SubpartitionDefinitionContext.class);
}
public SubpartitionDefinitionContext subpartitionDefinition(int i) {
return getRuleContext(SubpartitionDefinitionContext.class,i);
}
public PartitionListAtomContext(PartitionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionListAtom(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionListAtom(this);
}
}
public static class PartitionListVectorContext extends PartitionDefinitionContext {
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode VALUES() { return getToken(MySqlParser.VALUES, 0); }
public TerminalNode IN() { return getToken(MySqlParser.IN, 0); }
public List LR_BRACKET() { return getTokens(MySqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MySqlParser.LR_BRACKET, i);
}
public List partitionDefinerVector() {
return getRuleContexts(PartitionDefinerVectorContext.class);
}
public PartitionDefinerVectorContext partitionDefinerVector(int i) {
return getRuleContext(PartitionDefinerVectorContext.class,i);
}
public List RR_BRACKET() { return getTokens(MySqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MySqlParser.RR_BRACKET, i);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public List partitionOption() {
return getRuleContexts(PartitionOptionContext.class);
}
public PartitionOptionContext partitionOption(int i) {
return getRuleContext(PartitionOptionContext.class,i);
}
public List subpartitionDefinition() {
return getRuleContexts(SubpartitionDefinitionContext.class);
}
public SubpartitionDefinitionContext subpartitionDefinition(int i) {
return getRuleContext(SubpartitionDefinitionContext.class,i);
}
public PartitionListVectorContext(PartitionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionListVector(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionListVector(this);
}
}
public static class PartitionSimpleContext extends PartitionDefinitionContext {
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public List partitionOption() {
return getRuleContexts(PartitionOptionContext.class);
}
public PartitionOptionContext partitionOption(int i) {
return getRuleContext(PartitionOptionContext.class,i);
}
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public List subpartitionDefinition() {
return getRuleContexts(SubpartitionDefinitionContext.class);
}
public SubpartitionDefinitionContext subpartitionDefinition(int i) {
return getRuleContext(SubpartitionDefinitionContext.class,i);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public PartitionSimpleContext(PartitionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionSimple(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionSimple(this);
}
}
public final PartitionDefinitionContext partitionDefinition() throws RecognitionException {
PartitionDefinitionContext _localctx = new PartitionDefinitionContext(_ctx, getState());
enterRule(_localctx, 128, RULE_partitionDefinition);
int _la;
try {
setState(2452);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,295,_ctx) ) {
case 1:
_localctx = new PartitionComparisonContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(2306);
match(PARTITION);
setState(2307);
uid();
setState(2308);
match(VALUES);
setState(2309);
match(LESS);
setState(2310);
match(THAN);
setState(2311);
match(LR_BRACKET);
setState(2312);
partitionDefinerAtom();
setState(2317);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2313);
match(COMMA);
setState(2314);
partitionDefinerAtom();
}
}
setState(2319);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2320);
match(RR_BRACKET);
setState(2324);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DEFAULT || _la==INDEX || ((((_la - 371)) & ~0x3f) == 0 && ((1L << (_la - 371)) & ((1L << (COMMENT - 371)) | (1L << (DATA - 371)) | (1L << (ENGINE - 371)))) != 0) || ((((_la - 503)) & ~0x3f) == 0 && ((1L << (_la - 503)) & ((1L << (MAX_ROWS - 503)) | (1L << (MIN_ROWS - 503)) | (1L << (NODEGROUP - 503)))) != 0) || _la==STORAGE || _la==TABLESPACE) {
{
{
setState(2321);
partitionOption();
}
}
setState(2326);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2338);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(2327);
match(LR_BRACKET);
setState(2328);
subpartitionDefinition();
setState(2333);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2329);
match(COMMA);
setState(2330);
subpartitionDefinition();
}
}
setState(2335);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2336);
match(RR_BRACKET);
}
}
}
break;
case 2:
_localctx = new PartitionComparisonContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(2340);
match(PARTITION);
setState(2341);
uid();
setState(2342);
match(VALUES);
setState(2343);
match(LESS);
setState(2344);
match(THAN);
setState(2345);
partitionDefinerAtom();
setState(2349);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DEFAULT || _la==INDEX || ((((_la - 371)) & ~0x3f) == 0 && ((1L << (_la - 371)) & ((1L << (COMMENT - 371)) | (1L << (DATA - 371)) | (1L << (ENGINE - 371)))) != 0) || ((((_la - 503)) & ~0x3f) == 0 && ((1L << (_la - 503)) & ((1L << (MAX_ROWS - 503)) | (1L << (MIN_ROWS - 503)) | (1L << (NODEGROUP - 503)))) != 0) || _la==STORAGE || _la==TABLESPACE) {
{
{
setState(2346);
partitionOption();
}
}
setState(2351);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2363);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(2352);
match(LR_BRACKET);
setState(2353);
subpartitionDefinition();
setState(2358);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2354);
match(COMMA);
setState(2355);
subpartitionDefinition();
}
}
setState(2360);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2361);
match(RR_BRACKET);
}
}
}
break;
case 3:
_localctx = new PartitionListAtomContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(2365);
match(PARTITION);
setState(2366);
uid();
setState(2367);
match(VALUES);
setState(2368);
match(IN);
setState(2369);
match(LR_BRACKET);
setState(2370);
partitionDefinerAtom();
setState(2375);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2371);
match(COMMA);
setState(2372);
partitionDefinerAtom();
}
}
setState(2377);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2378);
match(RR_BRACKET);
setState(2382);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DEFAULT || _la==INDEX || ((((_la - 371)) & ~0x3f) == 0 && ((1L << (_la - 371)) & ((1L << (COMMENT - 371)) | (1L << (DATA - 371)) | (1L << (ENGINE - 371)))) != 0) || ((((_la - 503)) & ~0x3f) == 0 && ((1L << (_la - 503)) & ((1L << (MAX_ROWS - 503)) | (1L << (MIN_ROWS - 503)) | (1L << (NODEGROUP - 503)))) != 0) || _la==STORAGE || _la==TABLESPACE) {
{
{
setState(2379);
partitionOption();
}
}
setState(2384);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2396);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(2385);
match(LR_BRACKET);
setState(2386);
subpartitionDefinition();
setState(2391);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2387);
match(COMMA);
setState(2388);
subpartitionDefinition();
}
}
setState(2393);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2394);
match(RR_BRACKET);
}
}
}
break;
case 4:
_localctx = new PartitionListVectorContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(2398);
match(PARTITION);
setState(2399);
uid();
setState(2400);
match(VALUES);
setState(2401);
match(IN);
setState(2402);
match(LR_BRACKET);
setState(2403);
partitionDefinerVector();
setState(2408);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2404);
match(COMMA);
setState(2405);
partitionDefinerVector();
}
}
setState(2410);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2411);
match(RR_BRACKET);
setState(2415);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DEFAULT || _la==INDEX || ((((_la - 371)) & ~0x3f) == 0 && ((1L << (_la - 371)) & ((1L << (COMMENT - 371)) | (1L << (DATA - 371)) | (1L << (ENGINE - 371)))) != 0) || ((((_la - 503)) & ~0x3f) == 0 && ((1L << (_la - 503)) & ((1L << (MAX_ROWS - 503)) | (1L << (MIN_ROWS - 503)) | (1L << (NODEGROUP - 503)))) != 0) || _la==STORAGE || _la==TABLESPACE) {
{
{
setState(2412);
partitionOption();
}
}
setState(2417);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2429);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(2418);
match(LR_BRACKET);
setState(2419);
subpartitionDefinition();
setState(2424);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2420);
match(COMMA);
setState(2421);
subpartitionDefinition();
}
}
setState(2426);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2427);
match(RR_BRACKET);
}
}
}
break;
case 5:
_localctx = new PartitionSimpleContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(2431);
match(PARTITION);
setState(2432);
uid();
setState(2436);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DEFAULT || _la==INDEX || ((((_la - 371)) & ~0x3f) == 0 && ((1L << (_la - 371)) & ((1L << (COMMENT - 371)) | (1L << (DATA - 371)) | (1L << (ENGINE - 371)))) != 0) || ((((_la - 503)) & ~0x3f) == 0 && ((1L << (_la - 503)) & ((1L << (MAX_ROWS - 503)) | (1L << (MIN_ROWS - 503)) | (1L << (NODEGROUP - 503)))) != 0) || _la==STORAGE || _la==TABLESPACE) {
{
{
setState(2433);
partitionOption();
}
}
setState(2438);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2450);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(2439);
match(LR_BRACKET);
setState(2440);
subpartitionDefinition();
setState(2445);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2441);
match(COMMA);
setState(2442);
subpartitionDefinition();
}
}
setState(2447);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2448);
match(RR_BRACKET);
}
}
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class PartitionDefinerAtomContext extends ParserRuleContext {
public ConstantContext constant() {
return getRuleContext(ConstantContext.class,0);
}
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode MAXVALUE() { return getToken(MySqlParser.MAXVALUE, 0); }
public PartitionDefinerAtomContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_partitionDefinerAtom; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionDefinerAtom(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionDefinerAtom(this);
}
}
public final PartitionDefinerAtomContext partitionDefinerAtom() throws RecognitionException {
PartitionDefinerAtomContext _localctx = new PartitionDefinerAtomContext(_ctx, getState());
enterRule(_localctx, 130, RULE_partitionDefinerAtom);
try {
setState(2457);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,296,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2454);
constant();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2455);
expression(0);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(2456);
match(MAXVALUE);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class PartitionDefinerVectorContext extends ParserRuleContext {
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public List partitionDefinerAtom() {
return getRuleContexts(PartitionDefinerAtomContext.class);
}
public PartitionDefinerAtomContext partitionDefinerAtom(int i) {
return getRuleContext(PartitionDefinerAtomContext.class,i);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public PartitionDefinerVectorContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_partitionDefinerVector; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionDefinerVector(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionDefinerVector(this);
}
}
public final PartitionDefinerVectorContext partitionDefinerVector() throws RecognitionException {
PartitionDefinerVectorContext _localctx = new PartitionDefinerVectorContext(_ctx, getState());
enterRule(_localctx, 132, RULE_partitionDefinerVector);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2459);
match(LR_BRACKET);
setState(2460);
partitionDefinerAtom();
setState(2463);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(2461);
match(COMMA);
setState(2462);
partitionDefinerAtom();
}
}
setState(2465);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==COMMA );
setState(2467);
match(RR_BRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SubpartitionDefinitionContext extends ParserRuleContext {
public TerminalNode SUBPARTITION() { return getToken(MySqlParser.SUBPARTITION, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public List partitionOption() {
return getRuleContexts(PartitionOptionContext.class);
}
public PartitionOptionContext partitionOption(int i) {
return getRuleContext(PartitionOptionContext.class,i);
}
public SubpartitionDefinitionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_subpartitionDefinition; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSubpartitionDefinition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSubpartitionDefinition(this);
}
}
public final SubpartitionDefinitionContext subpartitionDefinition() throws RecognitionException {
SubpartitionDefinitionContext _localctx = new SubpartitionDefinitionContext(_ctx, getState());
enterRule(_localctx, 134, RULE_subpartitionDefinition);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2469);
match(SUBPARTITION);
setState(2470);
uid();
setState(2474);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DEFAULT || _la==INDEX || ((((_la - 371)) & ~0x3f) == 0 && ((1L << (_la - 371)) & ((1L << (COMMENT - 371)) | (1L << (DATA - 371)) | (1L << (ENGINE - 371)))) != 0) || ((((_la - 503)) & ~0x3f) == 0 && ((1L << (_la - 503)) & ((1L << (MAX_ROWS - 503)) | (1L << (MIN_ROWS - 503)) | (1L << (NODEGROUP - 503)))) != 0) || _la==STORAGE || _la==TABLESPACE) {
{
{
setState(2471);
partitionOption();
}
}
setState(2476);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class PartitionOptionContext extends ParserRuleContext {
public PartitionOptionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_partitionOption; }
public PartitionOptionContext() { }
public void copyFrom(PartitionOptionContext ctx) {
super.copyFrom(ctx);
}
}
public static class PartitionOptionCommentContext extends PartitionOptionContext {
public Token comment;
public TerminalNode COMMENT() { return getToken(MySqlParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public PartitionOptionCommentContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionOptionComment(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionOptionComment(this);
}
}
public static class PartitionOptionNodeGroupContext extends PartitionOptionContext {
public UidContext nodegroup;
public TerminalNode NODEGROUP() { return getToken(MySqlParser.NODEGROUP, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public PartitionOptionNodeGroupContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionOptionNodeGroup(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionOptionNodeGroup(this);
}
}
public static class PartitionOptionIndexDirectoryContext extends PartitionOptionContext {
public Token indexDirectory;
public TerminalNode INDEX() { return getToken(MySqlParser.INDEX, 0); }
public TerminalNode DIRECTORY() { return getToken(MySqlParser.DIRECTORY, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public PartitionOptionIndexDirectoryContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionOptionIndexDirectory(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionOptionIndexDirectory(this);
}
}
public static class PartitionOptionMaxRowsContext extends PartitionOptionContext {
public DecimalLiteralContext maxRows;
public TerminalNode MAX_ROWS() { return getToken(MySqlParser.MAX_ROWS, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public PartitionOptionMaxRowsContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionOptionMaxRows(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionOptionMaxRows(this);
}
}
public static class PartitionOptionTablespaceContext extends PartitionOptionContext {
public UidContext tablespace;
public TerminalNode TABLESPACE() { return getToken(MySqlParser.TABLESPACE, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public PartitionOptionTablespaceContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionOptionTablespace(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionOptionTablespace(this);
}
}
public static class PartitionOptionEngineContext extends PartitionOptionContext {
public TerminalNode ENGINE() { return getToken(MySqlParser.ENGINE, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public TerminalNode STORAGE() { return getToken(MySqlParser.STORAGE, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public PartitionOptionEngineContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionOptionEngine(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionOptionEngine(this);
}
}
public static class PartitionOptionMinRowsContext extends PartitionOptionContext {
public DecimalLiteralContext minRows;
public TerminalNode MIN_ROWS() { return getToken(MySqlParser.MIN_ROWS, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public PartitionOptionMinRowsContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionOptionMinRows(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionOptionMinRows(this);
}
}
public static class PartitionOptionDataDirectoryContext extends PartitionOptionContext {
public Token dataDirectory;
public TerminalNode DATA() { return getToken(MySqlParser.DATA, 0); }
public TerminalNode DIRECTORY() { return getToken(MySqlParser.DIRECTORY, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public PartitionOptionDataDirectoryContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterPartitionOptionDataDirectory(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitPartitionOptionDataDirectory(this);
}
}
public final PartitionOptionContext partitionOption() throws RecognitionException {
PartitionOptionContext _localctx = new PartitionOptionContext(_ctx, getState());
enterRule(_localctx, 136, RULE_partitionOption);
int _la;
try {
setState(2525);
_errHandler.sync(this);
switch (_input.LA(1)) {
case DEFAULT:
case ENGINE:
case STORAGE:
_localctx = new PartitionOptionEngineContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(2478);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
setState(2477);
match(DEFAULT);
}
}
setState(2481);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==STORAGE) {
{
setState(2480);
match(STORAGE);
}
}
setState(2483);
match(ENGINE);
setState(2485);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2484);
match(EQUAL_SYMBOL);
}
}
setState(2487);
engineName();
}
break;
case COMMENT:
_localctx = new PartitionOptionCommentContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(2488);
match(COMMENT);
setState(2490);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2489);
match(EQUAL_SYMBOL);
}
}
setState(2492);
((PartitionOptionCommentContext)_localctx).comment = match(STRING_LITERAL);
}
break;
case DATA:
_localctx = new PartitionOptionDataDirectoryContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(2493);
match(DATA);
setState(2494);
match(DIRECTORY);
setState(2496);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2495);
match(EQUAL_SYMBOL);
}
}
setState(2498);
((PartitionOptionDataDirectoryContext)_localctx).dataDirectory = match(STRING_LITERAL);
}
break;
case INDEX:
_localctx = new PartitionOptionIndexDirectoryContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(2499);
match(INDEX);
setState(2500);
match(DIRECTORY);
setState(2502);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2501);
match(EQUAL_SYMBOL);
}
}
setState(2504);
((PartitionOptionIndexDirectoryContext)_localctx).indexDirectory = match(STRING_LITERAL);
}
break;
case MAX_ROWS:
_localctx = new PartitionOptionMaxRowsContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(2505);
match(MAX_ROWS);
setState(2507);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2506);
match(EQUAL_SYMBOL);
}
}
setState(2509);
((PartitionOptionMaxRowsContext)_localctx).maxRows = decimalLiteral();
}
break;
case MIN_ROWS:
_localctx = new PartitionOptionMinRowsContext(_localctx);
enterOuterAlt(_localctx, 6);
{
setState(2510);
match(MIN_ROWS);
setState(2512);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2511);
match(EQUAL_SYMBOL);
}
}
setState(2514);
((PartitionOptionMinRowsContext)_localctx).minRows = decimalLiteral();
}
break;
case TABLESPACE:
_localctx = new PartitionOptionTablespaceContext(_localctx);
enterOuterAlt(_localctx, 7);
{
setState(2515);
match(TABLESPACE);
setState(2517);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2516);
match(EQUAL_SYMBOL);
}
}
setState(2519);
((PartitionOptionTablespaceContext)_localctx).tablespace = uid();
}
break;
case NODEGROUP:
_localctx = new PartitionOptionNodeGroupContext(_localctx);
enterOuterAlt(_localctx, 8);
{
setState(2520);
match(NODEGROUP);
setState(2522);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2521);
match(EQUAL_SYMBOL);
}
}
setState(2524);
((PartitionOptionNodeGroupContext)_localctx).nodegroup = uid();
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AlterDatabaseContext extends ParserRuleContext {
public AlterDatabaseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alterDatabase; }
public AlterDatabaseContext() { }
public void copyFrom(AlterDatabaseContext ctx) {
super.copyFrom(ctx);
}
}
public static class AlterUpgradeNameContext extends AlterDatabaseContext {
public Token dbFormat;
public TerminalNode ALTER() { return getToken(MySqlParser.ALTER, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode UPGRADE() { return getToken(MySqlParser.UPGRADE, 0); }
public TerminalNode DATA() { return getToken(MySqlParser.DATA, 0); }
public TerminalNode DIRECTORY() { return getToken(MySqlParser.DIRECTORY, 0); }
public TerminalNode NAME() { return getToken(MySqlParser.NAME, 0); }
public TerminalNode DATABASE() { return getToken(MySqlParser.DATABASE, 0); }
public TerminalNode SCHEMA() { return getToken(MySqlParser.SCHEMA, 0); }
public AlterUpgradeNameContext(AlterDatabaseContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterUpgradeName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterUpgradeName(this);
}
}
public static class AlterSimpleDatabaseContext extends AlterDatabaseContext {
public Token dbFormat;
public TerminalNode ALTER() { return getToken(MySqlParser.ALTER, 0); }
public TerminalNode DATABASE() { return getToken(MySqlParser.DATABASE, 0); }
public TerminalNode SCHEMA() { return getToken(MySqlParser.SCHEMA, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public List createDatabaseOption() {
return getRuleContexts(CreateDatabaseOptionContext.class);
}
public CreateDatabaseOptionContext createDatabaseOption(int i) {
return getRuleContext(CreateDatabaseOptionContext.class,i);
}
public AlterSimpleDatabaseContext(AlterDatabaseContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterSimpleDatabase(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterSimpleDatabase(this);
}
}
public final AlterDatabaseContext alterDatabase() throws RecognitionException {
AlterDatabaseContext _localctx = new AlterDatabaseContext(_ctx, getState());
enterRule(_localctx, 138, RULE_alterDatabase);
int _la;
try {
setState(2545);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,312,_ctx) ) {
case 1:
_localctx = new AlterSimpleDatabaseContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(2527);
match(ALTER);
setState(2528);
((AlterSimpleDatabaseContext)_localctx).dbFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DATABASE || _la==SCHEMA) ) {
((AlterSimpleDatabaseContext)_localctx).dbFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(2530);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,310,_ctx) ) {
case 1:
{
setState(2529);
uid();
}
break;
}
setState(2533);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(2532);
createDatabaseOption();
}
}
setState(2535);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << CHARACTER) | (1L << COLLATE) | (1L << DEFAULT))) != 0) || _la==READ || _la==CHAR || _la==ENCRYPTION || _la==CHARSET );
}
break;
case 2:
_localctx = new AlterUpgradeNameContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(2537);
match(ALTER);
setState(2538);
((AlterUpgradeNameContext)_localctx).dbFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DATABASE || _la==SCHEMA) ) {
((AlterUpgradeNameContext)_localctx).dbFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(2539);
uid();
setState(2540);
match(UPGRADE);
setState(2541);
match(DATA);
setState(2542);
match(DIRECTORY);
setState(2543);
match(NAME);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AlterEventContext extends ParserRuleContext {
public TerminalNode ALTER() { return getToken(MySqlParser.ALTER, 0); }
public TerminalNode EVENT() { return getToken(MySqlParser.EVENT, 0); }
public List fullId() {
return getRuleContexts(FullIdContext.class);
}
public FullIdContext fullId(int i) {
return getRuleContext(FullIdContext.class,i);
}
public OwnerStatementContext ownerStatement() {
return getRuleContext(OwnerStatementContext.class,0);
}
public List ON() { return getTokens(MySqlParser.ON); }
public TerminalNode ON(int i) {
return getToken(MySqlParser.ON, i);
}
public TerminalNode SCHEDULE() { return getToken(MySqlParser.SCHEDULE, 0); }
public ScheduleExpressionContext scheduleExpression() {
return getRuleContext(ScheduleExpressionContext.class,0);
}
public TerminalNode COMPLETION() { return getToken(MySqlParser.COMPLETION, 0); }
public TerminalNode PRESERVE() { return getToken(MySqlParser.PRESERVE, 0); }
public TerminalNode RENAME() { return getToken(MySqlParser.RENAME, 0); }
public TerminalNode TO() { return getToken(MySqlParser.TO, 0); }
public EnableTypeContext enableType() {
return getRuleContext(EnableTypeContext.class,0);
}
public TerminalNode COMMENT() { return getToken(MySqlParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode DO() { return getToken(MySqlParser.DO, 0); }
public RoutineBodyContext routineBody() {
return getRuleContext(RoutineBodyContext.class,0);
}
public TerminalNode NOT() { return getToken(MySqlParser.NOT, 0); }
public AlterEventContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alterEvent; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterEvent(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterEvent(this);
}
}
public final AlterEventContext alterEvent() throws RecognitionException {
AlterEventContext _localctx = new AlterEventContext(_ctx, getState());
enterRule(_localctx, 140, RULE_alterEvent);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2547);
match(ALTER);
setState(2549);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(2548);
ownerStatement();
}
}
setState(2551);
match(EVENT);
setState(2552);
fullId();
setState(2556);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,314,_ctx) ) {
case 1:
{
setState(2553);
match(ON);
setState(2554);
match(SCHEDULE);
setState(2555);
scheduleExpression();
}
break;
}
setState(2564);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ON) {
{
setState(2558);
match(ON);
setState(2559);
match(COMPLETION);
setState(2561);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOT) {
{
setState(2560);
match(NOT);
}
}
setState(2563);
match(PRESERVE);
}
}
setState(2569);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,317,_ctx) ) {
case 1:
{
setState(2566);
match(RENAME);
setState(2567);
match(TO);
setState(2568);
fullId();
}
break;
}
setState(2572);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DISABLE || _la==ENABLE) {
{
setState(2571);
enableType();
}
}
setState(2576);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMENT) {
{
setState(2574);
match(COMMENT);
setState(2575);
match(STRING_LITERAL);
}
}
setState(2580);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,320,_ctx) ) {
case 1:
{
setState(2578);
match(DO);
setState(2579);
routineBody();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AlterFunctionContext extends ParserRuleContext {
public TerminalNode ALTER() { return getToken(MySqlParser.ALTER, 0); }
public TerminalNode FUNCTION() { return getToken(MySqlParser.FUNCTION, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public List routineOption() {
return getRuleContexts(RoutineOptionContext.class);
}
public RoutineOptionContext routineOption(int i) {
return getRuleContext(RoutineOptionContext.class,i);
}
public AlterFunctionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alterFunction; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterFunction(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterFunction(this);
}
}
public final AlterFunctionContext alterFunction() throws RecognitionException {
AlterFunctionContext _localctx = new AlterFunctionContext(_ctx, getState());
enterRule(_localctx, 142, RULE_alterFunction);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2582);
match(ALTER);
setState(2583);
match(FUNCTION);
setState(2584);
fullId();
setState(2588);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DETERMINISTIC || ((((_la - 114)) & ~0x3f) == 0 && ((1L << (_la - 114)) & ((1L << (MODIFIES - 114)) | (1L << (NOT - 114)) | (1L << (READS - 114)) | (1L << (SQL - 114)))) != 0) || _la==COMMENT || _la==CONTAINS || _la==LANGUAGE || _la==NO) {
{
{
setState(2585);
routineOption();
}
}
setState(2590);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AlterInstanceContext extends ParserRuleContext {
public TerminalNode ALTER() { return getToken(MySqlParser.ALTER, 0); }
public TerminalNode INSTANCE() { return getToken(MySqlParser.INSTANCE, 0); }
public TerminalNode ROTATE() { return getToken(MySqlParser.ROTATE, 0); }
public TerminalNode INNODB() { return getToken(MySqlParser.INNODB, 0); }
public TerminalNode MASTER() { return getToken(MySqlParser.MASTER, 0); }
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public AlterInstanceContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alterInstance; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterInstance(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterInstance(this);
}
}
public final AlterInstanceContext alterInstance() throws RecognitionException {
AlterInstanceContext _localctx = new AlterInstanceContext(_ctx, getState());
enterRule(_localctx, 144, RULE_alterInstance);
try {
enterOuterAlt(_localctx, 1);
{
setState(2591);
match(ALTER);
setState(2592);
match(INSTANCE);
setState(2593);
match(ROTATE);
setState(2594);
match(INNODB);
setState(2595);
match(MASTER);
setState(2596);
match(KEY);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AlterLogfileGroupContext extends ParserRuleContext {
public TerminalNode ALTER() { return getToken(MySqlParser.ALTER, 0); }
public TerminalNode LOGFILE() { return getToken(MySqlParser.LOGFILE, 0); }
public TerminalNode GROUP() { return getToken(MySqlParser.GROUP, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode ADD() { return getToken(MySqlParser.ADD, 0); }
public TerminalNode UNDOFILE() { return getToken(MySqlParser.UNDOFILE, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode ENGINE() { return getToken(MySqlParser.ENGINE, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public TerminalNode INITIAL_SIZE() { return getToken(MySqlParser.INITIAL_SIZE, 0); }
public FileSizeLiteralContext fileSizeLiteral() {
return getRuleContext(FileSizeLiteralContext.class,0);
}
public TerminalNode WAIT() { return getToken(MySqlParser.WAIT, 0); }
public List EQUAL_SYMBOL() { return getTokens(MySqlParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(MySqlParser.EQUAL_SYMBOL, i);
}
public AlterLogfileGroupContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alterLogfileGroup; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterLogfileGroup(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterLogfileGroup(this);
}
}
public final AlterLogfileGroupContext alterLogfileGroup() throws RecognitionException {
AlterLogfileGroupContext _localctx = new AlterLogfileGroupContext(_ctx, getState());
enterRule(_localctx, 146, RULE_alterLogfileGroup);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2598);
match(ALTER);
setState(2599);
match(LOGFILE);
setState(2600);
match(GROUP);
setState(2601);
uid();
setState(2602);
match(ADD);
setState(2603);
match(UNDOFILE);
setState(2604);
match(STRING_LITERAL);
setState(2610);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INITIAL_SIZE) {
{
setState(2605);
match(INITIAL_SIZE);
setState(2607);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2606);
match(EQUAL_SYMBOL);
}
}
setState(2609);
fileSizeLiteral();
}
}
setState(2613);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WAIT) {
{
setState(2612);
match(WAIT);
}
}
setState(2615);
match(ENGINE);
setState(2617);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2616);
match(EQUAL_SYMBOL);
}
}
setState(2619);
engineName();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AlterProcedureContext extends ParserRuleContext {
public TerminalNode ALTER() { return getToken(MySqlParser.ALTER, 0); }
public TerminalNode PROCEDURE() { return getToken(MySqlParser.PROCEDURE, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public List routineOption() {
return getRuleContexts(RoutineOptionContext.class);
}
public RoutineOptionContext routineOption(int i) {
return getRuleContext(RoutineOptionContext.class,i);
}
public AlterProcedureContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alterProcedure; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterProcedure(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterProcedure(this);
}
}
public final AlterProcedureContext alterProcedure() throws RecognitionException {
AlterProcedureContext _localctx = new AlterProcedureContext(_ctx, getState());
enterRule(_localctx, 148, RULE_alterProcedure);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2621);
match(ALTER);
setState(2622);
match(PROCEDURE);
setState(2623);
fullId();
setState(2627);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DETERMINISTIC || ((((_la - 114)) & ~0x3f) == 0 && ((1L << (_la - 114)) & ((1L << (MODIFIES - 114)) | (1L << (NOT - 114)) | (1L << (READS - 114)) | (1L << (SQL - 114)))) != 0) || _la==COMMENT || _la==CONTAINS || _la==LANGUAGE || _la==NO) {
{
{
setState(2624);
routineOption();
}
}
setState(2629);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AlterServerContext extends ParserRuleContext {
public TerminalNode ALTER() { return getToken(MySqlParser.ALTER, 0); }
public TerminalNode SERVER() { return getToken(MySqlParser.SERVER, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode OPTIONS() { return getToken(MySqlParser.OPTIONS, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public List serverOption() {
return getRuleContexts(ServerOptionContext.class);
}
public ServerOptionContext serverOption(int i) {
return getRuleContext(ServerOptionContext.class,i);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public AlterServerContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alterServer; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterServer(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterServer(this);
}
}
public final AlterServerContext alterServer() throws RecognitionException {
AlterServerContext _localctx = new AlterServerContext(_ctx, getState());
enterRule(_localctx, 150, RULE_alterServer);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2630);
match(ALTER);
setState(2631);
match(SERVER);
setState(2632);
uid();
setState(2633);
match(OPTIONS);
setState(2634);
match(LR_BRACKET);
setState(2635);
serverOption();
setState(2640);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2636);
match(COMMA);
setState(2637);
serverOption();
}
}
setState(2642);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2643);
match(RR_BRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AlterTableContext extends ParserRuleContext {
public Token intimeAction;
public TerminalNode ALTER() { return getToken(MySqlParser.ALTER, 0); }
public TerminalNode TABLE() { return getToken(MySqlParser.TABLE, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode IGNORE() { return getToken(MySqlParser.IGNORE, 0); }
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public WaitNowaitClauseContext waitNowaitClause() {
return getRuleContext(WaitNowaitClauseContext.class,0);
}
public List alterSpecification() {
return getRuleContexts(AlterSpecificationContext.class);
}
public AlterSpecificationContext alterSpecification(int i) {
return getRuleContext(AlterSpecificationContext.class,i);
}
public PartitionDefinitionsContext partitionDefinitions() {
return getRuleContext(PartitionDefinitionsContext.class,0);
}
public TerminalNode ONLINE() { return getToken(MySqlParser.ONLINE, 0); }
public TerminalNode OFFLINE() { return getToken(MySqlParser.OFFLINE, 0); }
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public AlterTableContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alterTable; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterTable(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterTable(this);
}
}
public final AlterTableContext alterTable() throws RecognitionException {
AlterTableContext _localctx = new AlterTableContext(_ctx, getState());
enterRule(_localctx, 152, RULE_alterTable);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2645);
match(ALTER);
setState(2647);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OFFLINE || _la==ONLINE) {
{
setState(2646);
((AlterTableContext)_localctx).intimeAction = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==OFFLINE || _la==ONLINE) ) {
((AlterTableContext)_localctx).intimeAction = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(2650);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE) {
{
setState(2649);
match(IGNORE);
}
}
setState(2652);
match(TABLE);
setState(2654);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,330,_ctx) ) {
case 1:
{
setState(2653);
ifExists();
}
break;
}
setState(2656);
tableName();
setState(2658);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOWAIT || _la==WAIT) {
{
setState(2657);
waitNowaitClause();
}
}
setState(2668);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,333,_ctx) ) {
case 1:
{
setState(2660);
alterSpecification();
setState(2665);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2661);
match(COMMA);
setState(2662);
alterSpecification();
}
}
setState(2667);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
}
setState(2671);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITION) {
{
setState(2670);
partitionDefinitions();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AlterTablespaceContext extends ParserRuleContext {
public Token objectAction;
public TerminalNode ALTER() { return getToken(MySqlParser.ALTER, 0); }
public TerminalNode TABLESPACE() { return getToken(MySqlParser.TABLESPACE, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode DATAFILE() { return getToken(MySqlParser.DATAFILE, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode ENGINE() { return getToken(MySqlParser.ENGINE, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public TerminalNode ADD() { return getToken(MySqlParser.ADD, 0); }
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public TerminalNode INITIAL_SIZE() { return getToken(MySqlParser.INITIAL_SIZE, 0); }
public List EQUAL_SYMBOL() { return getTokens(MySqlParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(MySqlParser.EQUAL_SYMBOL, i);
}
public FileSizeLiteralContext fileSizeLiteral() {
return getRuleContext(FileSizeLiteralContext.class,0);
}
public TerminalNode WAIT() { return getToken(MySqlParser.WAIT, 0); }
public AlterTablespaceContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alterTablespace; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterTablespace(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterTablespace(this);
}
}
public final AlterTablespaceContext alterTablespace() throws RecognitionException {
AlterTablespaceContext _localctx = new AlterTablespaceContext(_ctx, getState());
enterRule(_localctx, 154, RULE_alterTablespace);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2673);
match(ALTER);
setState(2674);
match(TABLESPACE);
setState(2675);
uid();
setState(2676);
((AlterTablespaceContext)_localctx).objectAction = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==ADD || _la==DROP) ) {
((AlterTablespaceContext)_localctx).objectAction = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(2677);
match(DATAFILE);
setState(2678);
match(STRING_LITERAL);
setState(2682);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INITIAL_SIZE) {
{
setState(2679);
match(INITIAL_SIZE);
setState(2680);
match(EQUAL_SYMBOL);
setState(2681);
fileSizeLiteral();
}
}
setState(2685);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WAIT) {
{
setState(2684);
match(WAIT);
}
}
setState(2687);
match(ENGINE);
setState(2689);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2688);
match(EQUAL_SYMBOL);
}
}
setState(2691);
engineName();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AlterViewContext extends ParserRuleContext {
public Token algType;
public Token secContext;
public Token checkOpt;
public TerminalNode ALTER() { return getToken(MySqlParser.ALTER, 0); }
public TerminalNode VIEW() { return getToken(MySqlParser.VIEW, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public TerminalNode AS() { return getToken(MySqlParser.AS, 0); }
public SelectStatementContext selectStatement() {
return getRuleContext(SelectStatementContext.class,0);
}
public TerminalNode ALGORITHM() { return getToken(MySqlParser.ALGORITHM, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public OwnerStatementContext ownerStatement() {
return getRuleContext(OwnerStatementContext.class,0);
}
public TerminalNode SQL() { return getToken(MySqlParser.SQL, 0); }
public TerminalNode SECURITY() { return getToken(MySqlParser.SECURITY, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode WITH() { return getToken(MySqlParser.WITH, 0); }
public TerminalNode CHECK() { return getToken(MySqlParser.CHECK, 0); }
public TerminalNode OPTION() { return getToken(MySqlParser.OPTION, 0); }
public TerminalNode UNDEFINED() { return getToken(MySqlParser.UNDEFINED, 0); }
public TerminalNode MERGE() { return getToken(MySqlParser.MERGE, 0); }
public TerminalNode TEMPTABLE() { return getToken(MySqlParser.TEMPTABLE, 0); }
public TerminalNode DEFINER() { return getToken(MySqlParser.DEFINER, 0); }
public TerminalNode INVOKER() { return getToken(MySqlParser.INVOKER, 0); }
public TerminalNode CASCADED() { return getToken(MySqlParser.CASCADED, 0); }
public TerminalNode LOCAL() { return getToken(MySqlParser.LOCAL, 0); }
public AlterViewContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alterView; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterView(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterView(this);
}
}
public final AlterViewContext alterView() throws RecognitionException {
AlterViewContext _localctx = new AlterViewContext(_ctx, getState());
enterRule(_localctx, 156, RULE_alterView);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2693);
match(ALTER);
setState(2697);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ALGORITHM) {
{
setState(2694);
match(ALGORITHM);
setState(2695);
match(EQUAL_SYMBOL);
setState(2696);
((AlterViewContext)_localctx).algType = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==MERGE || _la==TEMPTABLE || _la==UNDEFINED) ) {
((AlterViewContext)_localctx).algType = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(2700);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(2699);
ownerStatement();
}
}
setState(2705);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==SQL) {
{
setState(2702);
match(SQL);
setState(2703);
match(SECURITY);
setState(2704);
((AlterViewContext)_localctx).secContext = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DEFINER || _la==INVOKER) ) {
((AlterViewContext)_localctx).secContext = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(2707);
match(VIEW);
setState(2708);
fullId();
setState(2713);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(2709);
match(LR_BRACKET);
setState(2710);
uidList();
setState(2711);
match(RR_BRACKET);
}
}
setState(2715);
match(AS);
setState(2716);
selectStatement();
setState(2723);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,343,_ctx) ) {
case 1:
{
setState(2717);
match(WITH);
setState(2719);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CASCADED || _la==LOCAL) {
{
setState(2718);
((AlterViewContext)_localctx).checkOpt = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==CASCADED || _la==LOCAL) ) {
((AlterViewContext)_localctx).checkOpt = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(2721);
match(CHECK);
setState(2722);
match(OPTION);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AlterSequenceContext extends ParserRuleContext {
public TerminalNode ALTER() { return getToken(MySqlParser.ALTER, 0); }
public TerminalNode SEQUENCE() { return getToken(MySqlParser.SEQUENCE, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public List sequenceSpec() {
return getRuleContexts(SequenceSpecContext.class);
}
public SequenceSpecContext sequenceSpec(int i) {
return getRuleContext(SequenceSpecContext.class,i);
}
public AlterSequenceContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alterSequence; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterSequence(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterSequence(this);
}
}
public final AlterSequenceContext alterSequence() throws RecognitionException {
AlterSequenceContext _localctx = new AlterSequenceContext(_ctx, getState());
enterRule(_localctx, 158, RULE_alterSequence);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(2725);
match(ALTER);
setState(2726);
match(SEQUENCE);
setState(2728);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,344,_ctx) ) {
case 1:
{
setState(2727);
ifExists();
}
break;
}
setState(2730);
fullId();
setState(2732);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
{
setState(2731);
sequenceSpec();
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(2734);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,345,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AlterSpecificationContext extends ParserRuleContext {
public AlterSpecificationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alterSpecification; }
public AlterSpecificationContext() { }
public void copyFrom(AlterSpecificationContext ctx) {
super.copyFrom(ctx);
}
}
public static class AlterByAlterColumnDefaultContext extends AlterSpecificationContext {
public TerminalNode ALTER() { return getToken(MySqlParser.ALTER, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode SET() { return getToken(MySqlParser.SET, 0); }
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public TerminalNode COLUMN() { return getToken(MySqlParser.COLUMN, 0); }
public TerminalNode VISIBLE() { return getToken(MySqlParser.VISIBLE, 0); }
public TerminalNode INVISIBLE() { return getToken(MySqlParser.INVISIBLE, 0); }
public StringLiteralContext stringLiteral() {
return getRuleContext(StringLiteralContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public AlterByAlterColumnDefaultContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByAlterColumnDefault(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByAlterColumnDefault(this);
}
}
public static class AlterByDisableKeysContext extends AlterSpecificationContext {
public TerminalNode DISABLE() { return getToken(MySqlParser.DISABLE, 0); }
public TerminalNode KEYS() { return getToken(MySqlParser.KEYS, 0); }
public AlterByDisableKeysContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByDisableKeys(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByDisableKeys(this);
}
}
public static class AlterByDefaultCharsetContext extends AlterSpecificationContext {
public TerminalNode CHARACTER() { return getToken(MySqlParser.CHARACTER, 0); }
public TerminalNode SET() { return getToken(MySqlParser.SET, 0); }
public List EQUAL_SYMBOL() { return getTokens(MySqlParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(MySqlParser.EQUAL_SYMBOL, i);
}
public CharsetNameContext charsetName() {
return getRuleContext(CharsetNameContext.class,0);
}
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public TerminalNode COLLATE() { return getToken(MySqlParser.COLLATE, 0); }
public CollationNameContext collationName() {
return getRuleContext(CollationNameContext.class,0);
}
public AlterByDefaultCharsetContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByDefaultCharset(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByDefaultCharset(this);
}
}
public static class AlterByRenameColumnContext extends AlterSpecificationContext {
public UidContext oldColumn;
public UidContext newColumn;
public TerminalNode RENAME() { return getToken(MySqlParser.RENAME, 0); }
public TerminalNode COLUMN() { return getToken(MySqlParser.COLUMN, 0); }
public TerminalNode TO() { return getToken(MySqlParser.TO, 0); }
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public AlterByRenameColumnContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByRenameColumn(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByRenameColumn(this);
}
}
public static class AlterByConvertCharsetContext extends AlterSpecificationContext {
public TerminalNode CONVERT() { return getToken(MySqlParser.CONVERT, 0); }
public TerminalNode TO() { return getToken(MySqlParser.TO, 0); }
public CharsetNameContext charsetName() {
return getRuleContext(CharsetNameContext.class,0);
}
public TerminalNode CHARSET() { return getToken(MySqlParser.CHARSET, 0); }
public TerminalNode CHARACTER() { return getToken(MySqlParser.CHARACTER, 0); }
public TerminalNode SET() { return getToken(MySqlParser.SET, 0); }
public TerminalNode COLLATE() { return getToken(MySqlParser.COLLATE, 0); }
public CollationNameContext collationName() {
return getRuleContext(CollationNameContext.class,0);
}
public AlterByConvertCharsetContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByConvertCharset(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByConvertCharset(this);
}
}
public static class AlterByAddForeignKeyContext extends AlterSpecificationContext {
public UidContext name;
public UidContext indexName;
public TerminalNode ADD() { return getToken(MySqlParser.ADD, 0); }
public TerminalNode FOREIGN() { return getToken(MySqlParser.FOREIGN, 0); }
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public ReferenceDefinitionContext referenceDefinition() {
return getRuleContext(ReferenceDefinitionContext.class,0);
}
public TerminalNode CONSTRAINT() { return getToken(MySqlParser.CONSTRAINT, 0); }
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public AlterByAddForeignKeyContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByAddForeignKey(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByAddForeignKey(this);
}
}
public static class AlterByRenameIndexContext extends AlterSpecificationContext {
public Token indexFormat;
public TerminalNode RENAME() { return getToken(MySqlParser.RENAME, 0); }
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public TerminalNode TO() { return getToken(MySqlParser.TO, 0); }
public TerminalNode INDEX() { return getToken(MySqlParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public AlterByRenameIndexContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByRenameIndex(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByRenameIndex(this);
}
}
public static class AlterByRenameContext extends AlterSpecificationContext {
public Token renameFormat;
public TerminalNode RENAME() { return getToken(MySqlParser.RENAME, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public TerminalNode TO() { return getToken(MySqlParser.TO, 0); }
public TerminalNode AS() { return getToken(MySqlParser.AS, 0); }
public AlterByRenameContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByRename(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByRename(this);
}
}
public static class AlterByImportTablespaceContext extends AlterSpecificationContext {
public TerminalNode IMPORT() { return getToken(MySqlParser.IMPORT, 0); }
public TerminalNode TABLESPACE() { return getToken(MySqlParser.TABLESPACE, 0); }
public AlterByImportTablespaceContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByImportTablespace(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByImportTablespace(this);
}
}
public static class AlterByAddDefinitionsContext extends AlterSpecificationContext {
public TerminalNode ADD() { return getToken(MySqlParser.ADD, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public List createDefinition() {
return getRuleContexts(CreateDefinitionContext.class);
}
public CreateDefinitionContext createDefinition(int i) {
return getRuleContext(CreateDefinitionContext.class,i);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode COLUMN() { return getToken(MySqlParser.COLUMN, 0); }
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public AlterByAddDefinitionsContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByAddDefinitions(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByAddDefinitions(this);
}
}
public static class AlterByAlterCheckTableConstraintContext extends AlterSpecificationContext {
public UidContext name;
public TerminalNode ALTER() { return getToken(MySqlParser.ALTER, 0); }
public TerminalNode CHECK() { return getToken(MySqlParser.CHECK, 0); }
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public StringLiteralContext stringLiteral() {
return getRuleContext(StringLiteralContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode CONSTRAINT() { return getToken(MySqlParser.CONSTRAINT, 0); }
public TerminalNode NOT() { return getToken(MySqlParser.NOT, 0); }
public TerminalNode ENFORCED() { return getToken(MySqlParser.ENFORCED, 0); }
public AlterByAlterCheckTableConstraintContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByAlterCheckTableConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByAlterCheckTableConstraint(this);
}
}
public static class AlterByDropConstraintCheckContext extends AlterSpecificationContext {
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode CONSTRAINT() { return getToken(MySqlParser.CONSTRAINT, 0); }
public TerminalNode CHECK() { return getToken(MySqlParser.CHECK, 0); }
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public AlterByDropConstraintCheckContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByDropConstraintCheck(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByDropConstraintCheck(this);
}
}
public static class AlterByAddColumnsContext extends AlterSpecificationContext {
public TerminalNode ADD() { return getToken(MySqlParser.ADD, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public List columnDefinition() {
return getRuleContexts(ColumnDefinitionContext.class);
}
public ColumnDefinitionContext columnDefinition(int i) {
return getRuleContext(ColumnDefinitionContext.class,i);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode COLUMN() { return getToken(MySqlParser.COLUMN, 0); }
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public AlterByAddColumnsContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByAddColumns(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByAddColumns(this);
}
}
public static class AlterByAlterIndexVisibilityContext extends AlterSpecificationContext {
public TerminalNode ALTER() { return getToken(MySqlParser.ALTER, 0); }
public TerminalNode INDEX() { return getToken(MySqlParser.INDEX, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode VISIBLE() { return getToken(MySqlParser.VISIBLE, 0); }
public TerminalNode INVISIBLE() { return getToken(MySqlParser.INVISIBLE, 0); }
public AlterByAlterIndexVisibilityContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByAlterIndexVisibility(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByAlterIndexVisibility(this);
}
}
public static class AlterByDropForeignKeyContext extends AlterSpecificationContext {
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public TerminalNode FOREIGN() { return getToken(MySqlParser.FOREIGN, 0); }
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public DottedIdContext dottedId() {
return getRuleContext(DottedIdContext.class,0);
}
public AlterByDropForeignKeyContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByDropForeignKey(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByDropForeignKey(this);
}
}
public static class AlterByAddCheckTableConstraintContext extends AlterSpecificationContext {
public UidContext name;
public TerminalNode ADD() { return getToken(MySqlParser.ADD, 0); }
public TerminalNode CHECK() { return getToken(MySqlParser.CHECK, 0); }
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public StringLiteralContext stringLiteral() {
return getRuleContext(StringLiteralContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode CONSTRAINT() { return getToken(MySqlParser.CONSTRAINT, 0); }
public TerminalNode NOT() { return getToken(MySqlParser.NOT, 0); }
public TerminalNode ENFORCED() { return getToken(MySqlParser.ENFORCED, 0); }
public AlterByAddCheckTableConstraintContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByAddCheckTableConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByAddCheckTableConstraint(this);
}
}
public static class AlterPartitionContext extends AlterSpecificationContext {
public AlterPartitionSpecificationContext alterPartitionSpecification() {
return getRuleContext(AlterPartitionSpecificationContext.class,0);
}
public AlterPartitionContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterPartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterPartition(this);
}
}
public static class AlterByAddIndexContext extends AlterSpecificationContext {
public Token indexFormat;
public TerminalNode ADD() { return getToken(MySqlParser.ADD, 0); }
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode INDEX() { return getToken(MySqlParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public IndexTypeContext indexType() {
return getRuleContext(IndexTypeContext.class,0);
}
public List indexOption() {
return getRuleContexts(IndexOptionContext.class);
}
public IndexOptionContext indexOption(int i) {
return getRuleContext(IndexOptionContext.class,i);
}
public AlterByAddIndexContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByAddIndex(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByAddIndex(this);
}
}
public static class AlterByDropColumnContext extends AlterSpecificationContext {
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode COLUMN() { return getToken(MySqlParser.COLUMN, 0); }
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public TerminalNode RESTRICT() { return getToken(MySqlParser.RESTRICT, 0); }
public AlterByDropColumnContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByDropColumn(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByDropColumn(this);
}
}
public static class AlterByChangeDefaultContext extends AlterSpecificationContext {
public TerminalNode ALTER() { return getToken(MySqlParser.ALTER, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode SET() { return getToken(MySqlParser.SET, 0); }
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public DefaultValueContext defaultValue() {
return getRuleContext(DefaultValueContext.class,0);
}
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public TerminalNode COLUMN() { return getToken(MySqlParser.COLUMN, 0); }
public AlterByChangeDefaultContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByChangeDefault(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByChangeDefault(this);
}
}
public static class AlterByForceContext extends AlterSpecificationContext {
public TerminalNode FORCE() { return getToken(MySqlParser.FORCE, 0); }
public AlterByForceContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByForce(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByForce(this);
}
}
public static class AlterByAddSpecialIndexContext extends AlterSpecificationContext {
public Token keyType;
public Token indexFormat;
public TerminalNode ADD() { return getToken(MySqlParser.ADD, 0); }
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode FULLTEXT() { return getToken(MySqlParser.FULLTEXT, 0); }
public TerminalNode SPATIAL() { return getToken(MySqlParser.SPATIAL, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public List indexOption() {
return getRuleContexts(IndexOptionContext.class);
}
public IndexOptionContext indexOption(int i) {
return getRuleContext(IndexOptionContext.class,i);
}
public TerminalNode INDEX() { return getToken(MySqlParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public AlterByAddSpecialIndexContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByAddSpecialIndex(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByAddSpecialIndex(this);
}
}
public static class AlterByModifyColumnContext extends AlterSpecificationContext {
public TerminalNode MODIFY() { return getToken(MySqlParser.MODIFY, 0); }
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public ColumnDefinitionContext columnDefinition() {
return getRuleContext(ColumnDefinitionContext.class,0);
}
public TerminalNode COLUMN() { return getToken(MySqlParser.COLUMN, 0); }
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public TerminalNode FIRST() { return getToken(MySqlParser.FIRST, 0); }
public TerminalNode AFTER() { return getToken(MySqlParser.AFTER, 0); }
public AlterByModifyColumnContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByModifyColumn(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByModifyColumn(this);
}
}
public static class AlterByTableOptionContext extends AlterSpecificationContext {
public List tableOption() {
return getRuleContexts(TableOptionContext.class);
}
public TableOptionContext tableOption(int i) {
return getRuleContext(TableOptionContext.class,i);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public AlterByTableOptionContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByTableOption(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByTableOption(this);
}
}
public static class AlterByDropPrimaryKeyContext extends AlterSpecificationContext {
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public TerminalNode PRIMARY() { return getToken(MySqlParser.PRIMARY, 0); }
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public AlterByDropPrimaryKeyContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByDropPrimaryKey(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByDropPrimaryKey(this);
}
}
public static class AlterByLockContext extends AlterSpecificationContext {
public Token lockType;
public TerminalNode LOCK() { return getToken(MySqlParser.LOCK, 0); }
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public TerminalNode NONE() { return getToken(MySqlParser.NONE, 0); }
public TerminalNode SHARED() { return getToken(MySqlParser.SHARED, 0); }
public TerminalNode EXCLUSIVE() { return getToken(MySqlParser.EXCLUSIVE, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public AlterByLockContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByLock(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByLock(this);
}
}
public static class AlterByDiscardTablespaceContext extends AlterSpecificationContext {
public TerminalNode DISCARD() { return getToken(MySqlParser.DISCARD, 0); }
public TerminalNode TABLESPACE() { return getToken(MySqlParser.TABLESPACE, 0); }
public AlterByDiscardTablespaceContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByDiscardTablespace(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByDiscardTablespace(this);
}
}
public static class AlterByValidateContext extends AlterSpecificationContext {
public Token validationFormat;
public TerminalNode VALIDATION() { return getToken(MySqlParser.VALIDATION, 0); }
public TerminalNode WITHOUT() { return getToken(MySqlParser.WITHOUT, 0); }
public TerminalNode WITH() { return getToken(MySqlParser.WITH, 0); }
public AlterByValidateContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByValidate(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByValidate(this);
}
}
public static class AlterByAddPrimaryKeyContext extends AlterSpecificationContext {
public UidContext name;
public UidContext index;
public TerminalNode ADD() { return getToken(MySqlParser.ADD, 0); }
public TerminalNode PRIMARY() { return getToken(MySqlParser.PRIMARY, 0); }
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode CONSTRAINT() { return getToken(MySqlParser.CONSTRAINT, 0); }
public IndexTypeContext indexType() {
return getRuleContext(IndexTypeContext.class,0);
}
public List indexOption() {
return getRuleContexts(IndexOptionContext.class);
}
public IndexOptionContext indexOption(int i) {
return getRuleContext(IndexOptionContext.class,i);
}
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public AlterByAddPrimaryKeyContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByAddPrimaryKey(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByAddPrimaryKey(this);
}
}
public static class AlterByEnableKeysContext extends AlterSpecificationContext {
public TerminalNode ENABLE() { return getToken(MySqlParser.ENABLE, 0); }
public TerminalNode KEYS() { return getToken(MySqlParser.KEYS, 0); }
public AlterByEnableKeysContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByEnableKeys(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByEnableKeys(this);
}
}
public static class AlterBySetAlgorithmContext extends AlterSpecificationContext {
public Token algType;
public TerminalNode ALGORITHM() { return getToken(MySqlParser.ALGORITHM, 0); }
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public TerminalNode INSTANT() { return getToken(MySqlParser.INSTANT, 0); }
public TerminalNode INPLACE() { return getToken(MySqlParser.INPLACE, 0); }
public TerminalNode COPY() { return getToken(MySqlParser.COPY, 0); }
public TerminalNode NOCOPY() { return getToken(MySqlParser.NOCOPY, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public AlterBySetAlgorithmContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterBySetAlgorithm(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterBySetAlgorithm(this);
}
}
public static class AlterByChangeColumnContext extends AlterSpecificationContext {
public UidContext oldColumn;
public UidContext newColumn;
public UidContext afterColumn;
public TerminalNode CHANGE() { return getToken(MySqlParser.CHANGE, 0); }
public ColumnDefinitionContext columnDefinition() {
return getRuleContext(ColumnDefinitionContext.class,0);
}
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public TerminalNode COLUMN() { return getToken(MySqlParser.COLUMN, 0); }
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public TerminalNode FIRST() { return getToken(MySqlParser.FIRST, 0); }
public TerminalNode AFTER() { return getToken(MySqlParser.AFTER, 0); }
public AlterByChangeColumnContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByChangeColumn(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByChangeColumn(this);
}
}
public static class AlterByAddUniqueKeyContext extends AlterSpecificationContext {
public UidContext name;
public Token indexFormat;
public UidContext indexName;
public TerminalNode ADD() { return getToken(MySqlParser.ADD, 0); }
public TerminalNode UNIQUE() { return getToken(MySqlParser.UNIQUE, 0); }
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode CONSTRAINT() { return getToken(MySqlParser.CONSTRAINT, 0); }
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public IndexTypeContext indexType() {
return getRuleContext(IndexTypeContext.class,0);
}
public List indexOption() {
return getRuleContexts(IndexOptionContext.class);
}
public IndexOptionContext indexOption(int i) {
return getRuleContext(IndexOptionContext.class,i);
}
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public TerminalNode INDEX() { return getToken(MySqlParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public AlterByAddUniqueKeyContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByAddUniqueKey(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByAddUniqueKey(this);
}
}
public static class AlterByDropIndexContext extends AlterSpecificationContext {
public Token indexFormat;
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode INDEX() { return getToken(MySqlParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public AlterByDropIndexContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByDropIndex(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByDropIndex(this);
}
}
public static class AlterByAddColumnContext extends AlterSpecificationContext {
public TerminalNode ADD() { return getToken(MySqlParser.ADD, 0); }
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public ColumnDefinitionContext columnDefinition() {
return getRuleContext(ColumnDefinitionContext.class,0);
}
public TerminalNode COLUMN() { return getToken(MySqlParser.COLUMN, 0); }
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public TerminalNode FIRST() { return getToken(MySqlParser.FIRST, 0); }
public TerminalNode AFTER() { return getToken(MySqlParser.AFTER, 0); }
public AlterByAddColumnContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByAddColumn(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByAddColumn(this);
}
}
public static class AlterByOrderContext extends AlterSpecificationContext {
public TerminalNode ORDER() { return getToken(MySqlParser.ORDER, 0); }
public TerminalNode BY() { return getToken(MySqlParser.BY, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public AlterByOrderContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByOrder(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByOrder(this);
}
}
public final AlterSpecificationContext alterSpecification() throws RecognitionException {
AlterSpecificationContext _localctx = new AlterSpecificationContext(_ctx, getState());
enterRule(_localctx, 160, RULE_alterSpecification);
int _la;
try {
int _alt;
setState(3114);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,416,_ctx) ) {
case 1:
_localctx = new AlterByTableOptionContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(2736);
tableOption();
setState(2743);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,347,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(2738);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2737);
match(COMMA);
}
}
setState(2740);
tableOption();
}
}
}
setState(2745);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,347,_ctx);
}
}
break;
case 2:
_localctx = new AlterByAddColumnContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(2746);
match(ADD);
setState(2748);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLUMN) {
{
setState(2747);
match(COLUMN);
}
}
setState(2751);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,349,_ctx) ) {
case 1:
{
setState(2750);
ifNotExists();
}
break;
}
setState(2753);
uid();
setState(2754);
columnDefinition();
setState(2758);
_errHandler.sync(this);
switch (_input.LA(1)) {
case FIRST:
{
setState(2755);
match(FIRST);
}
break;
case AFTER:
{
setState(2756);
match(AFTER);
setState(2757);
uid();
}
break;
case EOF:
case ALTER:
case ANALYZE:
case CALL:
case CHANGE:
case CHECK:
case CREATE:
case DELETE:
case DESC:
case DESCRIBE:
case DROP:
case EXPLAIN:
case GET:
case GRANT:
case INSERT:
case KILL:
case LOAD:
case LOCK:
case OPTIMIZE:
case PARTITION:
case PURGE:
case RELEASE:
case RENAME:
case REPLACE:
case RESIGNAL:
case REVOKE:
case SELECT:
case SET:
case SHOW:
case SIGNAL:
case TABLE:
case UNLOCK:
case UPDATE:
case USE:
case VALUES:
case WITH:
case BEGIN:
case BINLOG:
case CACHE:
case CHECKSUM:
case COMMIT:
case DEALLOCATE:
case DO:
case FLUSH:
case HANDLER:
case HELP:
case INSTALL:
case PREPARE:
case REPAIR:
case RESET:
case ROLLBACK:
case SAVEPOINT:
case START:
case STOP:
case TRUNCATE:
case UNINSTALL:
case XA:
case EXECUTE:
case SHUTDOWN:
case MINUS:
case LR_BRACKET:
case COMMA:
case SEMI:
break;
default:
break;
}
}
break;
case 3:
_localctx = new AlterByAddColumnsContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(2760);
match(ADD);
setState(2762);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLUMN) {
{
setState(2761);
match(COLUMN);
}
}
setState(2765);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(2764);
ifNotExists();
}
}
setState(2767);
match(LR_BRACKET);
setState(2768);
uid();
setState(2769);
columnDefinition();
setState(2776);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2770);
match(COMMA);
setState(2771);
uid();
setState(2772);
columnDefinition();
}
}
setState(2778);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2779);
match(RR_BRACKET);
}
break;
case 4:
_localctx = new AlterByAddIndexContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(2781);
match(ADD);
setState(2782);
((AlterByAddIndexContext)_localctx).indexFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==INDEX || _la==KEY) ) {
((AlterByAddIndexContext)_localctx).indexFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(2784);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,354,_ctx) ) {
case 1:
{
setState(2783);
ifNotExists();
}
break;
}
setState(2787);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(2786);
uid();
}
}
setState(2790);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==USING) {
{
setState(2789);
indexType();
}
}
setState(2792);
indexColumnNames();
setState(2796);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,357,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(2793);
indexOption();
}
}
}
setState(2798);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,357,_ctx);
}
}
break;
case 5:
_localctx = new AlterByAddPrimaryKeyContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(2799);
match(ADD);
setState(2804);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(2800);
match(CONSTRAINT);
setState(2802);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,358,_ctx) ) {
case 1:
{
setState(2801);
((AlterByAddPrimaryKeyContext)_localctx).name = uid();
}
break;
}
}
}
setState(2806);
match(PRIMARY);
setState(2807);
match(KEY);
setState(2809);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(2808);
((AlterByAddPrimaryKeyContext)_localctx).index = uid();
}
}
setState(2812);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==USING) {
{
setState(2811);
indexType();
}
}
setState(2814);
indexColumnNames();
setState(2818);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,362,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(2815);
indexOption();
}
}
}
setState(2820);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,362,_ctx);
}
}
break;
case 6:
_localctx = new AlterByAddUniqueKeyContext(_localctx);
enterOuterAlt(_localctx, 6);
{
setState(2821);
match(ADD);
setState(2826);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(2822);
match(CONSTRAINT);
setState(2824);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(2823);
((AlterByAddUniqueKeyContext)_localctx).name = uid();
}
}
}
}
setState(2828);
match(UNIQUE);
setState(2830);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,365,_ctx) ) {
case 1:
{
setState(2829);
ifNotExists();
}
break;
}
setState(2833);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INDEX || _la==KEY) {
{
setState(2832);
((AlterByAddUniqueKeyContext)_localctx).indexFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==INDEX || _la==KEY) ) {
((AlterByAddUniqueKeyContext)_localctx).indexFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(2836);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(2835);
((AlterByAddUniqueKeyContext)_localctx).indexName = uid();
}
}
setState(2839);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==USING) {
{
setState(2838);
indexType();
}
}
setState(2841);
indexColumnNames();
setState(2845);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,369,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(2842);
indexOption();
}
}
}
setState(2847);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,369,_ctx);
}
}
break;
case 7:
_localctx = new AlterByAddSpecialIndexContext(_localctx);
enterOuterAlt(_localctx, 7);
{
setState(2848);
match(ADD);
setState(2849);
((AlterByAddSpecialIndexContext)_localctx).keyType = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==FULLTEXT || _la==SPATIAL) ) {
((AlterByAddSpecialIndexContext)_localctx).keyType = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(2851);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INDEX || _la==KEY) {
{
setState(2850);
((AlterByAddSpecialIndexContext)_localctx).indexFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==INDEX || _la==KEY) ) {
((AlterByAddSpecialIndexContext)_localctx).indexFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(2854);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(2853);
uid();
}
}
setState(2856);
indexColumnNames();
setState(2860);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,372,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(2857);
indexOption();
}
}
}
setState(2862);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,372,_ctx);
}
}
break;
case 8:
_localctx = new AlterByAddForeignKeyContext(_localctx);
enterOuterAlt(_localctx, 8);
{
setState(2863);
match(ADD);
setState(2868);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(2864);
match(CONSTRAINT);
setState(2866);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(2865);
((AlterByAddForeignKeyContext)_localctx).name = uid();
}
}
}
}
setState(2870);
match(FOREIGN);
setState(2871);
match(KEY);
setState(2873);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,375,_ctx) ) {
case 1:
{
setState(2872);
ifNotExists();
}
break;
}
setState(2876);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(2875);
((AlterByAddForeignKeyContext)_localctx).indexName = uid();
}
}
setState(2878);
indexColumnNames();
setState(2879);
referenceDefinition();
}
break;
case 9:
_localctx = new AlterByAddCheckTableConstraintContext(_localctx);
enterOuterAlt(_localctx, 9);
{
setState(2881);
match(ADD);
setState(2886);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(2882);
match(CONSTRAINT);
setState(2884);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(2883);
((AlterByAddCheckTableConstraintContext)_localctx).name = uid();
}
}
}
}
setState(2888);
match(CHECK);
setState(2895);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,379,_ctx) ) {
case 1:
{
setState(2889);
uid();
}
break;
case 2:
{
setState(2890);
stringLiteral();
}
break;
case 3:
{
setState(2891);
match(LR_BRACKET);
setState(2892);
expression(0);
setState(2893);
match(RR_BRACKET);
}
break;
}
setState(2898);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOT) {
{
setState(2897);
match(NOT);
}
}
setState(2901);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ENFORCED) {
{
setState(2900);
match(ENFORCED);
}
}
}
break;
case 10:
_localctx = new AlterByAlterCheckTableConstraintContext(_localctx);
enterOuterAlt(_localctx, 10);
{
setState(2903);
match(ALTER);
setState(2908);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(2904);
match(CONSTRAINT);
setState(2906);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(2905);
((AlterByAlterCheckTableConstraintContext)_localctx).name = uid();
}
}
}
}
setState(2910);
match(CHECK);
setState(2917);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,384,_ctx) ) {
case 1:
{
setState(2911);
uid();
}
break;
case 2:
{
setState(2912);
stringLiteral();
}
break;
case 3:
{
setState(2913);
match(LR_BRACKET);
setState(2914);
expression(0);
setState(2915);
match(RR_BRACKET);
}
break;
}
setState(2920);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOT) {
{
setState(2919);
match(NOT);
}
}
setState(2923);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ENFORCED) {
{
setState(2922);
match(ENFORCED);
}
}
}
break;
case 11:
_localctx = new AlterBySetAlgorithmContext(_localctx);
enterOuterAlt(_localctx, 11);
{
setState(2925);
match(ALGORITHM);
setState(2927);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2926);
match(EQUAL_SYMBOL);
}
}
setState(2929);
((AlterBySetAlgorithmContext)_localctx).algType = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DEFAULT || _la==COPY || _la==INPLACE || _la==INSTANT || _la==NOCOPY) ) {
((AlterBySetAlgorithmContext)_localctx).algType = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case 12:
_localctx = new AlterByChangeDefaultContext(_localctx);
enterOuterAlt(_localctx, 12);
{
setState(2930);
match(ALTER);
setState(2932);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLUMN) {
{
setState(2931);
match(COLUMN);
}
}
setState(2934);
uid();
setState(2940);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SET:
{
setState(2935);
match(SET);
setState(2936);
match(DEFAULT);
setState(2937);
defaultValue();
}
break;
case DROP:
{
setState(2938);
match(DROP);
setState(2939);
match(DEFAULT);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 13:
_localctx = new AlterByChangeColumnContext(_localctx);
enterOuterAlt(_localctx, 13);
{
setState(2942);
match(CHANGE);
setState(2944);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLUMN) {
{
setState(2943);
match(COLUMN);
}
}
setState(2947);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,391,_ctx) ) {
case 1:
{
setState(2946);
ifExists();
}
break;
}
setState(2949);
((AlterByChangeColumnContext)_localctx).oldColumn = uid();
setState(2950);
((AlterByChangeColumnContext)_localctx).newColumn = uid();
setState(2951);
columnDefinition();
setState(2955);
_errHandler.sync(this);
switch (_input.LA(1)) {
case FIRST:
{
setState(2952);
match(FIRST);
}
break;
case AFTER:
{
setState(2953);
match(AFTER);
setState(2954);
((AlterByChangeColumnContext)_localctx).afterColumn = uid();
}
break;
case EOF:
case ALTER:
case ANALYZE:
case CALL:
case CHANGE:
case CHECK:
case CREATE:
case DELETE:
case DESC:
case DESCRIBE:
case DROP:
case EXPLAIN:
case GET:
case GRANT:
case INSERT:
case KILL:
case LOAD:
case LOCK:
case OPTIMIZE:
case PARTITION:
case PURGE:
case RELEASE:
case RENAME:
case REPLACE:
case RESIGNAL:
case REVOKE:
case SELECT:
case SET:
case SHOW:
case SIGNAL:
case TABLE:
case UNLOCK:
case UPDATE:
case USE:
case VALUES:
case WITH:
case BEGIN:
case BINLOG:
case CACHE:
case CHECKSUM:
case COMMIT:
case DEALLOCATE:
case DO:
case FLUSH:
case HANDLER:
case HELP:
case INSTALL:
case PREPARE:
case REPAIR:
case RESET:
case ROLLBACK:
case SAVEPOINT:
case START:
case STOP:
case TRUNCATE:
case UNINSTALL:
case XA:
case EXECUTE:
case SHUTDOWN:
case MINUS:
case LR_BRACKET:
case COMMA:
case SEMI:
break;
default:
break;
}
}
break;
case 14:
_localctx = new AlterByRenameColumnContext(_localctx);
enterOuterAlt(_localctx, 14);
{
setState(2957);
match(RENAME);
setState(2958);
match(COLUMN);
setState(2959);
((AlterByRenameColumnContext)_localctx).oldColumn = uid();
setState(2960);
match(TO);
setState(2961);
((AlterByRenameColumnContext)_localctx).newColumn = uid();
}
break;
case 15:
_localctx = new AlterByLockContext(_localctx);
enterOuterAlt(_localctx, 15);
{
setState(2963);
match(LOCK);
setState(2965);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2964);
match(EQUAL_SYMBOL);
}
}
setState(2967);
((AlterByLockContext)_localctx).lockType = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DEFAULT || _la==EXCLUSIVE || _la==NONE || _la==SHARED) ) {
((AlterByLockContext)_localctx).lockType = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case 16:
_localctx = new AlterByModifyColumnContext(_localctx);
enterOuterAlt(_localctx, 16);
{
setState(2968);
match(MODIFY);
setState(2970);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLUMN) {
{
setState(2969);
match(COLUMN);
}
}
setState(2973);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,395,_ctx) ) {
case 1:
{
setState(2972);
ifExists();
}
break;
}
setState(2975);
uid();
setState(2976);
columnDefinition();
setState(2980);
_errHandler.sync(this);
switch (_input.LA(1)) {
case FIRST:
{
setState(2977);
match(FIRST);
}
break;
case AFTER:
{
setState(2978);
match(AFTER);
setState(2979);
uid();
}
break;
case EOF:
case ALTER:
case ANALYZE:
case CALL:
case CHANGE:
case CHECK:
case CREATE:
case DELETE:
case DESC:
case DESCRIBE:
case DROP:
case EXPLAIN:
case GET:
case GRANT:
case INSERT:
case KILL:
case LOAD:
case LOCK:
case OPTIMIZE:
case PARTITION:
case PURGE:
case RELEASE:
case RENAME:
case REPLACE:
case RESIGNAL:
case REVOKE:
case SELECT:
case SET:
case SHOW:
case SIGNAL:
case TABLE:
case UNLOCK:
case UPDATE:
case USE:
case VALUES:
case WITH:
case BEGIN:
case BINLOG:
case CACHE:
case CHECKSUM:
case COMMIT:
case DEALLOCATE:
case DO:
case FLUSH:
case HANDLER:
case HELP:
case INSTALL:
case PREPARE:
case REPAIR:
case RESET:
case ROLLBACK:
case SAVEPOINT:
case START:
case STOP:
case TRUNCATE:
case UNINSTALL:
case XA:
case EXECUTE:
case SHUTDOWN:
case MINUS:
case LR_BRACKET:
case COMMA:
case SEMI:
break;
default:
break;
}
}
break;
case 17:
_localctx = new AlterByDropColumnContext(_localctx);
enterOuterAlt(_localctx, 17);
{
setState(2982);
match(DROP);
setState(2984);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLUMN) {
{
setState(2983);
match(COLUMN);
}
}
setState(2987);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,398,_ctx) ) {
case 1:
{
setState(2986);
ifExists();
}
break;
}
setState(2989);
uid();
setState(2991);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==RESTRICT) {
{
setState(2990);
match(RESTRICT);
}
}
}
break;
case 18:
_localctx = new AlterByDropConstraintCheckContext(_localctx);
enterOuterAlt(_localctx, 18);
{
setState(2993);
match(DROP);
setState(2994);
_la = _input.LA(1);
if ( !(_la==CHECK || _la==CONSTRAINT) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(2996);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,400,_ctx) ) {
case 1:
{
setState(2995);
ifExists();
}
break;
}
setState(2998);
uid();
}
break;
case 19:
_localctx = new AlterByDropPrimaryKeyContext(_localctx);
enterOuterAlt(_localctx, 19);
{
setState(2999);
match(DROP);
setState(3000);
match(PRIMARY);
setState(3001);
match(KEY);
}
break;
case 20:
_localctx = new AlterByDropIndexContext(_localctx);
enterOuterAlt(_localctx, 20);
{
setState(3002);
match(DROP);
setState(3003);
((AlterByDropIndexContext)_localctx).indexFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==INDEX || _la==KEY) ) {
((AlterByDropIndexContext)_localctx).indexFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(3005);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,401,_ctx) ) {
case 1:
{
setState(3004);
ifExists();
}
break;
}
setState(3007);
uid();
}
break;
case 21:
_localctx = new AlterByRenameIndexContext(_localctx);
enterOuterAlt(_localctx, 21);
{
setState(3008);
match(RENAME);
setState(3009);
((AlterByRenameIndexContext)_localctx).indexFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==INDEX || _la==KEY) ) {
((AlterByRenameIndexContext)_localctx).indexFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(3010);
uid();
setState(3011);
match(TO);
setState(3012);
uid();
}
break;
case 22:
_localctx = new AlterByAlterColumnDefaultContext(_localctx);
enterOuterAlt(_localctx, 22);
{
setState(3014);
match(ALTER);
setState(3016);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLUMN) {
{
setState(3015);
match(COLUMN);
}
}
setState(3018);
uid();
setState(3032);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,404,_ctx) ) {
case 1:
{
setState(3019);
match(SET);
setState(3020);
match(DEFAULT);
setState(3026);
_errHandler.sync(this);
switch (_input.LA(1)) {
case START_NATIONAL_STRING_LITERAL:
case STRING_LITERAL:
case STRING_CHARSET_NAME:
{
setState(3021);
stringLiteral();
}
break;
case LR_BRACKET:
{
setState(3022);
match(LR_BRACKET);
setState(3023);
expression(0);
setState(3024);
match(RR_BRACKET);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 2:
{
setState(3028);
match(SET);
setState(3029);
_la = _input.LA(1);
if ( !(_la==INVISIBLE || _la==VISIBLE) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case 3:
{
setState(3030);
match(DROP);
setState(3031);
match(DEFAULT);
}
break;
}
}
break;
case 23:
_localctx = new AlterByAlterIndexVisibilityContext(_localctx);
enterOuterAlt(_localctx, 23);
{
setState(3034);
match(ALTER);
setState(3035);
match(INDEX);
setState(3036);
uid();
setState(3037);
_la = _input.LA(1);
if ( !(_la==INVISIBLE || _la==VISIBLE) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case 24:
_localctx = new AlterByDropForeignKeyContext(_localctx);
enterOuterAlt(_localctx, 24);
{
setState(3039);
match(DROP);
setState(3040);
match(FOREIGN);
setState(3041);
match(KEY);
setState(3043);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,405,_ctx) ) {
case 1:
{
setState(3042);
ifExists();
}
break;
}
setState(3045);
uid();
setState(3047);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DOT || _la==DOT_ID) {
{
setState(3046);
dottedId();
}
}
}
break;
case 25:
_localctx = new AlterByDisableKeysContext(_localctx);
enterOuterAlt(_localctx, 25);
{
setState(3049);
match(DISABLE);
setState(3050);
match(KEYS);
}
break;
case 26:
_localctx = new AlterByEnableKeysContext(_localctx);
enterOuterAlt(_localctx, 26);
{
setState(3051);
match(ENABLE);
setState(3052);
match(KEYS);
}
break;
case 27:
_localctx = new AlterByRenameContext(_localctx);
enterOuterAlt(_localctx, 27);
{
setState(3053);
match(RENAME);
setState(3055);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS || _la==TO) {
{
setState(3054);
((AlterByRenameContext)_localctx).renameFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==AS || _la==TO) ) {
((AlterByRenameContext)_localctx).renameFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3059);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,408,_ctx) ) {
case 1:
{
setState(3057);
uid();
}
break;
case 2:
{
setState(3058);
fullId();
}
break;
}
}
break;
case 28:
_localctx = new AlterByOrderContext(_localctx);
enterOuterAlt(_localctx, 28);
{
setState(3061);
match(ORDER);
setState(3062);
match(BY);
setState(3063);
uidList();
}
break;
case 29:
_localctx = new AlterByConvertCharsetContext(_localctx);
enterOuterAlt(_localctx, 29);
{
setState(3064);
match(CONVERT);
setState(3065);
match(TO);
setState(3069);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CHARSET:
{
setState(3066);
match(CHARSET);
}
break;
case CHARACTER:
{
setState(3067);
match(CHARACTER);
setState(3068);
match(SET);
}
break;
default:
throw new NoViableAltException(this);
}
setState(3071);
charsetName();
setState(3074);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLLATE) {
{
setState(3072);
match(COLLATE);
setState(3073);
collationName();
}
}
}
break;
case 30:
_localctx = new AlterByDefaultCharsetContext(_localctx);
enterOuterAlt(_localctx, 30);
{
setState(3077);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
setState(3076);
match(DEFAULT);
}
}
setState(3079);
match(CHARACTER);
setState(3080);
match(SET);
setState(3081);
match(EQUAL_SYMBOL);
setState(3082);
charsetName();
setState(3086);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLLATE) {
{
setState(3083);
match(COLLATE);
setState(3084);
match(EQUAL_SYMBOL);
setState(3085);
collationName();
}
}
}
break;
case 31:
_localctx = new AlterByDiscardTablespaceContext(_localctx);
enterOuterAlt(_localctx, 31);
{
setState(3088);
match(DISCARD);
setState(3089);
match(TABLESPACE);
}
break;
case 32:
_localctx = new AlterByImportTablespaceContext(_localctx);
enterOuterAlt(_localctx, 32);
{
setState(3090);
match(IMPORT);
setState(3091);
match(TABLESPACE);
}
break;
case 33:
_localctx = new AlterByForceContext(_localctx);
enterOuterAlt(_localctx, 33);
{
setState(3092);
match(FORCE);
}
break;
case 34:
_localctx = new AlterByValidateContext(_localctx);
enterOuterAlt(_localctx, 34);
{
setState(3093);
((AlterByValidateContext)_localctx).validationFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==WITH || _la==WITHOUT) ) {
((AlterByValidateContext)_localctx).validationFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(3094);
match(VALIDATION);
}
break;
case 35:
_localctx = new AlterByAddDefinitionsContext(_localctx);
enterOuterAlt(_localctx, 35);
{
setState(3095);
match(ADD);
setState(3097);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLUMN) {
{
setState(3096);
match(COLUMN);
}
}
setState(3100);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(3099);
ifNotExists();
}
}
setState(3102);
match(LR_BRACKET);
setState(3103);
createDefinition();
setState(3108);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3104);
match(COMMA);
setState(3105);
createDefinition();
}
}
setState(3110);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(3111);
match(RR_BRACKET);
}
break;
case 36:
_localctx = new AlterPartitionContext(_localctx);
enterOuterAlt(_localctx, 36);
{
setState(3113);
alterPartitionSpecification();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AlterPartitionSpecificationContext extends ParserRuleContext {
public AlterPartitionSpecificationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alterPartitionSpecification; }
public AlterPartitionSpecificationContext() { }
public void copyFrom(AlterPartitionSpecificationContext ctx) {
super.copyFrom(ctx);
}
}
public static class AlterByImportPartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode IMPORT() { return getToken(MySqlParser.IMPORT, 0); }
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public TerminalNode TABLESPACE() { return getToken(MySqlParser.TABLESPACE, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode ALL() { return getToken(MySqlParser.ALL, 0); }
public AlterByImportPartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByImportPartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByImportPartition(this);
}
}
public static class AlterByDropPartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public AlterByDropPartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByDropPartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByDropPartition(this);
}
}
public static class AlterByDiscardPartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode DISCARD() { return getToken(MySqlParser.DISCARD, 0); }
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public TerminalNode TABLESPACE() { return getToken(MySqlParser.TABLESPACE, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode ALL() { return getToken(MySqlParser.ALL, 0); }
public AlterByDiscardPartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByDiscardPartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByDiscardPartition(this);
}
}
public static class AlterByAddPartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode ADD() { return getToken(MySqlParser.ADD, 0); }
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public List partitionDefinition() {
return getRuleContexts(PartitionDefinitionContext.class);
}
public PartitionDefinitionContext partitionDefinition(int i) {
return getRuleContext(PartitionDefinitionContext.class,i);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public AlterByAddPartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByAddPartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByAddPartition(this);
}
}
public static class AlterByRemovePartitioningContext extends AlterPartitionSpecificationContext {
public TerminalNode REMOVE() { return getToken(MySqlParser.REMOVE, 0); }
public TerminalNode PARTITIONING() { return getToken(MySqlParser.PARTITIONING, 0); }
public AlterByRemovePartitioningContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByRemovePartitioning(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByRemovePartitioning(this);
}
}
public static class AlterByOptimizePartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode OPTIMIZE() { return getToken(MySqlParser.OPTIMIZE, 0); }
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode ALL() { return getToken(MySqlParser.ALL, 0); }
public AlterByOptimizePartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByOptimizePartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByOptimizePartition(this);
}
}
public static class AlterByCheckPartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode CHECK() { return getToken(MySqlParser.CHECK, 0); }
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode ALL() { return getToken(MySqlParser.ALL, 0); }
public AlterByCheckPartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByCheckPartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByCheckPartition(this);
}
}
public static class AlterByCoalescePartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode COALESCE() { return getToken(MySqlParser.COALESCE, 0); }
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public AlterByCoalescePartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByCoalescePartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByCoalescePartition(this);
}
}
public static class AlterByReorganizePartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode REORGANIZE() { return getToken(MySqlParser.REORGANIZE, 0); }
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode INTO() { return getToken(MySqlParser.INTO, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public List partitionDefinition() {
return getRuleContexts(PartitionDefinitionContext.class);
}
public PartitionDefinitionContext partitionDefinition(int i) {
return getRuleContext(PartitionDefinitionContext.class,i);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public AlterByReorganizePartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByReorganizePartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByReorganizePartition(this);
}
}
public static class AlterByAnalyzePartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode ANALYZE() { return getToken(MySqlParser.ANALYZE, 0); }
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode ALL() { return getToken(MySqlParser.ALL, 0); }
public AlterByAnalyzePartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByAnalyzePartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByAnalyzePartition(this);
}
}
public static class AlterByRebuildPartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode REBUILD() { return getToken(MySqlParser.REBUILD, 0); }
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode ALL() { return getToken(MySqlParser.ALL, 0); }
public AlterByRebuildPartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByRebuildPartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByRebuildPartition(this);
}
}
public static class AlterByUpgradePartitioningContext extends AlterPartitionSpecificationContext {
public TerminalNode UPGRADE() { return getToken(MySqlParser.UPGRADE, 0); }
public TerminalNode PARTITIONING() { return getToken(MySqlParser.PARTITIONING, 0); }
public AlterByUpgradePartitioningContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByUpgradePartitioning(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByUpgradePartitioning(this);
}
}
public static class AlterByTruncatePartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode TRUNCATE() { return getToken(MySqlParser.TRUNCATE, 0); }
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode ALL() { return getToken(MySqlParser.ALL, 0); }
public AlterByTruncatePartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByTruncatePartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByTruncatePartition(this);
}
}
public static class AlterByRepairPartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode REPAIR() { return getToken(MySqlParser.REPAIR, 0); }
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode ALL() { return getToken(MySqlParser.ALL, 0); }
public AlterByRepairPartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByRepairPartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByRepairPartition(this);
}
}
public static class AlterByExchangePartitionContext extends AlterPartitionSpecificationContext {
public Token validationFormat;
public TerminalNode EXCHANGE() { return getToken(MySqlParser.EXCHANGE, 0); }
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public List WITH() { return getTokens(MySqlParser.WITH); }
public TerminalNode WITH(int i) {
return getToken(MySqlParser.WITH, i);
}
public TerminalNode TABLE() { return getToken(MySqlParser.TABLE, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode VALIDATION() { return getToken(MySqlParser.VALIDATION, 0); }
public TerminalNode WITHOUT() { return getToken(MySqlParser.WITHOUT, 0); }
public AlterByExchangePartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAlterByExchangePartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAlterByExchangePartition(this);
}
}
public final AlterPartitionSpecificationContext alterPartitionSpecification() throws RecognitionException {
AlterPartitionSpecificationContext _localctx = new AlterPartitionSpecificationContext(_ctx, getState());
enterRule(_localctx, 162, RULE_alterPartitionSpecification);
int _la;
try {
setState(3220);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ADD:
_localctx = new AlterByAddPartitionContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(3116);
match(ADD);
setState(3117);
match(PARTITION);
setState(3119);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(3118);
ifNotExists();
}
}
setState(3121);
match(LR_BRACKET);
setState(3122);
partitionDefinition();
setState(3127);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3123);
match(COMMA);
setState(3124);
partitionDefinition();
}
}
setState(3129);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(3130);
match(RR_BRACKET);
}
break;
case DROP:
_localctx = new AlterByDropPartitionContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(3132);
match(DROP);
setState(3133);
match(PARTITION);
setState(3135);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,419,_ctx) ) {
case 1:
{
setState(3134);
ifExists();
}
break;
}
setState(3137);
uidList();
}
break;
case DISCARD:
_localctx = new AlterByDiscardPartitionContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(3138);
match(DISCARD);
setState(3139);
match(PARTITION);
setState(3142);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ARRAY:
case ATTRIBUTE:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case ENFORCED:
case EXCEPT:
case GROUP:
case GROUP_REPLICATION_STREAM:
case IF:
case IGNORED:
case INSERT:
case LATERAL:
case LEFT:
case LOCKED:
case MAXVALUE:
case MINVALUE:
case NUMBER:
case OPTIONAL:
case ORDER:
case PRIMARY:
case REPEAT:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case SKIP_QUERY_REWRITE:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
case NATIONAL:
case BINARY:
case TEXT:
case ENUM:
case SERIAL:
case JSON_ARRAY:
case JSON_ARRAYAGG:
case JSON_ARRAY_APPEND:
case JSON_ARRAY_INSERT:
case JSON_CONTAINS:
case JSON_CONTAINS_PATH:
case JSON_DEPTH:
case JSON_EXTRACT:
case JSON_INSERT:
case JSON_KEYS:
case JSON_LENGTH:
case JSON_MERGE:
case JSON_MERGE_PATCH:
case JSON_MERGE_PRESERVE:
case JSON_OBJECT:
case JSON_OBJECTAGG:
case JSON_OVERLAPS:
case JSON_PRETTY:
case JSON_QUOTE:
case JSON_REMOVE:
case JSON_REPLACE:
case JSON_SCHEMA_VALID:
case JSON_SCHEMA_VALIDATION_REPORT:
case JSON_SEARCH:
case JSON_SET:
case JSON_STORAGE_FREE:
case JSON_STORAGE_SIZE:
case JSON_TABLE:
case JSON_TYPE:
case JSON_UNQUOTE:
case JSON_VALID:
case JSON_VALUE:
case NESTED:
case ORDINALITY:
case PATH:
case AVG:
case BIT_AND:
case BIT_OR:
case BIT_XOR:
case COUNT:
case CUME_DIST:
case DENSE_RANK:
case FIRST_VALUE:
case GROUP_CONCAT:
case LAG:
case LAST_VALUE:
case LEAD:
case MAX:
case MIN:
case NTILE:
case NTH_VALUE:
case PERCENT_RANK:
case RANK:
case ROW_NUMBER:
case STD:
case STDDEV:
case STDDEV_POP:
case STDDEV_SAMP:
case SUM:
case VAR_POP:
case VAR_SAMP:
case VARIANCE:
case CURRENT_DATE:
case CURRENT_TIME:
case CURRENT_TIMESTAMP:
case LOCALTIME:
case CURDATE:
case CURTIME:
case DATE_ADD:
case DATE_SUB:
case LOCALTIMESTAMP:
case NOW:
case POSITION:
case SUBSTR:
case SUBSTRING:
case SYSDATE:
case TRIM:
case UTC_DATE:
case UTC_TIME:
case UTC_TIMESTAMP:
case ACCOUNT:
case ACTION:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ANY:
case AT:
case AUTHORS:
case AUTOCOMMIT:
case AUTOEXTEND_SIZE:
case AUTO_INCREMENT:
case AVG_ROW_LENGTH:
case BEGIN:
case BINLOG:
case BIT:
case BLOCK:
case BOOL:
case BOOLEAN:
case BTREE:
case CACHE:
case CASCADED:
case CHAIN:
case CHANGED:
case CHANNEL:
case CHECKSUM:
case PAGE_CHECKSUM:
case CIPHER:
case CLASS_ORIGIN:
case CLIENT:
case CLOSE:
case CLUSTERING:
case COALESCE:
case CODE:
case COLUMNS:
case COLUMN_FORMAT:
case COLUMN_NAME:
case COMMENT:
case COMMIT:
case COMPACT:
case COMPLETION:
case COMPRESSED:
case COMPRESSION:
case CONCURRENT:
case CONNECT:
case CONNECTION:
case CONSISTENT:
case CONSTRAINT_CATALOG:
case CONSTRAINT_SCHEMA:
case CONSTRAINT_NAME:
case CONTAINS:
case CONTEXT:
case CONTRIBUTORS:
case COPY:
case CPU:
case CYCLE:
case CURSOR_NAME:
case DATA:
case DATAFILE:
case DEALLOCATE:
case DEFAULT_AUTH:
case DEFINER:
case DELAY_KEY_WRITE:
case DES_KEY_FILE:
case DIRECTORY:
case DISABLE:
case DISCARD:
case DISK:
case DO:
case DUMPFILE:
case DUPLICATE:
case DYNAMIC:
case ENABLE:
case ENCRYPTED:
case ENCRYPTION:
case ENCRYPTION_KEY_ID:
case END:
case ENDS:
case ENGINE:
case ENGINES:
case ERROR:
case ERRORS:
case ESCAPE:
case EVEN:
case EVENT:
case EVENTS:
case EVERY:
case EXCHANGE:
case EXCLUSIVE:
case EXPIRE:
case EXPORT:
case EXTENDED:
case EXTENT_SIZE:
case FAILED_LOGIN_ATTEMPTS:
case FAST:
case FAULTS:
case FIELDS:
case FILE_BLOCK_SIZE:
case FILTER:
case FIRST:
case FIXED:
case FLUSH:
case FOLLOWS:
case FOUND:
case FULL:
case FUNCTION:
case GENERAL:
case GLOBAL:
case GRANTS:
case GROUP_REPLICATION:
case HANDLER:
case HASH:
case HELP:
case HISTORY:
case HOST:
case HOSTS:
case IDENTIFIED:
case IGNORE_SERVER_IDS:
case IMPORT:
case INCREMENT:
case INDEXES:
case INITIAL_SIZE:
case INPLACE:
case INSERT_METHOD:
case INSTALL:
case INSTANCE:
case INSTANT:
case INVISIBLE:
case INVOKER:
case IO:
case IO_THREAD:
case IPC:
case ISOLATION:
case ISSUER:
case JSON:
case KEY_BLOCK_SIZE:
case LANGUAGE:
case LAST:
case LEAVES:
case LESS:
case LEVEL:
case LIST:
case LOCAL:
case LOGFILE:
case LOGS:
case MASTER:
case MASTER_AUTO_POSITION:
case MASTER_CONNECT_RETRY:
case MASTER_DELAY:
case MASTER_HEARTBEAT_PERIOD:
case MASTER_HOST:
case MASTER_LOG_FILE:
case MASTER_LOG_POS:
case MASTER_PASSWORD:
case MASTER_PORT:
case MASTER_RETRY_COUNT:
case MASTER_SSL:
case MASTER_SSL_CA:
case MASTER_SSL_CAPATH:
case MASTER_SSL_CERT:
case MASTER_SSL_CIPHER:
case MASTER_SSL_CRL:
case MASTER_SSL_CRLPATH:
case MASTER_SSL_KEY:
case MASTER_TLS_VERSION:
case MASTER_USER:
case MAX_CONNECTIONS_PER_HOUR:
case MAX_QUERIES_PER_HOUR:
case MAX_ROWS:
case MAX_SIZE:
case MAX_UPDATES_PER_HOUR:
case MAX_USER_CONNECTIONS:
case MEDIUM:
case MEMBER:
case MERGE:
case MESSAGE_TEXT:
case MID:
case MIGRATE:
case MIN_ROWS:
case MODE:
case MODIFY:
case MUTEX:
case MYSQL:
case MYSQL_ERRNO:
case NAME:
case NAMES:
case NCHAR:
case NEVER:
case NEXT:
case NO:
case NOCACHE:
case NOCOPY:
case NOCYCLE:
case NOMAXVALUE:
case NOMINVALUE:
case NOWAIT:
case NODEGROUP:
case NONE:
case ODBC:
case OFFLINE:
case OFFSET:
case OF:
case OJ:
case OLD_PASSWORD:
case ONE:
case ONLINE:
case ONLY:
case OPEN:
case OPTIMIZER_COSTS:
case OPTIONS:
case OWNER:
case PACK_KEYS:
case PAGE:
case PARSER:
case PARTIAL:
case PARTITIONING:
case PARTITIONS:
case PASSWORD:
case PASSWORD_LOCK_TIME:
case PHASE:
case PLUGIN:
case PLUGIN_DIR:
case PLUGINS:
case PORT:
case PRECEDES:
case PREPARE:
case PRESERVE:
case PREV:
case PROCESSLIST:
case PROFILE:
case PROFILES:
case PROXY:
case QUERY:
case QUICK:
case REBUILD:
case RECOVER:
case RECURSIVE:
case REDO_BUFFER_SIZE:
case REDUNDANT:
case RELAY:
case RELAY_LOG_FILE:
case RELAY_LOG_POS:
case RELAYLOG:
case REMOVE:
case REORGANIZE:
case REPAIR:
case REPLICATE_DO_DB:
case REPLICATE_DO_TABLE:
case REPLICATE_IGNORE_DB:
case REPLICATE_IGNORE_TABLE:
case REPLICATE_REWRITE_DB:
case REPLICATE_WILD_DO_TABLE:
case REPLICATE_WILD_IGNORE_TABLE:
case REPLICATION:
case RESET:
case RESTART:
case RESUME:
case RETURNED_SQLSTATE:
case RETURNING:
case RETURNS:
case REUSE:
case ROLE:
case ROLLBACK:
case ROLLUP:
case ROTATE:
case ROW:
case ROWS:
case ROW_FORMAT:
case RTREE:
case SAVEPOINT:
case SCHEDULE:
case SECURITY:
case SEQUENCE:
case SERVER:
case SESSION:
case SHARE:
case SHARED:
case SIGNED:
case SIMPLE:
case SLAVE:
case SLOW:
case SNAPSHOT:
case SOCKET:
case SOME:
case SONAME:
case SOUNDS:
case SOURCE:
case SQL_AFTER_GTIDS:
case SQL_AFTER_MTS_GAPS:
case SQL_BEFORE_GTIDS:
case SQL_BUFFER_RESULT:
case SQL_CACHE:
case SQL_NO_CACHE:
case SQL_THREAD:
case START:
case STARTS:
case STATS_AUTO_RECALC:
case STATS_PERSISTENT:
case STATS_SAMPLE_PAGES:
case STATUS:
case STOP:
case STORAGE:
case STRING:
case SUBCLASS_ORIGIN:
case SUBJECT:
case SUBPARTITION:
case SUBPARTITIONS:
case SUSPEND:
case SWAPS:
case SWITCHES:
case TABLE_NAME:
case TABLESPACE:
case TABLE_TYPE:
case TEMPORARY:
case TEMPTABLE:
case THAN:
case TRADITIONAL:
case TRANSACTION:
case TRANSACTIONAL:
case TRIGGERS:
case TRUNCATE:
case UNBOUNDED:
case UNDEFINED:
case UNDOFILE:
case UNDO_BUFFER_SIZE:
case UNINSTALL:
case UNKNOWN:
case UNTIL:
case UPGRADE:
case USER:
case USE_FRM:
case USER_RESOURCES:
case VALIDATION:
case VALUE:
case VARIABLES:
case VIEW:
case VIRTUAL:
case VISIBLE:
case WAIT:
case WARNINGS:
case WITHOUT:
case WORK:
case WRAPPER:
case X509:
case XA:
case XML:
case YES:
case EUR:
case USA:
case JIS:
case ISO:
case INTERNAL:
case QUARTER:
case MONTH:
case DAY:
case HOUR:
case MINUTE:
case WEEK:
case SECOND:
case MICROSECOND:
case USER_STATISTICS:
case CLIENT_STATISTICS:
case INDEX_STATISTICS:
case TABLE_STATISTICS:
case FIREWALL_RULES:
case ADMIN:
case APPLICATION_PASSWORD_ADMIN:
case AUDIT_ADMIN:
case AUDIT_ABORT_EXEMPT:
case AUTHENTICATION_POLICY_ADMIN:
case BACKUP_ADMIN:
case BINLOG_ADMIN:
case BINLOG_ENCRYPTION_ADMIN:
case CLONE_ADMIN:
case CONNECTION_ADMIN:
case ENCRYPTION_KEY_ADMIN:
case EXECUTE:
case FILE:
case FIREWALL_ADMIN:
case FIREWALL_EXEMPT:
case FIREWALL_USER:
case FLUSH_OPTIMIZER_COSTS:
case FLUSH_STATUS:
case FLUSH_TABLES:
case FLUSH_USER_RESOURCES:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
case INNODB_REDO_LOG_ENABLE:
case INVOKE:
case LAMBDA:
case NDB_STORED_USER:
case PASSWORDLESS_USER_ADMIN:
case PERSIST_RO_VARIABLES_ADMIN:
case PRIVILEGES:
case PROCESS:
case RELOAD:
case REPLICATION_APPLIER:
case REPLICATION_SLAVE_ADMIN:
case RESOURCE_GROUP_ADMIN:
case RESOURCE_GROUP_USER:
case ROLE_ADMIN:
case ROUTINE:
case S3:
case SESSION_VARIABLES_ADMIN:
case SET_USER_ID:
case SHOW_ROUTINE:
case SHUTDOWN:
case SUPER:
case SYSTEM_VARIABLES_ADMIN:
case TABLES:
case TABLE_ENCRYPTION_ADMIN:
case VERSION_TOKEN_ADMIN:
case XA_RECOVER_ADMIN:
case ARMSCII8:
case ASCII:
case BIG5:
case CP1250:
case CP1251:
case CP1256:
case CP1257:
case CP850:
case CP852:
case CP866:
case CP932:
case DEC8:
case EUCJPMS:
case EUCKR:
case GB18030:
case GB2312:
case GBK:
case GEOSTD8:
case GREEK:
case HEBREW:
case HP8:
case KEYBCS2:
case KOI8R:
case KOI8U:
case LATIN1:
case LATIN2:
case LATIN5:
case LATIN7:
case MACCE:
case MACROMAN:
case SJIS:
case SWE7:
case TIS620:
case UCS2:
case UJIS:
case UTF16:
case UTF16LE:
case UTF32:
case UTF8:
case UTF8MB3:
case UTF8MB4:
case ARCHIVE:
case BLACKHOLE:
case CSV:
case FEDERATED:
case INNODB:
case MEMORY:
case MRG_MYISAM:
case MYISAM:
case NDB:
case NDBCLUSTER:
case PERFORMANCE_SCHEMA:
case TOKUDB:
case REPEATABLE:
case COMMITTED:
case UNCOMMITTED:
case SERIALIZABLE:
case GEOMETRYCOLLECTION:
case GEOMETRY:
case LINESTRING:
case MULTILINESTRING:
case MULTIPOINT:
case MULTIPOLYGON:
case POINT:
case POLYGON:
case ABS:
case ACOS:
case ADDDATE:
case ADDTIME:
case AES_DECRYPT:
case AES_ENCRYPT:
case AREA:
case ASBINARY:
case ASIN:
case ASTEXT:
case ASWKB:
case ASWKT:
case ASYMMETRIC_DECRYPT:
case ASYMMETRIC_DERIVE:
case ASYMMETRIC_ENCRYPT:
case ASYMMETRIC_SIGN:
case ASYMMETRIC_VERIFY:
case ATAN:
case ATAN2:
case BENCHMARK:
case BIN:
case BIT_COUNT:
case BIT_LENGTH:
case BUFFER:
case CATALOG_NAME:
case CEIL:
case CEILING:
case CENTROID:
case CHARACTER_LENGTH:
case CHARSET:
case CHAR_LENGTH:
case COERCIBILITY:
case COLLATION:
case COMPRESS:
case CONCAT:
case CONCAT_WS:
case CONNECTION_ID:
case CONV:
case CONVERT_TZ:
case COS:
case COT:
case CRC32:
case CREATE_ASYMMETRIC_PRIV_KEY:
case CREATE_ASYMMETRIC_PUB_KEY:
case CREATE_DH_PARAMETERS:
case CREATE_DIGEST:
case CROSSES:
case DATEDIFF:
case DATE_FORMAT:
case DAYNAME:
case DAYOFMONTH:
case DAYOFWEEK:
case DAYOFYEAR:
case DECODE:
case DEGREES:
case DES_DECRYPT:
case DES_ENCRYPT:
case DIMENSION:
case DISJOINT:
case ELT:
case ENCODE:
case ENCRYPT:
case ENDPOINT:
case ENGINE_ATTRIBUTE:
case ENVELOPE:
case EQUALS:
case EXP:
case EXPORT_SET:
case EXTERIORRING:
case EXTRACTVALUE:
case FIELD:
case FIND_IN_SET:
case FLOOR:
case FORMAT:
case FOUND_ROWS:
case FROM_BASE64:
case FROM_DAYS:
case FROM_UNIXTIME:
case GEOMCOLLFROMTEXT:
case GEOMCOLLFROMWKB:
case GEOMETRYCOLLECTIONFROMTEXT:
case GEOMETRYCOLLECTIONFROMWKB:
case GEOMETRYFROMTEXT:
case GEOMETRYFROMWKB:
case GEOMETRYN:
case GEOMETRYTYPE:
case GEOMFROMTEXT:
case GEOMFROMWKB:
case GET_FORMAT:
case GET_LOCK:
case GLENGTH:
case GREATEST:
case GTID_SUBSET:
case GTID_SUBTRACT:
case HEX:
case IFNULL:
case INET6_ATON:
case INET6_NTOA:
case INET_ATON:
case INET_NTOA:
case INSTR:
case INTERIORRINGN:
case INTERSECTS:
case ISCLOSED:
case ISEMPTY:
case ISNULL:
case ISSIMPLE:
case IS_FREE_LOCK:
case IS_IPV4:
case IS_IPV4_COMPAT:
case IS_IPV4_MAPPED:
case IS_IPV6:
case IS_USED_LOCK:
case LAST_INSERT_ID:
case LCASE:
case LEAST:
case LENGTH:
case LINEFROMTEXT:
case LINEFROMWKB:
case LINESTRINGFROMTEXT:
case LINESTRINGFROMWKB:
case LN:
case LOAD_FILE:
case LOCATE:
case LOG:
case LOG10:
case LOG2:
case LOWER:
case LPAD:
case LTRIM:
case MAKEDATE:
case MAKETIME:
case MAKE_SET:
case MASTER_POS_WAIT:
case MBRCONTAINS:
case MBRDISJOINT:
case MBREQUAL:
case MBRINTERSECTS:
case MBROVERLAPS:
case MBRTOUCHES:
case MBRWITHIN:
case MD5:
case MLINEFROMTEXT:
case MLINEFROMWKB:
case MONTHNAME:
case MPOINTFROMTEXT:
case MPOINTFROMWKB:
case MPOLYFROMTEXT:
case MPOLYFROMWKB:
case MULTILINESTRINGFROMTEXT:
case MULTILINESTRINGFROMWKB:
case MULTIPOINTFROMTEXT:
case MULTIPOINTFROMWKB:
case MULTIPOLYGONFROMTEXT:
case MULTIPOLYGONFROMWKB:
case NAME_CONST:
case NULLIF:
case NUMGEOMETRIES:
case NUMINTERIORRINGS:
case NUMPOINTS:
case OCT:
case OCTET_LENGTH:
case ORD:
case OVERLAPS:
case PERIOD_ADD:
case PERIOD_DIFF:
case PI:
case POINTFROMTEXT:
case POINTFROMWKB:
case POINTN:
case POLYFROMTEXT:
case POLYFROMWKB:
case POLYGONFROMTEXT:
case POLYGONFROMWKB:
case POW:
case POWER:
case QUOTE:
case RADIANS:
case RAND:
case RANDOM:
case RANDOM_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
case SENSITIVE_VARIABLES_OBSERVER:
case SESSION_USER:
case SHA:
case SHA1:
case SHA2:
case SCHEMA_NAME:
case SIGN:
case SIN:
case SLEEP:
case SOUNDEX:
case SQL_THREAD_WAIT_AFTER_GTIDS:
case SQRT:
case SRID:
case STARTPOINT:
case STRCMP:
case STR_TO_DATE:
case ST_AREA:
case ST_ASBINARY:
case ST_ASTEXT:
case ST_ASWKB:
case ST_ASWKT:
case ST_BUFFER:
case ST_CENTROID:
case ST_CONTAINS:
case ST_CROSSES:
case ST_DIFFERENCE:
case ST_DIMENSION:
case ST_DISJOINT:
case ST_DISTANCE:
case ST_ENDPOINT:
case ST_ENVELOPE:
case ST_EQUALS:
case ST_EXTERIORRING:
case ST_GEOMCOLLFROMTEXT:
case ST_GEOMCOLLFROMTXT:
case ST_GEOMCOLLFROMWKB:
case ST_GEOMETRYCOLLECTIONFROMTEXT:
case ST_GEOMETRYCOLLECTIONFROMWKB:
case ST_GEOMETRYFROMTEXT:
case ST_GEOMETRYFROMWKB:
case ST_GEOMETRYN:
case ST_GEOMETRYTYPE:
case ST_GEOMFROMTEXT:
case ST_GEOMFROMWKB:
case ST_INTERIORRINGN:
case ST_INTERSECTION:
case ST_INTERSECTS:
case ST_ISCLOSED:
case ST_ISEMPTY:
case ST_ISSIMPLE:
case ST_LINEFROMTEXT:
case ST_LINEFROMWKB:
case ST_LINESTRINGFROMTEXT:
case ST_LINESTRINGFROMWKB:
case ST_NUMGEOMETRIES:
case ST_NUMINTERIORRING:
case ST_NUMINTERIORRINGS:
case ST_NUMPOINTS:
case ST_OVERLAPS:
case ST_POINTFROMTEXT:
case ST_POINTFROMWKB:
case ST_POINTN:
case ST_POLYFROMTEXT:
case ST_POLYFROMWKB:
case ST_POLYGONFROMTEXT:
case ST_POLYGONFROMWKB:
case ST_SRID:
case ST_STARTPOINT:
case ST_SYMDIFFERENCE:
case ST_TOUCHES:
case ST_UNION:
case ST_WITHIN:
case ST_X:
case ST_Y:
case SUBDATE:
case SUBSTRING_INDEX:
case SUBTIME:
case SYSTEM_USER:
case SYSTEM:
case TAN:
case TELEMETRY_LOG_ADMIN:
case TIMEDIFF:
case TIMESTAMPADD:
case TIMESTAMPDIFF:
case TIME_FORMAT:
case TIME_TO_SEC:
case TOUCHES:
case TO_BASE64:
case TO_DAYS:
case TO_SECONDS:
case TP_CONNECTION_ADMIN:
case UCASE:
case UNCOMPRESS:
case UNCOMPRESSED_LENGTH:
case UNHEX:
case UNIX_TIMESTAMP:
case UPDATEXML:
case UPPER:
case UUID:
case UUID_SHORT:
case VALIDATE_PASSWORD_STRENGTH:
case VERSION:
case VERSIONING:
case WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS:
case WEEKDAY:
case WEEKOFYEAR:
case WEIGHT_STRING:
case WITHIN:
case YEARWEEK:
case Y_FUNCTION:
case X_FUNCTION:
case VIA:
case LASTVAL:
case NEXTVAL:
case SETVAL:
case PREVIOUS:
case PERSISTENT:
case BINLOG_MONITOR:
case BINLOG_REPLAY:
case FEDERATED_ADMIN:
case READ_ONLY_ADMIN:
case REPLICA:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
{
setState(3140);
uidList();
}
break;
case ALL:
{
setState(3141);
match(ALL);
}
break;
default:
throw new NoViableAltException(this);
}
setState(3144);
match(TABLESPACE);
}
break;
case IMPORT:
_localctx = new AlterByImportPartitionContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(3145);
match(IMPORT);
setState(3146);
match(PARTITION);
setState(3149);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ARRAY:
case ATTRIBUTE:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case ENFORCED:
case EXCEPT:
case GROUP:
case GROUP_REPLICATION_STREAM:
case IF:
case IGNORED:
case INSERT:
case LATERAL:
case LEFT:
case LOCKED:
case MAXVALUE:
case MINVALUE:
case NUMBER:
case OPTIONAL:
case ORDER:
case PRIMARY:
case REPEAT:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case SKIP_QUERY_REWRITE:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
case NATIONAL:
case BINARY:
case TEXT:
case ENUM:
case SERIAL:
case JSON_ARRAY:
case JSON_ARRAYAGG:
case JSON_ARRAY_APPEND:
case JSON_ARRAY_INSERT:
case JSON_CONTAINS:
case JSON_CONTAINS_PATH:
case JSON_DEPTH:
case JSON_EXTRACT:
case JSON_INSERT:
case JSON_KEYS:
case JSON_LENGTH:
case JSON_MERGE:
case JSON_MERGE_PATCH:
case JSON_MERGE_PRESERVE:
case JSON_OBJECT:
case JSON_OBJECTAGG:
case JSON_OVERLAPS:
case JSON_PRETTY:
case JSON_QUOTE:
case JSON_REMOVE:
case JSON_REPLACE:
case JSON_SCHEMA_VALID:
case JSON_SCHEMA_VALIDATION_REPORT:
case JSON_SEARCH:
case JSON_SET:
case JSON_STORAGE_FREE:
case JSON_STORAGE_SIZE:
case JSON_TABLE:
case JSON_TYPE:
case JSON_UNQUOTE:
case JSON_VALID:
case JSON_VALUE:
case NESTED:
case ORDINALITY:
case PATH:
case AVG:
case BIT_AND:
case BIT_OR:
case BIT_XOR:
case COUNT:
case CUME_DIST:
case DENSE_RANK:
case FIRST_VALUE:
case GROUP_CONCAT:
case LAG:
case LAST_VALUE:
case LEAD:
case MAX:
case MIN:
case NTILE:
case NTH_VALUE:
case PERCENT_RANK:
case RANK:
case ROW_NUMBER:
case STD:
case STDDEV:
case STDDEV_POP:
case STDDEV_SAMP:
case SUM:
case VAR_POP:
case VAR_SAMP:
case VARIANCE:
case CURRENT_DATE:
case CURRENT_TIME:
case CURRENT_TIMESTAMP:
case LOCALTIME:
case CURDATE:
case CURTIME:
case DATE_ADD:
case DATE_SUB:
case LOCALTIMESTAMP:
case NOW:
case POSITION:
case SUBSTR:
case SUBSTRING:
case SYSDATE:
case TRIM:
case UTC_DATE:
case UTC_TIME:
case UTC_TIMESTAMP:
case ACCOUNT:
case ACTION:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ANY:
case AT:
case AUTHORS:
case AUTOCOMMIT:
case AUTOEXTEND_SIZE:
case AUTO_INCREMENT:
case AVG_ROW_LENGTH:
case BEGIN:
case BINLOG:
case BIT:
case BLOCK:
case BOOL:
case BOOLEAN:
case BTREE:
case CACHE:
case CASCADED:
case CHAIN:
case CHANGED:
case CHANNEL:
case CHECKSUM:
case PAGE_CHECKSUM:
case CIPHER:
case CLASS_ORIGIN:
case CLIENT:
case CLOSE:
case CLUSTERING:
case COALESCE:
case CODE:
case COLUMNS:
case COLUMN_FORMAT:
case COLUMN_NAME:
case COMMENT:
case COMMIT:
case COMPACT:
case COMPLETION:
case COMPRESSED:
case COMPRESSION:
case CONCURRENT:
case CONNECT:
case CONNECTION:
case CONSISTENT:
case CONSTRAINT_CATALOG:
case CONSTRAINT_SCHEMA:
case CONSTRAINT_NAME:
case CONTAINS:
case CONTEXT:
case CONTRIBUTORS:
case COPY:
case CPU:
case CYCLE:
case CURSOR_NAME:
case DATA:
case DATAFILE:
case DEALLOCATE:
case DEFAULT_AUTH:
case DEFINER:
case DELAY_KEY_WRITE:
case DES_KEY_FILE:
case DIRECTORY:
case DISABLE:
case DISCARD:
case DISK:
case DO:
case DUMPFILE:
case DUPLICATE:
case DYNAMIC:
case ENABLE:
case ENCRYPTED:
case ENCRYPTION:
case ENCRYPTION_KEY_ID:
case END:
case ENDS:
case ENGINE:
case ENGINES:
case ERROR:
case ERRORS:
case ESCAPE:
case EVEN:
case EVENT:
case EVENTS:
case EVERY:
case EXCHANGE:
case EXCLUSIVE:
case EXPIRE:
case EXPORT:
case EXTENDED:
case EXTENT_SIZE:
case FAILED_LOGIN_ATTEMPTS:
case FAST:
case FAULTS:
case FIELDS:
case FILE_BLOCK_SIZE:
case FILTER:
case FIRST:
case FIXED:
case FLUSH:
case FOLLOWS:
case FOUND:
case FULL:
case FUNCTION:
case GENERAL:
case GLOBAL:
case GRANTS:
case GROUP_REPLICATION:
case HANDLER:
case HASH:
case HELP:
case HISTORY:
case HOST:
case HOSTS:
case IDENTIFIED:
case IGNORE_SERVER_IDS:
case IMPORT:
case INCREMENT:
case INDEXES:
case INITIAL_SIZE:
case INPLACE:
case INSERT_METHOD:
case INSTALL:
case INSTANCE:
case INSTANT:
case INVISIBLE:
case INVOKER:
case IO:
case IO_THREAD:
case IPC:
case ISOLATION:
case ISSUER:
case JSON:
case KEY_BLOCK_SIZE:
case LANGUAGE:
case LAST:
case LEAVES:
case LESS:
case LEVEL:
case LIST:
case LOCAL:
case LOGFILE:
case LOGS:
case MASTER:
case MASTER_AUTO_POSITION:
case MASTER_CONNECT_RETRY:
case MASTER_DELAY:
case MASTER_HEARTBEAT_PERIOD:
case MASTER_HOST:
case MASTER_LOG_FILE:
case MASTER_LOG_POS:
case MASTER_PASSWORD:
case MASTER_PORT:
case MASTER_RETRY_COUNT:
case MASTER_SSL:
case MASTER_SSL_CA:
case MASTER_SSL_CAPATH:
case MASTER_SSL_CERT:
case MASTER_SSL_CIPHER:
case MASTER_SSL_CRL:
case MASTER_SSL_CRLPATH:
case MASTER_SSL_KEY:
case MASTER_TLS_VERSION:
case MASTER_USER:
case MAX_CONNECTIONS_PER_HOUR:
case MAX_QUERIES_PER_HOUR:
case MAX_ROWS:
case MAX_SIZE:
case MAX_UPDATES_PER_HOUR:
case MAX_USER_CONNECTIONS:
case MEDIUM:
case MEMBER:
case MERGE:
case MESSAGE_TEXT:
case MID:
case MIGRATE:
case MIN_ROWS:
case MODE:
case MODIFY:
case MUTEX:
case MYSQL:
case MYSQL_ERRNO:
case NAME:
case NAMES:
case NCHAR:
case NEVER:
case NEXT:
case NO:
case NOCACHE:
case NOCOPY:
case NOCYCLE:
case NOMAXVALUE:
case NOMINVALUE:
case NOWAIT:
case NODEGROUP:
case NONE:
case ODBC:
case OFFLINE:
case OFFSET:
case OF:
case OJ:
case OLD_PASSWORD:
case ONE:
case ONLINE:
case ONLY:
case OPEN:
case OPTIMIZER_COSTS:
case OPTIONS:
case OWNER:
case PACK_KEYS:
case PAGE:
case PARSER:
case PARTIAL:
case PARTITIONING:
case PARTITIONS:
case PASSWORD:
case PASSWORD_LOCK_TIME:
case PHASE:
case PLUGIN:
case PLUGIN_DIR:
case PLUGINS:
case PORT:
case PRECEDES:
case PREPARE:
case PRESERVE:
case PREV:
case PROCESSLIST:
case PROFILE:
case PROFILES:
case PROXY:
case QUERY:
case QUICK:
case REBUILD:
case RECOVER:
case RECURSIVE:
case REDO_BUFFER_SIZE:
case REDUNDANT:
case RELAY:
case RELAY_LOG_FILE:
case RELAY_LOG_POS:
case RELAYLOG:
case REMOVE:
case REORGANIZE:
case REPAIR:
case REPLICATE_DO_DB:
case REPLICATE_DO_TABLE:
case REPLICATE_IGNORE_DB:
case REPLICATE_IGNORE_TABLE:
case REPLICATE_REWRITE_DB:
case REPLICATE_WILD_DO_TABLE:
case REPLICATE_WILD_IGNORE_TABLE:
case REPLICATION:
case RESET:
case RESTART:
case RESUME:
case RETURNED_SQLSTATE:
case RETURNING:
case RETURNS:
case REUSE:
case ROLE:
case ROLLBACK:
case ROLLUP:
case ROTATE:
case ROW:
case ROWS:
case ROW_FORMAT:
case RTREE:
case SAVEPOINT:
case SCHEDULE:
case SECURITY:
case SEQUENCE:
case SERVER:
case SESSION:
case SHARE:
case SHARED:
case SIGNED:
case SIMPLE:
case SLAVE:
case SLOW:
case SNAPSHOT:
case SOCKET:
case SOME:
case SONAME:
case SOUNDS:
case SOURCE:
case SQL_AFTER_GTIDS:
case SQL_AFTER_MTS_GAPS:
case SQL_BEFORE_GTIDS:
case SQL_BUFFER_RESULT:
case SQL_CACHE:
case SQL_NO_CACHE:
case SQL_THREAD:
case START:
case STARTS:
case STATS_AUTO_RECALC:
case STATS_PERSISTENT:
case STATS_SAMPLE_PAGES:
case STATUS:
case STOP:
case STORAGE:
case STRING:
case SUBCLASS_ORIGIN:
case SUBJECT:
case SUBPARTITION:
case SUBPARTITIONS:
case SUSPEND:
case SWAPS:
case SWITCHES:
case TABLE_NAME:
case TABLESPACE:
case TABLE_TYPE:
case TEMPORARY:
case TEMPTABLE:
case THAN:
case TRADITIONAL:
case TRANSACTION:
case TRANSACTIONAL:
case TRIGGERS:
case TRUNCATE:
case UNBOUNDED:
case UNDEFINED:
case UNDOFILE:
case UNDO_BUFFER_SIZE:
case UNINSTALL:
case UNKNOWN:
case UNTIL:
case UPGRADE:
case USER:
case USE_FRM:
case USER_RESOURCES:
case VALIDATION:
case VALUE:
case VARIABLES:
case VIEW:
case VIRTUAL:
case VISIBLE:
case WAIT:
case WARNINGS:
case WITHOUT:
case WORK:
case WRAPPER:
case X509:
case XA:
case XML:
case YES:
case EUR:
case USA:
case JIS:
case ISO:
case INTERNAL:
case QUARTER:
case MONTH:
case DAY:
case HOUR:
case MINUTE:
case WEEK:
case SECOND:
case MICROSECOND:
case USER_STATISTICS:
case CLIENT_STATISTICS:
case INDEX_STATISTICS:
case TABLE_STATISTICS:
case FIREWALL_RULES:
case ADMIN:
case APPLICATION_PASSWORD_ADMIN:
case AUDIT_ADMIN:
case AUDIT_ABORT_EXEMPT:
case AUTHENTICATION_POLICY_ADMIN:
case BACKUP_ADMIN:
case BINLOG_ADMIN:
case BINLOG_ENCRYPTION_ADMIN:
case CLONE_ADMIN:
case CONNECTION_ADMIN:
case ENCRYPTION_KEY_ADMIN:
case EXECUTE:
case FILE:
case FIREWALL_ADMIN:
case FIREWALL_EXEMPT:
case FIREWALL_USER:
case FLUSH_OPTIMIZER_COSTS:
case FLUSH_STATUS:
case FLUSH_TABLES:
case FLUSH_USER_RESOURCES:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
case INNODB_REDO_LOG_ENABLE:
case INVOKE:
case LAMBDA:
case NDB_STORED_USER:
case PASSWORDLESS_USER_ADMIN:
case PERSIST_RO_VARIABLES_ADMIN:
case PRIVILEGES:
case PROCESS:
case RELOAD:
case REPLICATION_APPLIER:
case REPLICATION_SLAVE_ADMIN:
case RESOURCE_GROUP_ADMIN:
case RESOURCE_GROUP_USER:
case ROLE_ADMIN:
case ROUTINE:
case S3:
case SESSION_VARIABLES_ADMIN:
case SET_USER_ID:
case SHOW_ROUTINE:
case SHUTDOWN:
case SUPER:
case SYSTEM_VARIABLES_ADMIN:
case TABLES:
case TABLE_ENCRYPTION_ADMIN:
case VERSION_TOKEN_ADMIN:
case XA_RECOVER_ADMIN:
case ARMSCII8:
case ASCII:
case BIG5:
case CP1250:
case CP1251:
case CP1256:
case CP1257:
case CP850:
case CP852:
case CP866:
case CP932:
case DEC8:
case EUCJPMS:
case EUCKR:
case GB18030:
case GB2312:
case GBK:
case GEOSTD8:
case GREEK:
case HEBREW:
case HP8:
case KEYBCS2:
case KOI8R:
case KOI8U:
case LATIN1:
case LATIN2:
case LATIN5:
case LATIN7:
case MACCE:
case MACROMAN:
case SJIS:
case SWE7:
case TIS620:
case UCS2:
case UJIS:
case UTF16:
case UTF16LE:
case UTF32:
case UTF8:
case UTF8MB3:
case UTF8MB4:
case ARCHIVE:
case BLACKHOLE:
case CSV:
case FEDERATED:
case INNODB:
case MEMORY:
case MRG_MYISAM:
case MYISAM:
case NDB:
case NDBCLUSTER:
case PERFORMANCE_SCHEMA:
case TOKUDB:
case REPEATABLE:
case COMMITTED:
case UNCOMMITTED:
case SERIALIZABLE:
case GEOMETRYCOLLECTION:
case GEOMETRY:
case LINESTRING:
case MULTILINESTRING:
case MULTIPOINT:
case MULTIPOLYGON:
case POINT:
case POLYGON:
case ABS:
case ACOS:
case ADDDATE:
case ADDTIME:
case AES_DECRYPT:
case AES_ENCRYPT:
case AREA:
case ASBINARY:
case ASIN:
case ASTEXT:
case ASWKB:
case ASWKT:
case ASYMMETRIC_DECRYPT:
case ASYMMETRIC_DERIVE:
case ASYMMETRIC_ENCRYPT:
case ASYMMETRIC_SIGN:
case ASYMMETRIC_VERIFY:
case ATAN:
case ATAN2:
case BENCHMARK:
case BIN:
case BIT_COUNT:
case BIT_LENGTH:
case BUFFER:
case CATALOG_NAME:
case CEIL:
case CEILING:
case CENTROID:
case CHARACTER_LENGTH:
case CHARSET:
case CHAR_LENGTH:
case COERCIBILITY:
case COLLATION:
case COMPRESS:
case CONCAT:
case CONCAT_WS:
case CONNECTION_ID:
case CONV:
case CONVERT_TZ:
case COS:
case COT:
case CRC32:
case CREATE_ASYMMETRIC_PRIV_KEY:
case CREATE_ASYMMETRIC_PUB_KEY:
case CREATE_DH_PARAMETERS:
case CREATE_DIGEST:
case CROSSES:
case DATEDIFF:
case DATE_FORMAT:
case DAYNAME:
case DAYOFMONTH:
case DAYOFWEEK:
case DAYOFYEAR:
case DECODE:
case DEGREES:
case DES_DECRYPT:
case DES_ENCRYPT:
case DIMENSION:
case DISJOINT:
case ELT:
case ENCODE:
case ENCRYPT:
case ENDPOINT:
case ENGINE_ATTRIBUTE:
case ENVELOPE:
case EQUALS:
case EXP:
case EXPORT_SET:
case EXTERIORRING:
case EXTRACTVALUE:
case FIELD:
case FIND_IN_SET:
case FLOOR:
case FORMAT:
case FOUND_ROWS:
case FROM_BASE64:
case FROM_DAYS:
case FROM_UNIXTIME:
case GEOMCOLLFROMTEXT:
case GEOMCOLLFROMWKB:
case GEOMETRYCOLLECTIONFROMTEXT:
case GEOMETRYCOLLECTIONFROMWKB:
case GEOMETRYFROMTEXT:
case GEOMETRYFROMWKB:
case GEOMETRYN:
case GEOMETRYTYPE:
case GEOMFROMTEXT:
case GEOMFROMWKB:
case GET_FORMAT:
case GET_LOCK:
case GLENGTH:
case GREATEST:
case GTID_SUBSET:
case GTID_SUBTRACT:
case HEX:
case IFNULL:
case INET6_ATON:
case INET6_NTOA:
case INET_ATON:
case INET_NTOA:
case INSTR:
case INTERIORRINGN:
case INTERSECTS:
case ISCLOSED:
case ISEMPTY:
case ISNULL:
case ISSIMPLE:
case IS_FREE_LOCK:
case IS_IPV4:
case IS_IPV4_COMPAT:
case IS_IPV4_MAPPED:
case IS_IPV6:
case IS_USED_LOCK:
case LAST_INSERT_ID:
case LCASE:
case LEAST:
case LENGTH:
case LINEFROMTEXT:
case LINEFROMWKB:
case LINESTRINGFROMTEXT:
case LINESTRINGFROMWKB:
case LN:
case LOAD_FILE:
case LOCATE:
case LOG:
case LOG10:
case LOG2:
case LOWER:
case LPAD:
case LTRIM:
case MAKEDATE:
case MAKETIME:
case MAKE_SET:
case MASTER_POS_WAIT:
case MBRCONTAINS:
case MBRDISJOINT:
case MBREQUAL:
case MBRINTERSECTS:
case MBROVERLAPS:
case MBRTOUCHES:
case MBRWITHIN:
case MD5:
case MLINEFROMTEXT:
case MLINEFROMWKB:
case MONTHNAME:
case MPOINTFROMTEXT:
case MPOINTFROMWKB:
case MPOLYFROMTEXT:
case MPOLYFROMWKB:
case MULTILINESTRINGFROMTEXT:
case MULTILINESTRINGFROMWKB:
case MULTIPOINTFROMTEXT:
case MULTIPOINTFROMWKB:
case MULTIPOLYGONFROMTEXT:
case MULTIPOLYGONFROMWKB:
case NAME_CONST:
case NULLIF:
case NUMGEOMETRIES:
case NUMINTERIORRINGS:
case NUMPOINTS:
case OCT:
case OCTET_LENGTH:
case ORD:
case OVERLAPS:
case PERIOD_ADD:
case PERIOD_DIFF:
case PI:
case POINTFROMTEXT:
case POINTFROMWKB:
case POINTN:
case POLYFROMTEXT:
case POLYFROMWKB:
case POLYGONFROMTEXT:
case POLYGONFROMWKB:
case POW:
case POWER:
case QUOTE:
case RADIANS:
case RAND:
case RANDOM:
case RANDOM_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
case SENSITIVE_VARIABLES_OBSERVER:
case SESSION_USER:
case SHA:
case SHA1:
case SHA2:
case SCHEMA_NAME:
case SIGN:
case SIN:
case SLEEP:
case SOUNDEX:
case SQL_THREAD_WAIT_AFTER_GTIDS:
case SQRT:
case SRID:
case STARTPOINT:
case STRCMP:
case STR_TO_DATE:
case ST_AREA:
case ST_ASBINARY:
case ST_ASTEXT:
case ST_ASWKB:
case ST_ASWKT:
case ST_BUFFER:
case ST_CENTROID:
case ST_CONTAINS:
case ST_CROSSES:
case ST_DIFFERENCE:
case ST_DIMENSION:
case ST_DISJOINT:
case ST_DISTANCE:
case ST_ENDPOINT:
case ST_ENVELOPE:
case ST_EQUALS:
case ST_EXTERIORRING:
case ST_GEOMCOLLFROMTEXT:
case ST_GEOMCOLLFROMTXT:
case ST_GEOMCOLLFROMWKB:
case ST_GEOMETRYCOLLECTIONFROMTEXT:
case ST_GEOMETRYCOLLECTIONFROMWKB:
case ST_GEOMETRYFROMTEXT:
case ST_GEOMETRYFROMWKB:
case ST_GEOMETRYN:
case ST_GEOMETRYTYPE:
case ST_GEOMFROMTEXT:
case ST_GEOMFROMWKB:
case ST_INTERIORRINGN:
case ST_INTERSECTION:
case ST_INTERSECTS:
case ST_ISCLOSED:
case ST_ISEMPTY:
case ST_ISSIMPLE:
case ST_LINEFROMTEXT:
case ST_LINEFROMWKB:
case ST_LINESTRINGFROMTEXT:
case ST_LINESTRINGFROMWKB:
case ST_NUMGEOMETRIES:
case ST_NUMINTERIORRING:
case ST_NUMINTERIORRINGS:
case ST_NUMPOINTS:
case ST_OVERLAPS:
case ST_POINTFROMTEXT:
case ST_POINTFROMWKB:
case ST_POINTN:
case ST_POLYFROMTEXT:
case ST_POLYFROMWKB:
case ST_POLYGONFROMTEXT:
case ST_POLYGONFROMWKB:
case ST_SRID:
case ST_STARTPOINT:
case ST_SYMDIFFERENCE:
case ST_TOUCHES:
case ST_UNION:
case ST_WITHIN:
case ST_X:
case ST_Y:
case SUBDATE:
case SUBSTRING_INDEX:
case SUBTIME:
case SYSTEM_USER:
case SYSTEM:
case TAN:
case TELEMETRY_LOG_ADMIN:
case TIMEDIFF:
case TIMESTAMPADD:
case TIMESTAMPDIFF:
case TIME_FORMAT:
case TIME_TO_SEC:
case TOUCHES:
case TO_BASE64:
case TO_DAYS:
case TO_SECONDS:
case TP_CONNECTION_ADMIN:
case UCASE:
case UNCOMPRESS:
case UNCOMPRESSED_LENGTH:
case UNHEX:
case UNIX_TIMESTAMP:
case UPDATEXML:
case UPPER:
case UUID:
case UUID_SHORT:
case VALIDATE_PASSWORD_STRENGTH:
case VERSION:
case VERSIONING:
case WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS:
case WEEKDAY:
case WEEKOFYEAR:
case WEIGHT_STRING:
case WITHIN:
case YEARWEEK:
case Y_FUNCTION:
case X_FUNCTION:
case VIA:
case LASTVAL:
case NEXTVAL:
case SETVAL:
case PREVIOUS:
case PERSISTENT:
case BINLOG_MONITOR:
case BINLOG_REPLAY:
case FEDERATED_ADMIN:
case READ_ONLY_ADMIN:
case REPLICA:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
{
setState(3147);
uidList();
}
break;
case ALL:
{
setState(3148);
match(ALL);
}
break;
default:
throw new NoViableAltException(this);
}
setState(3151);
match(TABLESPACE);
}
break;
case TRUNCATE:
_localctx = new AlterByTruncatePartitionContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(3152);
match(TRUNCATE);
setState(3153);
match(PARTITION);
setState(3156);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ARRAY:
case ATTRIBUTE:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case ENFORCED:
case EXCEPT:
case GROUP:
case GROUP_REPLICATION_STREAM:
case IF:
case IGNORED:
case INSERT:
case LATERAL:
case LEFT:
case LOCKED:
case MAXVALUE:
case MINVALUE:
case NUMBER:
case OPTIONAL:
case ORDER:
case PRIMARY:
case REPEAT:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case SKIP_QUERY_REWRITE:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
case NATIONAL:
case BINARY:
case TEXT:
case ENUM:
case SERIAL:
case JSON_ARRAY:
case JSON_ARRAYAGG:
case JSON_ARRAY_APPEND:
case JSON_ARRAY_INSERT:
case JSON_CONTAINS:
case JSON_CONTAINS_PATH:
case JSON_DEPTH:
case JSON_EXTRACT:
case JSON_INSERT:
case JSON_KEYS:
case JSON_LENGTH:
case JSON_MERGE:
case JSON_MERGE_PATCH:
case JSON_MERGE_PRESERVE:
case JSON_OBJECT:
case JSON_OBJECTAGG:
case JSON_OVERLAPS:
case JSON_PRETTY:
case JSON_QUOTE:
case JSON_REMOVE:
case JSON_REPLACE:
case JSON_SCHEMA_VALID:
case JSON_SCHEMA_VALIDATION_REPORT:
case JSON_SEARCH:
case JSON_SET:
case JSON_STORAGE_FREE:
case JSON_STORAGE_SIZE:
case JSON_TABLE:
case JSON_TYPE:
case JSON_UNQUOTE:
case JSON_VALID:
case JSON_VALUE:
case NESTED:
case ORDINALITY:
case PATH:
case AVG:
case BIT_AND:
case BIT_OR:
case BIT_XOR:
case COUNT:
case CUME_DIST:
case DENSE_RANK:
case FIRST_VALUE:
case GROUP_CONCAT:
case LAG:
case LAST_VALUE:
case LEAD:
case MAX:
case MIN:
case NTILE:
case NTH_VALUE:
case PERCENT_RANK:
case RANK:
case ROW_NUMBER:
case STD:
case STDDEV:
case STDDEV_POP:
case STDDEV_SAMP:
case SUM:
case VAR_POP:
case VAR_SAMP:
case VARIANCE:
case CURRENT_DATE:
case CURRENT_TIME:
case CURRENT_TIMESTAMP:
case LOCALTIME:
case CURDATE:
case CURTIME:
case DATE_ADD:
case DATE_SUB:
case LOCALTIMESTAMP:
case NOW:
case POSITION:
case SUBSTR:
case SUBSTRING:
case SYSDATE:
case TRIM:
case UTC_DATE:
case UTC_TIME:
case UTC_TIMESTAMP:
case ACCOUNT:
case ACTION:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ANY:
case AT:
case AUTHORS:
case AUTOCOMMIT:
case AUTOEXTEND_SIZE:
case AUTO_INCREMENT:
case AVG_ROW_LENGTH:
case BEGIN:
case BINLOG:
case BIT:
case BLOCK:
case BOOL:
case BOOLEAN:
case BTREE:
case CACHE:
case CASCADED:
case CHAIN:
case CHANGED:
case CHANNEL:
case CHECKSUM:
case PAGE_CHECKSUM:
case CIPHER:
case CLASS_ORIGIN:
case CLIENT:
case CLOSE:
case CLUSTERING:
case COALESCE:
case CODE:
case COLUMNS:
case COLUMN_FORMAT:
case COLUMN_NAME:
case COMMENT:
case COMMIT:
case COMPACT:
case COMPLETION:
case COMPRESSED:
case COMPRESSION:
case CONCURRENT:
case CONNECT:
case CONNECTION:
case CONSISTENT:
case CONSTRAINT_CATALOG:
case CONSTRAINT_SCHEMA:
case CONSTRAINT_NAME:
case CONTAINS:
case CONTEXT:
case CONTRIBUTORS:
case COPY:
case CPU:
case CYCLE:
case CURSOR_NAME:
case DATA:
case DATAFILE:
case DEALLOCATE:
case DEFAULT_AUTH:
case DEFINER:
case DELAY_KEY_WRITE:
case DES_KEY_FILE:
case DIRECTORY:
case DISABLE:
case DISCARD:
case DISK:
case DO:
case DUMPFILE:
case DUPLICATE:
case DYNAMIC:
case ENABLE:
case ENCRYPTED:
case ENCRYPTION:
case ENCRYPTION_KEY_ID:
case END:
case ENDS:
case ENGINE:
case ENGINES:
case ERROR:
case ERRORS:
case ESCAPE:
case EVEN:
case EVENT:
case EVENTS:
case EVERY:
case EXCHANGE:
case EXCLUSIVE:
case EXPIRE:
case EXPORT:
case EXTENDED:
case EXTENT_SIZE:
case FAILED_LOGIN_ATTEMPTS:
case FAST:
case FAULTS:
case FIELDS:
case FILE_BLOCK_SIZE:
case FILTER:
case FIRST:
case FIXED:
case FLUSH:
case FOLLOWS:
case FOUND:
case FULL:
case FUNCTION:
case GENERAL:
case GLOBAL:
case GRANTS:
case GROUP_REPLICATION:
case HANDLER:
case HASH:
case HELP:
case HISTORY:
case HOST:
case HOSTS:
case IDENTIFIED:
case IGNORE_SERVER_IDS:
case IMPORT:
case INCREMENT:
case INDEXES:
case INITIAL_SIZE:
case INPLACE:
case INSERT_METHOD:
case INSTALL:
case INSTANCE:
case INSTANT:
case INVISIBLE:
case INVOKER:
case IO:
case IO_THREAD:
case IPC:
case ISOLATION:
case ISSUER:
case JSON:
case KEY_BLOCK_SIZE:
case LANGUAGE:
case LAST:
case LEAVES:
case LESS:
case LEVEL:
case LIST:
case LOCAL:
case LOGFILE:
case LOGS:
case MASTER:
case MASTER_AUTO_POSITION:
case MASTER_CONNECT_RETRY:
case MASTER_DELAY:
case MASTER_HEARTBEAT_PERIOD:
case MASTER_HOST:
case MASTER_LOG_FILE:
case MASTER_LOG_POS:
case MASTER_PASSWORD:
case MASTER_PORT:
case MASTER_RETRY_COUNT:
case MASTER_SSL:
case MASTER_SSL_CA:
case MASTER_SSL_CAPATH:
case MASTER_SSL_CERT:
case MASTER_SSL_CIPHER:
case MASTER_SSL_CRL:
case MASTER_SSL_CRLPATH:
case MASTER_SSL_KEY:
case MASTER_TLS_VERSION:
case MASTER_USER:
case MAX_CONNECTIONS_PER_HOUR:
case MAX_QUERIES_PER_HOUR:
case MAX_ROWS:
case MAX_SIZE:
case MAX_UPDATES_PER_HOUR:
case MAX_USER_CONNECTIONS:
case MEDIUM:
case MEMBER:
case MERGE:
case MESSAGE_TEXT:
case MID:
case MIGRATE:
case MIN_ROWS:
case MODE:
case MODIFY:
case MUTEX:
case MYSQL:
case MYSQL_ERRNO:
case NAME:
case NAMES:
case NCHAR:
case NEVER:
case NEXT:
case NO:
case NOCACHE:
case NOCOPY:
case NOCYCLE:
case NOMAXVALUE:
case NOMINVALUE:
case NOWAIT:
case NODEGROUP:
case NONE:
case ODBC:
case OFFLINE:
case OFFSET:
case OF:
case OJ:
case OLD_PASSWORD:
case ONE:
case ONLINE:
case ONLY:
case OPEN:
case OPTIMIZER_COSTS:
case OPTIONS:
case OWNER:
case PACK_KEYS:
case PAGE:
case PARSER:
case PARTIAL:
case PARTITIONING:
case PARTITIONS:
case PASSWORD:
case PASSWORD_LOCK_TIME:
case PHASE:
case PLUGIN:
case PLUGIN_DIR:
case PLUGINS:
case PORT:
case PRECEDES:
case PREPARE:
case PRESERVE:
case PREV:
case PROCESSLIST:
case PROFILE:
case PROFILES:
case PROXY:
case QUERY:
case QUICK:
case REBUILD:
case RECOVER:
case RECURSIVE:
case REDO_BUFFER_SIZE:
case REDUNDANT:
case RELAY:
case RELAY_LOG_FILE:
case RELAY_LOG_POS:
case RELAYLOG:
case REMOVE:
case REORGANIZE:
case REPAIR:
case REPLICATE_DO_DB:
case REPLICATE_DO_TABLE:
case REPLICATE_IGNORE_DB:
case REPLICATE_IGNORE_TABLE:
case REPLICATE_REWRITE_DB:
case REPLICATE_WILD_DO_TABLE:
case REPLICATE_WILD_IGNORE_TABLE:
case REPLICATION:
case RESET:
case RESTART:
case RESUME:
case RETURNED_SQLSTATE:
case RETURNING:
case RETURNS:
case REUSE:
case ROLE:
case ROLLBACK:
case ROLLUP:
case ROTATE:
case ROW:
case ROWS:
case ROW_FORMAT:
case RTREE:
case SAVEPOINT:
case SCHEDULE:
case SECURITY:
case SEQUENCE:
case SERVER:
case SESSION:
case SHARE:
case SHARED:
case SIGNED:
case SIMPLE:
case SLAVE:
case SLOW:
case SNAPSHOT:
case SOCKET:
case SOME:
case SONAME:
case SOUNDS:
case SOURCE:
case SQL_AFTER_GTIDS:
case SQL_AFTER_MTS_GAPS:
case SQL_BEFORE_GTIDS:
case SQL_BUFFER_RESULT:
case SQL_CACHE:
case SQL_NO_CACHE:
case SQL_THREAD:
case START:
case STARTS:
case STATS_AUTO_RECALC:
case STATS_PERSISTENT:
case STATS_SAMPLE_PAGES:
case STATUS:
case STOP:
case STORAGE:
case STRING:
case SUBCLASS_ORIGIN:
case SUBJECT:
case SUBPARTITION:
case SUBPARTITIONS:
case SUSPEND:
case SWAPS:
case SWITCHES:
case TABLE_NAME:
case TABLESPACE:
case TABLE_TYPE:
case TEMPORARY:
case TEMPTABLE:
case THAN:
case TRADITIONAL:
case TRANSACTION:
case TRANSACTIONAL:
case TRIGGERS:
case TRUNCATE:
case UNBOUNDED:
case UNDEFINED:
case UNDOFILE:
case UNDO_BUFFER_SIZE:
case UNINSTALL:
case UNKNOWN:
case UNTIL:
case UPGRADE:
case USER:
case USE_FRM:
case USER_RESOURCES:
case VALIDATION:
case VALUE:
case VARIABLES:
case VIEW:
case VIRTUAL:
case VISIBLE:
case WAIT:
case WARNINGS:
case WITHOUT:
case WORK:
case WRAPPER:
case X509:
case XA:
case XML:
case YES:
case EUR:
case USA:
case JIS:
case ISO:
case INTERNAL:
case QUARTER:
case MONTH:
case DAY:
case HOUR:
case MINUTE:
case WEEK:
case SECOND:
case MICROSECOND:
case USER_STATISTICS:
case CLIENT_STATISTICS:
case INDEX_STATISTICS:
case TABLE_STATISTICS:
case FIREWALL_RULES:
case ADMIN:
case APPLICATION_PASSWORD_ADMIN:
case AUDIT_ADMIN:
case AUDIT_ABORT_EXEMPT:
case AUTHENTICATION_POLICY_ADMIN:
case BACKUP_ADMIN:
case BINLOG_ADMIN:
case BINLOG_ENCRYPTION_ADMIN:
case CLONE_ADMIN:
case CONNECTION_ADMIN:
case ENCRYPTION_KEY_ADMIN:
case EXECUTE:
case FILE:
case FIREWALL_ADMIN:
case FIREWALL_EXEMPT:
case FIREWALL_USER:
case FLUSH_OPTIMIZER_COSTS:
case FLUSH_STATUS:
case FLUSH_TABLES:
case FLUSH_USER_RESOURCES:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
case INNODB_REDO_LOG_ENABLE:
case INVOKE:
case LAMBDA:
case NDB_STORED_USER:
case PASSWORDLESS_USER_ADMIN:
case PERSIST_RO_VARIABLES_ADMIN:
case PRIVILEGES:
case PROCESS:
case RELOAD:
case REPLICATION_APPLIER:
case REPLICATION_SLAVE_ADMIN:
case RESOURCE_GROUP_ADMIN:
case RESOURCE_GROUP_USER:
case ROLE_ADMIN:
case ROUTINE:
case S3:
case SESSION_VARIABLES_ADMIN:
case SET_USER_ID:
case SHOW_ROUTINE:
case SHUTDOWN:
case SUPER:
case SYSTEM_VARIABLES_ADMIN:
case TABLES:
case TABLE_ENCRYPTION_ADMIN:
case VERSION_TOKEN_ADMIN:
case XA_RECOVER_ADMIN:
case ARMSCII8:
case ASCII:
case BIG5:
case CP1250:
case CP1251:
case CP1256:
case CP1257:
case CP850:
case CP852:
case CP866:
case CP932:
case DEC8:
case EUCJPMS:
case EUCKR:
case GB18030:
case GB2312:
case GBK:
case GEOSTD8:
case GREEK:
case HEBREW:
case HP8:
case KEYBCS2:
case KOI8R:
case KOI8U:
case LATIN1:
case LATIN2:
case LATIN5:
case LATIN7:
case MACCE:
case MACROMAN:
case SJIS:
case SWE7:
case TIS620:
case UCS2:
case UJIS:
case UTF16:
case UTF16LE:
case UTF32:
case UTF8:
case UTF8MB3:
case UTF8MB4:
case ARCHIVE:
case BLACKHOLE:
case CSV:
case FEDERATED:
case INNODB:
case MEMORY:
case MRG_MYISAM:
case MYISAM:
case NDB:
case NDBCLUSTER:
case PERFORMANCE_SCHEMA:
case TOKUDB:
case REPEATABLE:
case COMMITTED:
case UNCOMMITTED:
case SERIALIZABLE:
case GEOMETRYCOLLECTION:
case GEOMETRY:
case LINESTRING:
case MULTILINESTRING:
case MULTIPOINT:
case MULTIPOLYGON:
case POINT:
case POLYGON:
case ABS:
case ACOS:
case ADDDATE:
case ADDTIME:
case AES_DECRYPT:
case AES_ENCRYPT:
case AREA:
case ASBINARY:
case ASIN:
case ASTEXT:
case ASWKB:
case ASWKT:
case ASYMMETRIC_DECRYPT:
case ASYMMETRIC_DERIVE:
case ASYMMETRIC_ENCRYPT:
case ASYMMETRIC_SIGN:
case ASYMMETRIC_VERIFY:
case ATAN:
case ATAN2:
case BENCHMARK:
case BIN:
case BIT_COUNT:
case BIT_LENGTH:
case BUFFER:
case CATALOG_NAME:
case CEIL:
case CEILING:
case CENTROID:
case CHARACTER_LENGTH:
case CHARSET:
case CHAR_LENGTH:
case COERCIBILITY:
case COLLATION:
case COMPRESS:
case CONCAT:
case CONCAT_WS:
case CONNECTION_ID:
case CONV:
case CONVERT_TZ:
case COS:
case COT:
case CRC32:
case CREATE_ASYMMETRIC_PRIV_KEY:
case CREATE_ASYMMETRIC_PUB_KEY:
case CREATE_DH_PARAMETERS:
case CREATE_DIGEST:
case CROSSES:
case DATEDIFF:
case DATE_FORMAT:
case DAYNAME:
case DAYOFMONTH:
case DAYOFWEEK:
case DAYOFYEAR:
case DECODE:
case DEGREES:
case DES_DECRYPT:
case DES_ENCRYPT:
case DIMENSION:
case DISJOINT:
case ELT:
case ENCODE:
case ENCRYPT:
case ENDPOINT:
case ENGINE_ATTRIBUTE:
case ENVELOPE:
case EQUALS:
case EXP:
case EXPORT_SET:
case EXTERIORRING:
case EXTRACTVALUE:
case FIELD:
case FIND_IN_SET:
case FLOOR:
case FORMAT:
case FOUND_ROWS:
case FROM_BASE64:
case FROM_DAYS:
case FROM_UNIXTIME:
case GEOMCOLLFROMTEXT:
case GEOMCOLLFROMWKB:
case GEOMETRYCOLLECTIONFROMTEXT:
case GEOMETRYCOLLECTIONFROMWKB:
case GEOMETRYFROMTEXT:
case GEOMETRYFROMWKB:
case GEOMETRYN:
case GEOMETRYTYPE:
case GEOMFROMTEXT:
case GEOMFROMWKB:
case GET_FORMAT:
case GET_LOCK:
case GLENGTH:
case GREATEST:
case GTID_SUBSET:
case GTID_SUBTRACT:
case HEX:
case IFNULL:
case INET6_ATON:
case INET6_NTOA:
case INET_ATON:
case INET_NTOA:
case INSTR:
case INTERIORRINGN:
case INTERSECTS:
case ISCLOSED:
case ISEMPTY:
case ISNULL:
case ISSIMPLE:
case IS_FREE_LOCK:
case IS_IPV4:
case IS_IPV4_COMPAT:
case IS_IPV4_MAPPED:
case IS_IPV6:
case IS_USED_LOCK:
case LAST_INSERT_ID:
case LCASE:
case LEAST:
case LENGTH:
case LINEFROMTEXT:
case LINEFROMWKB:
case LINESTRINGFROMTEXT:
case LINESTRINGFROMWKB:
case LN:
case LOAD_FILE:
case LOCATE:
case LOG:
case LOG10:
case LOG2:
case LOWER:
case LPAD:
case LTRIM:
case MAKEDATE:
case MAKETIME:
case MAKE_SET:
case MASTER_POS_WAIT:
case MBRCONTAINS:
case MBRDISJOINT:
case MBREQUAL:
case MBRINTERSECTS:
case MBROVERLAPS:
case MBRTOUCHES:
case MBRWITHIN:
case MD5:
case MLINEFROMTEXT:
case MLINEFROMWKB:
case MONTHNAME:
case MPOINTFROMTEXT:
case MPOINTFROMWKB:
case MPOLYFROMTEXT:
case MPOLYFROMWKB:
case MULTILINESTRINGFROMTEXT:
case MULTILINESTRINGFROMWKB:
case MULTIPOINTFROMTEXT:
case MULTIPOINTFROMWKB:
case MULTIPOLYGONFROMTEXT:
case MULTIPOLYGONFROMWKB:
case NAME_CONST:
case NULLIF:
case NUMGEOMETRIES:
case NUMINTERIORRINGS:
case NUMPOINTS:
case OCT:
case OCTET_LENGTH:
case ORD:
case OVERLAPS:
case PERIOD_ADD:
case PERIOD_DIFF:
case PI:
case POINTFROMTEXT:
case POINTFROMWKB:
case POINTN:
case POLYFROMTEXT:
case POLYFROMWKB:
case POLYGONFROMTEXT:
case POLYGONFROMWKB:
case POW:
case POWER:
case QUOTE:
case RADIANS:
case RAND:
case RANDOM:
case RANDOM_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
case SENSITIVE_VARIABLES_OBSERVER:
case SESSION_USER:
case SHA:
case SHA1:
case SHA2:
case SCHEMA_NAME:
case SIGN:
case SIN:
case SLEEP:
case SOUNDEX:
case SQL_THREAD_WAIT_AFTER_GTIDS:
case SQRT:
case SRID:
case STARTPOINT:
case STRCMP:
case STR_TO_DATE:
case ST_AREA:
case ST_ASBINARY:
case ST_ASTEXT:
case ST_ASWKB:
case ST_ASWKT:
case ST_BUFFER:
case ST_CENTROID:
case ST_CONTAINS:
case ST_CROSSES:
case ST_DIFFERENCE:
case ST_DIMENSION:
case ST_DISJOINT:
case ST_DISTANCE:
case ST_ENDPOINT:
case ST_ENVELOPE:
case ST_EQUALS:
case ST_EXTERIORRING:
case ST_GEOMCOLLFROMTEXT:
case ST_GEOMCOLLFROMTXT:
case ST_GEOMCOLLFROMWKB:
case ST_GEOMETRYCOLLECTIONFROMTEXT:
case ST_GEOMETRYCOLLECTIONFROMWKB:
case ST_GEOMETRYFROMTEXT:
case ST_GEOMETRYFROMWKB:
case ST_GEOMETRYN:
case ST_GEOMETRYTYPE:
case ST_GEOMFROMTEXT:
case ST_GEOMFROMWKB:
case ST_INTERIORRINGN:
case ST_INTERSECTION:
case ST_INTERSECTS:
case ST_ISCLOSED:
case ST_ISEMPTY:
case ST_ISSIMPLE:
case ST_LINEFROMTEXT:
case ST_LINEFROMWKB:
case ST_LINESTRINGFROMTEXT:
case ST_LINESTRINGFROMWKB:
case ST_NUMGEOMETRIES:
case ST_NUMINTERIORRING:
case ST_NUMINTERIORRINGS:
case ST_NUMPOINTS:
case ST_OVERLAPS:
case ST_POINTFROMTEXT:
case ST_POINTFROMWKB:
case ST_POINTN:
case ST_POLYFROMTEXT:
case ST_POLYFROMWKB:
case ST_POLYGONFROMTEXT:
case ST_POLYGONFROMWKB:
case ST_SRID:
case ST_STARTPOINT:
case ST_SYMDIFFERENCE:
case ST_TOUCHES:
case ST_UNION:
case ST_WITHIN:
case ST_X:
case ST_Y:
case SUBDATE:
case SUBSTRING_INDEX:
case SUBTIME:
case SYSTEM_USER:
case SYSTEM:
case TAN:
case TELEMETRY_LOG_ADMIN:
case TIMEDIFF:
case TIMESTAMPADD:
case TIMESTAMPDIFF:
case TIME_FORMAT:
case TIME_TO_SEC:
case TOUCHES:
case TO_BASE64:
case TO_DAYS:
case TO_SECONDS:
case TP_CONNECTION_ADMIN:
case UCASE:
case UNCOMPRESS:
case UNCOMPRESSED_LENGTH:
case UNHEX:
case UNIX_TIMESTAMP:
case UPDATEXML:
case UPPER:
case UUID:
case UUID_SHORT:
case VALIDATE_PASSWORD_STRENGTH:
case VERSION:
case VERSIONING:
case WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS:
case WEEKDAY:
case WEEKOFYEAR:
case WEIGHT_STRING:
case WITHIN:
case YEARWEEK:
case Y_FUNCTION:
case X_FUNCTION:
case VIA:
case LASTVAL:
case NEXTVAL:
case SETVAL:
case PREVIOUS:
case PERSISTENT:
case BINLOG_MONITOR:
case BINLOG_REPLAY:
case FEDERATED_ADMIN:
case READ_ONLY_ADMIN:
case REPLICA:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
{
setState(3154);
uidList();
}
break;
case ALL:
{
setState(3155);
match(ALL);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case COALESCE:
_localctx = new AlterByCoalescePartitionContext(_localctx);
enterOuterAlt(_localctx, 6);
{
setState(3158);
match(COALESCE);
setState(3159);
match(PARTITION);
setState(3160);
decimalLiteral();
}
break;
case REORGANIZE:
_localctx = new AlterByReorganizePartitionContext(_localctx);
enterOuterAlt(_localctx, 7);
{
setState(3161);
match(REORGANIZE);
setState(3162);
match(PARTITION);
setState(3163);
uidList();
setState(3164);
match(INTO);
setState(3165);
match(LR_BRACKET);
setState(3166);
partitionDefinition();
setState(3171);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3167);
match(COMMA);
setState(3168);
partitionDefinition();
}
}
setState(3173);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(3174);
match(RR_BRACKET);
}
break;
case EXCHANGE:
_localctx = new AlterByExchangePartitionContext(_localctx);
enterOuterAlt(_localctx, 8);
{
setState(3176);
match(EXCHANGE);
setState(3177);
match(PARTITION);
setState(3178);
uid();
setState(3179);
match(WITH);
setState(3180);
match(TABLE);
setState(3181);
tableName();
setState(3184);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,424,_ctx) ) {
case 1:
{
setState(3182);
((AlterByExchangePartitionContext)_localctx).validationFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==WITH || _la==WITHOUT) ) {
((AlterByExchangePartitionContext)_localctx).validationFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(3183);
match(VALIDATION);
}
break;
}
}
break;
case ANALYZE:
_localctx = new AlterByAnalyzePartitionContext(_localctx);
enterOuterAlt(_localctx, 9);
{
setState(3186);
match(ANALYZE);
setState(3187);
match(PARTITION);
setState(3190);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ARRAY:
case ATTRIBUTE:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case ENFORCED:
case EXCEPT:
case GROUP:
case GROUP_REPLICATION_STREAM:
case IF:
case IGNORED:
case INSERT:
case LATERAL:
case LEFT:
case LOCKED:
case MAXVALUE:
case MINVALUE:
case NUMBER:
case OPTIONAL:
case ORDER:
case PRIMARY:
case REPEAT:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case SKIP_QUERY_REWRITE:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
case NATIONAL:
case BINARY:
case TEXT:
case ENUM:
case SERIAL:
case JSON_ARRAY:
case JSON_ARRAYAGG:
case JSON_ARRAY_APPEND:
case JSON_ARRAY_INSERT:
case JSON_CONTAINS:
case JSON_CONTAINS_PATH:
case JSON_DEPTH:
case JSON_EXTRACT:
case JSON_INSERT:
case JSON_KEYS:
case JSON_LENGTH:
case JSON_MERGE:
case JSON_MERGE_PATCH:
case JSON_MERGE_PRESERVE:
case JSON_OBJECT:
case JSON_OBJECTAGG:
case JSON_OVERLAPS:
case JSON_PRETTY:
case JSON_QUOTE:
case JSON_REMOVE:
case JSON_REPLACE:
case JSON_SCHEMA_VALID:
case JSON_SCHEMA_VALIDATION_REPORT:
case JSON_SEARCH:
case JSON_SET:
case JSON_STORAGE_FREE:
case JSON_STORAGE_SIZE:
case JSON_TABLE:
case JSON_TYPE:
case JSON_UNQUOTE:
case JSON_VALID:
case JSON_VALUE:
case NESTED:
case ORDINALITY:
case PATH:
case AVG:
case BIT_AND:
case BIT_OR:
case BIT_XOR:
case COUNT:
case CUME_DIST:
case DENSE_RANK:
case FIRST_VALUE:
case GROUP_CONCAT:
case LAG:
case LAST_VALUE:
case LEAD:
case MAX:
case MIN:
case NTILE:
case NTH_VALUE:
case PERCENT_RANK:
case RANK:
case ROW_NUMBER:
case STD:
case STDDEV:
case STDDEV_POP:
case STDDEV_SAMP:
case SUM:
case VAR_POP:
case VAR_SAMP:
case VARIANCE:
case CURRENT_DATE:
case CURRENT_TIME:
case CURRENT_TIMESTAMP:
case LOCALTIME:
case CURDATE:
case CURTIME:
case DATE_ADD:
case DATE_SUB:
case LOCALTIMESTAMP:
case NOW:
case POSITION:
case SUBSTR:
case SUBSTRING:
case SYSDATE:
case TRIM:
case UTC_DATE:
case UTC_TIME:
case UTC_TIMESTAMP:
case ACCOUNT:
case ACTION:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ANY:
case AT:
case AUTHORS:
case AUTOCOMMIT:
case AUTOEXTEND_SIZE:
case AUTO_INCREMENT:
case AVG_ROW_LENGTH:
case BEGIN:
case BINLOG:
case BIT:
case BLOCK:
case BOOL:
case BOOLEAN:
case BTREE:
case CACHE:
case CASCADED:
case CHAIN:
case CHANGED:
case CHANNEL:
case CHECKSUM:
case PAGE_CHECKSUM:
case CIPHER:
case CLASS_ORIGIN:
case CLIENT:
case CLOSE:
case CLUSTERING:
case COALESCE:
case CODE:
case COLUMNS:
case COLUMN_FORMAT:
case COLUMN_NAME:
case COMMENT:
case COMMIT:
case COMPACT:
case COMPLETION:
case COMPRESSED:
case COMPRESSION:
case CONCURRENT:
case CONNECT:
case CONNECTION:
case CONSISTENT:
case CONSTRAINT_CATALOG:
case CONSTRAINT_SCHEMA:
case CONSTRAINT_NAME:
case CONTAINS:
case CONTEXT:
case CONTRIBUTORS:
case COPY:
case CPU:
case CYCLE:
case CURSOR_NAME:
case DATA:
case DATAFILE:
case DEALLOCATE:
case DEFAULT_AUTH:
case DEFINER:
case DELAY_KEY_WRITE:
case DES_KEY_FILE:
case DIRECTORY:
case DISABLE:
case DISCARD:
case DISK:
case DO:
case DUMPFILE:
case DUPLICATE:
case DYNAMIC:
case ENABLE:
case ENCRYPTED:
case ENCRYPTION:
case ENCRYPTION_KEY_ID:
case END:
case ENDS:
case ENGINE:
case ENGINES:
case ERROR:
case ERRORS:
case ESCAPE:
case EVEN:
case EVENT:
case EVENTS:
case EVERY:
case EXCHANGE:
case EXCLUSIVE:
case EXPIRE:
case EXPORT:
case EXTENDED:
case EXTENT_SIZE:
case FAILED_LOGIN_ATTEMPTS:
case FAST:
case FAULTS:
case FIELDS:
case FILE_BLOCK_SIZE:
case FILTER:
case FIRST:
case FIXED:
case FLUSH:
case FOLLOWS:
case FOUND:
case FULL:
case FUNCTION:
case GENERAL:
case GLOBAL:
case GRANTS:
case GROUP_REPLICATION:
case HANDLER:
case HASH:
case HELP:
case HISTORY:
case HOST:
case HOSTS:
case IDENTIFIED:
case IGNORE_SERVER_IDS:
case IMPORT:
case INCREMENT:
case INDEXES:
case INITIAL_SIZE:
case INPLACE:
case INSERT_METHOD:
case INSTALL:
case INSTANCE:
case INSTANT:
case INVISIBLE:
case INVOKER:
case IO:
case IO_THREAD:
case IPC:
case ISOLATION:
case ISSUER:
case JSON:
case KEY_BLOCK_SIZE:
case LANGUAGE:
case LAST:
case LEAVES:
case LESS:
case LEVEL:
case LIST:
case LOCAL:
case LOGFILE:
case LOGS:
case MASTER:
case MASTER_AUTO_POSITION:
case MASTER_CONNECT_RETRY:
case MASTER_DELAY:
case MASTER_HEARTBEAT_PERIOD:
case MASTER_HOST:
case MASTER_LOG_FILE:
case MASTER_LOG_POS:
case MASTER_PASSWORD:
case MASTER_PORT:
case MASTER_RETRY_COUNT:
case MASTER_SSL:
case MASTER_SSL_CA:
case MASTER_SSL_CAPATH:
case MASTER_SSL_CERT:
case MASTER_SSL_CIPHER:
case MASTER_SSL_CRL:
case MASTER_SSL_CRLPATH:
case MASTER_SSL_KEY:
case MASTER_TLS_VERSION:
case MASTER_USER:
case MAX_CONNECTIONS_PER_HOUR:
case MAX_QUERIES_PER_HOUR:
case MAX_ROWS:
case MAX_SIZE:
case MAX_UPDATES_PER_HOUR:
case MAX_USER_CONNECTIONS:
case MEDIUM:
case MEMBER:
case MERGE:
case MESSAGE_TEXT:
case MID:
case MIGRATE:
case MIN_ROWS:
case MODE:
case MODIFY:
case MUTEX:
case MYSQL:
case MYSQL_ERRNO:
case NAME:
case NAMES:
case NCHAR:
case NEVER:
case NEXT:
case NO:
case NOCACHE:
case NOCOPY:
case NOCYCLE:
case NOMAXVALUE:
case NOMINVALUE:
case NOWAIT:
case NODEGROUP:
case NONE:
case ODBC:
case OFFLINE:
case OFFSET:
case OF:
case OJ:
case OLD_PASSWORD:
case ONE:
case ONLINE:
case ONLY:
case OPEN:
case OPTIMIZER_COSTS:
case OPTIONS:
case OWNER:
case PACK_KEYS:
case PAGE:
case PARSER:
case PARTIAL:
case PARTITIONING:
case PARTITIONS:
case PASSWORD:
case PASSWORD_LOCK_TIME:
case PHASE:
case PLUGIN:
case PLUGIN_DIR:
case PLUGINS:
case PORT:
case PRECEDES:
case PREPARE:
case PRESERVE:
case PREV:
case PROCESSLIST:
case PROFILE:
case PROFILES:
case PROXY:
case QUERY:
case QUICK:
case REBUILD:
case RECOVER:
case RECURSIVE:
case REDO_BUFFER_SIZE:
case REDUNDANT:
case RELAY:
case RELAY_LOG_FILE:
case RELAY_LOG_POS:
case RELAYLOG:
case REMOVE:
case REORGANIZE:
case REPAIR:
case REPLICATE_DO_DB:
case REPLICATE_DO_TABLE:
case REPLICATE_IGNORE_DB:
case REPLICATE_IGNORE_TABLE:
case REPLICATE_REWRITE_DB:
case REPLICATE_WILD_DO_TABLE:
case REPLICATE_WILD_IGNORE_TABLE:
case REPLICATION:
case RESET:
case RESTART:
case RESUME:
case RETURNED_SQLSTATE:
case RETURNING:
case RETURNS:
case REUSE:
case ROLE:
case ROLLBACK:
case ROLLUP:
case ROTATE:
case ROW:
case ROWS:
case ROW_FORMAT:
case RTREE:
case SAVEPOINT:
case SCHEDULE:
case SECURITY:
case SEQUENCE:
case SERVER:
case SESSION:
case SHARE:
case SHARED:
case SIGNED:
case SIMPLE:
case SLAVE:
case SLOW:
case SNAPSHOT:
case SOCKET:
case SOME:
case SONAME:
case SOUNDS:
case SOURCE:
case SQL_AFTER_GTIDS:
case SQL_AFTER_MTS_GAPS:
case SQL_BEFORE_GTIDS:
case SQL_BUFFER_RESULT:
case SQL_CACHE:
case SQL_NO_CACHE:
case SQL_THREAD:
case START:
case STARTS:
case STATS_AUTO_RECALC:
case STATS_PERSISTENT:
case STATS_SAMPLE_PAGES:
case STATUS:
case STOP:
case STORAGE:
case STRING:
case SUBCLASS_ORIGIN:
case SUBJECT:
case SUBPARTITION:
case SUBPARTITIONS:
case SUSPEND:
case SWAPS:
case SWITCHES:
case TABLE_NAME:
case TABLESPACE:
case TABLE_TYPE:
case TEMPORARY:
case TEMPTABLE:
case THAN:
case TRADITIONAL:
case TRANSACTION:
case TRANSACTIONAL:
case TRIGGERS:
case TRUNCATE:
case UNBOUNDED:
case UNDEFINED:
case UNDOFILE:
case UNDO_BUFFER_SIZE:
case UNINSTALL:
case UNKNOWN:
case UNTIL:
case UPGRADE:
case USER:
case USE_FRM:
case USER_RESOURCES:
case VALIDATION:
case VALUE:
case VARIABLES:
case VIEW:
case VIRTUAL:
case VISIBLE:
case WAIT:
case WARNINGS:
case WITHOUT:
case WORK:
case WRAPPER:
case X509:
case XA:
case XML:
case YES:
case EUR:
case USA:
case JIS:
case ISO:
case INTERNAL:
case QUARTER:
case MONTH:
case DAY:
case HOUR:
case MINUTE:
case WEEK:
case SECOND:
case MICROSECOND:
case USER_STATISTICS:
case CLIENT_STATISTICS:
case INDEX_STATISTICS:
case TABLE_STATISTICS:
case FIREWALL_RULES:
case ADMIN:
case APPLICATION_PASSWORD_ADMIN:
case AUDIT_ADMIN:
case AUDIT_ABORT_EXEMPT:
case AUTHENTICATION_POLICY_ADMIN:
case BACKUP_ADMIN:
case BINLOG_ADMIN:
case BINLOG_ENCRYPTION_ADMIN:
case CLONE_ADMIN:
case CONNECTION_ADMIN:
case ENCRYPTION_KEY_ADMIN:
case EXECUTE:
case FILE:
case FIREWALL_ADMIN:
case FIREWALL_EXEMPT:
case FIREWALL_USER:
case FLUSH_OPTIMIZER_COSTS:
case FLUSH_STATUS:
case FLUSH_TABLES:
case FLUSH_USER_RESOURCES:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
case INNODB_REDO_LOG_ENABLE:
case INVOKE:
case LAMBDA:
case NDB_STORED_USER:
case PASSWORDLESS_USER_ADMIN:
case PERSIST_RO_VARIABLES_ADMIN:
case PRIVILEGES:
case PROCESS:
case RELOAD:
case REPLICATION_APPLIER:
case REPLICATION_SLAVE_ADMIN:
case RESOURCE_GROUP_ADMIN:
case RESOURCE_GROUP_USER:
case ROLE_ADMIN:
case ROUTINE:
case S3:
case SESSION_VARIABLES_ADMIN:
case SET_USER_ID:
case SHOW_ROUTINE:
case SHUTDOWN:
case SUPER:
case SYSTEM_VARIABLES_ADMIN:
case TABLES:
case TABLE_ENCRYPTION_ADMIN:
case VERSION_TOKEN_ADMIN:
case XA_RECOVER_ADMIN:
case ARMSCII8:
case ASCII:
case BIG5:
case CP1250:
case CP1251:
case CP1256:
case CP1257:
case CP850:
case CP852:
case CP866:
case CP932:
case DEC8:
case EUCJPMS:
case EUCKR:
case GB18030:
case GB2312:
case GBK:
case GEOSTD8:
case GREEK:
case HEBREW:
case HP8:
case KEYBCS2:
case KOI8R:
case KOI8U:
case LATIN1:
case LATIN2:
case LATIN5:
case LATIN7:
case MACCE:
case MACROMAN:
case SJIS:
case SWE7:
case TIS620:
case UCS2:
case UJIS:
case UTF16:
case UTF16LE:
case UTF32:
case UTF8:
case UTF8MB3:
case UTF8MB4:
case ARCHIVE:
case BLACKHOLE:
case CSV:
case FEDERATED:
case INNODB:
case MEMORY:
case MRG_MYISAM:
case MYISAM:
case NDB:
case NDBCLUSTER:
case PERFORMANCE_SCHEMA:
case TOKUDB:
case REPEATABLE:
case COMMITTED:
case UNCOMMITTED:
case SERIALIZABLE:
case GEOMETRYCOLLECTION:
case GEOMETRY:
case LINESTRING:
case MULTILINESTRING:
case MULTIPOINT:
case MULTIPOLYGON:
case POINT:
case POLYGON:
case ABS:
case ACOS:
case ADDDATE:
case ADDTIME:
case AES_DECRYPT:
case AES_ENCRYPT:
case AREA:
case ASBINARY:
case ASIN:
case ASTEXT:
case ASWKB:
case ASWKT:
case ASYMMETRIC_DECRYPT:
case ASYMMETRIC_DERIVE:
case ASYMMETRIC_ENCRYPT:
case ASYMMETRIC_SIGN:
case ASYMMETRIC_VERIFY:
case ATAN:
case ATAN2:
case BENCHMARK:
case BIN:
case BIT_COUNT:
case BIT_LENGTH:
case BUFFER:
case CATALOG_NAME:
case CEIL:
case CEILING:
case CENTROID:
case CHARACTER_LENGTH:
case CHARSET:
case CHAR_LENGTH:
case COERCIBILITY:
case COLLATION:
case COMPRESS:
case CONCAT:
case CONCAT_WS:
case CONNECTION_ID:
case CONV:
case CONVERT_TZ:
case COS:
case COT:
case CRC32:
case CREATE_ASYMMETRIC_PRIV_KEY:
case CREATE_ASYMMETRIC_PUB_KEY:
case CREATE_DH_PARAMETERS:
case CREATE_DIGEST:
case CROSSES:
case DATEDIFF:
case DATE_FORMAT:
case DAYNAME:
case DAYOFMONTH:
case DAYOFWEEK:
case DAYOFYEAR:
case DECODE:
case DEGREES:
case DES_DECRYPT:
case DES_ENCRYPT:
case DIMENSION:
case DISJOINT:
case ELT:
case ENCODE:
case ENCRYPT:
case ENDPOINT:
case ENGINE_ATTRIBUTE:
case ENVELOPE:
case EQUALS:
case EXP:
case EXPORT_SET:
case EXTERIORRING:
case EXTRACTVALUE:
case FIELD:
case FIND_IN_SET:
case FLOOR:
case FORMAT:
case FOUND_ROWS:
case FROM_BASE64:
case FROM_DAYS:
case FROM_UNIXTIME:
case GEOMCOLLFROMTEXT:
case GEOMCOLLFROMWKB:
case GEOMETRYCOLLECTIONFROMTEXT:
case GEOMETRYCOLLECTIONFROMWKB:
case GEOMETRYFROMTEXT:
case GEOMETRYFROMWKB:
case GEOMETRYN:
case GEOMETRYTYPE:
case GEOMFROMTEXT:
case GEOMFROMWKB:
case GET_FORMAT:
case GET_LOCK:
case GLENGTH:
case GREATEST:
case GTID_SUBSET:
case GTID_SUBTRACT:
case HEX:
case IFNULL:
case INET6_ATON:
case INET6_NTOA:
case INET_ATON:
case INET_NTOA:
case INSTR:
case INTERIORRINGN:
case INTERSECTS:
case ISCLOSED:
case ISEMPTY:
case ISNULL:
case ISSIMPLE:
case IS_FREE_LOCK:
case IS_IPV4:
case IS_IPV4_COMPAT:
case IS_IPV4_MAPPED:
case IS_IPV6:
case IS_USED_LOCK:
case LAST_INSERT_ID:
case LCASE:
case LEAST:
case LENGTH:
case LINEFROMTEXT:
case LINEFROMWKB:
case LINESTRINGFROMTEXT:
case LINESTRINGFROMWKB:
case LN:
case LOAD_FILE:
case LOCATE:
case LOG:
case LOG10:
case LOG2:
case LOWER:
case LPAD:
case LTRIM:
case MAKEDATE:
case MAKETIME:
case MAKE_SET:
case MASTER_POS_WAIT:
case MBRCONTAINS:
case MBRDISJOINT:
case MBREQUAL:
case MBRINTERSECTS:
case MBROVERLAPS:
case MBRTOUCHES:
case MBRWITHIN:
case MD5:
case MLINEFROMTEXT:
case MLINEFROMWKB:
case MONTHNAME:
case MPOINTFROMTEXT:
case MPOINTFROMWKB:
case MPOLYFROMTEXT:
case MPOLYFROMWKB:
case MULTILINESTRINGFROMTEXT:
case MULTILINESTRINGFROMWKB:
case MULTIPOINTFROMTEXT:
case MULTIPOINTFROMWKB:
case MULTIPOLYGONFROMTEXT:
case MULTIPOLYGONFROMWKB:
case NAME_CONST:
case NULLIF:
case NUMGEOMETRIES:
case NUMINTERIORRINGS:
case NUMPOINTS:
case OCT:
case OCTET_LENGTH:
case ORD:
case OVERLAPS:
case PERIOD_ADD:
case PERIOD_DIFF:
case PI:
case POINTFROMTEXT:
case POINTFROMWKB:
case POINTN:
case POLYFROMTEXT:
case POLYFROMWKB:
case POLYGONFROMTEXT:
case POLYGONFROMWKB:
case POW:
case POWER:
case QUOTE:
case RADIANS:
case RAND:
case RANDOM:
case RANDOM_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
case SENSITIVE_VARIABLES_OBSERVER:
case SESSION_USER:
case SHA:
case SHA1:
case SHA2:
case SCHEMA_NAME:
case SIGN:
case SIN:
case SLEEP:
case SOUNDEX:
case SQL_THREAD_WAIT_AFTER_GTIDS:
case SQRT:
case SRID:
case STARTPOINT:
case STRCMP:
case STR_TO_DATE:
case ST_AREA:
case ST_ASBINARY:
case ST_ASTEXT:
case ST_ASWKB:
case ST_ASWKT:
case ST_BUFFER:
case ST_CENTROID:
case ST_CONTAINS:
case ST_CROSSES:
case ST_DIFFERENCE:
case ST_DIMENSION:
case ST_DISJOINT:
case ST_DISTANCE:
case ST_ENDPOINT:
case ST_ENVELOPE:
case ST_EQUALS:
case ST_EXTERIORRING:
case ST_GEOMCOLLFROMTEXT:
case ST_GEOMCOLLFROMTXT:
case ST_GEOMCOLLFROMWKB:
case ST_GEOMETRYCOLLECTIONFROMTEXT:
case ST_GEOMETRYCOLLECTIONFROMWKB:
case ST_GEOMETRYFROMTEXT:
case ST_GEOMETRYFROMWKB:
case ST_GEOMETRYN:
case ST_GEOMETRYTYPE:
case ST_GEOMFROMTEXT:
case ST_GEOMFROMWKB:
case ST_INTERIORRINGN:
case ST_INTERSECTION:
case ST_INTERSECTS:
case ST_ISCLOSED:
case ST_ISEMPTY:
case ST_ISSIMPLE:
case ST_LINEFROMTEXT:
case ST_LINEFROMWKB:
case ST_LINESTRINGFROMTEXT:
case ST_LINESTRINGFROMWKB:
case ST_NUMGEOMETRIES:
case ST_NUMINTERIORRING:
case ST_NUMINTERIORRINGS:
case ST_NUMPOINTS:
case ST_OVERLAPS:
case ST_POINTFROMTEXT:
case ST_POINTFROMWKB:
case ST_POINTN:
case ST_POLYFROMTEXT:
case ST_POLYFROMWKB:
case ST_POLYGONFROMTEXT:
case ST_POLYGONFROMWKB:
case ST_SRID:
case ST_STARTPOINT:
case ST_SYMDIFFERENCE:
case ST_TOUCHES:
case ST_UNION:
case ST_WITHIN:
case ST_X:
case ST_Y:
case SUBDATE:
case SUBSTRING_INDEX:
case SUBTIME:
case SYSTEM_USER:
case SYSTEM:
case TAN:
case TELEMETRY_LOG_ADMIN:
case TIMEDIFF:
case TIMESTAMPADD:
case TIMESTAMPDIFF:
case TIME_FORMAT:
case TIME_TO_SEC:
case TOUCHES:
case TO_BASE64:
case TO_DAYS:
case TO_SECONDS:
case TP_CONNECTION_ADMIN:
case UCASE:
case UNCOMPRESS:
case UNCOMPRESSED_LENGTH:
case UNHEX:
case UNIX_TIMESTAMP:
case UPDATEXML:
case UPPER:
case UUID:
case UUID_SHORT:
case VALIDATE_PASSWORD_STRENGTH:
case VERSION:
case VERSIONING:
case WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS:
case WEEKDAY:
case WEEKOFYEAR:
case WEIGHT_STRING:
case WITHIN:
case YEARWEEK:
case Y_FUNCTION:
case X_FUNCTION:
case VIA:
case LASTVAL:
case NEXTVAL:
case SETVAL:
case PREVIOUS:
case PERSISTENT:
case BINLOG_MONITOR:
case BINLOG_REPLAY:
case FEDERATED_ADMIN:
case READ_ONLY_ADMIN:
case REPLICA:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
{
setState(3188);
uidList();
}
break;
case ALL:
{
setState(3189);
match(ALL);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case CHECK:
_localctx = new AlterByCheckPartitionContext(_localctx);
enterOuterAlt(_localctx, 10);
{
setState(3192);
match(CHECK);
setState(3193);
match(PARTITION);
setState(3196);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ARRAY:
case ATTRIBUTE:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case ENFORCED:
case EXCEPT:
case GROUP:
case GROUP_REPLICATION_STREAM:
case IF:
case IGNORED:
case INSERT:
case LATERAL:
case LEFT:
case LOCKED:
case MAXVALUE:
case MINVALUE:
case NUMBER:
case OPTIONAL:
case ORDER:
case PRIMARY:
case REPEAT:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case SKIP_QUERY_REWRITE:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
case NATIONAL:
case BINARY:
case TEXT:
case ENUM:
case SERIAL:
case JSON_ARRAY:
case JSON_ARRAYAGG:
case JSON_ARRAY_APPEND:
case JSON_ARRAY_INSERT:
case JSON_CONTAINS:
case JSON_CONTAINS_PATH:
case JSON_DEPTH:
case JSON_EXTRACT:
case JSON_INSERT:
case JSON_KEYS:
case JSON_LENGTH:
case JSON_MERGE:
case JSON_MERGE_PATCH:
case JSON_MERGE_PRESERVE:
case JSON_OBJECT:
case JSON_OBJECTAGG:
case JSON_OVERLAPS:
case JSON_PRETTY:
case JSON_QUOTE:
case JSON_REMOVE:
case JSON_REPLACE:
case JSON_SCHEMA_VALID:
case JSON_SCHEMA_VALIDATION_REPORT:
case JSON_SEARCH:
case JSON_SET:
case JSON_STORAGE_FREE:
case JSON_STORAGE_SIZE:
case JSON_TABLE:
case JSON_TYPE:
case JSON_UNQUOTE:
case JSON_VALID:
case JSON_VALUE:
case NESTED:
case ORDINALITY:
case PATH:
case AVG:
case BIT_AND:
case BIT_OR:
case BIT_XOR:
case COUNT:
case CUME_DIST:
case DENSE_RANK:
case FIRST_VALUE:
case GROUP_CONCAT:
case LAG:
case LAST_VALUE:
case LEAD:
case MAX:
case MIN:
case NTILE:
case NTH_VALUE:
case PERCENT_RANK:
case RANK:
case ROW_NUMBER:
case STD:
case STDDEV:
case STDDEV_POP:
case STDDEV_SAMP:
case SUM:
case VAR_POP:
case VAR_SAMP:
case VARIANCE:
case CURRENT_DATE:
case CURRENT_TIME:
case CURRENT_TIMESTAMP:
case LOCALTIME:
case CURDATE:
case CURTIME:
case DATE_ADD:
case DATE_SUB:
case LOCALTIMESTAMP:
case NOW:
case POSITION:
case SUBSTR:
case SUBSTRING:
case SYSDATE:
case TRIM:
case UTC_DATE:
case UTC_TIME:
case UTC_TIMESTAMP:
case ACCOUNT:
case ACTION:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ANY:
case AT:
case AUTHORS:
case AUTOCOMMIT:
case AUTOEXTEND_SIZE:
case AUTO_INCREMENT:
case AVG_ROW_LENGTH:
case BEGIN:
case BINLOG:
case BIT:
case BLOCK:
case BOOL:
case BOOLEAN:
case BTREE:
case CACHE:
case CASCADED:
case CHAIN:
case CHANGED:
case CHANNEL:
case CHECKSUM:
case PAGE_CHECKSUM:
case CIPHER:
case CLASS_ORIGIN:
case CLIENT:
case CLOSE:
case CLUSTERING:
case COALESCE:
case CODE:
case COLUMNS:
case COLUMN_FORMAT:
case COLUMN_NAME:
case COMMENT:
case COMMIT:
case COMPACT:
case COMPLETION:
case COMPRESSED:
case COMPRESSION:
case CONCURRENT:
case CONNECT:
case CONNECTION:
case CONSISTENT:
case CONSTRAINT_CATALOG:
case CONSTRAINT_SCHEMA:
case CONSTRAINT_NAME:
case CONTAINS:
case CONTEXT:
case CONTRIBUTORS:
case COPY:
case CPU:
case CYCLE:
case CURSOR_NAME:
case DATA:
case DATAFILE:
case DEALLOCATE:
case DEFAULT_AUTH:
case DEFINER:
case DELAY_KEY_WRITE:
case DES_KEY_FILE:
case DIRECTORY:
case DISABLE:
case DISCARD:
case DISK:
case DO:
case DUMPFILE:
case DUPLICATE:
case DYNAMIC:
case ENABLE:
case ENCRYPTED:
case ENCRYPTION:
case ENCRYPTION_KEY_ID:
case END:
case ENDS:
case ENGINE:
case ENGINES:
case ERROR:
case ERRORS:
case ESCAPE:
case EVEN:
case EVENT:
case EVENTS:
case EVERY:
case EXCHANGE:
case EXCLUSIVE:
case EXPIRE:
case EXPORT:
case EXTENDED:
case EXTENT_SIZE:
case FAILED_LOGIN_ATTEMPTS:
case FAST:
case FAULTS:
case FIELDS:
case FILE_BLOCK_SIZE:
case FILTER:
case FIRST:
case FIXED:
case FLUSH:
case FOLLOWS:
case FOUND:
case FULL:
case FUNCTION:
case GENERAL:
case GLOBAL:
case GRANTS:
case GROUP_REPLICATION:
case HANDLER:
case HASH:
case HELP:
case HISTORY:
case HOST:
case HOSTS:
case IDENTIFIED:
case IGNORE_SERVER_IDS:
case IMPORT:
case INCREMENT:
case INDEXES:
case INITIAL_SIZE:
case INPLACE:
case INSERT_METHOD:
case INSTALL:
case INSTANCE:
case INSTANT:
case INVISIBLE:
case INVOKER:
case IO:
case IO_THREAD:
case IPC:
case ISOLATION:
case ISSUER:
case JSON:
case KEY_BLOCK_SIZE:
case LANGUAGE:
case LAST:
case LEAVES:
case LESS:
case LEVEL:
case LIST:
case LOCAL:
case LOGFILE:
case LOGS:
case MASTER:
case MASTER_AUTO_POSITION:
case MASTER_CONNECT_RETRY:
case MASTER_DELAY:
case MASTER_HEARTBEAT_PERIOD:
case MASTER_HOST:
case MASTER_LOG_FILE:
case MASTER_LOG_POS:
case MASTER_PASSWORD:
case MASTER_PORT:
case MASTER_RETRY_COUNT:
case MASTER_SSL:
case MASTER_SSL_CA:
case MASTER_SSL_CAPATH:
case MASTER_SSL_CERT:
case MASTER_SSL_CIPHER:
case MASTER_SSL_CRL:
case MASTER_SSL_CRLPATH:
case MASTER_SSL_KEY:
case MASTER_TLS_VERSION:
case MASTER_USER:
case MAX_CONNECTIONS_PER_HOUR:
case MAX_QUERIES_PER_HOUR:
case MAX_ROWS:
case MAX_SIZE:
case MAX_UPDATES_PER_HOUR:
case MAX_USER_CONNECTIONS:
case MEDIUM:
case MEMBER:
case MERGE:
case MESSAGE_TEXT:
case MID:
case MIGRATE:
case MIN_ROWS:
case MODE:
case MODIFY:
case MUTEX:
case MYSQL:
case MYSQL_ERRNO:
case NAME:
case NAMES:
case NCHAR:
case NEVER:
case NEXT:
case NO:
case NOCACHE:
case NOCOPY:
case NOCYCLE:
case NOMAXVALUE:
case NOMINVALUE:
case NOWAIT:
case NODEGROUP:
case NONE:
case ODBC:
case OFFLINE:
case OFFSET:
case OF:
case OJ:
case OLD_PASSWORD:
case ONE:
case ONLINE:
case ONLY:
case OPEN:
case OPTIMIZER_COSTS:
case OPTIONS:
case OWNER:
case PACK_KEYS:
case PAGE:
case PARSER:
case PARTIAL:
case PARTITIONING:
case PARTITIONS:
case PASSWORD:
case PASSWORD_LOCK_TIME:
case PHASE:
case PLUGIN:
case PLUGIN_DIR:
case PLUGINS:
case PORT:
case PRECEDES:
case PREPARE:
case PRESERVE:
case PREV:
case PROCESSLIST:
case PROFILE:
case PROFILES:
case PROXY:
case QUERY:
case QUICK:
case REBUILD:
case RECOVER:
case RECURSIVE:
case REDO_BUFFER_SIZE:
case REDUNDANT:
case RELAY:
case RELAY_LOG_FILE:
case RELAY_LOG_POS:
case RELAYLOG:
case REMOVE:
case REORGANIZE:
case REPAIR:
case REPLICATE_DO_DB:
case REPLICATE_DO_TABLE:
case REPLICATE_IGNORE_DB:
case REPLICATE_IGNORE_TABLE:
case REPLICATE_REWRITE_DB:
case REPLICATE_WILD_DO_TABLE:
case REPLICATE_WILD_IGNORE_TABLE:
case REPLICATION:
case RESET:
case RESTART:
case RESUME:
case RETURNED_SQLSTATE:
case RETURNING:
case RETURNS:
case REUSE:
case ROLE:
case ROLLBACK:
case ROLLUP:
case ROTATE:
case ROW:
case ROWS:
case ROW_FORMAT:
case RTREE:
case SAVEPOINT:
case SCHEDULE:
case SECURITY:
case SEQUENCE:
case SERVER:
case SESSION:
case SHARE:
case SHARED:
case SIGNED:
case SIMPLE:
case SLAVE:
case SLOW:
case SNAPSHOT:
case SOCKET:
case SOME:
case SONAME:
case SOUNDS:
case SOURCE:
case SQL_AFTER_GTIDS:
case SQL_AFTER_MTS_GAPS:
case SQL_BEFORE_GTIDS:
case SQL_BUFFER_RESULT:
case SQL_CACHE:
case SQL_NO_CACHE:
case SQL_THREAD:
case START:
case STARTS:
case STATS_AUTO_RECALC:
case STATS_PERSISTENT:
case STATS_SAMPLE_PAGES:
case STATUS:
case STOP:
case STORAGE:
case STRING:
case SUBCLASS_ORIGIN:
case SUBJECT:
case SUBPARTITION:
case SUBPARTITIONS:
case SUSPEND:
case SWAPS:
case SWITCHES:
case TABLE_NAME:
case TABLESPACE:
case TABLE_TYPE:
case TEMPORARY:
case TEMPTABLE:
case THAN:
case TRADITIONAL:
case TRANSACTION:
case TRANSACTIONAL:
case TRIGGERS:
case TRUNCATE:
case UNBOUNDED:
case UNDEFINED:
case UNDOFILE:
case UNDO_BUFFER_SIZE:
case UNINSTALL:
case UNKNOWN:
case UNTIL:
case UPGRADE:
case USER:
case USE_FRM:
case USER_RESOURCES:
case VALIDATION:
case VALUE:
case VARIABLES:
case VIEW:
case VIRTUAL:
case VISIBLE:
case WAIT:
case WARNINGS:
case WITHOUT:
case WORK:
case WRAPPER:
case X509:
case XA:
case XML:
case YES:
case EUR:
case USA:
case JIS:
case ISO:
case INTERNAL:
case QUARTER:
case MONTH:
case DAY:
case HOUR:
case MINUTE:
case WEEK:
case SECOND:
case MICROSECOND:
case USER_STATISTICS:
case CLIENT_STATISTICS:
case INDEX_STATISTICS:
case TABLE_STATISTICS:
case FIREWALL_RULES:
case ADMIN:
case APPLICATION_PASSWORD_ADMIN:
case AUDIT_ADMIN:
case AUDIT_ABORT_EXEMPT:
case AUTHENTICATION_POLICY_ADMIN:
case BACKUP_ADMIN:
case BINLOG_ADMIN:
case BINLOG_ENCRYPTION_ADMIN:
case CLONE_ADMIN:
case CONNECTION_ADMIN:
case ENCRYPTION_KEY_ADMIN:
case EXECUTE:
case FILE:
case FIREWALL_ADMIN:
case FIREWALL_EXEMPT:
case FIREWALL_USER:
case FLUSH_OPTIMIZER_COSTS:
case FLUSH_STATUS:
case FLUSH_TABLES:
case FLUSH_USER_RESOURCES:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
case INNODB_REDO_LOG_ENABLE:
case INVOKE:
case LAMBDA:
case NDB_STORED_USER:
case PASSWORDLESS_USER_ADMIN:
case PERSIST_RO_VARIABLES_ADMIN:
case PRIVILEGES:
case PROCESS:
case RELOAD:
case REPLICATION_APPLIER:
case REPLICATION_SLAVE_ADMIN:
case RESOURCE_GROUP_ADMIN:
case RESOURCE_GROUP_USER:
case ROLE_ADMIN:
case ROUTINE:
case S3:
case SESSION_VARIABLES_ADMIN:
case SET_USER_ID:
case SHOW_ROUTINE:
case SHUTDOWN:
case SUPER:
case SYSTEM_VARIABLES_ADMIN:
case TABLES:
case TABLE_ENCRYPTION_ADMIN:
case VERSION_TOKEN_ADMIN:
case XA_RECOVER_ADMIN:
case ARMSCII8:
case ASCII:
case BIG5:
case CP1250:
case CP1251:
case CP1256:
case CP1257:
case CP850:
case CP852:
case CP866:
case CP932:
case DEC8:
case EUCJPMS:
case EUCKR:
case GB18030:
case GB2312:
case GBK:
case GEOSTD8:
case GREEK:
case HEBREW:
case HP8:
case KEYBCS2:
case KOI8R:
case KOI8U:
case LATIN1:
case LATIN2:
case LATIN5:
case LATIN7:
case MACCE:
case MACROMAN:
case SJIS:
case SWE7:
case TIS620:
case UCS2:
case UJIS:
case UTF16:
case UTF16LE:
case UTF32:
case UTF8:
case UTF8MB3:
case UTF8MB4:
case ARCHIVE:
case BLACKHOLE:
case CSV:
case FEDERATED:
case INNODB:
case MEMORY:
case MRG_MYISAM:
case MYISAM:
case NDB:
case NDBCLUSTER:
case PERFORMANCE_SCHEMA:
case TOKUDB:
case REPEATABLE:
case COMMITTED:
case UNCOMMITTED:
case SERIALIZABLE:
case GEOMETRYCOLLECTION:
case GEOMETRY:
case LINESTRING:
case MULTILINESTRING:
case MULTIPOINT:
case MULTIPOLYGON:
case POINT:
case POLYGON:
case ABS:
case ACOS:
case ADDDATE:
case ADDTIME:
case AES_DECRYPT:
case AES_ENCRYPT:
case AREA:
case ASBINARY:
case ASIN:
case ASTEXT:
case ASWKB:
case ASWKT:
case ASYMMETRIC_DECRYPT:
case ASYMMETRIC_DERIVE:
case ASYMMETRIC_ENCRYPT:
case ASYMMETRIC_SIGN:
case ASYMMETRIC_VERIFY:
case ATAN:
case ATAN2:
case BENCHMARK:
case BIN:
case BIT_COUNT:
case BIT_LENGTH:
case BUFFER:
case CATALOG_NAME:
case CEIL:
case CEILING:
case CENTROID:
case CHARACTER_LENGTH:
case CHARSET:
case CHAR_LENGTH:
case COERCIBILITY:
case COLLATION:
case COMPRESS:
case CONCAT:
case CONCAT_WS:
case CONNECTION_ID:
case CONV:
case CONVERT_TZ:
case COS:
case COT:
case CRC32:
case CREATE_ASYMMETRIC_PRIV_KEY:
case CREATE_ASYMMETRIC_PUB_KEY:
case CREATE_DH_PARAMETERS:
case CREATE_DIGEST:
case CROSSES:
case DATEDIFF:
case DATE_FORMAT:
case DAYNAME:
case DAYOFMONTH:
case DAYOFWEEK:
case DAYOFYEAR:
case DECODE:
case DEGREES:
case DES_DECRYPT:
case DES_ENCRYPT:
case DIMENSION:
case DISJOINT:
case ELT:
case ENCODE:
case ENCRYPT:
case ENDPOINT:
case ENGINE_ATTRIBUTE:
case ENVELOPE:
case EQUALS:
case EXP:
case EXPORT_SET:
case EXTERIORRING:
case EXTRACTVALUE:
case FIELD:
case FIND_IN_SET:
case FLOOR:
case FORMAT:
case FOUND_ROWS:
case FROM_BASE64:
case FROM_DAYS:
case FROM_UNIXTIME:
case GEOMCOLLFROMTEXT:
case GEOMCOLLFROMWKB:
case GEOMETRYCOLLECTIONFROMTEXT:
case GEOMETRYCOLLECTIONFROMWKB:
case GEOMETRYFROMTEXT:
case GEOMETRYFROMWKB:
case GEOMETRYN:
case GEOMETRYTYPE:
case GEOMFROMTEXT:
case GEOMFROMWKB:
case GET_FORMAT:
case GET_LOCK:
case GLENGTH:
case GREATEST:
case GTID_SUBSET:
case GTID_SUBTRACT:
case HEX:
case IFNULL:
case INET6_ATON:
case INET6_NTOA:
case INET_ATON:
case INET_NTOA:
case INSTR:
case INTERIORRINGN:
case INTERSECTS:
case ISCLOSED:
case ISEMPTY:
case ISNULL:
case ISSIMPLE:
case IS_FREE_LOCK:
case IS_IPV4:
case IS_IPV4_COMPAT:
case IS_IPV4_MAPPED:
case IS_IPV6:
case IS_USED_LOCK:
case LAST_INSERT_ID:
case LCASE:
case LEAST:
case LENGTH:
case LINEFROMTEXT:
case LINEFROMWKB:
case LINESTRINGFROMTEXT:
case LINESTRINGFROMWKB:
case LN:
case LOAD_FILE:
case LOCATE:
case LOG:
case LOG10:
case LOG2:
case LOWER:
case LPAD:
case LTRIM:
case MAKEDATE:
case MAKETIME:
case MAKE_SET:
case MASTER_POS_WAIT:
case MBRCONTAINS:
case MBRDISJOINT:
case MBREQUAL:
case MBRINTERSECTS:
case MBROVERLAPS:
case MBRTOUCHES:
case MBRWITHIN:
case MD5:
case MLINEFROMTEXT:
case MLINEFROMWKB:
case MONTHNAME:
case MPOINTFROMTEXT:
case MPOINTFROMWKB:
case MPOLYFROMTEXT:
case MPOLYFROMWKB:
case MULTILINESTRINGFROMTEXT:
case MULTILINESTRINGFROMWKB:
case MULTIPOINTFROMTEXT:
case MULTIPOINTFROMWKB:
case MULTIPOLYGONFROMTEXT:
case MULTIPOLYGONFROMWKB:
case NAME_CONST:
case NULLIF:
case NUMGEOMETRIES:
case NUMINTERIORRINGS:
case NUMPOINTS:
case OCT:
case OCTET_LENGTH:
case ORD:
case OVERLAPS:
case PERIOD_ADD:
case PERIOD_DIFF:
case PI:
case POINTFROMTEXT:
case POINTFROMWKB:
case POINTN:
case POLYFROMTEXT:
case POLYFROMWKB:
case POLYGONFROMTEXT:
case POLYGONFROMWKB:
case POW:
case POWER:
case QUOTE:
case RADIANS:
case RAND:
case RANDOM:
case RANDOM_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
case SENSITIVE_VARIABLES_OBSERVER:
case SESSION_USER:
case SHA:
case SHA1:
case SHA2:
case SCHEMA_NAME:
case SIGN:
case SIN:
case SLEEP:
case SOUNDEX:
case SQL_THREAD_WAIT_AFTER_GTIDS:
case SQRT:
case SRID:
case STARTPOINT:
case STRCMP:
case STR_TO_DATE:
case ST_AREA:
case ST_ASBINARY:
case ST_ASTEXT:
case ST_ASWKB:
case ST_ASWKT:
case ST_BUFFER:
case ST_CENTROID:
case ST_CONTAINS:
case ST_CROSSES:
case ST_DIFFERENCE:
case ST_DIMENSION:
case ST_DISJOINT:
case ST_DISTANCE:
case ST_ENDPOINT:
case ST_ENVELOPE:
case ST_EQUALS:
case ST_EXTERIORRING:
case ST_GEOMCOLLFROMTEXT:
case ST_GEOMCOLLFROMTXT:
case ST_GEOMCOLLFROMWKB:
case ST_GEOMETRYCOLLECTIONFROMTEXT:
case ST_GEOMETRYCOLLECTIONFROMWKB:
case ST_GEOMETRYFROMTEXT:
case ST_GEOMETRYFROMWKB:
case ST_GEOMETRYN:
case ST_GEOMETRYTYPE:
case ST_GEOMFROMTEXT:
case ST_GEOMFROMWKB:
case ST_INTERIORRINGN:
case ST_INTERSECTION:
case ST_INTERSECTS:
case ST_ISCLOSED:
case ST_ISEMPTY:
case ST_ISSIMPLE:
case ST_LINEFROMTEXT:
case ST_LINEFROMWKB:
case ST_LINESTRINGFROMTEXT:
case ST_LINESTRINGFROMWKB:
case ST_NUMGEOMETRIES:
case ST_NUMINTERIORRING:
case ST_NUMINTERIORRINGS:
case ST_NUMPOINTS:
case ST_OVERLAPS:
case ST_POINTFROMTEXT:
case ST_POINTFROMWKB:
case ST_POINTN:
case ST_POLYFROMTEXT:
case ST_POLYFROMWKB:
case ST_POLYGONFROMTEXT:
case ST_POLYGONFROMWKB:
case ST_SRID:
case ST_STARTPOINT:
case ST_SYMDIFFERENCE:
case ST_TOUCHES:
case ST_UNION:
case ST_WITHIN:
case ST_X:
case ST_Y:
case SUBDATE:
case SUBSTRING_INDEX:
case SUBTIME:
case SYSTEM_USER:
case SYSTEM:
case TAN:
case TELEMETRY_LOG_ADMIN:
case TIMEDIFF:
case TIMESTAMPADD:
case TIMESTAMPDIFF:
case TIME_FORMAT:
case TIME_TO_SEC:
case TOUCHES:
case TO_BASE64:
case TO_DAYS:
case TO_SECONDS:
case TP_CONNECTION_ADMIN:
case UCASE:
case UNCOMPRESS:
case UNCOMPRESSED_LENGTH:
case UNHEX:
case UNIX_TIMESTAMP:
case UPDATEXML:
case UPPER:
case UUID:
case UUID_SHORT:
case VALIDATE_PASSWORD_STRENGTH:
case VERSION:
case VERSIONING:
case WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS:
case WEEKDAY:
case WEEKOFYEAR:
case WEIGHT_STRING:
case WITHIN:
case YEARWEEK:
case Y_FUNCTION:
case X_FUNCTION:
case VIA:
case LASTVAL:
case NEXTVAL:
case SETVAL:
case PREVIOUS:
case PERSISTENT:
case BINLOG_MONITOR:
case BINLOG_REPLAY:
case FEDERATED_ADMIN:
case READ_ONLY_ADMIN:
case REPLICA:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
{
setState(3194);
uidList();
}
break;
case ALL:
{
setState(3195);
match(ALL);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case OPTIMIZE:
_localctx = new AlterByOptimizePartitionContext(_localctx);
enterOuterAlt(_localctx, 11);
{
setState(3198);
match(OPTIMIZE);
setState(3199);
match(PARTITION);
setState(3202);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ARRAY:
case ATTRIBUTE:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case ENFORCED:
case EXCEPT:
case GROUP:
case GROUP_REPLICATION_STREAM:
case IF:
case IGNORED:
case INSERT:
case LATERAL:
case LEFT:
case LOCKED:
case MAXVALUE:
case MINVALUE:
case NUMBER:
case OPTIONAL:
case ORDER:
case PRIMARY:
case REPEAT:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case SKIP_QUERY_REWRITE:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
case NATIONAL:
case BINARY:
case TEXT:
case ENUM:
case SERIAL:
case JSON_ARRAY:
case JSON_ARRAYAGG:
case JSON_ARRAY_APPEND:
case JSON_ARRAY_INSERT:
case JSON_CONTAINS:
case JSON_CONTAINS_PATH:
case JSON_DEPTH:
case JSON_EXTRACT:
case JSON_INSERT:
case JSON_KEYS:
case JSON_LENGTH:
case JSON_MERGE:
case JSON_MERGE_PATCH:
case JSON_MERGE_PRESERVE:
case JSON_OBJECT:
case JSON_OBJECTAGG:
case JSON_OVERLAPS:
case JSON_PRETTY:
case JSON_QUOTE:
case JSON_REMOVE:
case JSON_REPLACE:
case JSON_SCHEMA_VALID:
case JSON_SCHEMA_VALIDATION_REPORT:
case JSON_SEARCH:
case JSON_SET:
case JSON_STORAGE_FREE:
case JSON_STORAGE_SIZE:
case JSON_TABLE:
case JSON_TYPE:
case JSON_UNQUOTE:
case JSON_VALID:
case JSON_VALUE:
case NESTED:
case ORDINALITY:
case PATH:
case AVG:
case BIT_AND:
case BIT_OR:
case BIT_XOR:
case COUNT:
case CUME_DIST:
case DENSE_RANK:
case FIRST_VALUE:
case GROUP_CONCAT:
case LAG:
case LAST_VALUE:
case LEAD:
case MAX:
case MIN:
case NTILE:
case NTH_VALUE:
case PERCENT_RANK:
case RANK:
case ROW_NUMBER:
case STD:
case STDDEV:
case STDDEV_POP:
case STDDEV_SAMP:
case SUM:
case VAR_POP:
case VAR_SAMP:
case VARIANCE:
case CURRENT_DATE:
case CURRENT_TIME:
case CURRENT_TIMESTAMP:
case LOCALTIME:
case CURDATE:
case CURTIME:
case DATE_ADD:
case DATE_SUB:
case LOCALTIMESTAMP:
case NOW:
case POSITION:
case SUBSTR:
case SUBSTRING:
case SYSDATE:
case TRIM:
case UTC_DATE:
case UTC_TIME:
case UTC_TIMESTAMP:
case ACCOUNT:
case ACTION:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ANY:
case AT:
case AUTHORS:
case AUTOCOMMIT:
case AUTOEXTEND_SIZE:
case AUTO_INCREMENT:
case AVG_ROW_LENGTH:
case BEGIN:
case BINLOG:
case BIT:
case BLOCK:
case BOOL:
case BOOLEAN:
case BTREE:
case CACHE:
case CASCADED:
case CHAIN:
case CHANGED:
case CHANNEL:
case CHECKSUM:
case PAGE_CHECKSUM:
case CIPHER:
case CLASS_ORIGIN:
case CLIENT:
case CLOSE:
case CLUSTERING:
case COALESCE:
case CODE:
case COLUMNS:
case COLUMN_FORMAT:
case COLUMN_NAME:
case COMMENT:
case COMMIT:
case COMPACT:
case COMPLETION:
case COMPRESSED:
case COMPRESSION:
case CONCURRENT:
case CONNECT:
case CONNECTION:
case CONSISTENT:
case CONSTRAINT_CATALOG:
case CONSTRAINT_SCHEMA:
case CONSTRAINT_NAME:
case CONTAINS:
case CONTEXT:
case CONTRIBUTORS:
case COPY:
case CPU:
case CYCLE:
case CURSOR_NAME:
case DATA:
case DATAFILE:
case DEALLOCATE:
case DEFAULT_AUTH:
case DEFINER:
case DELAY_KEY_WRITE:
case DES_KEY_FILE:
case DIRECTORY:
case DISABLE:
case DISCARD:
case DISK:
case DO:
case DUMPFILE:
case DUPLICATE:
case DYNAMIC:
case ENABLE:
case ENCRYPTED:
case ENCRYPTION:
case ENCRYPTION_KEY_ID:
case END:
case ENDS:
case ENGINE:
case ENGINES:
case ERROR:
case ERRORS:
case ESCAPE:
case EVEN:
case EVENT:
case EVENTS:
case EVERY:
case EXCHANGE:
case EXCLUSIVE:
case EXPIRE:
case EXPORT:
case EXTENDED:
case EXTENT_SIZE:
case FAILED_LOGIN_ATTEMPTS:
case FAST:
case FAULTS:
case FIELDS:
case FILE_BLOCK_SIZE:
case FILTER:
case FIRST:
case FIXED:
case FLUSH:
case FOLLOWS:
case FOUND:
case FULL:
case FUNCTION:
case GENERAL:
case GLOBAL:
case GRANTS:
case GROUP_REPLICATION:
case HANDLER:
case HASH:
case HELP:
case HISTORY:
case HOST:
case HOSTS:
case IDENTIFIED:
case IGNORE_SERVER_IDS:
case IMPORT:
case INCREMENT:
case INDEXES:
case INITIAL_SIZE:
case INPLACE:
case INSERT_METHOD:
case INSTALL:
case INSTANCE:
case INSTANT:
case INVISIBLE:
case INVOKER:
case IO:
case IO_THREAD:
case IPC:
case ISOLATION:
case ISSUER:
case JSON:
case KEY_BLOCK_SIZE:
case LANGUAGE:
case LAST:
case LEAVES:
case LESS:
case LEVEL:
case LIST:
case LOCAL:
case LOGFILE:
case LOGS:
case MASTER:
case MASTER_AUTO_POSITION:
case MASTER_CONNECT_RETRY:
case MASTER_DELAY:
case MASTER_HEARTBEAT_PERIOD:
case MASTER_HOST:
case MASTER_LOG_FILE:
case MASTER_LOG_POS:
case MASTER_PASSWORD:
case MASTER_PORT:
case MASTER_RETRY_COUNT:
case MASTER_SSL:
case MASTER_SSL_CA:
case MASTER_SSL_CAPATH:
case MASTER_SSL_CERT:
case MASTER_SSL_CIPHER:
case MASTER_SSL_CRL:
case MASTER_SSL_CRLPATH:
case MASTER_SSL_KEY:
case MASTER_TLS_VERSION:
case MASTER_USER:
case MAX_CONNECTIONS_PER_HOUR:
case MAX_QUERIES_PER_HOUR:
case MAX_ROWS:
case MAX_SIZE:
case MAX_UPDATES_PER_HOUR:
case MAX_USER_CONNECTIONS:
case MEDIUM:
case MEMBER:
case MERGE:
case MESSAGE_TEXT:
case MID:
case MIGRATE:
case MIN_ROWS:
case MODE:
case MODIFY:
case MUTEX:
case MYSQL:
case MYSQL_ERRNO:
case NAME:
case NAMES:
case NCHAR:
case NEVER:
case NEXT:
case NO:
case NOCACHE:
case NOCOPY:
case NOCYCLE:
case NOMAXVALUE:
case NOMINVALUE:
case NOWAIT:
case NODEGROUP:
case NONE:
case ODBC:
case OFFLINE:
case OFFSET:
case OF:
case OJ:
case OLD_PASSWORD:
case ONE:
case ONLINE:
case ONLY:
case OPEN:
case OPTIMIZER_COSTS:
case OPTIONS:
case OWNER:
case PACK_KEYS:
case PAGE:
case PARSER:
case PARTIAL:
case PARTITIONING:
case PARTITIONS:
case PASSWORD:
case PASSWORD_LOCK_TIME:
case PHASE:
case PLUGIN:
case PLUGIN_DIR:
case PLUGINS:
case PORT:
case PRECEDES:
case PREPARE:
case PRESERVE:
case PREV:
case PROCESSLIST:
case PROFILE:
case PROFILES:
case PROXY:
case QUERY:
case QUICK:
case REBUILD:
case RECOVER:
case RECURSIVE:
case REDO_BUFFER_SIZE:
case REDUNDANT:
case RELAY:
case RELAY_LOG_FILE:
case RELAY_LOG_POS:
case RELAYLOG:
case REMOVE:
case REORGANIZE:
case REPAIR:
case REPLICATE_DO_DB:
case REPLICATE_DO_TABLE:
case REPLICATE_IGNORE_DB:
case REPLICATE_IGNORE_TABLE:
case REPLICATE_REWRITE_DB:
case REPLICATE_WILD_DO_TABLE:
case REPLICATE_WILD_IGNORE_TABLE:
case REPLICATION:
case RESET:
case RESTART:
case RESUME:
case RETURNED_SQLSTATE:
case RETURNING:
case RETURNS:
case REUSE:
case ROLE:
case ROLLBACK:
case ROLLUP:
case ROTATE:
case ROW:
case ROWS:
case ROW_FORMAT:
case RTREE:
case SAVEPOINT:
case SCHEDULE:
case SECURITY:
case SEQUENCE:
case SERVER:
case SESSION:
case SHARE:
case SHARED:
case SIGNED:
case SIMPLE:
case SLAVE:
case SLOW:
case SNAPSHOT:
case SOCKET:
case SOME:
case SONAME:
case SOUNDS:
case SOURCE:
case SQL_AFTER_GTIDS:
case SQL_AFTER_MTS_GAPS:
case SQL_BEFORE_GTIDS:
case SQL_BUFFER_RESULT:
case SQL_CACHE:
case SQL_NO_CACHE:
case SQL_THREAD:
case START:
case STARTS:
case STATS_AUTO_RECALC:
case STATS_PERSISTENT:
case STATS_SAMPLE_PAGES:
case STATUS:
case STOP:
case STORAGE:
case STRING:
case SUBCLASS_ORIGIN:
case SUBJECT:
case SUBPARTITION:
case SUBPARTITIONS:
case SUSPEND:
case SWAPS:
case SWITCHES:
case TABLE_NAME:
case TABLESPACE:
case TABLE_TYPE:
case TEMPORARY:
case TEMPTABLE:
case THAN:
case TRADITIONAL:
case TRANSACTION:
case TRANSACTIONAL:
case TRIGGERS:
case TRUNCATE:
case UNBOUNDED:
case UNDEFINED:
case UNDOFILE:
case UNDO_BUFFER_SIZE:
case UNINSTALL:
case UNKNOWN:
case UNTIL:
case UPGRADE:
case USER:
case USE_FRM:
case USER_RESOURCES:
case VALIDATION:
case VALUE:
case VARIABLES:
case VIEW:
case VIRTUAL:
case VISIBLE:
case WAIT:
case WARNINGS:
case WITHOUT:
case WORK:
case WRAPPER:
case X509:
case XA:
case XML:
case YES:
case EUR:
case USA:
case JIS:
case ISO:
case INTERNAL:
case QUARTER:
case MONTH:
case DAY:
case HOUR:
case MINUTE:
case WEEK:
case SECOND:
case MICROSECOND:
case USER_STATISTICS:
case CLIENT_STATISTICS:
case INDEX_STATISTICS:
case TABLE_STATISTICS:
case FIREWALL_RULES:
case ADMIN:
case APPLICATION_PASSWORD_ADMIN:
case AUDIT_ADMIN:
case AUDIT_ABORT_EXEMPT:
case AUTHENTICATION_POLICY_ADMIN:
case BACKUP_ADMIN:
case BINLOG_ADMIN:
case BINLOG_ENCRYPTION_ADMIN:
case CLONE_ADMIN:
case CONNECTION_ADMIN:
case ENCRYPTION_KEY_ADMIN:
case EXECUTE:
case FILE:
case FIREWALL_ADMIN:
case FIREWALL_EXEMPT:
case FIREWALL_USER:
case FLUSH_OPTIMIZER_COSTS:
case FLUSH_STATUS:
case FLUSH_TABLES:
case FLUSH_USER_RESOURCES:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
case INNODB_REDO_LOG_ENABLE:
case INVOKE:
case LAMBDA:
case NDB_STORED_USER:
case PASSWORDLESS_USER_ADMIN:
case PERSIST_RO_VARIABLES_ADMIN:
case PRIVILEGES:
case PROCESS:
case RELOAD:
case REPLICATION_APPLIER:
case REPLICATION_SLAVE_ADMIN:
case RESOURCE_GROUP_ADMIN:
case RESOURCE_GROUP_USER:
case ROLE_ADMIN:
case ROUTINE:
case S3:
case SESSION_VARIABLES_ADMIN:
case SET_USER_ID:
case SHOW_ROUTINE:
case SHUTDOWN:
case SUPER:
case SYSTEM_VARIABLES_ADMIN:
case TABLES:
case TABLE_ENCRYPTION_ADMIN:
case VERSION_TOKEN_ADMIN:
case XA_RECOVER_ADMIN:
case ARMSCII8:
case ASCII:
case BIG5:
case CP1250:
case CP1251:
case CP1256:
case CP1257:
case CP850:
case CP852:
case CP866:
case CP932:
case DEC8:
case EUCJPMS:
case EUCKR:
case GB18030:
case GB2312:
case GBK:
case GEOSTD8:
case GREEK:
case HEBREW:
case HP8:
case KEYBCS2:
case KOI8R:
case KOI8U:
case LATIN1:
case LATIN2:
case LATIN5:
case LATIN7:
case MACCE:
case MACROMAN:
case SJIS:
case SWE7:
case TIS620:
case UCS2:
case UJIS:
case UTF16:
case UTF16LE:
case UTF32:
case UTF8:
case UTF8MB3:
case UTF8MB4:
case ARCHIVE:
case BLACKHOLE:
case CSV:
case FEDERATED:
case INNODB:
case MEMORY:
case MRG_MYISAM:
case MYISAM:
case NDB:
case NDBCLUSTER:
case PERFORMANCE_SCHEMA:
case TOKUDB:
case REPEATABLE:
case COMMITTED:
case UNCOMMITTED:
case SERIALIZABLE:
case GEOMETRYCOLLECTION:
case GEOMETRY:
case LINESTRING:
case MULTILINESTRING:
case MULTIPOINT:
case MULTIPOLYGON:
case POINT:
case POLYGON:
case ABS:
case ACOS:
case ADDDATE:
case ADDTIME:
case AES_DECRYPT:
case AES_ENCRYPT:
case AREA:
case ASBINARY:
case ASIN:
case ASTEXT:
case ASWKB:
case ASWKT:
case ASYMMETRIC_DECRYPT:
case ASYMMETRIC_DERIVE:
case ASYMMETRIC_ENCRYPT:
case ASYMMETRIC_SIGN:
case ASYMMETRIC_VERIFY:
case ATAN:
case ATAN2:
case BENCHMARK:
case BIN:
case BIT_COUNT:
case BIT_LENGTH:
case BUFFER:
case CATALOG_NAME:
case CEIL:
case CEILING:
case CENTROID:
case CHARACTER_LENGTH:
case CHARSET:
case CHAR_LENGTH:
case COERCIBILITY:
case COLLATION:
case COMPRESS:
case CONCAT:
case CONCAT_WS:
case CONNECTION_ID:
case CONV:
case CONVERT_TZ:
case COS:
case COT:
case CRC32:
case CREATE_ASYMMETRIC_PRIV_KEY:
case CREATE_ASYMMETRIC_PUB_KEY:
case CREATE_DH_PARAMETERS:
case CREATE_DIGEST:
case CROSSES:
case DATEDIFF:
case DATE_FORMAT:
case DAYNAME:
case DAYOFMONTH:
case DAYOFWEEK:
case DAYOFYEAR:
case DECODE:
case DEGREES:
case DES_DECRYPT:
case DES_ENCRYPT:
case DIMENSION:
case DISJOINT:
case ELT:
case ENCODE:
case ENCRYPT:
case ENDPOINT:
case ENGINE_ATTRIBUTE:
case ENVELOPE:
case EQUALS:
case EXP:
case EXPORT_SET:
case EXTERIORRING:
case EXTRACTVALUE:
case FIELD:
case FIND_IN_SET:
case FLOOR:
case FORMAT:
case FOUND_ROWS:
case FROM_BASE64:
case FROM_DAYS:
case FROM_UNIXTIME:
case GEOMCOLLFROMTEXT:
case GEOMCOLLFROMWKB:
case GEOMETRYCOLLECTIONFROMTEXT:
case GEOMETRYCOLLECTIONFROMWKB:
case GEOMETRYFROMTEXT:
case GEOMETRYFROMWKB:
case GEOMETRYN:
case GEOMETRYTYPE:
case GEOMFROMTEXT:
case GEOMFROMWKB:
case GET_FORMAT:
case GET_LOCK:
case GLENGTH:
case GREATEST:
case GTID_SUBSET:
case GTID_SUBTRACT:
case HEX:
case IFNULL:
case INET6_ATON:
case INET6_NTOA:
case INET_ATON:
case INET_NTOA:
case INSTR:
case INTERIORRINGN:
case INTERSECTS:
case ISCLOSED:
case ISEMPTY:
case ISNULL:
case ISSIMPLE:
case IS_FREE_LOCK:
case IS_IPV4:
case IS_IPV4_COMPAT:
case IS_IPV4_MAPPED:
case IS_IPV6:
case IS_USED_LOCK:
case LAST_INSERT_ID:
case LCASE:
case LEAST:
case LENGTH:
case LINEFROMTEXT:
case LINEFROMWKB:
case LINESTRINGFROMTEXT:
case LINESTRINGFROMWKB:
case LN:
case LOAD_FILE:
case LOCATE:
case LOG:
case LOG10:
case LOG2:
case LOWER:
case LPAD:
case LTRIM:
case MAKEDATE:
case MAKETIME:
case MAKE_SET:
case MASTER_POS_WAIT:
case MBRCONTAINS:
case MBRDISJOINT:
case MBREQUAL:
case MBRINTERSECTS:
case MBROVERLAPS:
case MBRTOUCHES:
case MBRWITHIN:
case MD5:
case MLINEFROMTEXT:
case MLINEFROMWKB:
case MONTHNAME:
case MPOINTFROMTEXT:
case MPOINTFROMWKB:
case MPOLYFROMTEXT:
case MPOLYFROMWKB:
case MULTILINESTRINGFROMTEXT:
case MULTILINESTRINGFROMWKB:
case MULTIPOINTFROMTEXT:
case MULTIPOINTFROMWKB:
case MULTIPOLYGONFROMTEXT:
case MULTIPOLYGONFROMWKB:
case NAME_CONST:
case NULLIF:
case NUMGEOMETRIES:
case NUMINTERIORRINGS:
case NUMPOINTS:
case OCT:
case OCTET_LENGTH:
case ORD:
case OVERLAPS:
case PERIOD_ADD:
case PERIOD_DIFF:
case PI:
case POINTFROMTEXT:
case POINTFROMWKB:
case POINTN:
case POLYFROMTEXT:
case POLYFROMWKB:
case POLYGONFROMTEXT:
case POLYGONFROMWKB:
case POW:
case POWER:
case QUOTE:
case RADIANS:
case RAND:
case RANDOM:
case RANDOM_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
case SENSITIVE_VARIABLES_OBSERVER:
case SESSION_USER:
case SHA:
case SHA1:
case SHA2:
case SCHEMA_NAME:
case SIGN:
case SIN:
case SLEEP:
case SOUNDEX:
case SQL_THREAD_WAIT_AFTER_GTIDS:
case SQRT:
case SRID:
case STARTPOINT:
case STRCMP:
case STR_TO_DATE:
case ST_AREA:
case ST_ASBINARY:
case ST_ASTEXT:
case ST_ASWKB:
case ST_ASWKT:
case ST_BUFFER:
case ST_CENTROID:
case ST_CONTAINS:
case ST_CROSSES:
case ST_DIFFERENCE:
case ST_DIMENSION:
case ST_DISJOINT:
case ST_DISTANCE:
case ST_ENDPOINT:
case ST_ENVELOPE:
case ST_EQUALS:
case ST_EXTERIORRING:
case ST_GEOMCOLLFROMTEXT:
case ST_GEOMCOLLFROMTXT:
case ST_GEOMCOLLFROMWKB:
case ST_GEOMETRYCOLLECTIONFROMTEXT:
case ST_GEOMETRYCOLLECTIONFROMWKB:
case ST_GEOMETRYFROMTEXT:
case ST_GEOMETRYFROMWKB:
case ST_GEOMETRYN:
case ST_GEOMETRYTYPE:
case ST_GEOMFROMTEXT:
case ST_GEOMFROMWKB:
case ST_INTERIORRINGN:
case ST_INTERSECTION:
case ST_INTERSECTS:
case ST_ISCLOSED:
case ST_ISEMPTY:
case ST_ISSIMPLE:
case ST_LINEFROMTEXT:
case ST_LINEFROMWKB:
case ST_LINESTRINGFROMTEXT:
case ST_LINESTRINGFROMWKB:
case ST_NUMGEOMETRIES:
case ST_NUMINTERIORRING:
case ST_NUMINTERIORRINGS:
case ST_NUMPOINTS:
case ST_OVERLAPS:
case ST_POINTFROMTEXT:
case ST_POINTFROMWKB:
case ST_POINTN:
case ST_POLYFROMTEXT:
case ST_POLYFROMWKB:
case ST_POLYGONFROMTEXT:
case ST_POLYGONFROMWKB:
case ST_SRID:
case ST_STARTPOINT:
case ST_SYMDIFFERENCE:
case ST_TOUCHES:
case ST_UNION:
case ST_WITHIN:
case ST_X:
case ST_Y:
case SUBDATE:
case SUBSTRING_INDEX:
case SUBTIME:
case SYSTEM_USER:
case SYSTEM:
case TAN:
case TELEMETRY_LOG_ADMIN:
case TIMEDIFF:
case TIMESTAMPADD:
case TIMESTAMPDIFF:
case TIME_FORMAT:
case TIME_TO_SEC:
case TOUCHES:
case TO_BASE64:
case TO_DAYS:
case TO_SECONDS:
case TP_CONNECTION_ADMIN:
case UCASE:
case UNCOMPRESS:
case UNCOMPRESSED_LENGTH:
case UNHEX:
case UNIX_TIMESTAMP:
case UPDATEXML:
case UPPER:
case UUID:
case UUID_SHORT:
case VALIDATE_PASSWORD_STRENGTH:
case VERSION:
case VERSIONING:
case WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS:
case WEEKDAY:
case WEEKOFYEAR:
case WEIGHT_STRING:
case WITHIN:
case YEARWEEK:
case Y_FUNCTION:
case X_FUNCTION:
case VIA:
case LASTVAL:
case NEXTVAL:
case SETVAL:
case PREVIOUS:
case PERSISTENT:
case BINLOG_MONITOR:
case BINLOG_REPLAY:
case FEDERATED_ADMIN:
case READ_ONLY_ADMIN:
case REPLICA:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
{
setState(3200);
uidList();
}
break;
case ALL:
{
setState(3201);
match(ALL);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case REBUILD:
_localctx = new AlterByRebuildPartitionContext(_localctx);
enterOuterAlt(_localctx, 12);
{
setState(3204);
match(REBUILD);
setState(3205);
match(PARTITION);
setState(3208);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ARRAY:
case ATTRIBUTE:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case ENFORCED:
case EXCEPT:
case GROUP:
case GROUP_REPLICATION_STREAM:
case IF:
case IGNORED:
case INSERT:
case LATERAL:
case LEFT:
case LOCKED:
case MAXVALUE:
case MINVALUE:
case NUMBER:
case OPTIONAL:
case ORDER:
case PRIMARY:
case REPEAT:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case SKIP_QUERY_REWRITE:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
case NATIONAL:
case BINARY:
case TEXT:
case ENUM:
case SERIAL:
case JSON_ARRAY:
case JSON_ARRAYAGG:
case JSON_ARRAY_APPEND:
case JSON_ARRAY_INSERT:
case JSON_CONTAINS:
case JSON_CONTAINS_PATH:
case JSON_DEPTH:
case JSON_EXTRACT:
case JSON_INSERT:
case JSON_KEYS:
case JSON_LENGTH:
case JSON_MERGE:
case JSON_MERGE_PATCH:
case JSON_MERGE_PRESERVE:
case JSON_OBJECT:
case JSON_OBJECTAGG:
case JSON_OVERLAPS:
case JSON_PRETTY:
case JSON_QUOTE:
case JSON_REMOVE:
case JSON_REPLACE:
case JSON_SCHEMA_VALID:
case JSON_SCHEMA_VALIDATION_REPORT:
case JSON_SEARCH:
case JSON_SET:
case JSON_STORAGE_FREE:
case JSON_STORAGE_SIZE:
case JSON_TABLE:
case JSON_TYPE:
case JSON_UNQUOTE:
case JSON_VALID:
case JSON_VALUE:
case NESTED:
case ORDINALITY:
case PATH:
case AVG:
case BIT_AND:
case BIT_OR:
case BIT_XOR:
case COUNT:
case CUME_DIST:
case DENSE_RANK:
case FIRST_VALUE:
case GROUP_CONCAT:
case LAG:
case LAST_VALUE:
case LEAD:
case MAX:
case MIN:
case NTILE:
case NTH_VALUE:
case PERCENT_RANK:
case RANK:
case ROW_NUMBER:
case STD:
case STDDEV:
case STDDEV_POP:
case STDDEV_SAMP:
case SUM:
case VAR_POP:
case VAR_SAMP:
case VARIANCE:
case CURRENT_DATE:
case CURRENT_TIME:
case CURRENT_TIMESTAMP:
case LOCALTIME:
case CURDATE:
case CURTIME:
case DATE_ADD:
case DATE_SUB:
case LOCALTIMESTAMP:
case NOW:
case POSITION:
case SUBSTR:
case SUBSTRING:
case SYSDATE:
case TRIM:
case UTC_DATE:
case UTC_TIME:
case UTC_TIMESTAMP:
case ACCOUNT:
case ACTION:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ANY:
case AT:
case AUTHORS:
case AUTOCOMMIT:
case AUTOEXTEND_SIZE:
case AUTO_INCREMENT:
case AVG_ROW_LENGTH:
case BEGIN:
case BINLOG:
case BIT:
case BLOCK:
case BOOL:
case BOOLEAN:
case BTREE:
case CACHE:
case CASCADED:
case CHAIN:
case CHANGED:
case CHANNEL:
case CHECKSUM:
case PAGE_CHECKSUM:
case CIPHER:
case CLASS_ORIGIN:
case CLIENT:
case CLOSE:
case CLUSTERING:
case COALESCE:
case CODE:
case COLUMNS:
case COLUMN_FORMAT:
case COLUMN_NAME:
case COMMENT:
case COMMIT:
case COMPACT:
case COMPLETION:
case COMPRESSED:
case COMPRESSION:
case CONCURRENT:
case CONNECT:
case CONNECTION:
case CONSISTENT:
case CONSTRAINT_CATALOG:
case CONSTRAINT_SCHEMA:
case CONSTRAINT_NAME:
case CONTAINS:
case CONTEXT:
case CONTRIBUTORS:
case COPY:
case CPU:
case CYCLE:
case CURSOR_NAME:
case DATA:
case DATAFILE:
case DEALLOCATE:
case DEFAULT_AUTH:
case DEFINER:
case DELAY_KEY_WRITE:
case DES_KEY_FILE:
case DIRECTORY:
case DISABLE:
case DISCARD:
case DISK:
case DO:
case DUMPFILE:
case DUPLICATE:
case DYNAMIC:
case ENABLE:
case ENCRYPTED:
case ENCRYPTION:
case ENCRYPTION_KEY_ID:
case END:
case ENDS:
case ENGINE:
case ENGINES:
case ERROR:
case ERRORS:
case ESCAPE:
case EVEN:
case EVENT:
case EVENTS:
case EVERY:
case EXCHANGE:
case EXCLUSIVE:
case EXPIRE:
case EXPORT:
case EXTENDED:
case EXTENT_SIZE:
case FAILED_LOGIN_ATTEMPTS:
case FAST:
case FAULTS:
case FIELDS:
case FILE_BLOCK_SIZE:
case FILTER:
case FIRST:
case FIXED:
case FLUSH:
case FOLLOWS:
case FOUND:
case FULL:
case FUNCTION:
case GENERAL:
case GLOBAL:
case GRANTS:
case GROUP_REPLICATION:
case HANDLER:
case HASH:
case HELP:
case HISTORY:
case HOST:
case HOSTS:
case IDENTIFIED:
case IGNORE_SERVER_IDS:
case IMPORT:
case INCREMENT:
case INDEXES:
case INITIAL_SIZE:
case INPLACE:
case INSERT_METHOD:
case INSTALL:
case INSTANCE:
case INSTANT:
case INVISIBLE:
case INVOKER:
case IO:
case IO_THREAD:
case IPC:
case ISOLATION:
case ISSUER:
case JSON:
case KEY_BLOCK_SIZE:
case LANGUAGE:
case LAST:
case LEAVES:
case LESS:
case LEVEL:
case LIST:
case LOCAL:
case LOGFILE:
case LOGS:
case MASTER:
case MASTER_AUTO_POSITION:
case MASTER_CONNECT_RETRY:
case MASTER_DELAY:
case MASTER_HEARTBEAT_PERIOD:
case MASTER_HOST:
case MASTER_LOG_FILE:
case MASTER_LOG_POS:
case MASTER_PASSWORD:
case MASTER_PORT:
case MASTER_RETRY_COUNT:
case MASTER_SSL:
case MASTER_SSL_CA:
case MASTER_SSL_CAPATH:
case MASTER_SSL_CERT:
case MASTER_SSL_CIPHER:
case MASTER_SSL_CRL:
case MASTER_SSL_CRLPATH:
case MASTER_SSL_KEY:
case MASTER_TLS_VERSION:
case MASTER_USER:
case MAX_CONNECTIONS_PER_HOUR:
case MAX_QUERIES_PER_HOUR:
case MAX_ROWS:
case MAX_SIZE:
case MAX_UPDATES_PER_HOUR:
case MAX_USER_CONNECTIONS:
case MEDIUM:
case MEMBER:
case MERGE:
case MESSAGE_TEXT:
case MID:
case MIGRATE:
case MIN_ROWS:
case MODE:
case MODIFY:
case MUTEX:
case MYSQL:
case MYSQL_ERRNO:
case NAME:
case NAMES:
case NCHAR:
case NEVER:
case NEXT:
case NO:
case NOCACHE:
case NOCOPY:
case NOCYCLE:
case NOMAXVALUE:
case NOMINVALUE:
case NOWAIT:
case NODEGROUP:
case NONE:
case ODBC:
case OFFLINE:
case OFFSET:
case OF:
case OJ:
case OLD_PASSWORD:
case ONE:
case ONLINE:
case ONLY:
case OPEN:
case OPTIMIZER_COSTS:
case OPTIONS:
case OWNER:
case PACK_KEYS:
case PAGE:
case PARSER:
case PARTIAL:
case PARTITIONING:
case PARTITIONS:
case PASSWORD:
case PASSWORD_LOCK_TIME:
case PHASE:
case PLUGIN:
case PLUGIN_DIR:
case PLUGINS:
case PORT:
case PRECEDES:
case PREPARE:
case PRESERVE:
case PREV:
case PROCESSLIST:
case PROFILE:
case PROFILES:
case PROXY:
case QUERY:
case QUICK:
case REBUILD:
case RECOVER:
case RECURSIVE:
case REDO_BUFFER_SIZE:
case REDUNDANT:
case RELAY:
case RELAY_LOG_FILE:
case RELAY_LOG_POS:
case RELAYLOG:
case REMOVE:
case REORGANIZE:
case REPAIR:
case REPLICATE_DO_DB:
case REPLICATE_DO_TABLE:
case REPLICATE_IGNORE_DB:
case REPLICATE_IGNORE_TABLE:
case REPLICATE_REWRITE_DB:
case REPLICATE_WILD_DO_TABLE:
case REPLICATE_WILD_IGNORE_TABLE:
case REPLICATION:
case RESET:
case RESTART:
case RESUME:
case RETURNED_SQLSTATE:
case RETURNING:
case RETURNS:
case REUSE:
case ROLE:
case ROLLBACK:
case ROLLUP:
case ROTATE:
case ROW:
case ROWS:
case ROW_FORMAT:
case RTREE:
case SAVEPOINT:
case SCHEDULE:
case SECURITY:
case SEQUENCE:
case SERVER:
case SESSION:
case SHARE:
case SHARED:
case SIGNED:
case SIMPLE:
case SLAVE:
case SLOW:
case SNAPSHOT:
case SOCKET:
case SOME:
case SONAME:
case SOUNDS:
case SOURCE:
case SQL_AFTER_GTIDS:
case SQL_AFTER_MTS_GAPS:
case SQL_BEFORE_GTIDS:
case SQL_BUFFER_RESULT:
case SQL_CACHE:
case SQL_NO_CACHE:
case SQL_THREAD:
case START:
case STARTS:
case STATS_AUTO_RECALC:
case STATS_PERSISTENT:
case STATS_SAMPLE_PAGES:
case STATUS:
case STOP:
case STORAGE:
case STRING:
case SUBCLASS_ORIGIN:
case SUBJECT:
case SUBPARTITION:
case SUBPARTITIONS:
case SUSPEND:
case SWAPS:
case SWITCHES:
case TABLE_NAME:
case TABLESPACE:
case TABLE_TYPE:
case TEMPORARY:
case TEMPTABLE:
case THAN:
case TRADITIONAL:
case TRANSACTION:
case TRANSACTIONAL:
case TRIGGERS:
case TRUNCATE:
case UNBOUNDED:
case UNDEFINED:
case UNDOFILE:
case UNDO_BUFFER_SIZE:
case UNINSTALL:
case UNKNOWN:
case UNTIL:
case UPGRADE:
case USER:
case USE_FRM:
case USER_RESOURCES:
case VALIDATION:
case VALUE:
case VARIABLES:
case VIEW:
case VIRTUAL:
case VISIBLE:
case WAIT:
case WARNINGS:
case WITHOUT:
case WORK:
case WRAPPER:
case X509:
case XA:
case XML:
case YES:
case EUR:
case USA:
case JIS:
case ISO:
case INTERNAL:
case QUARTER:
case MONTH:
case DAY:
case HOUR:
case MINUTE:
case WEEK:
case SECOND:
case MICROSECOND:
case USER_STATISTICS:
case CLIENT_STATISTICS:
case INDEX_STATISTICS:
case TABLE_STATISTICS:
case FIREWALL_RULES:
case ADMIN:
case APPLICATION_PASSWORD_ADMIN:
case AUDIT_ADMIN:
case AUDIT_ABORT_EXEMPT:
case AUTHENTICATION_POLICY_ADMIN:
case BACKUP_ADMIN:
case BINLOG_ADMIN:
case BINLOG_ENCRYPTION_ADMIN:
case CLONE_ADMIN:
case CONNECTION_ADMIN:
case ENCRYPTION_KEY_ADMIN:
case EXECUTE:
case FILE:
case FIREWALL_ADMIN:
case FIREWALL_EXEMPT:
case FIREWALL_USER:
case FLUSH_OPTIMIZER_COSTS:
case FLUSH_STATUS:
case FLUSH_TABLES:
case FLUSH_USER_RESOURCES:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
case INNODB_REDO_LOG_ENABLE:
case INVOKE:
case LAMBDA:
case NDB_STORED_USER:
case PASSWORDLESS_USER_ADMIN:
case PERSIST_RO_VARIABLES_ADMIN:
case PRIVILEGES:
case PROCESS:
case RELOAD:
case REPLICATION_APPLIER:
case REPLICATION_SLAVE_ADMIN:
case RESOURCE_GROUP_ADMIN:
case RESOURCE_GROUP_USER:
case ROLE_ADMIN:
case ROUTINE:
case S3:
case SESSION_VARIABLES_ADMIN:
case SET_USER_ID:
case SHOW_ROUTINE:
case SHUTDOWN:
case SUPER:
case SYSTEM_VARIABLES_ADMIN:
case TABLES:
case TABLE_ENCRYPTION_ADMIN:
case VERSION_TOKEN_ADMIN:
case XA_RECOVER_ADMIN:
case ARMSCII8:
case ASCII:
case BIG5:
case CP1250:
case CP1251:
case CP1256:
case CP1257:
case CP850:
case CP852:
case CP866:
case CP932:
case DEC8:
case EUCJPMS:
case EUCKR:
case GB18030:
case GB2312:
case GBK:
case GEOSTD8:
case GREEK:
case HEBREW:
case HP8:
case KEYBCS2:
case KOI8R:
case KOI8U:
case LATIN1:
case LATIN2:
case LATIN5:
case LATIN7:
case MACCE:
case MACROMAN:
case SJIS:
case SWE7:
case TIS620:
case UCS2:
case UJIS:
case UTF16:
case UTF16LE:
case UTF32:
case UTF8:
case UTF8MB3:
case UTF8MB4:
case ARCHIVE:
case BLACKHOLE:
case CSV:
case FEDERATED:
case INNODB:
case MEMORY:
case MRG_MYISAM:
case MYISAM:
case NDB:
case NDBCLUSTER:
case PERFORMANCE_SCHEMA:
case TOKUDB:
case REPEATABLE:
case COMMITTED:
case UNCOMMITTED:
case SERIALIZABLE:
case GEOMETRYCOLLECTION:
case GEOMETRY:
case LINESTRING:
case MULTILINESTRING:
case MULTIPOINT:
case MULTIPOLYGON:
case POINT:
case POLYGON:
case ABS:
case ACOS:
case ADDDATE:
case ADDTIME:
case AES_DECRYPT:
case AES_ENCRYPT:
case AREA:
case ASBINARY:
case ASIN:
case ASTEXT:
case ASWKB:
case ASWKT:
case ASYMMETRIC_DECRYPT:
case ASYMMETRIC_DERIVE:
case ASYMMETRIC_ENCRYPT:
case ASYMMETRIC_SIGN:
case ASYMMETRIC_VERIFY:
case ATAN:
case ATAN2:
case BENCHMARK:
case BIN:
case BIT_COUNT:
case BIT_LENGTH:
case BUFFER:
case CATALOG_NAME:
case CEIL:
case CEILING:
case CENTROID:
case CHARACTER_LENGTH:
case CHARSET:
case CHAR_LENGTH:
case COERCIBILITY:
case COLLATION:
case COMPRESS:
case CONCAT:
case CONCAT_WS:
case CONNECTION_ID:
case CONV:
case CONVERT_TZ:
case COS:
case COT:
case CRC32:
case CREATE_ASYMMETRIC_PRIV_KEY:
case CREATE_ASYMMETRIC_PUB_KEY:
case CREATE_DH_PARAMETERS:
case CREATE_DIGEST:
case CROSSES:
case DATEDIFF:
case DATE_FORMAT:
case DAYNAME:
case DAYOFMONTH:
case DAYOFWEEK:
case DAYOFYEAR:
case DECODE:
case DEGREES:
case DES_DECRYPT:
case DES_ENCRYPT:
case DIMENSION:
case DISJOINT:
case ELT:
case ENCODE:
case ENCRYPT:
case ENDPOINT:
case ENGINE_ATTRIBUTE:
case ENVELOPE:
case EQUALS:
case EXP:
case EXPORT_SET:
case EXTERIORRING:
case EXTRACTVALUE:
case FIELD:
case FIND_IN_SET:
case FLOOR:
case FORMAT:
case FOUND_ROWS:
case FROM_BASE64:
case FROM_DAYS:
case FROM_UNIXTIME:
case GEOMCOLLFROMTEXT:
case GEOMCOLLFROMWKB:
case GEOMETRYCOLLECTIONFROMTEXT:
case GEOMETRYCOLLECTIONFROMWKB:
case GEOMETRYFROMTEXT:
case GEOMETRYFROMWKB:
case GEOMETRYN:
case GEOMETRYTYPE:
case GEOMFROMTEXT:
case GEOMFROMWKB:
case GET_FORMAT:
case GET_LOCK:
case GLENGTH:
case GREATEST:
case GTID_SUBSET:
case GTID_SUBTRACT:
case HEX:
case IFNULL:
case INET6_ATON:
case INET6_NTOA:
case INET_ATON:
case INET_NTOA:
case INSTR:
case INTERIORRINGN:
case INTERSECTS:
case ISCLOSED:
case ISEMPTY:
case ISNULL:
case ISSIMPLE:
case IS_FREE_LOCK:
case IS_IPV4:
case IS_IPV4_COMPAT:
case IS_IPV4_MAPPED:
case IS_IPV6:
case IS_USED_LOCK:
case LAST_INSERT_ID:
case LCASE:
case LEAST:
case LENGTH:
case LINEFROMTEXT:
case LINEFROMWKB:
case LINESTRINGFROMTEXT:
case LINESTRINGFROMWKB:
case LN:
case LOAD_FILE:
case LOCATE:
case LOG:
case LOG10:
case LOG2:
case LOWER:
case LPAD:
case LTRIM:
case MAKEDATE:
case MAKETIME:
case MAKE_SET:
case MASTER_POS_WAIT:
case MBRCONTAINS:
case MBRDISJOINT:
case MBREQUAL:
case MBRINTERSECTS:
case MBROVERLAPS:
case MBRTOUCHES:
case MBRWITHIN:
case MD5:
case MLINEFROMTEXT:
case MLINEFROMWKB:
case MONTHNAME:
case MPOINTFROMTEXT:
case MPOINTFROMWKB:
case MPOLYFROMTEXT:
case MPOLYFROMWKB:
case MULTILINESTRINGFROMTEXT:
case MULTILINESTRINGFROMWKB:
case MULTIPOINTFROMTEXT:
case MULTIPOINTFROMWKB:
case MULTIPOLYGONFROMTEXT:
case MULTIPOLYGONFROMWKB:
case NAME_CONST:
case NULLIF:
case NUMGEOMETRIES:
case NUMINTERIORRINGS:
case NUMPOINTS:
case OCT:
case OCTET_LENGTH:
case ORD:
case OVERLAPS:
case PERIOD_ADD:
case PERIOD_DIFF:
case PI:
case POINTFROMTEXT:
case POINTFROMWKB:
case POINTN:
case POLYFROMTEXT:
case POLYFROMWKB:
case POLYGONFROMTEXT:
case POLYGONFROMWKB:
case POW:
case POWER:
case QUOTE:
case RADIANS:
case RAND:
case RANDOM:
case RANDOM_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
case SENSITIVE_VARIABLES_OBSERVER:
case SESSION_USER:
case SHA:
case SHA1:
case SHA2:
case SCHEMA_NAME:
case SIGN:
case SIN:
case SLEEP:
case SOUNDEX:
case SQL_THREAD_WAIT_AFTER_GTIDS:
case SQRT:
case SRID:
case STARTPOINT:
case STRCMP:
case STR_TO_DATE:
case ST_AREA:
case ST_ASBINARY:
case ST_ASTEXT:
case ST_ASWKB:
case ST_ASWKT:
case ST_BUFFER:
case ST_CENTROID:
case ST_CONTAINS:
case ST_CROSSES:
case ST_DIFFERENCE:
case ST_DIMENSION:
case ST_DISJOINT:
case ST_DISTANCE:
case ST_ENDPOINT:
case ST_ENVELOPE:
case ST_EQUALS:
case ST_EXTERIORRING:
case ST_GEOMCOLLFROMTEXT:
case ST_GEOMCOLLFROMTXT:
case ST_GEOMCOLLFROMWKB:
case ST_GEOMETRYCOLLECTIONFROMTEXT:
case ST_GEOMETRYCOLLECTIONFROMWKB:
case ST_GEOMETRYFROMTEXT:
case ST_GEOMETRYFROMWKB:
case ST_GEOMETRYN:
case ST_GEOMETRYTYPE:
case ST_GEOMFROMTEXT:
case ST_GEOMFROMWKB:
case ST_INTERIORRINGN:
case ST_INTERSECTION:
case ST_INTERSECTS:
case ST_ISCLOSED:
case ST_ISEMPTY:
case ST_ISSIMPLE:
case ST_LINEFROMTEXT:
case ST_LINEFROMWKB:
case ST_LINESTRINGFROMTEXT:
case ST_LINESTRINGFROMWKB:
case ST_NUMGEOMETRIES:
case ST_NUMINTERIORRING:
case ST_NUMINTERIORRINGS:
case ST_NUMPOINTS:
case ST_OVERLAPS:
case ST_POINTFROMTEXT:
case ST_POINTFROMWKB:
case ST_POINTN:
case ST_POLYFROMTEXT:
case ST_POLYFROMWKB:
case ST_POLYGONFROMTEXT:
case ST_POLYGONFROMWKB:
case ST_SRID:
case ST_STARTPOINT:
case ST_SYMDIFFERENCE:
case ST_TOUCHES:
case ST_UNION:
case ST_WITHIN:
case ST_X:
case ST_Y:
case SUBDATE:
case SUBSTRING_INDEX:
case SUBTIME:
case SYSTEM_USER:
case SYSTEM:
case TAN:
case TELEMETRY_LOG_ADMIN:
case TIMEDIFF:
case TIMESTAMPADD:
case TIMESTAMPDIFF:
case TIME_FORMAT:
case TIME_TO_SEC:
case TOUCHES:
case TO_BASE64:
case TO_DAYS:
case TO_SECONDS:
case TP_CONNECTION_ADMIN:
case UCASE:
case UNCOMPRESS:
case UNCOMPRESSED_LENGTH:
case UNHEX:
case UNIX_TIMESTAMP:
case UPDATEXML:
case UPPER:
case UUID:
case UUID_SHORT:
case VALIDATE_PASSWORD_STRENGTH:
case VERSION:
case VERSIONING:
case WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS:
case WEEKDAY:
case WEEKOFYEAR:
case WEIGHT_STRING:
case WITHIN:
case YEARWEEK:
case Y_FUNCTION:
case X_FUNCTION:
case VIA:
case LASTVAL:
case NEXTVAL:
case SETVAL:
case PREVIOUS:
case PERSISTENT:
case BINLOG_MONITOR:
case BINLOG_REPLAY:
case FEDERATED_ADMIN:
case READ_ONLY_ADMIN:
case REPLICA:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
{
setState(3206);
uidList();
}
break;
case ALL:
{
setState(3207);
match(ALL);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case REPAIR:
_localctx = new AlterByRepairPartitionContext(_localctx);
enterOuterAlt(_localctx, 13);
{
setState(3210);
match(REPAIR);
setState(3211);
match(PARTITION);
setState(3214);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ARRAY:
case ATTRIBUTE:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case ENFORCED:
case EXCEPT:
case GROUP:
case GROUP_REPLICATION_STREAM:
case IF:
case IGNORED:
case INSERT:
case LATERAL:
case LEFT:
case LOCKED:
case MAXVALUE:
case MINVALUE:
case NUMBER:
case OPTIONAL:
case ORDER:
case PRIMARY:
case REPEAT:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case SKIP_QUERY_REWRITE:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
case NATIONAL:
case BINARY:
case TEXT:
case ENUM:
case SERIAL:
case JSON_ARRAY:
case JSON_ARRAYAGG:
case JSON_ARRAY_APPEND:
case JSON_ARRAY_INSERT:
case JSON_CONTAINS:
case JSON_CONTAINS_PATH:
case JSON_DEPTH:
case JSON_EXTRACT:
case JSON_INSERT:
case JSON_KEYS:
case JSON_LENGTH:
case JSON_MERGE:
case JSON_MERGE_PATCH:
case JSON_MERGE_PRESERVE:
case JSON_OBJECT:
case JSON_OBJECTAGG:
case JSON_OVERLAPS:
case JSON_PRETTY:
case JSON_QUOTE:
case JSON_REMOVE:
case JSON_REPLACE:
case JSON_SCHEMA_VALID:
case JSON_SCHEMA_VALIDATION_REPORT:
case JSON_SEARCH:
case JSON_SET:
case JSON_STORAGE_FREE:
case JSON_STORAGE_SIZE:
case JSON_TABLE:
case JSON_TYPE:
case JSON_UNQUOTE:
case JSON_VALID:
case JSON_VALUE:
case NESTED:
case ORDINALITY:
case PATH:
case AVG:
case BIT_AND:
case BIT_OR:
case BIT_XOR:
case COUNT:
case CUME_DIST:
case DENSE_RANK:
case FIRST_VALUE:
case GROUP_CONCAT:
case LAG:
case LAST_VALUE:
case LEAD:
case MAX:
case MIN:
case NTILE:
case NTH_VALUE:
case PERCENT_RANK:
case RANK:
case ROW_NUMBER:
case STD:
case STDDEV:
case STDDEV_POP:
case STDDEV_SAMP:
case SUM:
case VAR_POP:
case VAR_SAMP:
case VARIANCE:
case CURRENT_DATE:
case CURRENT_TIME:
case CURRENT_TIMESTAMP:
case LOCALTIME:
case CURDATE:
case CURTIME:
case DATE_ADD:
case DATE_SUB:
case LOCALTIMESTAMP:
case NOW:
case POSITION:
case SUBSTR:
case SUBSTRING:
case SYSDATE:
case TRIM:
case UTC_DATE:
case UTC_TIME:
case UTC_TIMESTAMP:
case ACCOUNT:
case ACTION:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ANY:
case AT:
case AUTHORS:
case AUTOCOMMIT:
case AUTOEXTEND_SIZE:
case AUTO_INCREMENT:
case AVG_ROW_LENGTH:
case BEGIN:
case BINLOG:
case BIT:
case BLOCK:
case BOOL:
case BOOLEAN:
case BTREE:
case CACHE:
case CASCADED:
case CHAIN:
case CHANGED:
case CHANNEL:
case CHECKSUM:
case PAGE_CHECKSUM:
case CIPHER:
case CLASS_ORIGIN:
case CLIENT:
case CLOSE:
case CLUSTERING:
case COALESCE:
case CODE:
case COLUMNS:
case COLUMN_FORMAT:
case COLUMN_NAME:
case COMMENT:
case COMMIT:
case COMPACT:
case COMPLETION:
case COMPRESSED:
case COMPRESSION:
case CONCURRENT:
case CONNECT:
case CONNECTION:
case CONSISTENT:
case CONSTRAINT_CATALOG:
case CONSTRAINT_SCHEMA:
case CONSTRAINT_NAME:
case CONTAINS:
case CONTEXT:
case CONTRIBUTORS:
case COPY:
case CPU:
case CYCLE:
case CURSOR_NAME:
case DATA:
case DATAFILE:
case DEALLOCATE:
case DEFAULT_AUTH:
case DEFINER:
case DELAY_KEY_WRITE:
case DES_KEY_FILE:
case DIRECTORY:
case DISABLE:
case DISCARD:
case DISK:
case DO:
case DUMPFILE:
case DUPLICATE:
case DYNAMIC:
case ENABLE:
case ENCRYPTED:
case ENCRYPTION:
case ENCRYPTION_KEY_ID:
case END:
case ENDS:
case ENGINE:
case ENGINES:
case ERROR:
case ERRORS:
case ESCAPE:
case EVEN:
case EVENT:
case EVENTS:
case EVERY:
case EXCHANGE:
case EXCLUSIVE:
case EXPIRE:
case EXPORT:
case EXTENDED:
case EXTENT_SIZE:
case FAILED_LOGIN_ATTEMPTS:
case FAST:
case FAULTS:
case FIELDS:
case FILE_BLOCK_SIZE:
case FILTER:
case FIRST:
case FIXED:
case FLUSH:
case FOLLOWS:
case FOUND:
case FULL:
case FUNCTION:
case GENERAL:
case GLOBAL:
case GRANTS:
case GROUP_REPLICATION:
case HANDLER:
case HASH:
case HELP:
case HISTORY:
case HOST:
case HOSTS:
case IDENTIFIED:
case IGNORE_SERVER_IDS:
case IMPORT:
case INCREMENT:
case INDEXES:
case INITIAL_SIZE:
case INPLACE:
case INSERT_METHOD:
case INSTALL:
case INSTANCE:
case INSTANT:
case INVISIBLE:
case INVOKER:
case IO:
case IO_THREAD:
case IPC:
case ISOLATION:
case ISSUER:
case JSON:
case KEY_BLOCK_SIZE:
case LANGUAGE:
case LAST:
case LEAVES:
case LESS:
case LEVEL:
case LIST:
case LOCAL:
case LOGFILE:
case LOGS:
case MASTER:
case MASTER_AUTO_POSITION:
case MASTER_CONNECT_RETRY:
case MASTER_DELAY:
case MASTER_HEARTBEAT_PERIOD:
case MASTER_HOST:
case MASTER_LOG_FILE:
case MASTER_LOG_POS:
case MASTER_PASSWORD:
case MASTER_PORT:
case MASTER_RETRY_COUNT:
case MASTER_SSL:
case MASTER_SSL_CA:
case MASTER_SSL_CAPATH:
case MASTER_SSL_CERT:
case MASTER_SSL_CIPHER:
case MASTER_SSL_CRL:
case MASTER_SSL_CRLPATH:
case MASTER_SSL_KEY:
case MASTER_TLS_VERSION:
case MASTER_USER:
case MAX_CONNECTIONS_PER_HOUR:
case MAX_QUERIES_PER_HOUR:
case MAX_ROWS:
case MAX_SIZE:
case MAX_UPDATES_PER_HOUR:
case MAX_USER_CONNECTIONS:
case MEDIUM:
case MEMBER:
case MERGE:
case MESSAGE_TEXT:
case MID:
case MIGRATE:
case MIN_ROWS:
case MODE:
case MODIFY:
case MUTEX:
case MYSQL:
case MYSQL_ERRNO:
case NAME:
case NAMES:
case NCHAR:
case NEVER:
case NEXT:
case NO:
case NOCACHE:
case NOCOPY:
case NOCYCLE:
case NOMAXVALUE:
case NOMINVALUE:
case NOWAIT:
case NODEGROUP:
case NONE:
case ODBC:
case OFFLINE:
case OFFSET:
case OF:
case OJ:
case OLD_PASSWORD:
case ONE:
case ONLINE:
case ONLY:
case OPEN:
case OPTIMIZER_COSTS:
case OPTIONS:
case OWNER:
case PACK_KEYS:
case PAGE:
case PARSER:
case PARTIAL:
case PARTITIONING:
case PARTITIONS:
case PASSWORD:
case PASSWORD_LOCK_TIME:
case PHASE:
case PLUGIN:
case PLUGIN_DIR:
case PLUGINS:
case PORT:
case PRECEDES:
case PREPARE:
case PRESERVE:
case PREV:
case PROCESSLIST:
case PROFILE:
case PROFILES:
case PROXY:
case QUERY:
case QUICK:
case REBUILD:
case RECOVER:
case RECURSIVE:
case REDO_BUFFER_SIZE:
case REDUNDANT:
case RELAY:
case RELAY_LOG_FILE:
case RELAY_LOG_POS:
case RELAYLOG:
case REMOVE:
case REORGANIZE:
case REPAIR:
case REPLICATE_DO_DB:
case REPLICATE_DO_TABLE:
case REPLICATE_IGNORE_DB:
case REPLICATE_IGNORE_TABLE:
case REPLICATE_REWRITE_DB:
case REPLICATE_WILD_DO_TABLE:
case REPLICATE_WILD_IGNORE_TABLE:
case REPLICATION:
case RESET:
case RESTART:
case RESUME:
case RETURNED_SQLSTATE:
case RETURNING:
case RETURNS:
case REUSE:
case ROLE:
case ROLLBACK:
case ROLLUP:
case ROTATE:
case ROW:
case ROWS:
case ROW_FORMAT:
case RTREE:
case SAVEPOINT:
case SCHEDULE:
case SECURITY:
case SEQUENCE:
case SERVER:
case SESSION:
case SHARE:
case SHARED:
case SIGNED:
case SIMPLE:
case SLAVE:
case SLOW:
case SNAPSHOT:
case SOCKET:
case SOME:
case SONAME:
case SOUNDS:
case SOURCE:
case SQL_AFTER_GTIDS:
case SQL_AFTER_MTS_GAPS:
case SQL_BEFORE_GTIDS:
case SQL_BUFFER_RESULT:
case SQL_CACHE:
case SQL_NO_CACHE:
case SQL_THREAD:
case START:
case STARTS:
case STATS_AUTO_RECALC:
case STATS_PERSISTENT:
case STATS_SAMPLE_PAGES:
case STATUS:
case STOP:
case STORAGE:
case STRING:
case SUBCLASS_ORIGIN:
case SUBJECT:
case SUBPARTITION:
case SUBPARTITIONS:
case SUSPEND:
case SWAPS:
case SWITCHES:
case TABLE_NAME:
case TABLESPACE:
case TABLE_TYPE:
case TEMPORARY:
case TEMPTABLE:
case THAN:
case TRADITIONAL:
case TRANSACTION:
case TRANSACTIONAL:
case TRIGGERS:
case TRUNCATE:
case UNBOUNDED:
case UNDEFINED:
case UNDOFILE:
case UNDO_BUFFER_SIZE:
case UNINSTALL:
case UNKNOWN:
case UNTIL:
case UPGRADE:
case USER:
case USE_FRM:
case USER_RESOURCES:
case VALIDATION:
case VALUE:
case VARIABLES:
case VIEW:
case VIRTUAL:
case VISIBLE:
case WAIT:
case WARNINGS:
case WITHOUT:
case WORK:
case WRAPPER:
case X509:
case XA:
case XML:
case YES:
case EUR:
case USA:
case JIS:
case ISO:
case INTERNAL:
case QUARTER:
case MONTH:
case DAY:
case HOUR:
case MINUTE:
case WEEK:
case SECOND:
case MICROSECOND:
case USER_STATISTICS:
case CLIENT_STATISTICS:
case INDEX_STATISTICS:
case TABLE_STATISTICS:
case FIREWALL_RULES:
case ADMIN:
case APPLICATION_PASSWORD_ADMIN:
case AUDIT_ADMIN:
case AUDIT_ABORT_EXEMPT:
case AUTHENTICATION_POLICY_ADMIN:
case BACKUP_ADMIN:
case BINLOG_ADMIN:
case BINLOG_ENCRYPTION_ADMIN:
case CLONE_ADMIN:
case CONNECTION_ADMIN:
case ENCRYPTION_KEY_ADMIN:
case EXECUTE:
case FILE:
case FIREWALL_ADMIN:
case FIREWALL_EXEMPT:
case FIREWALL_USER:
case FLUSH_OPTIMIZER_COSTS:
case FLUSH_STATUS:
case FLUSH_TABLES:
case FLUSH_USER_RESOURCES:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
case INNODB_REDO_LOG_ENABLE:
case INVOKE:
case LAMBDA:
case NDB_STORED_USER:
case PASSWORDLESS_USER_ADMIN:
case PERSIST_RO_VARIABLES_ADMIN:
case PRIVILEGES:
case PROCESS:
case RELOAD:
case REPLICATION_APPLIER:
case REPLICATION_SLAVE_ADMIN:
case RESOURCE_GROUP_ADMIN:
case RESOURCE_GROUP_USER:
case ROLE_ADMIN:
case ROUTINE:
case S3:
case SESSION_VARIABLES_ADMIN:
case SET_USER_ID:
case SHOW_ROUTINE:
case SHUTDOWN:
case SUPER:
case SYSTEM_VARIABLES_ADMIN:
case TABLES:
case TABLE_ENCRYPTION_ADMIN:
case VERSION_TOKEN_ADMIN:
case XA_RECOVER_ADMIN:
case ARMSCII8:
case ASCII:
case BIG5:
case CP1250:
case CP1251:
case CP1256:
case CP1257:
case CP850:
case CP852:
case CP866:
case CP932:
case DEC8:
case EUCJPMS:
case EUCKR:
case GB18030:
case GB2312:
case GBK:
case GEOSTD8:
case GREEK:
case HEBREW:
case HP8:
case KEYBCS2:
case KOI8R:
case KOI8U:
case LATIN1:
case LATIN2:
case LATIN5:
case LATIN7:
case MACCE:
case MACROMAN:
case SJIS:
case SWE7:
case TIS620:
case UCS2:
case UJIS:
case UTF16:
case UTF16LE:
case UTF32:
case UTF8:
case UTF8MB3:
case UTF8MB4:
case ARCHIVE:
case BLACKHOLE:
case CSV:
case FEDERATED:
case INNODB:
case MEMORY:
case MRG_MYISAM:
case MYISAM:
case NDB:
case NDBCLUSTER:
case PERFORMANCE_SCHEMA:
case TOKUDB:
case REPEATABLE:
case COMMITTED:
case UNCOMMITTED:
case SERIALIZABLE:
case GEOMETRYCOLLECTION:
case GEOMETRY:
case LINESTRING:
case MULTILINESTRING:
case MULTIPOINT:
case MULTIPOLYGON:
case POINT:
case POLYGON:
case ABS:
case ACOS:
case ADDDATE:
case ADDTIME:
case AES_DECRYPT:
case AES_ENCRYPT:
case AREA:
case ASBINARY:
case ASIN:
case ASTEXT:
case ASWKB:
case ASWKT:
case ASYMMETRIC_DECRYPT:
case ASYMMETRIC_DERIVE:
case ASYMMETRIC_ENCRYPT:
case ASYMMETRIC_SIGN:
case ASYMMETRIC_VERIFY:
case ATAN:
case ATAN2:
case BENCHMARK:
case BIN:
case BIT_COUNT:
case BIT_LENGTH:
case BUFFER:
case CATALOG_NAME:
case CEIL:
case CEILING:
case CENTROID:
case CHARACTER_LENGTH:
case CHARSET:
case CHAR_LENGTH:
case COERCIBILITY:
case COLLATION:
case COMPRESS:
case CONCAT:
case CONCAT_WS:
case CONNECTION_ID:
case CONV:
case CONVERT_TZ:
case COS:
case COT:
case CRC32:
case CREATE_ASYMMETRIC_PRIV_KEY:
case CREATE_ASYMMETRIC_PUB_KEY:
case CREATE_DH_PARAMETERS:
case CREATE_DIGEST:
case CROSSES:
case DATEDIFF:
case DATE_FORMAT:
case DAYNAME:
case DAYOFMONTH:
case DAYOFWEEK:
case DAYOFYEAR:
case DECODE:
case DEGREES:
case DES_DECRYPT:
case DES_ENCRYPT:
case DIMENSION:
case DISJOINT:
case ELT:
case ENCODE:
case ENCRYPT:
case ENDPOINT:
case ENGINE_ATTRIBUTE:
case ENVELOPE:
case EQUALS:
case EXP:
case EXPORT_SET:
case EXTERIORRING:
case EXTRACTVALUE:
case FIELD:
case FIND_IN_SET:
case FLOOR:
case FORMAT:
case FOUND_ROWS:
case FROM_BASE64:
case FROM_DAYS:
case FROM_UNIXTIME:
case GEOMCOLLFROMTEXT:
case GEOMCOLLFROMWKB:
case GEOMETRYCOLLECTIONFROMTEXT:
case GEOMETRYCOLLECTIONFROMWKB:
case GEOMETRYFROMTEXT:
case GEOMETRYFROMWKB:
case GEOMETRYN:
case GEOMETRYTYPE:
case GEOMFROMTEXT:
case GEOMFROMWKB:
case GET_FORMAT:
case GET_LOCK:
case GLENGTH:
case GREATEST:
case GTID_SUBSET:
case GTID_SUBTRACT:
case HEX:
case IFNULL:
case INET6_ATON:
case INET6_NTOA:
case INET_ATON:
case INET_NTOA:
case INSTR:
case INTERIORRINGN:
case INTERSECTS:
case ISCLOSED:
case ISEMPTY:
case ISNULL:
case ISSIMPLE:
case IS_FREE_LOCK:
case IS_IPV4:
case IS_IPV4_COMPAT:
case IS_IPV4_MAPPED:
case IS_IPV6:
case IS_USED_LOCK:
case LAST_INSERT_ID:
case LCASE:
case LEAST:
case LENGTH:
case LINEFROMTEXT:
case LINEFROMWKB:
case LINESTRINGFROMTEXT:
case LINESTRINGFROMWKB:
case LN:
case LOAD_FILE:
case LOCATE:
case LOG:
case LOG10:
case LOG2:
case LOWER:
case LPAD:
case LTRIM:
case MAKEDATE:
case MAKETIME:
case MAKE_SET:
case MASTER_POS_WAIT:
case MBRCONTAINS:
case MBRDISJOINT:
case MBREQUAL:
case MBRINTERSECTS:
case MBROVERLAPS:
case MBRTOUCHES:
case MBRWITHIN:
case MD5:
case MLINEFROMTEXT:
case MLINEFROMWKB:
case MONTHNAME:
case MPOINTFROMTEXT:
case MPOINTFROMWKB:
case MPOLYFROMTEXT:
case MPOLYFROMWKB:
case MULTILINESTRINGFROMTEXT:
case MULTILINESTRINGFROMWKB:
case MULTIPOINTFROMTEXT:
case MULTIPOINTFROMWKB:
case MULTIPOLYGONFROMTEXT:
case MULTIPOLYGONFROMWKB:
case NAME_CONST:
case NULLIF:
case NUMGEOMETRIES:
case NUMINTERIORRINGS:
case NUMPOINTS:
case OCT:
case OCTET_LENGTH:
case ORD:
case OVERLAPS:
case PERIOD_ADD:
case PERIOD_DIFF:
case PI:
case POINTFROMTEXT:
case POINTFROMWKB:
case POINTN:
case POLYFROMTEXT:
case POLYFROMWKB:
case POLYGONFROMTEXT:
case POLYGONFROMWKB:
case POW:
case POWER:
case QUOTE:
case RADIANS:
case RAND:
case RANDOM:
case RANDOM_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
case SENSITIVE_VARIABLES_OBSERVER:
case SESSION_USER:
case SHA:
case SHA1:
case SHA2:
case SCHEMA_NAME:
case SIGN:
case SIN:
case SLEEP:
case SOUNDEX:
case SQL_THREAD_WAIT_AFTER_GTIDS:
case SQRT:
case SRID:
case STARTPOINT:
case STRCMP:
case STR_TO_DATE:
case ST_AREA:
case ST_ASBINARY:
case ST_ASTEXT:
case ST_ASWKB:
case ST_ASWKT:
case ST_BUFFER:
case ST_CENTROID:
case ST_CONTAINS:
case ST_CROSSES:
case ST_DIFFERENCE:
case ST_DIMENSION:
case ST_DISJOINT:
case ST_DISTANCE:
case ST_ENDPOINT:
case ST_ENVELOPE:
case ST_EQUALS:
case ST_EXTERIORRING:
case ST_GEOMCOLLFROMTEXT:
case ST_GEOMCOLLFROMTXT:
case ST_GEOMCOLLFROMWKB:
case ST_GEOMETRYCOLLECTIONFROMTEXT:
case ST_GEOMETRYCOLLECTIONFROMWKB:
case ST_GEOMETRYFROMTEXT:
case ST_GEOMETRYFROMWKB:
case ST_GEOMETRYN:
case ST_GEOMETRYTYPE:
case ST_GEOMFROMTEXT:
case ST_GEOMFROMWKB:
case ST_INTERIORRINGN:
case ST_INTERSECTION:
case ST_INTERSECTS:
case ST_ISCLOSED:
case ST_ISEMPTY:
case ST_ISSIMPLE:
case ST_LINEFROMTEXT:
case ST_LINEFROMWKB:
case ST_LINESTRINGFROMTEXT:
case ST_LINESTRINGFROMWKB:
case ST_NUMGEOMETRIES:
case ST_NUMINTERIORRING:
case ST_NUMINTERIORRINGS:
case ST_NUMPOINTS:
case ST_OVERLAPS:
case ST_POINTFROMTEXT:
case ST_POINTFROMWKB:
case ST_POINTN:
case ST_POLYFROMTEXT:
case ST_POLYFROMWKB:
case ST_POLYGONFROMTEXT:
case ST_POLYGONFROMWKB:
case ST_SRID:
case ST_STARTPOINT:
case ST_SYMDIFFERENCE:
case ST_TOUCHES:
case ST_UNION:
case ST_WITHIN:
case ST_X:
case ST_Y:
case SUBDATE:
case SUBSTRING_INDEX:
case SUBTIME:
case SYSTEM_USER:
case SYSTEM:
case TAN:
case TELEMETRY_LOG_ADMIN:
case TIMEDIFF:
case TIMESTAMPADD:
case TIMESTAMPDIFF:
case TIME_FORMAT:
case TIME_TO_SEC:
case TOUCHES:
case TO_BASE64:
case TO_DAYS:
case TO_SECONDS:
case TP_CONNECTION_ADMIN:
case UCASE:
case UNCOMPRESS:
case UNCOMPRESSED_LENGTH:
case UNHEX:
case UNIX_TIMESTAMP:
case UPDATEXML:
case UPPER:
case UUID:
case UUID_SHORT:
case VALIDATE_PASSWORD_STRENGTH:
case VERSION:
case VERSIONING:
case WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS:
case WEEKDAY:
case WEEKOFYEAR:
case WEIGHT_STRING:
case WITHIN:
case YEARWEEK:
case Y_FUNCTION:
case X_FUNCTION:
case VIA:
case LASTVAL:
case NEXTVAL:
case SETVAL:
case PREVIOUS:
case PERSISTENT:
case BINLOG_MONITOR:
case BINLOG_REPLAY:
case FEDERATED_ADMIN:
case READ_ONLY_ADMIN:
case REPLICA:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
{
setState(3212);
uidList();
}
break;
case ALL:
{
setState(3213);
match(ALL);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case REMOVE:
_localctx = new AlterByRemovePartitioningContext(_localctx);
enterOuterAlt(_localctx, 14);
{
setState(3216);
match(REMOVE);
setState(3217);
match(PARTITIONING);
}
break;
case UPGRADE:
_localctx = new AlterByUpgradePartitioningContext(_localctx);
enterOuterAlt(_localctx, 15);
{
setState(3218);
match(UPGRADE);
setState(3219);
match(PARTITIONING);
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DropDatabaseContext extends ParserRuleContext {
public Token dbFormat;
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode DATABASE() { return getToken(MySqlParser.DATABASE, 0); }
public TerminalNode SCHEMA() { return getToken(MySqlParser.SCHEMA, 0); }
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public DropDatabaseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dropDatabase; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterDropDatabase(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitDropDatabase(this);
}
}
public final DropDatabaseContext dropDatabase() throws RecognitionException {
DropDatabaseContext _localctx = new DropDatabaseContext(_ctx, getState());
enterRule(_localctx, 164, RULE_dropDatabase);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3222);
match(DROP);
setState(3223);
((DropDatabaseContext)_localctx).dbFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DATABASE || _la==SCHEMA) ) {
((DropDatabaseContext)_localctx).dbFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(3225);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,431,_ctx) ) {
case 1:
{
setState(3224);
ifExists();
}
break;
}
setState(3227);
uid();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DropEventContext extends ParserRuleContext {
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public TerminalNode EVENT() { return getToken(MySqlParser.EVENT, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public DropEventContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dropEvent; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterDropEvent(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitDropEvent(this);
}
}
public final DropEventContext dropEvent() throws RecognitionException {
DropEventContext _localctx = new DropEventContext(_ctx, getState());
enterRule(_localctx, 166, RULE_dropEvent);
try {
enterOuterAlt(_localctx, 1);
{
setState(3229);
match(DROP);
setState(3230);
match(EVENT);
setState(3232);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,432,_ctx) ) {
case 1:
{
setState(3231);
ifExists();
}
break;
}
setState(3234);
fullId();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DropIndexContext extends ParserRuleContext {
public Token intimeAction;
public Token algType;
public Token lockType;
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public TerminalNode INDEX() { return getToken(MySqlParser.INDEX, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode ON() { return getToken(MySqlParser.ON, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public List ALGORITHM() { return getTokens(MySqlParser.ALGORITHM); }
public TerminalNode ALGORITHM(int i) {
return getToken(MySqlParser.ALGORITHM, i);
}
public List LOCK() { return getTokens(MySqlParser.LOCK); }
public TerminalNode LOCK(int i) {
return getToken(MySqlParser.LOCK, i);
}
public WaitNowaitClauseContext waitNowaitClause() {
return getRuleContext(WaitNowaitClauseContext.class,0);
}
public TerminalNode ONLINE() { return getToken(MySqlParser.ONLINE, 0); }
public TerminalNode OFFLINE() { return getToken(MySqlParser.OFFLINE, 0); }
public List DEFAULT() { return getTokens(MySqlParser.DEFAULT); }
public TerminalNode DEFAULT(int i) {
return getToken(MySqlParser.DEFAULT, i);
}
public List INPLACE() { return getTokens(MySqlParser.INPLACE); }
public TerminalNode INPLACE(int i) {
return getToken(MySqlParser.INPLACE, i);
}
public List COPY() { return getTokens(MySqlParser.COPY); }
public TerminalNode COPY(int i) {
return getToken(MySqlParser.COPY, i);
}
public List NONE() { return getTokens(MySqlParser.NONE); }
public TerminalNode NONE(int i) {
return getToken(MySqlParser.NONE, i);
}
public List SHARED() { return getTokens(MySqlParser.SHARED); }
public TerminalNode SHARED(int i) {
return getToken(MySqlParser.SHARED, i);
}
public List EXCLUSIVE() { return getTokens(MySqlParser.EXCLUSIVE); }
public TerminalNode EXCLUSIVE(int i) {
return getToken(MySqlParser.EXCLUSIVE, i);
}
public List EQUAL_SYMBOL() { return getTokens(MySqlParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(MySqlParser.EQUAL_SYMBOL, i);
}
public DropIndexContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dropIndex; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterDropIndex(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitDropIndex(this);
}
}
public final DropIndexContext dropIndex() throws RecognitionException {
DropIndexContext _localctx = new DropIndexContext(_ctx, getState());
enterRule(_localctx, 168, RULE_dropIndex);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(3236);
match(DROP);
setState(3237);
match(INDEX);
setState(3239);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,433,_ctx) ) {
case 1:
{
setState(3238);
ifExists();
}
break;
}
setState(3242);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,434,_ctx) ) {
case 1:
{
setState(3241);
((DropIndexContext)_localctx).intimeAction = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==OFFLINE || _la==ONLINE) ) {
((DropIndexContext)_localctx).intimeAction = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
setState(3244);
uid();
setState(3245);
match(ON);
setState(3246);
tableName();
setState(3259);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,438,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
setState(3257);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ALGORITHM:
{
setState(3247);
match(ALGORITHM);
setState(3249);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(3248);
match(EQUAL_SYMBOL);
}
}
setState(3251);
((DropIndexContext)_localctx).algType = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DEFAULT || _la==COPY || _la==INPLACE) ) {
((DropIndexContext)_localctx).algType = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case LOCK:
{
setState(3252);
match(LOCK);
setState(3254);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(3253);
match(EQUAL_SYMBOL);
}
}
setState(3256);
((DropIndexContext)_localctx).lockType = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DEFAULT || _la==EXCLUSIVE || _la==NONE || _la==SHARED) ) {
((DropIndexContext)_localctx).lockType = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
default:
throw new NoViableAltException(this);
}
}
}
setState(3261);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,438,_ctx);
}
setState(3263);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOWAIT || _la==WAIT) {
{
setState(3262);
waitNowaitClause();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DropLogfileGroupContext extends ParserRuleContext {
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public TerminalNode LOGFILE() { return getToken(MySqlParser.LOGFILE, 0); }
public TerminalNode GROUP() { return getToken(MySqlParser.GROUP, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode ENGINE() { return getToken(MySqlParser.ENGINE, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public DropLogfileGroupContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dropLogfileGroup; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterDropLogfileGroup(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitDropLogfileGroup(this);
}
}
public final DropLogfileGroupContext dropLogfileGroup() throws RecognitionException {
DropLogfileGroupContext _localctx = new DropLogfileGroupContext(_ctx, getState());
enterRule(_localctx, 170, RULE_dropLogfileGroup);
try {
enterOuterAlt(_localctx, 1);
{
setState(3265);
match(DROP);
setState(3266);
match(LOGFILE);
setState(3267);
match(GROUP);
setState(3268);
uid();
setState(3269);
match(ENGINE);
setState(3270);
match(EQUAL_SYMBOL);
setState(3271);
engineName();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DropProcedureContext extends ParserRuleContext {
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public TerminalNode PROCEDURE() { return getToken(MySqlParser.PROCEDURE, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public DropProcedureContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dropProcedure; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterDropProcedure(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitDropProcedure(this);
}
}
public final DropProcedureContext dropProcedure() throws RecognitionException {
DropProcedureContext _localctx = new DropProcedureContext(_ctx, getState());
enterRule(_localctx, 172, RULE_dropProcedure);
try {
enterOuterAlt(_localctx, 1);
{
setState(3273);
match(DROP);
setState(3274);
match(PROCEDURE);
setState(3276);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,440,_ctx) ) {
case 1:
{
setState(3275);
ifExists();
}
break;
}
setState(3278);
fullId();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DropFunctionContext extends ParserRuleContext {
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public TerminalNode FUNCTION() { return getToken(MySqlParser.FUNCTION, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public DropFunctionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dropFunction; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterDropFunction(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitDropFunction(this);
}
}
public final DropFunctionContext dropFunction() throws RecognitionException {
DropFunctionContext _localctx = new DropFunctionContext(_ctx, getState());
enterRule(_localctx, 174, RULE_dropFunction);
try {
enterOuterAlt(_localctx, 1);
{
setState(3280);
match(DROP);
setState(3281);
match(FUNCTION);
setState(3283);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,441,_ctx) ) {
case 1:
{
setState(3282);
ifExists();
}
break;
}
setState(3285);
fullId();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DropServerContext extends ParserRuleContext {
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public TerminalNode SERVER() { return getToken(MySqlParser.SERVER, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public DropServerContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dropServer; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterDropServer(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitDropServer(this);
}
}
public final DropServerContext dropServer() throws RecognitionException {
DropServerContext _localctx = new DropServerContext(_ctx, getState());
enterRule(_localctx, 176, RULE_dropServer);
try {
enterOuterAlt(_localctx, 1);
{
setState(3287);
match(DROP);
setState(3288);
match(SERVER);
setState(3290);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,442,_ctx) ) {
case 1:
{
setState(3289);
ifExists();
}
break;
}
setState(3292);
uid();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DropTableContext extends ParserRuleContext {
public Token dropType;
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public TerminalNode TABLE() { return getToken(MySqlParser.TABLE, 0); }
public TablesContext tables() {
return getRuleContext(TablesContext.class,0);
}
public TerminalNode TEMPORARY() { return getToken(MySqlParser.TEMPORARY, 0); }
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public WaitNowaitClauseContext waitNowaitClause() {
return getRuleContext(WaitNowaitClauseContext.class,0);
}
public TerminalNode RESTRICT() { return getToken(MySqlParser.RESTRICT, 0); }
public TerminalNode CASCADE() { return getToken(MySqlParser.CASCADE, 0); }
public DropTableContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dropTable; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterDropTable(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitDropTable(this);
}
}
public final DropTableContext dropTable() throws RecognitionException {
DropTableContext _localctx = new DropTableContext(_ctx, getState());
enterRule(_localctx, 178, RULE_dropTable);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3294);
match(DROP);
setState(3296);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==TEMPORARY) {
{
setState(3295);
match(TEMPORARY);
}
}
setState(3298);
match(TABLE);
setState(3300);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,444,_ctx) ) {
case 1:
{
setState(3299);
ifExists();
}
break;
}
setState(3302);
tables();
setState(3304);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOWAIT || _la==WAIT) {
{
setState(3303);
waitNowaitClause();
}
}
setState(3307);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CASCADE || _la==RESTRICT) {
{
setState(3306);
((DropTableContext)_localctx).dropType = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==CASCADE || _la==RESTRICT) ) {
((DropTableContext)_localctx).dropType = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DropTablespaceContext extends ParserRuleContext {
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public TerminalNode TABLESPACE() { return getToken(MySqlParser.TABLESPACE, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode ENGINE() { return getToken(MySqlParser.ENGINE, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public DropTablespaceContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dropTablespace; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterDropTablespace(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitDropTablespace(this);
}
}
public final DropTablespaceContext dropTablespace() throws RecognitionException {
DropTablespaceContext _localctx = new DropTablespaceContext(_ctx, getState());
enterRule(_localctx, 180, RULE_dropTablespace);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3309);
match(DROP);
setState(3310);
match(TABLESPACE);
setState(3311);
uid();
setState(3317);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ENGINE) {
{
setState(3312);
match(ENGINE);
setState(3314);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(3313);
match(EQUAL_SYMBOL);
}
}
setState(3316);
engineName();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DropTriggerContext extends ParserRuleContext {
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public TerminalNode TRIGGER() { return getToken(MySqlParser.TRIGGER, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public DropTriggerContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dropTrigger; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterDropTrigger(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitDropTrigger(this);
}
}
public final DropTriggerContext dropTrigger() throws RecognitionException {
DropTriggerContext _localctx = new DropTriggerContext(_ctx, getState());
enterRule(_localctx, 182, RULE_dropTrigger);
try {
enterOuterAlt(_localctx, 1);
{
setState(3319);
match(DROP);
setState(3320);
match(TRIGGER);
setState(3322);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,449,_ctx) ) {
case 1:
{
setState(3321);
ifExists();
}
break;
}
setState(3324);
fullId();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DropViewContext extends ParserRuleContext {
public Token dropType;
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public TerminalNode VIEW() { return getToken(MySqlParser.VIEW, 0); }
public List fullId() {
return getRuleContexts(FullIdContext.class);
}
public FullIdContext fullId(int i) {
return getRuleContext(FullIdContext.class,i);
}
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public TerminalNode RESTRICT() { return getToken(MySqlParser.RESTRICT, 0); }
public TerminalNode CASCADE() { return getToken(MySqlParser.CASCADE, 0); }
public DropViewContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dropView; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterDropView(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitDropView(this);
}
}
public final DropViewContext dropView() throws RecognitionException {
DropViewContext _localctx = new DropViewContext(_ctx, getState());
enterRule(_localctx, 184, RULE_dropView);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3326);
match(DROP);
setState(3327);
match(VIEW);
setState(3329);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,450,_ctx) ) {
case 1:
{
setState(3328);
ifExists();
}
break;
}
setState(3331);
fullId();
setState(3336);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3332);
match(COMMA);
setState(3333);
fullId();
}
}
setState(3338);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(3340);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CASCADE || _la==RESTRICT) {
{
setState(3339);
((DropViewContext)_localctx).dropType = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==CASCADE || _la==RESTRICT) ) {
((DropViewContext)_localctx).dropType = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DropRoleContext extends ParserRuleContext {
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public TerminalNode ROLE() { return getToken(MySqlParser.ROLE, 0); }
public List roleName() {
return getRuleContexts(RoleNameContext.class);
}
public RoleNameContext roleName(int i) {
return getRuleContext(RoleNameContext.class,i);
}
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public DropRoleContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dropRole; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterDropRole(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitDropRole(this);
}
}
public final DropRoleContext dropRole() throws RecognitionException {
DropRoleContext _localctx = new DropRoleContext(_ctx, getState());
enterRule(_localctx, 186, RULE_dropRole);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3342);
match(DROP);
setState(3343);
match(ROLE);
setState(3345);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,453,_ctx) ) {
case 1:
{
setState(3344);
ifExists();
}
break;
}
setState(3347);
roleName();
setState(3352);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3348);
match(COMMA);
setState(3349);
roleName();
}
}
setState(3354);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SetRoleContext extends ParserRuleContext {
public TerminalNode SET() { return getToken(MySqlParser.SET, 0); }
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public TerminalNode ROLE() { return getToken(MySqlParser.ROLE, 0); }
public TerminalNode TO() { return getToken(MySqlParser.TO, 0); }
public TerminalNode NONE() { return getToken(MySqlParser.NONE, 0); }
public TerminalNode ALL() { return getToken(MySqlParser.ALL, 0); }
public List roleName() {
return getRuleContexts(RoleNameContext.class);
}
public RoleNameContext roleName(int i) {
return getRuleContext(RoleNameContext.class,i);
}
public List userName() {
return getRuleContexts(UserNameContext.class);
}
public UserNameContext userName(int i) {
return getRuleContext(UserNameContext.class,i);
}
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public RoleOptionContext roleOption() {
return getRuleContext(RoleOptionContext.class,0);
}
public SetRoleContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_setRole; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSetRole(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSetRole(this);
}
}
public final SetRoleContext setRole() throws RecognitionException {
SetRoleContext _localctx = new SetRoleContext(_ctx, getState());
enterRule(_localctx, 188, RULE_setRole);
int _la;
try {
setState(3388);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,460,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(3355);
match(SET);
setState(3356);
match(DEFAULT);
setState(3357);
match(ROLE);
setState(3368);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,456,_ctx) ) {
case 1:
{
setState(3358);
match(NONE);
}
break;
case 2:
{
setState(3359);
match(ALL);
}
break;
case 3:
{
setState(3360);
roleName();
setState(3365);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3361);
match(COMMA);
setState(3362);
roleName();
}
}
setState(3367);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
}
setState(3370);
match(TO);
setState(3373);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,457,_ctx) ) {
case 1:
{
setState(3371);
userName();
}
break;
case 2:
{
setState(3372);
uid();
}
break;
}
setState(3382);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3375);
match(COMMA);
setState(3378);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,458,_ctx) ) {
case 1:
{
setState(3376);
userName();
}
break;
case 2:
{
setState(3377);
uid();
}
break;
}
}
}
setState(3384);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(3385);
match(SET);
setState(3386);
match(ROLE);
setState(3387);
roleOption();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DropSequenceContext extends ParserRuleContext {
public TerminalNode DROP() { return getToken(MySqlParser.DROP, 0); }
public TerminalNode SEQUENCE() { return getToken(MySqlParser.SEQUENCE, 0); }
public List fullId() {
return getRuleContexts(FullIdContext.class);
}
public FullIdContext fullId(int i) {
return getRuleContext(FullIdContext.class,i);
}
public TerminalNode TEMPORARY() { return getToken(MySqlParser.TEMPORARY, 0); }
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public TerminalNode COMMENT_INPUT() { return getToken(MySqlParser.COMMENT_INPUT, 0); }
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public DropSequenceContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dropSequence; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterDropSequence(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitDropSequence(this);
}
}
public final DropSequenceContext dropSequence() throws RecognitionException {
DropSequenceContext _localctx = new DropSequenceContext(_ctx, getState());
enterRule(_localctx, 190, RULE_dropSequence);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3390);
match(DROP);
setState(3392);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==TEMPORARY) {
{
setState(3391);
match(TEMPORARY);
}
}
setState(3394);
match(SEQUENCE);
setState(3396);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,462,_ctx) ) {
case 1:
{
setState(3395);
ifExists();
}
break;
}
setState(3399);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMENT_INPUT) {
{
setState(3398);
match(COMMENT_INPUT);
}
}
setState(3401);
fullId();
setState(3406);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3402);
match(COMMA);
setState(3403);
fullId();
}
}
setState(3408);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class RenameTableContext extends ParserRuleContext {
public TerminalNode RENAME() { return getToken(MySqlParser.RENAME, 0); }
public TerminalNode TABLE() { return getToken(MySqlParser.TABLE, 0); }
public List renameTableClause() {
return getRuleContexts(RenameTableClauseContext.class);
}
public RenameTableClauseContext renameTableClause(int i) {
return getRuleContext(RenameTableClauseContext.class,i);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public RenameTableContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_renameTable; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterRenameTable(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitRenameTable(this);
}
}
public final RenameTableContext renameTable() throws RecognitionException {
RenameTableContext _localctx = new RenameTableContext(_ctx, getState());
enterRule(_localctx, 192, RULE_renameTable);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3409);
match(RENAME);
setState(3410);
match(TABLE);
setState(3411);
renameTableClause();
setState(3416);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3412);
match(COMMA);
setState(3413);
renameTableClause();
}
}
setState(3418);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class RenameTableClauseContext extends ParserRuleContext {
public List tableName() {
return getRuleContexts(TableNameContext.class);
}
public TableNameContext tableName(int i) {
return getRuleContext(TableNameContext.class,i);
}
public TerminalNode TO() { return getToken(MySqlParser.TO, 0); }
public WaitNowaitClauseContext waitNowaitClause() {
return getRuleContext(WaitNowaitClauseContext.class,0);
}
public RenameTableClauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_renameTableClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterRenameTableClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitRenameTableClause(this);
}
}
public final RenameTableClauseContext renameTableClause() throws RecognitionException {
RenameTableClauseContext _localctx = new RenameTableClauseContext(_ctx, getState());
enterRule(_localctx, 194, RULE_renameTableClause);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3419);
tableName();
setState(3421);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOWAIT || _la==WAIT) {
{
setState(3420);
waitNowaitClause();
}
}
setState(3423);
match(TO);
setState(3424);
tableName();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TruncateTableContext extends ParserRuleContext {
public TerminalNode TRUNCATE() { return getToken(MySqlParser.TRUNCATE, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode TABLE() { return getToken(MySqlParser.TABLE, 0); }
public WaitNowaitClauseContext waitNowaitClause() {
return getRuleContext(WaitNowaitClauseContext.class,0);
}
public TruncateTableContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_truncateTable; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTruncateTable(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTruncateTable(this);
}
}
public final TruncateTableContext truncateTable() throws RecognitionException {
TruncateTableContext _localctx = new TruncateTableContext(_ctx, getState());
enterRule(_localctx, 196, RULE_truncateTable);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3426);
match(TRUNCATE);
setState(3428);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==TABLE) {
{
setState(3427);
match(TABLE);
}
}
setState(3430);
tableName();
setState(3432);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOWAIT || _la==WAIT) {
{
setState(3431);
waitNowaitClause();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CallStatementContext extends ParserRuleContext {
public TerminalNode CALL() { return getToken(MySqlParser.CALL, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public ConstantsContext constants() {
return getRuleContext(ConstantsContext.class,0);
}
public ExpressionsContext expressions() {
return getRuleContext(ExpressionsContext.class,0);
}
public CallStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_callStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterCallStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitCallStatement(this);
}
}
public final CallStatementContext callStatement() throws RecognitionException {
CallStatementContext _localctx = new CallStatementContext(_ctx, getState());
enterRule(_localctx, 198, RULE_callStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(3434);
match(CALL);
setState(3435);
fullId();
setState(3442);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,470,_ctx) ) {
case 1:
{
setState(3436);
match(LR_BRACKET);
setState(3439);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,469,_ctx) ) {
case 1:
{
setState(3437);
constants();
}
break;
case 2:
{
setState(3438);
expressions();
}
break;
}
setState(3441);
match(RR_BRACKET);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DeleteStatementContext extends ParserRuleContext {
public SingleDeleteStatementContext singleDeleteStatement() {
return getRuleContext(SingleDeleteStatementContext.class,0);
}
public MultipleDeleteStatementContext multipleDeleteStatement() {
return getRuleContext(MultipleDeleteStatementContext.class,0);
}
public DeleteStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_deleteStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterDeleteStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitDeleteStatement(this);
}
}
public final DeleteStatementContext deleteStatement() throws RecognitionException {
DeleteStatementContext _localctx = new DeleteStatementContext(_ctx, getState());
enterRule(_localctx, 200, RULE_deleteStatement);
try {
setState(3446);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,471,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(3444);
singleDeleteStatement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(3445);
multipleDeleteStatement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DoStatementContext extends ParserRuleContext {
public TerminalNode DO() { return getToken(MySqlParser.DO, 0); }
public ExpressionsContext expressions() {
return getRuleContext(ExpressionsContext.class,0);
}
public DoStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_doStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterDoStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitDoStatement(this);
}
}
public final DoStatementContext doStatement() throws RecognitionException {
DoStatementContext _localctx = new DoStatementContext(_ctx, getState());
enterRule(_localctx, 202, RULE_doStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(3448);
match(DO);
setState(3449);
expressions();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class HandlerStatementContext extends ParserRuleContext {
public HandlerOpenStatementContext handlerOpenStatement() {
return getRuleContext(HandlerOpenStatementContext.class,0);
}
public HandlerReadIndexStatementContext handlerReadIndexStatement() {
return getRuleContext(HandlerReadIndexStatementContext.class,0);
}
public HandlerReadStatementContext handlerReadStatement() {
return getRuleContext(HandlerReadStatementContext.class,0);
}
public HandlerCloseStatementContext handlerCloseStatement() {
return getRuleContext(HandlerCloseStatementContext.class,0);
}
public HandlerStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_handlerStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterHandlerStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitHandlerStatement(this);
}
}
public final HandlerStatementContext handlerStatement() throws RecognitionException {
HandlerStatementContext _localctx = new HandlerStatementContext(_ctx, getState());
enterRule(_localctx, 204, RULE_handlerStatement);
try {
setState(3455);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,472,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(3451);
handlerOpenStatement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(3452);
handlerReadIndexStatement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(3453);
handlerReadStatement();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(3454);
handlerCloseStatement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class InsertStatementContext extends ParserRuleContext {
public Token priority;
public UidListContext partitions;
public FullColumnNameListContext columns;
public UpdatedElementContext setFirst;
public UpdatedElementContext updatedElement;
public List setElements = new ArrayList();
public UpdatedElementContext duplicatedFirst;
public List duplicatedElements = new ArrayList();
public TerminalNode INSERT() { return getToken(MySqlParser.INSERT, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public InsertStatementValueContext insertStatementValue() {
return getRuleContext(InsertStatementValueContext.class,0);
}
public TerminalNode SET() { return getToken(MySqlParser.SET, 0); }
public TerminalNode IGNORE() { return getToken(MySqlParser.IGNORE, 0); }
public TerminalNode INTO() { return getToken(MySqlParser.INTO, 0); }
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public List LR_BRACKET() { return getTokens(MySqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MySqlParser.LR_BRACKET, i);
}
public List RR_BRACKET() { return getTokens(MySqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MySqlParser.RR_BRACKET, i);
}
public List updatedElement() {
return getRuleContexts(UpdatedElementContext.class);
}
public UpdatedElementContext updatedElement(int i) {
return getRuleContext(UpdatedElementContext.class,i);
}
public TerminalNode ON() { return getToken(MySqlParser.ON, 0); }
public TerminalNode DUPLICATE() { return getToken(MySqlParser.DUPLICATE, 0); }
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public TerminalNode UPDATE() { return getToken(MySqlParser.UPDATE, 0); }
public TerminalNode LOW_PRIORITY() { return getToken(MySqlParser.LOW_PRIORITY, 0); }
public TerminalNode DELAYED() { return getToken(MySqlParser.DELAYED, 0); }
public TerminalNode HIGH_PRIORITY() { return getToken(MySqlParser.HIGH_PRIORITY, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode AS() { return getToken(MySqlParser.AS, 0); }
public FullColumnNameListContext fullColumnNameList() {
return getRuleContext(FullColumnNameListContext.class,0);
}
public InsertStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_insertStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterInsertStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitInsertStatement(this);
}
}
public final InsertStatementContext insertStatement() throws RecognitionException {
InsertStatementContext _localctx = new InsertStatementContext(_ctx, getState());
enterRule(_localctx, 206, RULE_insertStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3457);
match(INSERT);
setState(3459);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DELAYED || _la==HIGH_PRIORITY || _la==LOW_PRIORITY) {
{
setState(3458);
((InsertStatementContext)_localctx).priority = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DELAYED || _la==HIGH_PRIORITY || _la==LOW_PRIORITY) ) {
((InsertStatementContext)_localctx).priority = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3462);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE) {
{
setState(3461);
match(IGNORE);
}
}
setState(3465);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INTO) {
{
setState(3464);
match(INTO);
}
}
setState(3467);
tableName();
setState(3474);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITION) {
{
setState(3468);
match(PARTITION);
setState(3469);
match(LR_BRACKET);
setState(3471);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(3470);
((InsertStatementContext)_localctx).partitions = uidList();
}
}
setState(3473);
match(RR_BRACKET);
}
}
setState(3499);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SELECT:
case VALUES:
case VALUE:
case LR_BRACKET:
{
setState(3481);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,479,_ctx) ) {
case 1:
{
setState(3476);
match(LR_BRACKET);
setState(3478);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,478,_ctx) ) {
case 1:
{
setState(3477);
((InsertStatementContext)_localctx).columns = fullColumnNameList();
}
break;
}
setState(3480);
match(RR_BRACKET);
}
break;
}
setState(3483);
insertStatementValue();
setState(3488);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,481,_ctx) ) {
case 1:
{
setState(3485);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(3484);
match(AS);
}
}
setState(3487);
uid();
}
break;
}
}
break;
case SET:
{
setState(3490);
match(SET);
setState(3491);
((InsertStatementContext)_localctx).setFirst = updatedElement();
setState(3496);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3492);
match(COMMA);
setState(3493);
((InsertStatementContext)_localctx).updatedElement = updatedElement();
((InsertStatementContext)_localctx).setElements.add(((InsertStatementContext)_localctx).updatedElement);
}
}
setState(3498);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(3513);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ON) {
{
setState(3501);
match(ON);
setState(3502);
match(DUPLICATE);
setState(3503);
match(KEY);
setState(3504);
match(UPDATE);
setState(3505);
((InsertStatementContext)_localctx).duplicatedFirst = updatedElement();
setState(3510);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3506);
match(COMMA);
setState(3507);
((InsertStatementContext)_localctx).updatedElement = updatedElement();
((InsertStatementContext)_localctx).duplicatedElements.add(((InsertStatementContext)_localctx).updatedElement);
}
}
setState(3512);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class LoadDataStatementContext extends ParserRuleContext {
public Token priority;
public Token filename;
public Token violation;
public CharsetNameContext charset;
public Token fieldsFormat;
public Token linesFormat;
public TerminalNode LOAD() { return getToken(MySqlParser.LOAD, 0); }
public TerminalNode DATA() { return getToken(MySqlParser.DATA, 0); }
public TerminalNode INFILE() { return getToken(MySqlParser.INFILE, 0); }
public TerminalNode INTO() { return getToken(MySqlParser.INTO, 0); }
public TerminalNode TABLE() { return getToken(MySqlParser.TABLE, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode LOCAL() { return getToken(MySqlParser.LOCAL, 0); }
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public List LR_BRACKET() { return getTokens(MySqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MySqlParser.LR_BRACKET, i);
}
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public List RR_BRACKET() { return getTokens(MySqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MySqlParser.RR_BRACKET, i);
}
public TerminalNode CHARACTER() { return getToken(MySqlParser.CHARACTER, 0); }
public List SET() { return getTokens(MySqlParser.SET); }
public TerminalNode SET(int i) {
return getToken(MySqlParser.SET, i);
}
public List LINES() { return getTokens(MySqlParser.LINES); }
public TerminalNode LINES(int i) {
return getToken(MySqlParser.LINES, i);
}
public List IGNORE() { return getTokens(MySqlParser.IGNORE); }
public TerminalNode IGNORE(int i) {
return getToken(MySqlParser.IGNORE, i);
}
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public List assignmentField() {
return getRuleContexts(AssignmentFieldContext.class);
}
public AssignmentFieldContext assignmentField(int i) {
return getRuleContext(AssignmentFieldContext.class,i);
}
public List updatedElement() {
return getRuleContexts(UpdatedElementContext.class);
}
public UpdatedElementContext updatedElement(int i) {
return getRuleContext(UpdatedElementContext.class,i);
}
public CharsetNameContext charsetName() {
return getRuleContext(CharsetNameContext.class,0);
}
public TerminalNode LOW_PRIORITY() { return getToken(MySqlParser.LOW_PRIORITY, 0); }
public TerminalNode CONCURRENT() { return getToken(MySqlParser.CONCURRENT, 0); }
public TerminalNode REPLACE() { return getToken(MySqlParser.REPLACE, 0); }
public TerminalNode FIELDS() { return getToken(MySqlParser.FIELDS, 0); }
public TerminalNode COLUMNS() { return getToken(MySqlParser.COLUMNS, 0); }
public TerminalNode ROWS() { return getToken(MySqlParser.ROWS, 0); }
public List selectFieldsInto() {
return getRuleContexts(SelectFieldsIntoContext.class);
}
public SelectFieldsIntoContext selectFieldsInto(int i) {
return getRuleContext(SelectFieldsIntoContext.class,i);
}
public List selectLinesInto() {
return getRuleContexts(SelectLinesIntoContext.class);
}
public SelectLinesIntoContext selectLinesInto(int i) {
return getRuleContext(SelectLinesIntoContext.class,i);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public LoadDataStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_loadDataStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterLoadDataStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitLoadDataStatement(this);
}
}
public final LoadDataStatementContext loadDataStatement() throws RecognitionException {
LoadDataStatementContext _localctx = new LoadDataStatementContext(_ctx, getState());
enterRule(_localctx, 208, RULE_loadDataStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3515);
match(LOAD);
setState(3516);
match(DATA);
setState(3518);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LOW_PRIORITY || _la==CONCURRENT) {
{
setState(3517);
((LoadDataStatementContext)_localctx).priority = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==LOW_PRIORITY || _la==CONCURRENT) ) {
((LoadDataStatementContext)_localctx).priority = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3521);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LOCAL) {
{
setState(3520);
match(LOCAL);
}
}
setState(3523);
match(INFILE);
setState(3524);
((LoadDataStatementContext)_localctx).filename = match(STRING_LITERAL);
setState(3526);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE || _la==REPLACE) {
{
setState(3525);
((LoadDataStatementContext)_localctx).violation = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==IGNORE || _la==REPLACE) ) {
((LoadDataStatementContext)_localctx).violation = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3528);
match(INTO);
setState(3529);
match(TABLE);
setState(3530);
tableName();
setState(3536);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITION) {
{
setState(3531);
match(PARTITION);
setState(3532);
match(LR_BRACKET);
setState(3533);
uidList();
setState(3534);
match(RR_BRACKET);
}
}
setState(3541);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CHARACTER) {
{
setState(3538);
match(CHARACTER);
setState(3539);
match(SET);
setState(3540);
((LoadDataStatementContext)_localctx).charset = charsetName();
}
}
setState(3549);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLUMNS || _la==FIELDS) {
{
setState(3543);
((LoadDataStatementContext)_localctx).fieldsFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==COLUMNS || _la==FIELDS) ) {
((LoadDataStatementContext)_localctx).fieldsFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(3545);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(3544);
selectFieldsInto();
}
}
setState(3547);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==ENCLOSED || _la==ESCAPED || _la==OPTIONALLY || _la==TERMINATED );
}
}
setState(3557);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LINES) {
{
setState(3551);
match(LINES);
setState(3553);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(3552);
selectLinesInto();
}
}
setState(3555);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==STARTING || _la==TERMINATED );
}
}
setState(3563);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE) {
{
setState(3559);
match(IGNORE);
setState(3560);
decimalLiteral();
setState(3561);
((LoadDataStatementContext)_localctx).linesFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==LINES || _la==ROWS) ) {
((LoadDataStatementContext)_localctx).linesFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3576);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,497,_ctx) ) {
case 1:
{
setState(3565);
match(LR_BRACKET);
setState(3566);
assignmentField();
setState(3571);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3567);
match(COMMA);
setState(3568);
assignmentField();
}
}
setState(3573);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(3574);
match(RR_BRACKET);
}
break;
}
setState(3587);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,499,_ctx) ) {
case 1:
{
setState(3578);
match(SET);
setState(3579);
updatedElement();
setState(3584);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3580);
match(COMMA);
setState(3581);
updatedElement();
}
}
setState(3586);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class LoadXmlStatementContext extends ParserRuleContext {
public Token priority;
public Token filename;
public Token violation;
public CharsetNameContext charset;
public Token tag;
public Token linesFormat;
public TerminalNode LOAD() { return getToken(MySqlParser.LOAD, 0); }
public TerminalNode XML() { return getToken(MySqlParser.XML, 0); }
public TerminalNode INFILE() { return getToken(MySqlParser.INFILE, 0); }
public TerminalNode INTO() { return getToken(MySqlParser.INTO, 0); }
public TerminalNode TABLE() { return getToken(MySqlParser.TABLE, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public List STRING_LITERAL() { return getTokens(MySqlParser.STRING_LITERAL); }
public TerminalNode STRING_LITERAL(int i) {
return getToken(MySqlParser.STRING_LITERAL, i);
}
public TerminalNode LOCAL() { return getToken(MySqlParser.LOCAL, 0); }
public TerminalNode CHARACTER() { return getToken(MySqlParser.CHARACTER, 0); }
public List SET() { return getTokens(MySqlParser.SET); }
public TerminalNode SET(int i) {
return getToken(MySqlParser.SET, i);
}
public List ROWS() { return getTokens(MySqlParser.ROWS); }
public TerminalNode ROWS(int i) {
return getToken(MySqlParser.ROWS, i);
}
public TerminalNode IDENTIFIED() { return getToken(MySqlParser.IDENTIFIED, 0); }
public TerminalNode BY() { return getToken(MySqlParser.BY, 0); }
public TerminalNode LESS_SYMBOL() { return getToken(MySqlParser.LESS_SYMBOL, 0); }
public TerminalNode GREATER_SYMBOL() { return getToken(MySqlParser.GREATER_SYMBOL, 0); }
public List IGNORE() { return getTokens(MySqlParser.IGNORE); }
public TerminalNode IGNORE(int i) {
return getToken(MySqlParser.IGNORE, i);
}
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public List assignmentField() {
return getRuleContexts(AssignmentFieldContext.class);
}
public AssignmentFieldContext assignmentField(int i) {
return getRuleContext(AssignmentFieldContext.class,i);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public List updatedElement() {
return getRuleContexts(UpdatedElementContext.class);
}
public UpdatedElementContext updatedElement(int i) {
return getRuleContext(UpdatedElementContext.class,i);
}
public CharsetNameContext charsetName() {
return getRuleContext(CharsetNameContext.class,0);
}
public TerminalNode LOW_PRIORITY() { return getToken(MySqlParser.LOW_PRIORITY, 0); }
public TerminalNode CONCURRENT() { return getToken(MySqlParser.CONCURRENT, 0); }
public TerminalNode REPLACE() { return getToken(MySqlParser.REPLACE, 0); }
public TerminalNode LINES() { return getToken(MySqlParser.LINES, 0); }
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public LoadXmlStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_loadXmlStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterLoadXmlStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitLoadXmlStatement(this);
}
}
public final LoadXmlStatementContext loadXmlStatement() throws RecognitionException {
LoadXmlStatementContext _localctx = new LoadXmlStatementContext(_ctx, getState());
enterRule(_localctx, 210, RULE_loadXmlStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3589);
match(LOAD);
setState(3590);
match(XML);
setState(3592);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LOW_PRIORITY || _la==CONCURRENT) {
{
setState(3591);
((LoadXmlStatementContext)_localctx).priority = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==LOW_PRIORITY || _la==CONCURRENT) ) {
((LoadXmlStatementContext)_localctx).priority = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3595);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LOCAL) {
{
setState(3594);
match(LOCAL);
}
}
setState(3597);
match(INFILE);
setState(3598);
((LoadXmlStatementContext)_localctx).filename = match(STRING_LITERAL);
setState(3600);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE || _la==REPLACE) {
{
setState(3599);
((LoadXmlStatementContext)_localctx).violation = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==IGNORE || _la==REPLACE) ) {
((LoadXmlStatementContext)_localctx).violation = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3602);
match(INTO);
setState(3603);
match(TABLE);
setState(3604);
tableName();
setState(3608);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CHARACTER) {
{
setState(3605);
match(CHARACTER);
setState(3606);
match(SET);
setState(3607);
((LoadXmlStatementContext)_localctx).charset = charsetName();
}
}
setState(3616);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ROWS) {
{
setState(3610);
match(ROWS);
setState(3611);
match(IDENTIFIED);
setState(3612);
match(BY);
setState(3613);
match(LESS_SYMBOL);
setState(3614);
((LoadXmlStatementContext)_localctx).tag = match(STRING_LITERAL);
setState(3615);
match(GREATER_SYMBOL);
}
}
setState(3622);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE) {
{
setState(3618);
match(IGNORE);
setState(3619);
decimalLiteral();
setState(3620);
((LoadXmlStatementContext)_localctx).linesFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==LINES || _la==ROWS) ) {
((LoadXmlStatementContext)_localctx).linesFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3635);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,507,_ctx) ) {
case 1:
{
setState(3624);
match(LR_BRACKET);
setState(3625);
assignmentField();
setState(3630);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3626);
match(COMMA);
setState(3627);
assignmentField();
}
}
setState(3632);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(3633);
match(RR_BRACKET);
}
break;
}
setState(3646);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,509,_ctx) ) {
case 1:
{
setState(3637);
match(SET);
setState(3638);
updatedElement();
setState(3643);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3639);
match(COMMA);
setState(3640);
updatedElement();
}
}
setState(3645);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ReplaceStatementContext extends ParserRuleContext {
public Token priority;
public UidListContext partitions;
public UidListContext columns;
public UpdatedElementContext setFirst;
public UpdatedElementContext updatedElement;
public List setElements = new ArrayList();
public TerminalNode REPLACE() { return getToken(MySqlParser.REPLACE, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public InsertStatementValueContext insertStatementValue() {
return getRuleContext(InsertStatementValueContext.class,0);
}
public TerminalNode SET() { return getToken(MySqlParser.SET, 0); }
public TerminalNode INTO() { return getToken(MySqlParser.INTO, 0); }
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public List LR_BRACKET() { return getTokens(MySqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MySqlParser.LR_BRACKET, i);
}
public List RR_BRACKET() { return getTokens(MySqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MySqlParser.RR_BRACKET, i);
}
public List updatedElement() {
return getRuleContexts(UpdatedElementContext.class);
}
public UpdatedElementContext updatedElement(int i) {
return getRuleContext(UpdatedElementContext.class,i);
}
public List uidList() {
return getRuleContexts(UidListContext.class);
}
public UidListContext uidList(int i) {
return getRuleContext(UidListContext.class,i);
}
public TerminalNode LOW_PRIORITY() { return getToken(MySqlParser.LOW_PRIORITY, 0); }
public TerminalNode DELAYED() { return getToken(MySqlParser.DELAYED, 0); }
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public ReplaceStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_replaceStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterReplaceStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitReplaceStatement(this);
}
}
public final ReplaceStatementContext replaceStatement() throws RecognitionException {
ReplaceStatementContext _localctx = new ReplaceStatementContext(_ctx, getState());
enterRule(_localctx, 212, RULE_replaceStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3648);
match(REPLACE);
setState(3650);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DELAYED || _la==LOW_PRIORITY) {
{
setState(3649);
((ReplaceStatementContext)_localctx).priority = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DELAYED || _la==LOW_PRIORITY) ) {
((ReplaceStatementContext)_localctx).priority = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3653);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INTO) {
{
setState(3652);
match(INTO);
}
}
setState(3655);
tableName();
setState(3661);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITION) {
{
setState(3656);
match(PARTITION);
setState(3657);
match(LR_BRACKET);
setState(3658);
((ReplaceStatementContext)_localctx).partitions = uidList();
setState(3659);
match(RR_BRACKET);
}
}
setState(3679);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SELECT:
case VALUES:
case VALUE:
case LR_BRACKET:
{
setState(3667);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,513,_ctx) ) {
case 1:
{
setState(3663);
match(LR_BRACKET);
setState(3664);
((ReplaceStatementContext)_localctx).columns = uidList();
setState(3665);
match(RR_BRACKET);
}
break;
}
setState(3669);
insertStatementValue();
}
break;
case SET:
{
setState(3670);
match(SET);
setState(3671);
((ReplaceStatementContext)_localctx).setFirst = updatedElement();
setState(3676);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3672);
match(COMMA);
setState(3673);
((ReplaceStatementContext)_localctx).updatedElement = updatedElement();
((ReplaceStatementContext)_localctx).setElements.add(((ReplaceStatementContext)_localctx).updatedElement);
}
}
setState(3678);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
default:
throw new NoViableAltException(this);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SelectStatementContext extends ParserRuleContext {
public SelectStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_selectStatement; }
public SelectStatementContext() { }
public void copyFrom(SelectStatementContext ctx) {
super.copyFrom(ctx);
}
}
public static class UnionSelectContext extends SelectStatementContext {
public Token unionType;
public QuerySpecificationNointoContext querySpecificationNointo() {
return getRuleContext(QuerySpecificationNointoContext.class,0);
}
public QueryExpressionNointoContext queryExpressionNointo() {
return getRuleContext(QueryExpressionNointoContext.class,0);
}
public List unionStatement() {
return getRuleContexts(UnionStatementContext.class);
}
public UnionStatementContext unionStatement(int i) {
return getRuleContext(UnionStatementContext.class,i);
}
public TerminalNode UNION() { return getToken(MySqlParser.UNION, 0); }
public OrderByClauseContext orderByClause() {
return getRuleContext(OrderByClauseContext.class,0);
}
public LimitClauseContext limitClause() {
return getRuleContext(LimitClauseContext.class,0);
}
public LockClauseContext lockClause() {
return getRuleContext(LockClauseContext.class,0);
}
public QuerySpecificationContext querySpecification() {
return getRuleContext(QuerySpecificationContext.class,0);
}
public QueryExpressionContext queryExpression() {
return getRuleContext(QueryExpressionContext.class,0);
}
public TerminalNode ALL() { return getToken(MySqlParser.ALL, 0); }
public TerminalNode DISTINCT() { return getToken(MySqlParser.DISTINCT, 0); }
public UnionSelectContext(SelectStatementContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterUnionSelect(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitUnionSelect(this);
}
}
public static class UnionParenthesisSelectContext extends SelectStatementContext {
public Token unionType;
public QueryExpressionNointoContext queryExpressionNointo() {
return getRuleContext(QueryExpressionNointoContext.class,0);
}
public List unionParenthesis() {
return getRuleContexts(UnionParenthesisContext.class);
}
public UnionParenthesisContext unionParenthesis(int i) {
return getRuleContext(UnionParenthesisContext.class,i);
}
public TerminalNode UNION() { return getToken(MySqlParser.UNION, 0); }
public QueryExpressionContext queryExpression() {
return getRuleContext(QueryExpressionContext.class,0);
}
public OrderByClauseContext orderByClause() {
return getRuleContext(OrderByClauseContext.class,0);
}
public LimitClauseContext limitClause() {
return getRuleContext(LimitClauseContext.class,0);
}
public LockClauseContext lockClause() {
return getRuleContext(LockClauseContext.class,0);
}
public TerminalNode ALL() { return getToken(MySqlParser.ALL, 0); }
public TerminalNode DISTINCT() { return getToken(MySqlParser.DISTINCT, 0); }
public UnionParenthesisSelectContext(SelectStatementContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterUnionParenthesisSelect(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitUnionParenthesisSelect(this);
}
}
public static class SimpleSelectContext extends SelectStatementContext {
public QuerySpecificationContext querySpecification() {
return getRuleContext(QuerySpecificationContext.class,0);
}
public LockClauseContext lockClause() {
return getRuleContext(LockClauseContext.class,0);
}
public SimpleSelectContext(SelectStatementContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSimpleSelect(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSimpleSelect(this);
}
}
public static class ParenthesisSelectContext extends SelectStatementContext {
public QueryExpressionContext queryExpression() {
return getRuleContext(QueryExpressionContext.class,0);
}
public LockClauseContext lockClause() {
return getRuleContext(LockClauseContext.class,0);
}
public ParenthesisSelectContext(SelectStatementContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterParenthesisSelect(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitParenthesisSelect(this);
}
}
public static class WithLateralStatementContext extends SelectStatementContext {
public QuerySpecificationNointoContext querySpecificationNointo() {
return getRuleContext(QuerySpecificationNointoContext.class,0);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public List lateralStatement() {
return getRuleContexts(LateralStatementContext.class);
}
public LateralStatementContext lateralStatement(int i) {
return getRuleContext(LateralStatementContext.class,i);
}
public WithLateralStatementContext(SelectStatementContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterWithLateralStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitWithLateralStatement(this);
}
}
public final SelectStatementContext selectStatement() throws RecognitionException {
SelectStatementContext _localctx = new SelectStatementContext(_ctx, getState());
enterRule(_localctx, 214, RULE_selectStatement);
int _la;
try {
int _alt;
setState(3746);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,533,_ctx) ) {
case 1:
_localctx = new SimpleSelectContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(3681);
querySpecification();
setState(3683);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,516,_ctx) ) {
case 1:
{
setState(3682);
lockClause();
}
break;
}
}
break;
case 2:
_localctx = new ParenthesisSelectContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(3685);
queryExpression();
setState(3687);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,517,_ctx) ) {
case 1:
{
setState(3686);
lockClause();
}
break;
}
}
break;
case 3:
_localctx = new UnionSelectContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(3691);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SELECT:
{
setState(3689);
querySpecificationNointo();
}
break;
case LR_BRACKET:
{
setState(3690);
queryExpressionNointo();
}
break;
default:
throw new NoViableAltException(this);
}
setState(3694);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
{
setState(3693);
unionStatement();
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(3696);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,519,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
setState(3706);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==UNION) {
{
setState(3698);
match(UNION);
setState(3700);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ALL || _la==DISTINCT) {
{
setState(3699);
((UnionSelectContext)_localctx).unionType = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==ALL || _la==DISTINCT) ) {
((UnionSelectContext)_localctx).unionType = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3704);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SELECT:
{
setState(3702);
querySpecification();
}
break;
case LR_BRACKET:
{
setState(3703);
queryExpression();
}
break;
default:
throw new NoViableAltException(this);
}
}
}
setState(3709);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,523,_ctx) ) {
case 1:
{
setState(3708);
orderByClause();
}
break;
}
setState(3712);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LIMIT) {
{
setState(3711);
limitClause();
}
}
setState(3715);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,525,_ctx) ) {
case 1:
{
setState(3714);
lockClause();
}
break;
}
}
break;
case 4:
_localctx = new UnionParenthesisSelectContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(3717);
queryExpressionNointo();
setState(3719);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
{
setState(3718);
unionParenthesis();
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(3721);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,526,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
setState(3728);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==UNION) {
{
setState(3723);
match(UNION);
setState(3725);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ALL || _la==DISTINCT) {
{
setState(3724);
((UnionParenthesisSelectContext)_localctx).unionType = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==ALL || _la==DISTINCT) ) {
((UnionParenthesisSelectContext)_localctx).unionType = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3727);
queryExpression();
}
}
setState(3731);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,529,_ctx) ) {
case 1:
{
setState(3730);
orderByClause();
}
break;
}
setState(3734);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LIMIT) {
{
setState(3733);
limitClause();
}
}
setState(3737);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,531,_ctx) ) {
case 1:
{
setState(3736);
lockClause();
}
break;
}
}
break;
case 5:
_localctx = new WithLateralStatementContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(3739);
querySpecificationNointo();
setState(3742);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(3740);
match(COMMA);
setState(3741);
lateralStatement();
}
}
setState(3744);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==COMMA );
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ValuesStatementContext extends ParserRuleContext {
public TerminalNode VALUES() { return getToken(MySqlParser.VALUES, 0); }
public List LR_BRACKET() { return getTokens(MySqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MySqlParser.LR_BRACKET, i);
}
public List RR_BRACKET() { return getTokens(MySqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MySqlParser.RR_BRACKET, i);
}
public List expressionsWithDefaults() {
return getRuleContexts(ExpressionsWithDefaultsContext.class);
}
public ExpressionsWithDefaultsContext expressionsWithDefaults(int i) {
return getRuleContext(ExpressionsWithDefaultsContext.class,i);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public ValuesStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_valuesStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterValuesStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitValuesStatement(this);
}
}
public final ValuesStatementContext valuesStatement() throws RecognitionException {
ValuesStatementContext _localctx = new ValuesStatementContext(_ctx, getState());
enterRule(_localctx, 216, RULE_valuesStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3748);
match(VALUES);
setState(3749);
match(LR_BRACKET);
setState(3751);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,534,_ctx) ) {
case 1:
{
setState(3750);
expressionsWithDefaults();
}
break;
}
setState(3753);
match(RR_BRACKET);
setState(3762);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3754);
match(COMMA);
setState(3755);
match(LR_BRACKET);
setState(3757);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,535,_ctx) ) {
case 1:
{
setState(3756);
expressionsWithDefaults();
}
break;
}
setState(3759);
match(RR_BRACKET);
}
}
setState(3764);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class WithStatementContext extends ParserRuleContext {
public TerminalNode WITH() { return getToken(MySqlParser.WITH, 0); }
public List commonTableExpressions() {
return getRuleContexts(CommonTableExpressionsContext.class);
}
public CommonTableExpressionsContext commonTableExpressions(int i) {
return getRuleContext(CommonTableExpressionsContext.class,i);
}
public TerminalNode RECURSIVE() { return getToken(MySqlParser.RECURSIVE, 0); }
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public WithStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_withStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterWithStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitWithStatement(this);
}
}
public final WithStatementContext withStatement() throws RecognitionException {
WithStatementContext _localctx = new WithStatementContext(_ctx, getState());
enterRule(_localctx, 218, RULE_withStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3765);
match(WITH);
setState(3767);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,537,_ctx) ) {
case 1:
{
setState(3766);
match(RECURSIVE);
}
break;
}
setState(3769);
commonTableExpressions();
setState(3774);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3770);
match(COMMA);
setState(3771);
commonTableExpressions();
}
}
setState(3776);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TableStatementContext extends ParserRuleContext {
public TerminalNode TABLE() { return getToken(MySqlParser.TABLE, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public OrderByClauseContext orderByClause() {
return getRuleContext(OrderByClauseContext.class,0);
}
public LimitClauseContext limitClause() {
return getRuleContext(LimitClauseContext.class,0);
}
public TableStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tableStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableStatement(this);
}
}
public final TableStatementContext tableStatement() throws RecognitionException {
TableStatementContext _localctx = new TableStatementContext(_ctx, getState());
enterRule(_localctx, 220, RULE_tableStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3777);
match(TABLE);
setState(3778);
tableName();
setState(3780);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ORDER) {
{
setState(3779);
orderByClause();
}
}
setState(3783);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LIMIT) {
{
setState(3782);
limitClause();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class UpdateStatementContext extends ParserRuleContext {
public SingleUpdateStatementContext singleUpdateStatement() {
return getRuleContext(SingleUpdateStatementContext.class,0);
}
public MultipleUpdateStatementContext multipleUpdateStatement() {
return getRuleContext(MultipleUpdateStatementContext.class,0);
}
public UpdateStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_updateStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterUpdateStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitUpdateStatement(this);
}
}
public final UpdateStatementContext updateStatement() throws RecognitionException {
UpdateStatementContext _localctx = new UpdateStatementContext(_ctx, getState());
enterRule(_localctx, 222, RULE_updateStatement);
try {
setState(3787);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,541,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(3785);
singleUpdateStatement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(3786);
multipleUpdateStatement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class InsertStatementValueContext extends ParserRuleContext {
public Token insertFormat;
public SelectStatementContext selectStatement() {
return getRuleContext(SelectStatementContext.class,0);
}
public List LR_BRACKET() { return getTokens(MySqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MySqlParser.LR_BRACKET, i);
}
public List RR_BRACKET() { return getTokens(MySqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MySqlParser.RR_BRACKET, i);
}
public TerminalNode VALUES() { return getToken(MySqlParser.VALUES, 0); }
public TerminalNode VALUE() { return getToken(MySqlParser.VALUE, 0); }
public List expressionsWithDefaults() {
return getRuleContexts(ExpressionsWithDefaultsContext.class);
}
public ExpressionsWithDefaultsContext expressionsWithDefaults(int i) {
return getRuleContext(ExpressionsWithDefaultsContext.class,i);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public InsertStatementValueContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_insertStatementValue; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterInsertStatementValue(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitInsertStatementValue(this);
}
}
public final InsertStatementValueContext insertStatementValue() throws RecognitionException {
InsertStatementValueContext _localctx = new InsertStatementValueContext(_ctx, getState());
enterRule(_localctx, 224, RULE_insertStatementValue);
int _la;
try {
setState(3807);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SELECT:
case LR_BRACKET:
enterOuterAlt(_localctx, 1);
{
setState(3789);
selectStatement();
}
break;
case VALUES:
case VALUE:
enterOuterAlt(_localctx, 2);
{
setState(3790);
((InsertStatementValueContext)_localctx).insertFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==VALUES || _la==VALUE) ) {
((InsertStatementValueContext)_localctx).insertFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(3791);
match(LR_BRACKET);
setState(3793);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,542,_ctx) ) {
case 1:
{
setState(3792);
expressionsWithDefaults();
}
break;
}
setState(3795);
match(RR_BRACKET);
setState(3804);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3796);
match(COMMA);
setState(3797);
match(LR_BRACKET);
setState(3799);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,543,_ctx) ) {
case 1:
{
setState(3798);
expressionsWithDefaults();
}
break;
}
setState(3801);
match(RR_BRACKET);
}
}
setState(3806);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class UpdatedElementContext extends ParserRuleContext {
public FullColumnNameContext fullColumnName() {
return getRuleContext(FullColumnNameContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MySqlParser.EQUAL_SYMBOL, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public UpdatedElementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_updatedElement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterUpdatedElement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitUpdatedElement(this);
}
}
public final UpdatedElementContext updatedElement() throws RecognitionException {
UpdatedElementContext _localctx = new UpdatedElementContext(_ctx, getState());
enterRule(_localctx, 226, RULE_updatedElement);
try {
enterOuterAlt(_localctx, 1);
{
setState(3809);
fullColumnName();
setState(3810);
match(EQUAL_SYMBOL);
setState(3813);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,546,_ctx) ) {
case 1:
{
setState(3811);
expression(0);
}
break;
case 2:
{
setState(3812);
match(DEFAULT);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AssignmentFieldContext extends ParserRuleContext {
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode LOCAL_ID() { return getToken(MySqlParser.LOCAL_ID, 0); }
public AssignmentFieldContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_assignmentField; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAssignmentField(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAssignmentField(this);
}
}
public final AssignmentFieldContext assignmentField() throws RecognitionException {
AssignmentFieldContext _localctx = new AssignmentFieldContext(_ctx, getState());
enterRule(_localctx, 228, RULE_assignmentField);
try {
setState(3817);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ARRAY:
case ATTRIBUTE:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case ENFORCED:
case EXCEPT:
case GROUP:
case GROUP_REPLICATION_STREAM:
case IF:
case IGNORED:
case INSERT:
case LATERAL:
case LEFT:
case LOCKED:
case MAXVALUE:
case MINVALUE:
case NUMBER:
case OPTIONAL:
case ORDER:
case PRIMARY:
case REPEAT:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case SKIP_QUERY_REWRITE:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
case NATIONAL:
case BINARY:
case TEXT:
case ENUM:
case SERIAL:
case JSON_ARRAY:
case JSON_ARRAYAGG:
case JSON_ARRAY_APPEND:
case JSON_ARRAY_INSERT:
case JSON_CONTAINS:
case JSON_CONTAINS_PATH:
case JSON_DEPTH:
case JSON_EXTRACT:
case JSON_INSERT:
case JSON_KEYS:
case JSON_LENGTH:
case JSON_MERGE:
case JSON_MERGE_PATCH:
case JSON_MERGE_PRESERVE:
case JSON_OBJECT:
case JSON_OBJECTAGG:
case JSON_OVERLAPS:
case JSON_PRETTY:
case JSON_QUOTE:
case JSON_REMOVE:
case JSON_REPLACE:
case JSON_SCHEMA_VALID:
case JSON_SCHEMA_VALIDATION_REPORT:
case JSON_SEARCH:
case JSON_SET:
case JSON_STORAGE_FREE:
case JSON_STORAGE_SIZE:
case JSON_TABLE:
case JSON_TYPE:
case JSON_UNQUOTE:
case JSON_VALID:
case JSON_VALUE:
case NESTED:
case ORDINALITY:
case PATH:
case AVG:
case BIT_AND:
case BIT_OR:
case BIT_XOR:
case COUNT:
case CUME_DIST:
case DENSE_RANK:
case FIRST_VALUE:
case GROUP_CONCAT:
case LAG:
case LAST_VALUE:
case LEAD:
case MAX:
case MIN:
case NTILE:
case NTH_VALUE:
case PERCENT_RANK:
case RANK:
case ROW_NUMBER:
case STD:
case STDDEV:
case STDDEV_POP:
case STDDEV_SAMP:
case SUM:
case VAR_POP:
case VAR_SAMP:
case VARIANCE:
case CURRENT_DATE:
case CURRENT_TIME:
case CURRENT_TIMESTAMP:
case LOCALTIME:
case CURDATE:
case CURTIME:
case DATE_ADD:
case DATE_SUB:
case LOCALTIMESTAMP:
case NOW:
case POSITION:
case SUBSTR:
case SUBSTRING:
case SYSDATE:
case TRIM:
case UTC_DATE:
case UTC_TIME:
case UTC_TIMESTAMP:
case ACCOUNT:
case ACTION:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ANY:
case AT:
case AUTHORS:
case AUTOCOMMIT:
case AUTOEXTEND_SIZE:
case AUTO_INCREMENT:
case AVG_ROW_LENGTH:
case BEGIN:
case BINLOG:
case BIT:
case BLOCK:
case BOOL:
case BOOLEAN:
case BTREE:
case CACHE:
case CASCADED:
case CHAIN:
case CHANGED:
case CHANNEL:
case CHECKSUM:
case PAGE_CHECKSUM:
case CIPHER:
case CLASS_ORIGIN:
case CLIENT:
case CLOSE:
case CLUSTERING:
case COALESCE:
case CODE:
case COLUMNS:
case COLUMN_FORMAT:
case COLUMN_NAME:
case COMMENT:
case COMMIT:
case COMPACT:
case COMPLETION:
case COMPRESSED:
case COMPRESSION:
case CONCURRENT:
case CONNECT:
case CONNECTION:
case CONSISTENT:
case CONSTRAINT_CATALOG:
case CONSTRAINT_SCHEMA:
case CONSTRAINT_NAME:
case CONTAINS:
case CONTEXT:
case CONTRIBUTORS:
case COPY:
case CPU:
case CYCLE:
case CURSOR_NAME:
case DATA:
case DATAFILE:
case DEALLOCATE:
case DEFAULT_AUTH:
case DEFINER:
case DELAY_KEY_WRITE:
case DES_KEY_FILE:
case DIRECTORY:
case DISABLE:
case DISCARD:
case DISK:
case DO:
case DUMPFILE:
case DUPLICATE:
case DYNAMIC:
case ENABLE:
case ENCRYPTED:
case ENCRYPTION:
case ENCRYPTION_KEY_ID:
case END:
case ENDS:
case ENGINE:
case ENGINES:
case ERROR:
case ERRORS:
case ESCAPE:
case EVEN:
case EVENT:
case EVENTS:
case EVERY:
case EXCHANGE:
case EXCLUSIVE:
case EXPIRE:
case EXPORT:
case EXTENDED:
case EXTENT_SIZE:
case FAILED_LOGIN_ATTEMPTS:
case FAST:
case FAULTS:
case FIELDS:
case FILE_BLOCK_SIZE:
case FILTER:
case FIRST:
case FIXED:
case FLUSH:
case FOLLOWS:
case FOUND:
case FULL:
case FUNCTION:
case GENERAL:
case GLOBAL:
case GRANTS:
case GROUP_REPLICATION:
case HANDLER:
case HASH:
case HELP:
case HISTORY:
case HOST:
case HOSTS:
case IDENTIFIED:
case IGNORE_SERVER_IDS:
case IMPORT:
case INCREMENT:
case INDEXES:
case INITIAL_SIZE:
case INPLACE:
case INSERT_METHOD:
case INSTALL:
case INSTANCE:
case INSTANT:
case INVISIBLE:
case INVOKER:
case IO:
case IO_THREAD:
case IPC:
case ISOLATION:
case ISSUER:
case JSON:
case KEY_BLOCK_SIZE:
case LANGUAGE:
case LAST:
case LEAVES:
case LESS:
case LEVEL:
case LIST:
case LOCAL:
case LOGFILE:
case LOGS:
case MASTER:
case MASTER_AUTO_POSITION:
case MASTER_CONNECT_RETRY:
case MASTER_DELAY:
case MASTER_HEARTBEAT_PERIOD:
case MASTER_HOST:
case MASTER_LOG_FILE:
case MASTER_LOG_POS:
case MASTER_PASSWORD:
case MASTER_PORT:
case MASTER_RETRY_COUNT:
case MASTER_SSL:
case MASTER_SSL_CA:
case MASTER_SSL_CAPATH:
case MASTER_SSL_CERT:
case MASTER_SSL_CIPHER:
case MASTER_SSL_CRL:
case MASTER_SSL_CRLPATH:
case MASTER_SSL_KEY:
case MASTER_TLS_VERSION:
case MASTER_USER:
case MAX_CONNECTIONS_PER_HOUR:
case MAX_QUERIES_PER_HOUR:
case MAX_ROWS:
case MAX_SIZE:
case MAX_UPDATES_PER_HOUR:
case MAX_USER_CONNECTIONS:
case MEDIUM:
case MEMBER:
case MERGE:
case MESSAGE_TEXT:
case MID:
case MIGRATE:
case MIN_ROWS:
case MODE:
case MODIFY:
case MUTEX:
case MYSQL:
case MYSQL_ERRNO:
case NAME:
case NAMES:
case NCHAR:
case NEVER:
case NEXT:
case NO:
case NOCACHE:
case NOCOPY:
case NOCYCLE:
case NOMAXVALUE:
case NOMINVALUE:
case NOWAIT:
case NODEGROUP:
case NONE:
case ODBC:
case OFFLINE:
case OFFSET:
case OF:
case OJ:
case OLD_PASSWORD:
case ONE:
case ONLINE:
case ONLY:
case OPEN:
case OPTIMIZER_COSTS:
case OPTIONS:
case OWNER:
case PACK_KEYS:
case PAGE:
case PARSER:
case PARTIAL:
case PARTITIONING:
case PARTITIONS:
case PASSWORD:
case PASSWORD_LOCK_TIME:
case PHASE:
case PLUGIN:
case PLUGIN_DIR:
case PLUGINS:
case PORT:
case PRECEDES:
case PREPARE:
case PRESERVE:
case PREV:
case PROCESSLIST:
case PROFILE:
case PROFILES:
case PROXY:
case QUERY:
case QUICK:
case REBUILD:
case RECOVER:
case RECURSIVE:
case REDO_BUFFER_SIZE:
case REDUNDANT:
case RELAY:
case RELAY_LOG_FILE:
case RELAY_LOG_POS:
case RELAYLOG:
case REMOVE:
case REORGANIZE:
case REPAIR:
case REPLICATE_DO_DB:
case REPLICATE_DO_TABLE:
case REPLICATE_IGNORE_DB:
case REPLICATE_IGNORE_TABLE:
case REPLICATE_REWRITE_DB:
case REPLICATE_WILD_DO_TABLE:
case REPLICATE_WILD_IGNORE_TABLE:
case REPLICATION:
case RESET:
case RESTART:
case RESUME:
case RETURNED_SQLSTATE:
case RETURNING:
case RETURNS:
case REUSE:
case ROLE:
case ROLLBACK:
case ROLLUP:
case ROTATE:
case ROW:
case ROWS:
case ROW_FORMAT:
case RTREE:
case SAVEPOINT:
case SCHEDULE:
case SECURITY:
case SEQUENCE:
case SERVER:
case SESSION:
case SHARE:
case SHARED:
case SIGNED:
case SIMPLE:
case SLAVE:
case SLOW:
case SNAPSHOT:
case SOCKET:
case SOME:
case SONAME:
case SOUNDS:
case SOURCE:
case SQL_AFTER_GTIDS:
case SQL_AFTER_MTS_GAPS:
case SQL_BEFORE_GTIDS:
case SQL_BUFFER_RESULT:
case SQL_CACHE:
case SQL_NO_CACHE:
case SQL_THREAD:
case START:
case STARTS:
case STATS_AUTO_RECALC:
case STATS_PERSISTENT:
case STATS_SAMPLE_PAGES:
case STATUS:
case STOP:
case STORAGE:
case STRING:
case SUBCLASS_ORIGIN:
case SUBJECT:
case SUBPARTITION:
case SUBPARTITIONS:
case SUSPEND:
case SWAPS:
case SWITCHES:
case TABLE_NAME:
case TABLESPACE:
case TABLE_TYPE:
case TEMPORARY:
case TEMPTABLE:
case THAN:
case TRADITIONAL:
case TRANSACTION:
case TRANSACTIONAL:
case TRIGGERS:
case TRUNCATE:
case UNBOUNDED:
case UNDEFINED:
case UNDOFILE:
case UNDO_BUFFER_SIZE:
case UNINSTALL:
case UNKNOWN:
case UNTIL:
case UPGRADE:
case USER:
case USE_FRM:
case USER_RESOURCES:
case VALIDATION:
case VALUE:
case VARIABLES:
case VIEW:
case VIRTUAL:
case VISIBLE:
case WAIT:
case WARNINGS:
case WITHOUT:
case WORK:
case WRAPPER:
case X509:
case XA:
case XML:
case YES:
case EUR:
case USA:
case JIS:
case ISO:
case INTERNAL:
case QUARTER:
case MONTH:
case DAY:
case HOUR:
case MINUTE:
case WEEK:
case SECOND:
case MICROSECOND:
case USER_STATISTICS:
case CLIENT_STATISTICS:
case INDEX_STATISTICS:
case TABLE_STATISTICS:
case FIREWALL_RULES:
case ADMIN:
case APPLICATION_PASSWORD_ADMIN:
case AUDIT_ADMIN:
case AUDIT_ABORT_EXEMPT:
case AUTHENTICATION_POLICY_ADMIN:
case BACKUP_ADMIN:
case BINLOG_ADMIN:
case BINLOG_ENCRYPTION_ADMIN:
case CLONE_ADMIN:
case CONNECTION_ADMIN:
case ENCRYPTION_KEY_ADMIN:
case EXECUTE:
case FILE:
case FIREWALL_ADMIN:
case FIREWALL_EXEMPT:
case FIREWALL_USER:
case FLUSH_OPTIMIZER_COSTS:
case FLUSH_STATUS:
case FLUSH_TABLES:
case FLUSH_USER_RESOURCES:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
case INNODB_REDO_LOG_ENABLE:
case INVOKE:
case LAMBDA:
case NDB_STORED_USER:
case PASSWORDLESS_USER_ADMIN:
case PERSIST_RO_VARIABLES_ADMIN:
case PRIVILEGES:
case PROCESS:
case RELOAD:
case REPLICATION_APPLIER:
case REPLICATION_SLAVE_ADMIN:
case RESOURCE_GROUP_ADMIN:
case RESOURCE_GROUP_USER:
case ROLE_ADMIN:
case ROUTINE:
case S3:
case SESSION_VARIABLES_ADMIN:
case SET_USER_ID:
case SHOW_ROUTINE:
case SHUTDOWN:
case SUPER:
case SYSTEM_VARIABLES_ADMIN:
case TABLES:
case TABLE_ENCRYPTION_ADMIN:
case VERSION_TOKEN_ADMIN:
case XA_RECOVER_ADMIN:
case ARMSCII8:
case ASCII:
case BIG5:
case CP1250:
case CP1251:
case CP1256:
case CP1257:
case CP850:
case CP852:
case CP866:
case CP932:
case DEC8:
case EUCJPMS:
case EUCKR:
case GB18030:
case GB2312:
case GBK:
case GEOSTD8:
case GREEK:
case HEBREW:
case HP8:
case KEYBCS2:
case KOI8R:
case KOI8U:
case LATIN1:
case LATIN2:
case LATIN5:
case LATIN7:
case MACCE:
case MACROMAN:
case SJIS:
case SWE7:
case TIS620:
case UCS2:
case UJIS:
case UTF16:
case UTF16LE:
case UTF32:
case UTF8:
case UTF8MB3:
case UTF8MB4:
case ARCHIVE:
case BLACKHOLE:
case CSV:
case FEDERATED:
case INNODB:
case MEMORY:
case MRG_MYISAM:
case MYISAM:
case NDB:
case NDBCLUSTER:
case PERFORMANCE_SCHEMA:
case TOKUDB:
case REPEATABLE:
case COMMITTED:
case UNCOMMITTED:
case SERIALIZABLE:
case GEOMETRYCOLLECTION:
case GEOMETRY:
case LINESTRING:
case MULTILINESTRING:
case MULTIPOINT:
case MULTIPOLYGON:
case POINT:
case POLYGON:
case ABS:
case ACOS:
case ADDDATE:
case ADDTIME:
case AES_DECRYPT:
case AES_ENCRYPT:
case AREA:
case ASBINARY:
case ASIN:
case ASTEXT:
case ASWKB:
case ASWKT:
case ASYMMETRIC_DECRYPT:
case ASYMMETRIC_DERIVE:
case ASYMMETRIC_ENCRYPT:
case ASYMMETRIC_SIGN:
case ASYMMETRIC_VERIFY:
case ATAN:
case ATAN2:
case BENCHMARK:
case BIN:
case BIT_COUNT:
case BIT_LENGTH:
case BUFFER:
case CATALOG_NAME:
case CEIL:
case CEILING:
case CENTROID:
case CHARACTER_LENGTH:
case CHARSET:
case CHAR_LENGTH:
case COERCIBILITY:
case COLLATION:
case COMPRESS:
case CONCAT:
case CONCAT_WS:
case CONNECTION_ID:
case CONV:
case CONVERT_TZ:
case COS:
case COT:
case CRC32:
case CREATE_ASYMMETRIC_PRIV_KEY:
case CREATE_ASYMMETRIC_PUB_KEY:
case CREATE_DH_PARAMETERS:
case CREATE_DIGEST:
case CROSSES:
case DATEDIFF:
case DATE_FORMAT:
case DAYNAME:
case DAYOFMONTH:
case DAYOFWEEK:
case DAYOFYEAR:
case DECODE:
case DEGREES:
case DES_DECRYPT:
case DES_ENCRYPT:
case DIMENSION:
case DISJOINT:
case ELT:
case ENCODE:
case ENCRYPT:
case ENDPOINT:
case ENGINE_ATTRIBUTE:
case ENVELOPE:
case EQUALS:
case EXP:
case EXPORT_SET:
case EXTERIORRING:
case EXTRACTVALUE:
case FIELD:
case FIND_IN_SET:
case FLOOR:
case FORMAT:
case FOUND_ROWS:
case FROM_BASE64:
case FROM_DAYS:
case FROM_UNIXTIME:
case GEOMCOLLFROMTEXT:
case GEOMCOLLFROMWKB:
case GEOMETRYCOLLECTIONFROMTEXT:
case GEOMETRYCOLLECTIONFROMWKB:
case GEOMETRYFROMTEXT:
case GEOMETRYFROMWKB:
case GEOMETRYN:
case GEOMETRYTYPE:
case GEOMFROMTEXT:
case GEOMFROMWKB:
case GET_FORMAT:
case GET_LOCK:
case GLENGTH:
case GREATEST:
case GTID_SUBSET:
case GTID_SUBTRACT:
case HEX:
case IFNULL:
case INET6_ATON:
case INET6_NTOA:
case INET_ATON:
case INET_NTOA:
case INSTR:
case INTERIORRINGN:
case INTERSECTS:
case ISCLOSED:
case ISEMPTY:
case ISNULL:
case ISSIMPLE:
case IS_FREE_LOCK:
case IS_IPV4:
case IS_IPV4_COMPAT:
case IS_IPV4_MAPPED:
case IS_IPV6:
case IS_USED_LOCK:
case LAST_INSERT_ID:
case LCASE:
case LEAST:
case LENGTH:
case LINEFROMTEXT:
case LINEFROMWKB:
case LINESTRINGFROMTEXT:
case LINESTRINGFROMWKB:
case LN:
case LOAD_FILE:
case LOCATE:
case LOG:
case LOG10:
case LOG2:
case LOWER:
case LPAD:
case LTRIM:
case MAKEDATE:
case MAKETIME:
case MAKE_SET:
case MASTER_POS_WAIT:
case MBRCONTAINS:
case MBRDISJOINT:
case MBREQUAL:
case MBRINTERSECTS:
case MBROVERLAPS:
case MBRTOUCHES:
case MBRWITHIN:
case MD5:
case MLINEFROMTEXT:
case MLINEFROMWKB:
case MONTHNAME:
case MPOINTFROMTEXT:
case MPOINTFROMWKB:
case MPOLYFROMTEXT:
case MPOLYFROMWKB:
case MULTILINESTRINGFROMTEXT:
case MULTILINESTRINGFROMWKB:
case MULTIPOINTFROMTEXT:
case MULTIPOINTFROMWKB:
case MULTIPOLYGONFROMTEXT:
case MULTIPOLYGONFROMWKB:
case NAME_CONST:
case NULLIF:
case NUMGEOMETRIES:
case NUMINTERIORRINGS:
case NUMPOINTS:
case OCT:
case OCTET_LENGTH:
case ORD:
case OVERLAPS:
case PERIOD_ADD:
case PERIOD_DIFF:
case PI:
case POINTFROMTEXT:
case POINTFROMWKB:
case POINTN:
case POLYFROMTEXT:
case POLYFROMWKB:
case POLYGONFROMTEXT:
case POLYGONFROMWKB:
case POW:
case POWER:
case QUOTE:
case RADIANS:
case RAND:
case RANDOM:
case RANDOM_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
case SENSITIVE_VARIABLES_OBSERVER:
case SESSION_USER:
case SHA:
case SHA1:
case SHA2:
case SCHEMA_NAME:
case SIGN:
case SIN:
case SLEEP:
case SOUNDEX:
case SQL_THREAD_WAIT_AFTER_GTIDS:
case SQRT:
case SRID:
case STARTPOINT:
case STRCMP:
case STR_TO_DATE:
case ST_AREA:
case ST_ASBINARY:
case ST_ASTEXT:
case ST_ASWKB:
case ST_ASWKT:
case ST_BUFFER:
case ST_CENTROID:
case ST_CONTAINS:
case ST_CROSSES:
case ST_DIFFERENCE:
case ST_DIMENSION:
case ST_DISJOINT:
case ST_DISTANCE:
case ST_ENDPOINT:
case ST_ENVELOPE:
case ST_EQUALS:
case ST_EXTERIORRING:
case ST_GEOMCOLLFROMTEXT:
case ST_GEOMCOLLFROMTXT:
case ST_GEOMCOLLFROMWKB:
case ST_GEOMETRYCOLLECTIONFROMTEXT:
case ST_GEOMETRYCOLLECTIONFROMWKB:
case ST_GEOMETRYFROMTEXT:
case ST_GEOMETRYFROMWKB:
case ST_GEOMETRYN:
case ST_GEOMETRYTYPE:
case ST_GEOMFROMTEXT:
case ST_GEOMFROMWKB:
case ST_INTERIORRINGN:
case ST_INTERSECTION:
case ST_INTERSECTS:
case ST_ISCLOSED:
case ST_ISEMPTY:
case ST_ISSIMPLE:
case ST_LINEFROMTEXT:
case ST_LINEFROMWKB:
case ST_LINESTRINGFROMTEXT:
case ST_LINESTRINGFROMWKB:
case ST_NUMGEOMETRIES:
case ST_NUMINTERIORRING:
case ST_NUMINTERIORRINGS:
case ST_NUMPOINTS:
case ST_OVERLAPS:
case ST_POINTFROMTEXT:
case ST_POINTFROMWKB:
case ST_POINTN:
case ST_POLYFROMTEXT:
case ST_POLYFROMWKB:
case ST_POLYGONFROMTEXT:
case ST_POLYGONFROMWKB:
case ST_SRID:
case ST_STARTPOINT:
case ST_SYMDIFFERENCE:
case ST_TOUCHES:
case ST_UNION:
case ST_WITHIN:
case ST_X:
case ST_Y:
case SUBDATE:
case SUBSTRING_INDEX:
case SUBTIME:
case SYSTEM_USER:
case SYSTEM:
case TAN:
case TELEMETRY_LOG_ADMIN:
case TIMEDIFF:
case TIMESTAMPADD:
case TIMESTAMPDIFF:
case TIME_FORMAT:
case TIME_TO_SEC:
case TOUCHES:
case TO_BASE64:
case TO_DAYS:
case TO_SECONDS:
case TP_CONNECTION_ADMIN:
case UCASE:
case UNCOMPRESS:
case UNCOMPRESSED_LENGTH:
case UNHEX:
case UNIX_TIMESTAMP:
case UPDATEXML:
case UPPER:
case UUID:
case UUID_SHORT:
case VALIDATE_PASSWORD_STRENGTH:
case VERSION:
case VERSIONING:
case WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS:
case WEEKDAY:
case WEEKOFYEAR:
case WEIGHT_STRING:
case WITHIN:
case YEARWEEK:
case Y_FUNCTION:
case X_FUNCTION:
case VIA:
case LASTVAL:
case NEXTVAL:
case SETVAL:
case PREVIOUS:
case PERSISTENT:
case BINLOG_MONITOR:
case BINLOG_REPLAY:
case FEDERATED_ADMIN:
case READ_ONLY_ADMIN:
case REPLICA:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
enterOuterAlt(_localctx, 1);
{
setState(3815);
uid();
}
break;
case LOCAL_ID:
enterOuterAlt(_localctx, 2);
{
setState(3816);
match(LOCAL_ID);
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class LockClauseContext extends ParserRuleContext {
public TerminalNode FOR() { return getToken(MySqlParser.FOR, 0); }
public TerminalNode UPDATE() { return getToken(MySqlParser.UPDATE, 0); }
public TerminalNode LOCK() { return getToken(MySqlParser.LOCK, 0); }
public TerminalNode IN() { return getToken(MySqlParser.IN, 0); }
public TerminalNode SHARE() { return getToken(MySqlParser.SHARE, 0); }
public TerminalNode MODE() { return getToken(MySqlParser.MODE, 0); }
public LockOptionContext lockOption() {
return getRuleContext(LockOptionContext.class,0);
}
public LockClauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_lockClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterLockClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitLockClause(this);
}
}
public final LockClauseContext lockClause() throws RecognitionException {
LockClauseContext _localctx = new LockClauseContext(_ctx, getState());
enterRule(_localctx, 230, RULE_lockClause);
try {
enterOuterAlt(_localctx, 1);
{
setState(3825);
_errHandler.sync(this);
switch (_input.LA(1)) {
case FOR:
{
setState(3819);
match(FOR);
setState(3820);
match(UPDATE);
}
break;
case LOCK:
{
setState(3821);
match(LOCK);
setState(3822);
match(IN);
setState(3823);
match(SHARE);
setState(3824);
match(MODE);
}
break;
default:
throw new NoViableAltException(this);
}
setState(3828);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,549,_ctx) ) {
case 1:
{
setState(3827);
lockOption();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SingleDeleteStatementContext extends ParserRuleContext {
public Token priority;
public TerminalNode DELETE() { return getToken(MySqlParser.DELETE, 0); }
public TerminalNode FROM() { return getToken(MySqlParser.FROM, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode QUICK() { return getToken(MySqlParser.QUICK, 0); }
public TerminalNode IGNORE() { return getToken(MySqlParser.IGNORE, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode WHERE() { return getToken(MySqlParser.WHERE, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public OrderByClauseContext orderByClause() {
return getRuleContext(OrderByClauseContext.class,0);
}
public TerminalNode LIMIT() { return getToken(MySqlParser.LIMIT, 0); }
public LimitClauseAtomContext limitClauseAtom() {
return getRuleContext(LimitClauseAtomContext.class,0);
}
public TerminalNode LOW_PRIORITY() { return getToken(MySqlParser.LOW_PRIORITY, 0); }
public TerminalNode AS() { return getToken(MySqlParser.AS, 0); }
public SingleDeleteStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_singleDeleteStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSingleDeleteStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSingleDeleteStatement(this);
}
}
public final SingleDeleteStatementContext singleDeleteStatement() throws RecognitionException {
SingleDeleteStatementContext _localctx = new SingleDeleteStatementContext(_ctx, getState());
enterRule(_localctx, 232, RULE_singleDeleteStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3830);
match(DELETE);
setState(3832);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LOW_PRIORITY) {
{
setState(3831);
((SingleDeleteStatementContext)_localctx).priority = match(LOW_PRIORITY);
}
}
setState(3835);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==QUICK) {
{
setState(3834);
match(QUICK);
}
}
setState(3838);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE) {
{
setState(3837);
match(IGNORE);
}
}
setState(3840);
match(FROM);
setState(3841);
tableName();
setState(3846);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,554,_ctx) ) {
case 1:
{
setState(3843);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(3842);
match(AS);
}
}
setState(3845);
uid();
}
break;
}
setState(3853);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITION) {
{
setState(3848);
match(PARTITION);
setState(3849);
match(LR_BRACKET);
setState(3850);
uidList();
setState(3851);
match(RR_BRACKET);
}
}
setState(3857);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WHERE) {
{
setState(3855);
match(WHERE);
setState(3856);
expression(0);
}
}
setState(3860);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ORDER) {
{
setState(3859);
orderByClause();
}
}
setState(3864);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LIMIT) {
{
setState(3862);
match(LIMIT);
setState(3863);
limitClauseAtom();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class MultipleDeleteStatementContext extends ParserRuleContext {
public Token priority;
public TerminalNode DELETE() { return getToken(MySqlParser.DELETE, 0); }
public List tableName() {
return getRuleContexts(TableNameContext.class);
}
public TableNameContext tableName(int i) {
return getRuleContext(TableNameContext.class,i);
}
public TerminalNode FROM() { return getToken(MySqlParser.FROM, 0); }
public TableSourcesContext tableSources() {
return getRuleContext(TableSourcesContext.class,0);
}
public TerminalNode USING() { return getToken(MySqlParser.USING, 0); }
public TerminalNode QUICK() { return getToken(MySqlParser.QUICK, 0); }
public TerminalNode IGNORE() { return getToken(MySqlParser.IGNORE, 0); }
public TerminalNode WHERE() { return getToken(MySqlParser.WHERE, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode LOW_PRIORITY() { return getToken(MySqlParser.LOW_PRIORITY, 0); }
public List DOT() { return getTokens(MySqlParser.DOT); }
public TerminalNode DOT(int i) {
return getToken(MySqlParser.DOT, i);
}
public List STAR() { return getTokens(MySqlParser.STAR); }
public TerminalNode STAR(int i) {
return getToken(MySqlParser.STAR, i);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public MultipleDeleteStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_multipleDeleteStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterMultipleDeleteStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitMultipleDeleteStatement(this);
}
}
public final MultipleDeleteStatementContext multipleDeleteStatement() throws RecognitionException {
MultipleDeleteStatementContext _localctx = new MultipleDeleteStatementContext(_ctx, getState());
enterRule(_localctx, 234, RULE_multipleDeleteStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3866);
match(DELETE);
setState(3868);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LOW_PRIORITY) {
{
setState(3867);
((MultipleDeleteStatementContext)_localctx).priority = match(LOW_PRIORITY);
}
}
setState(3871);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,560,_ctx) ) {
case 1:
{
setState(3870);
match(QUICK);
}
break;
}
setState(3874);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE) {
{
setState(3873);
match(IGNORE);
}
}
setState(3915);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ARRAY:
case ATTRIBUTE:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case ENFORCED:
case EXCEPT:
case GROUP:
case GROUP_REPLICATION_STREAM:
case IF:
case IGNORED:
case INSERT:
case LATERAL:
case LEFT:
case LOCKED:
case MAXVALUE:
case MINVALUE:
case NUMBER:
case OPTIONAL:
case ORDER:
case PRIMARY:
case REPEAT:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case SKIP_QUERY_REWRITE:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
case NATIONAL:
case BINARY:
case TEXT:
case ENUM:
case SERIAL:
case JSON_ARRAY:
case JSON_ARRAYAGG:
case JSON_ARRAY_APPEND:
case JSON_ARRAY_INSERT:
case JSON_CONTAINS:
case JSON_CONTAINS_PATH:
case JSON_DEPTH:
case JSON_EXTRACT:
case JSON_INSERT:
case JSON_KEYS:
case JSON_LENGTH:
case JSON_MERGE:
case JSON_MERGE_PATCH:
case JSON_MERGE_PRESERVE:
case JSON_OBJECT:
case JSON_OBJECTAGG:
case JSON_OVERLAPS:
case JSON_PRETTY:
case JSON_QUOTE:
case JSON_REMOVE:
case JSON_REPLACE:
case JSON_SCHEMA_VALID:
case JSON_SCHEMA_VALIDATION_REPORT:
case JSON_SEARCH:
case JSON_SET:
case JSON_STORAGE_FREE:
case JSON_STORAGE_SIZE:
case JSON_TABLE:
case JSON_TYPE:
case JSON_UNQUOTE:
case JSON_VALID:
case JSON_VALUE:
case NESTED:
case ORDINALITY:
case PATH:
case AVG:
case BIT_AND:
case BIT_OR:
case BIT_XOR:
case COUNT:
case CUME_DIST:
case DENSE_RANK:
case FIRST_VALUE:
case GROUP_CONCAT:
case LAG:
case LAST_VALUE:
case LEAD:
case MAX:
case MIN:
case NTILE:
case NTH_VALUE:
case PERCENT_RANK:
case RANK:
case ROW_NUMBER:
case STD:
case STDDEV:
case STDDEV_POP:
case STDDEV_SAMP:
case SUM:
case VAR_POP:
case VAR_SAMP:
case VARIANCE:
case CURRENT_DATE:
case CURRENT_TIME:
case CURRENT_TIMESTAMP:
case LOCALTIME:
case CURDATE:
case CURTIME:
case DATE_ADD:
case DATE_SUB:
case LOCALTIMESTAMP:
case NOW:
case POSITION:
case SUBSTR:
case SUBSTRING:
case SYSDATE:
case TRIM:
case UTC_DATE:
case UTC_TIME:
case UTC_TIMESTAMP:
case ACCOUNT:
case ACTION:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ANY:
case AT:
case AUTHORS:
case AUTOCOMMIT:
case AUTOEXTEND_SIZE:
case AUTO_INCREMENT:
case AVG_ROW_LENGTH:
case BEGIN:
case BINLOG:
case BIT:
case BLOCK:
case BOOL:
case BOOLEAN:
case BTREE:
case CACHE:
case CASCADED:
case CHAIN:
case CHANGED:
case CHANNEL:
case CHECKSUM:
case PAGE_CHECKSUM:
case CIPHER:
case CLASS_ORIGIN:
case CLIENT:
case CLOSE:
case CLUSTERING:
case COALESCE:
case CODE:
case COLUMNS:
case COLUMN_FORMAT:
case COLUMN_NAME:
case COMMENT:
case COMMIT:
case COMPACT:
case COMPLETION:
case COMPRESSED:
case COMPRESSION:
case CONCURRENT:
case CONNECT:
case CONNECTION:
case CONSISTENT:
case CONSTRAINT_CATALOG:
case CONSTRAINT_SCHEMA:
case CONSTRAINT_NAME:
case CONTAINS:
case CONTEXT:
case CONTRIBUTORS:
case COPY:
case CPU:
case CYCLE:
case CURSOR_NAME:
case DATA:
case DATAFILE:
case DEALLOCATE:
case DEFAULT_AUTH:
case DEFINER:
case DELAY_KEY_WRITE:
case DES_KEY_FILE:
case DIRECTORY:
case DISABLE:
case DISCARD:
case DISK:
case DO:
case DUMPFILE:
case DUPLICATE:
case DYNAMIC:
case ENABLE:
case ENCRYPTED:
case ENCRYPTION:
case ENCRYPTION_KEY_ID:
case END:
case ENDS:
case ENGINE:
case ENGINES:
case ERROR:
case ERRORS:
case ESCAPE:
case EVEN:
case EVENT:
case EVENTS:
case EVERY:
case EXCHANGE:
case EXCLUSIVE:
case EXPIRE:
case EXPORT:
case EXTENDED:
case EXTENT_SIZE:
case FAILED_LOGIN_ATTEMPTS:
case FAST:
case FAULTS:
case FIELDS:
case FILE_BLOCK_SIZE:
case FILTER:
case FIRST:
case FIXED:
case FLUSH:
case FOLLOWS:
case FOUND:
case FULL:
case FUNCTION:
case GENERAL:
case GLOBAL:
case GRANTS:
case GROUP_REPLICATION:
case HANDLER:
case HASH:
case HELP:
case HISTORY:
case HOST:
case HOSTS:
case IDENTIFIED:
case IGNORE_SERVER_IDS:
case IMPORT:
case INCREMENT:
case INDEXES:
case INITIAL_SIZE:
case INPLACE:
case INSERT_METHOD:
case INSTALL:
case INSTANCE:
case INSTANT:
case INVISIBLE:
case INVOKER:
case IO:
case IO_THREAD:
case IPC:
case ISOLATION:
case ISSUER:
case JSON:
case KEY_BLOCK_SIZE:
case LANGUAGE:
case LAST:
case LEAVES:
case LESS:
case LEVEL:
case LIST:
case LOCAL:
case LOGFILE:
case LOGS:
case MASTER:
case MASTER_AUTO_POSITION:
case MASTER_CONNECT_RETRY:
case MASTER_DELAY:
case MASTER_HEARTBEAT_PERIOD:
case MASTER_HOST:
case MASTER_LOG_FILE:
case MASTER_LOG_POS:
case MASTER_PASSWORD:
case MASTER_PORT:
case MASTER_RETRY_COUNT:
case MASTER_SSL:
case MASTER_SSL_CA:
case MASTER_SSL_CAPATH:
case MASTER_SSL_CERT:
case MASTER_SSL_CIPHER:
case MASTER_SSL_CRL:
case MASTER_SSL_CRLPATH:
case MASTER_SSL_KEY:
case MASTER_TLS_VERSION:
case MASTER_USER:
case MAX_CONNECTIONS_PER_HOUR:
case MAX_QUERIES_PER_HOUR:
case MAX_ROWS:
case MAX_SIZE:
case MAX_UPDATES_PER_HOUR:
case MAX_USER_CONNECTIONS:
case MEDIUM:
case MEMBER:
case MERGE:
case MESSAGE_TEXT:
case MID:
case MIGRATE:
case MIN_ROWS:
case MODE:
case MODIFY:
case MUTEX:
case MYSQL:
case MYSQL_ERRNO:
case NAME:
case NAMES:
case NCHAR:
case NEVER:
case NEXT:
case NO:
case NOCACHE:
case NOCOPY:
case NOCYCLE:
case NOMAXVALUE:
case NOMINVALUE:
case NOWAIT:
case NODEGROUP:
case NONE:
case ODBC:
case OFFLINE:
case OFFSET:
case OF:
case OJ:
case OLD_PASSWORD:
case ONE:
case ONLINE:
case ONLY:
case OPEN:
case OPTIMIZER_COSTS:
case OPTIONS:
case OWNER:
case PACK_KEYS:
case PAGE:
case PARSER:
case PARTIAL:
case PARTITIONING:
case PARTITIONS:
case PASSWORD:
case PASSWORD_LOCK_TIME:
case PHASE:
case PLUGIN:
case PLUGIN_DIR:
case PLUGINS:
case PORT:
case PRECEDES:
case PREPARE:
case PRESERVE:
case PREV:
case PROCESSLIST:
case PROFILE:
case PROFILES:
case PROXY:
case QUERY:
case QUICK:
case REBUILD:
case RECOVER:
case RECURSIVE:
case REDO_BUFFER_SIZE:
case REDUNDANT:
case RELAY:
case RELAY_LOG_FILE:
case RELAY_LOG_POS:
case RELAYLOG:
case REMOVE:
case REORGANIZE:
case REPAIR:
case REPLICATE_DO_DB:
case REPLICATE_DO_TABLE:
case REPLICATE_IGNORE_DB:
case REPLICATE_IGNORE_TABLE:
case REPLICATE_REWRITE_DB:
case REPLICATE_WILD_DO_TABLE:
case REPLICATE_WILD_IGNORE_TABLE:
case REPLICATION:
case RESET:
case RESTART:
case RESUME:
case RETURNED_SQLSTATE:
case RETURNING:
case RETURNS:
case REUSE:
case ROLE:
case ROLLBACK:
case ROLLUP:
case ROTATE:
case ROW:
case ROWS:
case ROW_FORMAT:
case RTREE:
case SAVEPOINT:
case SCHEDULE:
case SECURITY:
case SEQUENCE:
case SERVER:
case SESSION:
case SHARE:
case SHARED:
case SIGNED:
case SIMPLE:
case SLAVE:
case SLOW:
case SNAPSHOT:
case SOCKET:
case SOME:
case SONAME:
case SOUNDS:
case SOURCE:
case SQL_AFTER_GTIDS:
case SQL_AFTER_MTS_GAPS:
case SQL_BEFORE_GTIDS:
case SQL_BUFFER_RESULT:
case SQL_CACHE:
case SQL_NO_CACHE:
case SQL_THREAD:
case START:
case STARTS:
case STATS_AUTO_RECALC:
case STATS_PERSISTENT:
case STATS_SAMPLE_PAGES:
case STATUS:
case STOP:
case STORAGE:
case STRING:
case SUBCLASS_ORIGIN:
case SUBJECT:
case SUBPARTITION:
case SUBPARTITIONS:
case SUSPEND:
case SWAPS:
case SWITCHES:
case TABLE_NAME:
case TABLESPACE:
case TABLE_TYPE:
case TEMPORARY:
case TEMPTABLE:
case THAN:
case TRADITIONAL:
case TRANSACTION:
case TRANSACTIONAL:
case TRIGGERS:
case TRUNCATE:
case UNBOUNDED:
case UNDEFINED:
case UNDOFILE:
case UNDO_BUFFER_SIZE:
case UNINSTALL:
case UNKNOWN:
case UNTIL:
case UPGRADE:
case USER:
case USE_FRM:
case USER_RESOURCES:
case VALIDATION:
case VALUE:
case VARIABLES:
case VIEW:
case VIRTUAL:
case VISIBLE:
case WAIT:
case WARNINGS:
case WITHOUT:
case WORK:
case WRAPPER:
case X509:
case XA:
case XML:
case YES:
case EUR:
case USA:
case JIS:
case ISO:
case INTERNAL:
case QUARTER:
case MONTH:
case DAY:
case HOUR:
case MINUTE:
case WEEK:
case SECOND:
case MICROSECOND:
case USER_STATISTICS:
case CLIENT_STATISTICS:
case INDEX_STATISTICS:
case TABLE_STATISTICS:
case FIREWALL_RULES:
case ADMIN:
case APPLICATION_PASSWORD_ADMIN:
case AUDIT_ADMIN:
case AUDIT_ABORT_EXEMPT:
case AUTHENTICATION_POLICY_ADMIN:
case BACKUP_ADMIN:
case BINLOG_ADMIN:
case BINLOG_ENCRYPTION_ADMIN:
case CLONE_ADMIN:
case CONNECTION_ADMIN:
case ENCRYPTION_KEY_ADMIN:
case EXECUTE:
case FILE:
case FIREWALL_ADMIN:
case FIREWALL_EXEMPT:
case FIREWALL_USER:
case FLUSH_OPTIMIZER_COSTS:
case FLUSH_STATUS:
case FLUSH_TABLES:
case FLUSH_USER_RESOURCES:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
case INNODB_REDO_LOG_ENABLE:
case INVOKE:
case LAMBDA:
case NDB_STORED_USER:
case PASSWORDLESS_USER_ADMIN:
case PERSIST_RO_VARIABLES_ADMIN:
case PRIVILEGES:
case PROCESS:
case RELOAD:
case REPLICATION_APPLIER:
case REPLICATION_SLAVE_ADMIN:
case RESOURCE_GROUP_ADMIN:
case RESOURCE_GROUP_USER:
case ROLE_ADMIN:
case ROUTINE:
case S3:
case SESSION_VARIABLES_ADMIN:
case SET_USER_ID:
case SHOW_ROUTINE:
case SHUTDOWN:
case SUPER:
case SYSTEM_VARIABLES_ADMIN:
case TABLES:
case TABLE_ENCRYPTION_ADMIN:
case VERSION_TOKEN_ADMIN:
case XA_RECOVER_ADMIN:
case ARMSCII8:
case ASCII:
case BIG5:
case CP1250:
case CP1251:
case CP1256:
case CP1257:
case CP850:
case CP852:
case CP866:
case CP932:
case DEC8:
case EUCJPMS:
case EUCKR:
case GB18030:
case GB2312:
case GBK:
case GEOSTD8:
case GREEK:
case HEBREW:
case HP8:
case KEYBCS2:
case KOI8R:
case KOI8U:
case LATIN1:
case LATIN2:
case LATIN5:
case LATIN7:
case MACCE:
case MACROMAN:
case SJIS:
case SWE7:
case TIS620:
case UCS2:
case UJIS:
case UTF16:
case UTF16LE:
case UTF32:
case UTF8:
case UTF8MB3:
case UTF8MB4:
case ARCHIVE:
case BLACKHOLE:
case CSV:
case FEDERATED:
case INNODB:
case MEMORY:
case MRG_MYISAM:
case MYISAM:
case NDB:
case NDBCLUSTER:
case PERFORMANCE_SCHEMA:
case TOKUDB:
case REPEATABLE:
case COMMITTED:
case UNCOMMITTED:
case SERIALIZABLE:
case GEOMETRYCOLLECTION:
case GEOMETRY:
case LINESTRING:
case MULTILINESTRING:
case MULTIPOINT:
case MULTIPOLYGON:
case POINT:
case POLYGON:
case ABS:
case ACOS:
case ADDDATE:
case ADDTIME:
case AES_DECRYPT:
case AES_ENCRYPT:
case AREA:
case ASBINARY:
case ASIN:
case ASTEXT:
case ASWKB:
case ASWKT:
case ASYMMETRIC_DECRYPT:
case ASYMMETRIC_DERIVE:
case ASYMMETRIC_ENCRYPT:
case ASYMMETRIC_SIGN:
case ASYMMETRIC_VERIFY:
case ATAN:
case ATAN2:
case BENCHMARK:
case BIN:
case BIT_COUNT:
case BIT_LENGTH:
case BUFFER:
case CATALOG_NAME:
case CEIL:
case CEILING:
case CENTROID:
case CHARACTER_LENGTH:
case CHARSET:
case CHAR_LENGTH:
case COERCIBILITY:
case COLLATION:
case COMPRESS:
case CONCAT:
case CONCAT_WS:
case CONNECTION_ID:
case CONV:
case CONVERT_TZ:
case COS:
case COT:
case CRC32:
case CREATE_ASYMMETRIC_PRIV_KEY:
case CREATE_ASYMMETRIC_PUB_KEY:
case CREATE_DH_PARAMETERS:
case CREATE_DIGEST:
case CROSSES:
case DATEDIFF:
case DATE_FORMAT:
case DAYNAME:
case DAYOFMONTH:
case DAYOFWEEK:
case DAYOFYEAR:
case DECODE:
case DEGREES:
case DES_DECRYPT:
case DES_ENCRYPT:
case DIMENSION:
case DISJOINT:
case ELT:
case ENCODE:
case ENCRYPT:
case ENDPOINT:
case ENGINE_ATTRIBUTE:
case ENVELOPE:
case EQUALS:
case EXP:
case EXPORT_SET:
case EXTERIORRING:
case EXTRACTVALUE:
case FIELD:
case FIND_IN_SET:
case FLOOR:
case FORMAT:
case FOUND_ROWS:
case FROM_BASE64:
case FROM_DAYS:
case FROM_UNIXTIME:
case GEOMCOLLFROMTEXT:
case GEOMCOLLFROMWKB:
case GEOMETRYCOLLECTIONFROMTEXT:
case GEOMETRYCOLLECTIONFROMWKB:
case GEOMETRYFROMTEXT:
case GEOMETRYFROMWKB:
case GEOMETRYN:
case GEOMETRYTYPE:
case GEOMFROMTEXT:
case GEOMFROMWKB:
case GET_FORMAT:
case GET_LOCK:
case GLENGTH:
case GREATEST:
case GTID_SUBSET:
case GTID_SUBTRACT:
case HEX:
case IFNULL:
case INET6_ATON:
case INET6_NTOA:
case INET_ATON:
case INET_NTOA:
case INSTR:
case INTERIORRINGN:
case INTERSECTS:
case ISCLOSED:
case ISEMPTY:
case ISNULL:
case ISSIMPLE:
case IS_FREE_LOCK:
case IS_IPV4:
case IS_IPV4_COMPAT:
case IS_IPV4_MAPPED:
case IS_IPV6:
case IS_USED_LOCK:
case LAST_INSERT_ID:
case LCASE:
case LEAST:
case LENGTH:
case LINEFROMTEXT:
case LINEFROMWKB:
case LINESTRINGFROMTEXT:
case LINESTRINGFROMWKB:
case LN:
case LOAD_FILE:
case LOCATE:
case LOG:
case LOG10:
case LOG2:
case LOWER:
case LPAD:
case LTRIM:
case MAKEDATE:
case MAKETIME:
case MAKE_SET:
case MASTER_POS_WAIT:
case MBRCONTAINS:
case MBRDISJOINT:
case MBREQUAL:
case MBRINTERSECTS:
case MBROVERLAPS:
case MBRTOUCHES:
case MBRWITHIN:
case MD5:
case MLINEFROMTEXT:
case MLINEFROMWKB:
case MONTHNAME:
case MPOINTFROMTEXT:
case MPOINTFROMWKB:
case MPOLYFROMTEXT:
case MPOLYFROMWKB:
case MULTILINESTRINGFROMTEXT:
case MULTILINESTRINGFROMWKB:
case MULTIPOINTFROMTEXT:
case MULTIPOINTFROMWKB:
case MULTIPOLYGONFROMTEXT:
case MULTIPOLYGONFROMWKB:
case NAME_CONST:
case NULLIF:
case NUMGEOMETRIES:
case NUMINTERIORRINGS:
case NUMPOINTS:
case OCT:
case OCTET_LENGTH:
case ORD:
case OVERLAPS:
case PERIOD_ADD:
case PERIOD_DIFF:
case PI:
case POINTFROMTEXT:
case POINTFROMWKB:
case POINTN:
case POLYFROMTEXT:
case POLYFROMWKB:
case POLYGONFROMTEXT:
case POLYGONFROMWKB:
case POW:
case POWER:
case QUOTE:
case RADIANS:
case RAND:
case RANDOM:
case RANDOM_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
case SENSITIVE_VARIABLES_OBSERVER:
case SESSION_USER:
case SHA:
case SHA1:
case SHA2:
case SCHEMA_NAME:
case SIGN:
case SIN:
case SLEEP:
case SOUNDEX:
case SQL_THREAD_WAIT_AFTER_GTIDS:
case SQRT:
case SRID:
case STARTPOINT:
case STRCMP:
case STR_TO_DATE:
case ST_AREA:
case ST_ASBINARY:
case ST_ASTEXT:
case ST_ASWKB:
case ST_ASWKT:
case ST_BUFFER:
case ST_CENTROID:
case ST_CONTAINS:
case ST_CROSSES:
case ST_DIFFERENCE:
case ST_DIMENSION:
case ST_DISJOINT:
case ST_DISTANCE:
case ST_ENDPOINT:
case ST_ENVELOPE:
case ST_EQUALS:
case ST_EXTERIORRING:
case ST_GEOMCOLLFROMTEXT:
case ST_GEOMCOLLFROMTXT:
case ST_GEOMCOLLFROMWKB:
case ST_GEOMETRYCOLLECTIONFROMTEXT:
case ST_GEOMETRYCOLLECTIONFROMWKB:
case ST_GEOMETRYFROMTEXT:
case ST_GEOMETRYFROMWKB:
case ST_GEOMETRYN:
case ST_GEOMETRYTYPE:
case ST_GEOMFROMTEXT:
case ST_GEOMFROMWKB:
case ST_INTERIORRINGN:
case ST_INTERSECTION:
case ST_INTERSECTS:
case ST_ISCLOSED:
case ST_ISEMPTY:
case ST_ISSIMPLE:
case ST_LINEFROMTEXT:
case ST_LINEFROMWKB:
case ST_LINESTRINGFROMTEXT:
case ST_LINESTRINGFROMWKB:
case ST_NUMGEOMETRIES:
case ST_NUMINTERIORRING:
case ST_NUMINTERIORRINGS:
case ST_NUMPOINTS:
case ST_OVERLAPS:
case ST_POINTFROMTEXT:
case ST_POINTFROMWKB:
case ST_POINTN:
case ST_POLYFROMTEXT:
case ST_POLYFROMWKB:
case ST_POLYGONFROMTEXT:
case ST_POLYGONFROMWKB:
case ST_SRID:
case ST_STARTPOINT:
case ST_SYMDIFFERENCE:
case ST_TOUCHES:
case ST_UNION:
case ST_WITHIN:
case ST_X:
case ST_Y:
case SUBDATE:
case SUBSTRING_INDEX:
case SUBTIME:
case SYSTEM_USER:
case SYSTEM:
case TAN:
case TELEMETRY_LOG_ADMIN:
case TIMEDIFF:
case TIMESTAMPADD:
case TIMESTAMPDIFF:
case TIME_FORMAT:
case TIME_TO_SEC:
case TOUCHES:
case TO_BASE64:
case TO_DAYS:
case TO_SECONDS:
case TP_CONNECTION_ADMIN:
case UCASE:
case UNCOMPRESS:
case UNCOMPRESSED_LENGTH:
case UNHEX:
case UNIX_TIMESTAMP:
case UPDATEXML:
case UPPER:
case UUID:
case UUID_SHORT:
case VALIDATE_PASSWORD_STRENGTH:
case VERSION:
case VERSIONING:
case WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS:
case WEEKDAY:
case WEEKOFYEAR:
case WEIGHT_STRING:
case WITHIN:
case YEARWEEK:
case Y_FUNCTION:
case X_FUNCTION:
case VIA:
case LASTVAL:
case NEXTVAL:
case SETVAL:
case PREVIOUS:
case PERSISTENT:
case BINLOG_MONITOR:
case BINLOG_REPLAY:
case FEDERATED_ADMIN:
case READ_ONLY_ADMIN:
case REPLICA:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
{
setState(3876);
tableName();
setState(3879);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DOT) {
{
setState(3877);
match(DOT);
setState(3878);
match(STAR);
}
}
setState(3889);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3881);
match(COMMA);
setState(3882);
tableName();
setState(3885);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DOT) {
{
setState(3883);
match(DOT);
setState(3884);
match(STAR);
}
}
}
}
setState(3891);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(3892);
match(FROM);
setState(3893);
tableSources();
}
break;
case FROM:
{
setState(3895);
match(FROM);
setState(3896);
tableName();
setState(3899);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DOT) {
{
setState(3897);
match(DOT);
setState(3898);
match(STAR);
}
}
setState(3909);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3901);
match(COMMA);
setState(3902);
tableName();
setState(3905);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DOT) {
{
setState(3903);
match(DOT);
setState(3904);
match(STAR);
}
}
}
}
setState(3911);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(3912);
match(USING);
setState(3913);
tableSources();
}
break;
default:
throw new NoViableAltException(this);
}
setState(3919);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WHERE) {
{
setState(3917);
match(WHERE);
setState(3918);
expression(0);
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class HandlerOpenStatementContext extends ParserRuleContext {
public TerminalNode HANDLER() { return getToken(MySqlParser.HANDLER, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode OPEN() { return getToken(MySqlParser.OPEN, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode AS() { return getToken(MySqlParser.AS, 0); }
public HandlerOpenStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_handlerOpenStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterHandlerOpenStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitHandlerOpenStatement(this);
}
}
public final HandlerOpenStatementContext handlerOpenStatement() throws RecognitionException {
HandlerOpenStatementContext _localctx = new HandlerOpenStatementContext(_ctx, getState());
enterRule(_localctx, 236, RULE_handlerOpenStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3921);
match(HANDLER);
setState(3922);
tableName();
setState(3923);
match(OPEN);
setState(3928);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,571,_ctx) ) {
case 1:
{
setState(3925);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(3924);
match(AS);
}
}
setState(3927);
uid();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class HandlerReadIndexStatementContext extends ParserRuleContext {
public UidContext index;
public Token moveOrder;
public TerminalNode HANDLER() { return getToken(MySqlParser.HANDLER, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode READ() { return getToken(MySqlParser.READ, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public ComparisonOperatorContext comparisonOperator() {
return getRuleContext(ComparisonOperatorContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public ConstantsContext constants() {
return getRuleContext(ConstantsContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode WHERE() { return getToken(MySqlParser.WHERE, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode LIMIT() { return getToken(MySqlParser.LIMIT, 0); }
public LimitClauseAtomContext limitClauseAtom() {
return getRuleContext(LimitClauseAtomContext.class,0);
}
public TerminalNode FIRST() { return getToken(MySqlParser.FIRST, 0); }
public TerminalNode NEXT() { return getToken(MySqlParser.NEXT, 0); }
public TerminalNode PREV() { return getToken(MySqlParser.PREV, 0); }
public TerminalNode LAST() { return getToken(MySqlParser.LAST, 0); }
public HandlerReadIndexStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_handlerReadIndexStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterHandlerReadIndexStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitHandlerReadIndexStatement(this);
}
}
public final HandlerReadIndexStatementContext handlerReadIndexStatement() throws RecognitionException {
HandlerReadIndexStatementContext _localctx = new HandlerReadIndexStatementContext(_ctx, getState());
enterRule(_localctx, 238, RULE_handlerReadIndexStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3930);
match(HANDLER);
setState(3931);
tableName();
setState(3932);
match(READ);
setState(3933);
((HandlerReadIndexStatementContext)_localctx).index = uid();
setState(3940);
_errHandler.sync(this);
switch (_input.LA(1)) {
case EQUAL_SYMBOL:
case GREATER_SYMBOL:
case LESS_SYMBOL:
case EXCLAMATION_SYMBOL:
{
setState(3934);
comparisonOperator();
setState(3935);
match(LR_BRACKET);
setState(3936);
constants();
setState(3937);
match(RR_BRACKET);
}
break;
case FIRST:
case LAST:
case NEXT:
case PREV:
{
setState(3939);
((HandlerReadIndexStatementContext)_localctx).moveOrder = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==FIRST || _la==LAST || _la==NEXT || _la==PREV) ) {
((HandlerReadIndexStatementContext)_localctx).moveOrder = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(3944);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WHERE) {
{
setState(3942);
match(WHERE);
setState(3943);
expression(0);
}
}
setState(3948);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LIMIT) {
{
setState(3946);
match(LIMIT);
setState(3947);
limitClauseAtom();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class HandlerReadStatementContext extends ParserRuleContext {
public Token moveOrder;
public TerminalNode HANDLER() { return getToken(MySqlParser.HANDLER, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode READ() { return getToken(MySqlParser.READ, 0); }
public TerminalNode FIRST() { return getToken(MySqlParser.FIRST, 0); }
public TerminalNode NEXT() { return getToken(MySqlParser.NEXT, 0); }
public TerminalNode WHERE() { return getToken(MySqlParser.WHERE, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode LIMIT() { return getToken(MySqlParser.LIMIT, 0); }
public LimitClauseAtomContext limitClauseAtom() {
return getRuleContext(LimitClauseAtomContext.class,0);
}
public HandlerReadStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_handlerReadStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterHandlerReadStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitHandlerReadStatement(this);
}
}
public final HandlerReadStatementContext handlerReadStatement() throws RecognitionException {
HandlerReadStatementContext _localctx = new HandlerReadStatementContext(_ctx, getState());
enterRule(_localctx, 240, RULE_handlerReadStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3950);
match(HANDLER);
setState(3951);
tableName();
setState(3952);
match(READ);
setState(3953);
((HandlerReadStatementContext)_localctx).moveOrder = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==FIRST || _la==NEXT) ) {
((HandlerReadStatementContext)_localctx).moveOrder = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(3956);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WHERE) {
{
setState(3954);
match(WHERE);
setState(3955);
expression(0);
}
}
setState(3960);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LIMIT) {
{
setState(3958);
match(LIMIT);
setState(3959);
limitClauseAtom();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class HandlerCloseStatementContext extends ParserRuleContext {
public TerminalNode HANDLER() { return getToken(MySqlParser.HANDLER, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode CLOSE() { return getToken(MySqlParser.CLOSE, 0); }
public HandlerCloseStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_handlerCloseStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterHandlerCloseStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitHandlerCloseStatement(this);
}
}
public final HandlerCloseStatementContext handlerCloseStatement() throws RecognitionException {
HandlerCloseStatementContext _localctx = new HandlerCloseStatementContext(_ctx, getState());
enterRule(_localctx, 242, RULE_handlerCloseStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(3962);
match(HANDLER);
setState(3963);
tableName();
setState(3964);
match(CLOSE);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SingleUpdateStatementContext extends ParserRuleContext {
public Token priority;
public TerminalNode UPDATE() { return getToken(MySqlParser.UPDATE, 0); }
public TableSourcesContext tableSources() {
return getRuleContext(TableSourcesContext.class,0);
}
public TerminalNode SET() { return getToken(MySqlParser.SET, 0); }
public List updatedElement() {
return getRuleContexts(UpdatedElementContext.class);
}
public UpdatedElementContext updatedElement(int i) {
return getRuleContext(UpdatedElementContext.class,i);
}
public TerminalNode IGNORE() { return getToken(MySqlParser.IGNORE, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public TerminalNode WHERE() { return getToken(MySqlParser.WHERE, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public OrderByClauseContext orderByClause() {
return getRuleContext(OrderByClauseContext.class,0);
}
public LimitClauseContext limitClause() {
return getRuleContext(LimitClauseContext.class,0);
}
public TerminalNode LOW_PRIORITY() { return getToken(MySqlParser.LOW_PRIORITY, 0); }
public TerminalNode AS() { return getToken(MySqlParser.AS, 0); }
public SingleUpdateStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_singleUpdateStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSingleUpdateStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSingleUpdateStatement(this);
}
}
public final SingleUpdateStatementContext singleUpdateStatement() throws RecognitionException {
SingleUpdateStatementContext _localctx = new SingleUpdateStatementContext(_ctx, getState());
enterRule(_localctx, 244, RULE_singleUpdateStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3966);
match(UPDATE);
setState(3968);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LOW_PRIORITY) {
{
setState(3967);
((SingleUpdateStatementContext)_localctx).priority = match(LOW_PRIORITY);
}
}
setState(3971);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE) {
{
setState(3970);
match(IGNORE);
}
}
setState(3973);
tableSources();
setState(3978);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ARRAY) | (1L << AS) | (1L << ATTRIBUTE) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << ENFORCED) | (1L << EXCEPT))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (GROUP - 74)) | (1L << (GROUP_REPLICATION_STREAM - 74)) | (1L << (IF - 74)) | (1L << (IGNORED - 74)) | (1L << (INSERT - 74)) | (1L << (LATERAL - 74)) | (1L << (LEFT - 74)) | (1L << (LOCKED - 74)) | (1L << (MAXVALUE - 74)) | (1L << (MINVALUE - 74)) | (1L << (NUMBER - 74)) | (1L << (OPTIONAL - 74)) | (1L << (ORDER - 74)) | (1L << (PRIMARY - 74)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPEAT - 142)) | (1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (SKIP_QUERY_REWRITE - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 220)) & ~0x3f) == 0 && ((1L << (_la - 220)) & ((1L << (DATE - 220)) | (1L << (TIME - 220)) | (1L << (TIMESTAMP - 220)) | (1L << (DATETIME - 220)) | (1L << (YEAR - 220)) | (1L << (NATIONAL - 220)) | (1L << (BINARY - 220)) | (1L << (TEXT - 220)) | (1L << (ENUM - 220)) | (1L << (SERIAL - 220)) | (1L << (JSON_ARRAY - 220)) | (1L << (JSON_ARRAYAGG - 220)) | (1L << (JSON_ARRAY_APPEND - 220)) | (1L << (JSON_ARRAY_INSERT - 220)) | (1L << (JSON_CONTAINS - 220)) | (1L << (JSON_CONTAINS_PATH - 220)) | (1L << (JSON_DEPTH - 220)) | (1L << (JSON_EXTRACT - 220)) | (1L << (JSON_INSERT - 220)) | (1L << (JSON_KEYS - 220)) | (1L << (JSON_LENGTH - 220)) | (1L << (JSON_MERGE - 220)) | (1L << (JSON_MERGE_PATCH - 220)) | (1L << (JSON_MERGE_PRESERVE - 220)) | (1L << (JSON_OBJECT - 220)) | (1L << (JSON_OBJECTAGG - 220)) | (1L << (JSON_OVERLAPS - 220)) | (1L << (JSON_PRETTY - 220)) | (1L << (JSON_QUOTE - 220)) | (1L << (JSON_REMOVE - 220)) | (1L << (JSON_REPLACE - 220)) | (1L << (JSON_SCHEMA_VALID - 220)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 220)) | (1L << (JSON_SEARCH - 220)) | (1L << (JSON_SET - 220)) | (1L << (JSON_STORAGE_FREE - 220)) | (1L << (JSON_STORAGE_SIZE - 220)) | (1L << (JSON_TABLE - 220)) | (1L << (JSON_TYPE - 220)) | (1L << (JSON_UNQUOTE - 220)))) != 0) || ((((_la - 284)) & ~0x3f) == 0 && ((1L << (_la - 284)) & ((1L << (JSON_VALID - 284)) | (1L << (JSON_VALUE - 284)) | (1L << (NESTED - 284)) | (1L << (ORDINALITY - 284)) | (1L << (PATH - 284)) | (1L << (AVG - 284)) | (1L << (BIT_AND - 284)) | (1L << (BIT_OR - 284)) | (1L << (BIT_XOR - 284)) | (1L << (COUNT - 284)) | (1L << (CUME_DIST - 284)) | (1L << (DENSE_RANK - 284)) | (1L << (FIRST_VALUE - 284)) | (1L << (GROUP_CONCAT - 284)) | (1L << (LAG - 284)) | (1L << (LAST_VALUE - 284)) | (1L << (LEAD - 284)) | (1L << (MAX - 284)) | (1L << (MIN - 284)) | (1L << (NTILE - 284)) | (1L << (NTH_VALUE - 284)) | (1L << (PERCENT_RANK - 284)) | (1L << (RANK - 284)) | (1L << (ROW_NUMBER - 284)) | (1L << (STD - 284)) | (1L << (STDDEV - 284)) | (1L << (STDDEV_POP - 284)) | (1L << (STDDEV_SAMP - 284)) | (1L << (SUM - 284)) | (1L << (VAR_POP - 284)) | (1L << (VAR_SAMP - 284)) | (1L << (VARIANCE - 284)) | (1L << (CURRENT_DATE - 284)) | (1L << (CURRENT_TIME - 284)) | (1L << (CURRENT_TIMESTAMP - 284)) | (1L << (LOCALTIME - 284)) | (1L << (CURDATE - 284)) | (1L << (CURTIME - 284)) | (1L << (DATE_ADD - 284)) | (1L << (DATE_SUB - 284)) | (1L << (LOCALTIMESTAMP - 284)) | (1L << (NOW - 284)) | (1L << (POSITION - 284)) | (1L << (SUBSTR - 284)) | (1L << (SUBSTRING - 284)) | (1L << (SYSDATE - 284)) | (1L << (TRIM - 284)) | (1L << (UTC_DATE - 284)) | (1L << (UTC_TIME - 284)) | (1L << (UTC_TIMESTAMP - 284)) | (1L << (ACCOUNT - 284)) | (1L << (ACTION - 284)) | (1L << (AFTER - 284)) | (1L << (AGGREGATE - 284)) | (1L << (ALGORITHM - 284)) | (1L << (ANY - 284)) | (1L << (AT - 284)) | (1L << (AUTHORS - 284)) | (1L << (AUTOCOMMIT - 284)) | (1L << (AUTOEXTEND_SIZE - 284)) | (1L << (AUTO_INCREMENT - 284)) | (1L << (AVG_ROW_LENGTH - 284)) | (1L << (BEGIN - 284)))) != 0) || ((((_la - 348)) & ~0x3f) == 0 && ((1L << (_la - 348)) & ((1L << (BINLOG - 348)) | (1L << (BIT - 348)) | (1L << (BLOCK - 348)) | (1L << (BOOL - 348)) | (1L << (BOOLEAN - 348)) | (1L << (BTREE - 348)) | (1L << (CACHE - 348)) | (1L << (CASCADED - 348)) | (1L << (CHAIN - 348)) | (1L << (CHANGED - 348)) | (1L << (CHANNEL - 348)) | (1L << (CHECKSUM - 348)) | (1L << (PAGE_CHECKSUM - 348)) | (1L << (CIPHER - 348)) | (1L << (CLASS_ORIGIN - 348)) | (1L << (CLIENT - 348)) | (1L << (CLOSE - 348)) | (1L << (CLUSTERING - 348)) | (1L << (COALESCE - 348)) | (1L << (CODE - 348)) | (1L << (COLUMNS - 348)) | (1L << (COLUMN_FORMAT - 348)) | (1L << (COLUMN_NAME - 348)) | (1L << (COMMENT - 348)) | (1L << (COMMIT - 348)) | (1L << (COMPACT - 348)) | (1L << (COMPLETION - 348)) | (1L << (COMPRESSED - 348)) | (1L << (COMPRESSION - 348)) | (1L << (CONCURRENT - 348)) | (1L << (CONNECT - 348)) | (1L << (CONNECTION - 348)) | (1L << (CONSISTENT - 348)) | (1L << (CONSTRAINT_CATALOG - 348)) | (1L << (CONSTRAINT_SCHEMA - 348)) | (1L << (CONSTRAINT_NAME - 348)) | (1L << (CONTAINS - 348)) | (1L << (CONTEXT - 348)) | (1L << (CONTRIBUTORS - 348)) | (1L << (COPY - 348)) | (1L << (CPU - 348)) | (1L << (CYCLE - 348)) | (1L << (CURSOR_NAME - 348)) | (1L << (DATA - 348)) | (1L << (DATAFILE - 348)) | (1L << (DEALLOCATE - 348)) | (1L << (DEFAULT_AUTH - 348)) | (1L << (DEFINER - 348)) | (1L << (DELAY_KEY_WRITE - 348)) | (1L << (DES_KEY_FILE - 348)) | (1L << (DIRECTORY - 348)) | (1L << (DISABLE - 348)) | (1L << (DISCARD - 348)) | (1L << (DISK - 348)) | (1L << (DO - 348)) | (1L << (DUMPFILE - 348)) | (1L << (DUPLICATE - 348)) | (1L << (DYNAMIC - 348)) | (1L << (ENABLE - 348)) | (1L << (ENCRYPTED - 348)) | (1L << (ENCRYPTION - 348)) | (1L << (ENCRYPTION_KEY_ID - 348)) | (1L << (END - 348)) | (1L << (ENDS - 348)))) != 0) || ((((_la - 412)) & ~0x3f) == 0 && ((1L << (_la - 412)) & ((1L << (ENGINE - 412)) | (1L << (ENGINES - 412)) | (1L << (ERROR - 412)) | (1L << (ERRORS - 412)) | (1L << (ESCAPE - 412)) | (1L << (EVEN - 412)) | (1L << (EVENT - 412)) | (1L << (EVENTS - 412)) | (1L << (EVERY - 412)) | (1L << (EXCHANGE - 412)) | (1L << (EXCLUSIVE - 412)) | (1L << (EXPIRE - 412)) | (1L << (EXPORT - 412)) | (1L << (EXTENDED - 412)) | (1L << (EXTENT_SIZE - 412)) | (1L << (FAILED_LOGIN_ATTEMPTS - 412)) | (1L << (FAST - 412)) | (1L << (FAULTS - 412)) | (1L << (FIELDS - 412)) | (1L << (FILE_BLOCK_SIZE - 412)) | (1L << (FILTER - 412)) | (1L << (FIRST - 412)) | (1L << (FIXED - 412)) | (1L << (FLUSH - 412)) | (1L << (FOLLOWS - 412)) | (1L << (FOUND - 412)) | (1L << (FULL - 412)) | (1L << (FUNCTION - 412)) | (1L << (GENERAL - 412)) | (1L << (GLOBAL - 412)) | (1L << (GRANTS - 412)) | (1L << (GROUP_REPLICATION - 412)) | (1L << (HANDLER - 412)) | (1L << (HASH - 412)) | (1L << (HELP - 412)) | (1L << (HISTORY - 412)) | (1L << (HOST - 412)) | (1L << (HOSTS - 412)) | (1L << (IDENTIFIED - 412)) | (1L << (IGNORE_SERVER_IDS - 412)) | (1L << (IMPORT - 412)) | (1L << (INCREMENT - 412)) | (1L << (INDEXES - 412)) | (1L << (INITIAL_SIZE - 412)) | (1L << (INPLACE - 412)) | (1L << (INSERT_METHOD - 412)) | (1L << (INSTALL - 412)) | (1L << (INSTANCE - 412)) | (1L << (INSTANT - 412)) | (1L << (INVISIBLE - 412)) | (1L << (INVOKER - 412)) | (1L << (IO - 412)) | (1L << (IO_THREAD - 412)) | (1L << (IPC - 412)) | (1L << (ISOLATION - 412)) | (1L << (ISSUER - 412)) | (1L << (JSON - 412)) | (1L << (KEY_BLOCK_SIZE - 412)) | (1L << (LANGUAGE - 412)) | (1L << (LAST - 412)) | (1L << (LEAVES - 412)) | (1L << (LESS - 412)) | (1L << (LEVEL - 412)))) != 0) || ((((_la - 476)) & ~0x3f) == 0 && ((1L << (_la - 476)) & ((1L << (LIST - 476)) | (1L << (LOCAL - 476)) | (1L << (LOGFILE - 476)) | (1L << (LOGS - 476)) | (1L << (MASTER - 476)) | (1L << (MASTER_AUTO_POSITION - 476)) | (1L << (MASTER_CONNECT_RETRY - 476)) | (1L << (MASTER_DELAY - 476)) | (1L << (MASTER_HEARTBEAT_PERIOD - 476)) | (1L << (MASTER_HOST - 476)) | (1L << (MASTER_LOG_FILE - 476)) | (1L << (MASTER_LOG_POS - 476)) | (1L << (MASTER_PASSWORD - 476)) | (1L << (MASTER_PORT - 476)) | (1L << (MASTER_RETRY_COUNT - 476)) | (1L << (MASTER_SSL - 476)) | (1L << (MASTER_SSL_CA - 476)) | (1L << (MASTER_SSL_CAPATH - 476)) | (1L << (MASTER_SSL_CERT - 476)) | (1L << (MASTER_SSL_CIPHER - 476)) | (1L << (MASTER_SSL_CRL - 476)) | (1L << (MASTER_SSL_CRLPATH - 476)) | (1L << (MASTER_SSL_KEY - 476)) | (1L << (MASTER_TLS_VERSION - 476)) | (1L << (MASTER_USER - 476)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 476)) | (1L << (MAX_QUERIES_PER_HOUR - 476)) | (1L << (MAX_ROWS - 476)) | (1L << (MAX_SIZE - 476)) | (1L << (MAX_UPDATES_PER_HOUR - 476)) | (1L << (MAX_USER_CONNECTIONS - 476)) | (1L << (MEDIUM - 476)) | (1L << (MEMBER - 476)) | (1L << (MERGE - 476)) | (1L << (MESSAGE_TEXT - 476)) | (1L << (MID - 476)) | (1L << (MIGRATE - 476)) | (1L << (MIN_ROWS - 476)) | (1L << (MODE - 476)) | (1L << (MODIFY - 476)) | (1L << (MUTEX - 476)) | (1L << (MYSQL - 476)) | (1L << (MYSQL_ERRNO - 476)) | (1L << (NAME - 476)) | (1L << (NAMES - 476)) | (1L << (NCHAR - 476)) | (1L << (NEVER - 476)) | (1L << (NEXT - 476)) | (1L << (NO - 476)) | (1L << (NOCACHE - 476)) | (1L << (NOCOPY - 476)) | (1L << (NOCYCLE - 476)) | (1L << (NOMAXVALUE - 476)) | (1L << (NOMINVALUE - 476)) | (1L << (NOWAIT - 476)) | (1L << (NODEGROUP - 476)) | (1L << (NONE - 476)) | (1L << (ODBC - 476)) | (1L << (OFFLINE - 476)) | (1L << (OFFSET - 476)) | (1L << (OF - 476)) | (1L << (OJ - 476)) | (1L << (OLD_PASSWORD - 476)) | (1L << (ONE - 476)))) != 0) || ((((_la - 540)) & ~0x3f) == 0 && ((1L << (_la - 540)) & ((1L << (ONLINE - 540)) | (1L << (ONLY - 540)) | (1L << (OPEN - 540)) | (1L << (OPTIMIZER_COSTS - 540)) | (1L << (OPTIONS - 540)) | (1L << (OWNER - 540)) | (1L << (PACK_KEYS - 540)) | (1L << (PAGE - 540)) | (1L << (PARSER - 540)) | (1L << (PARTIAL - 540)) | (1L << (PARTITIONING - 540)) | (1L << (PARTITIONS - 540)) | (1L << (PASSWORD - 540)) | (1L << (PASSWORD_LOCK_TIME - 540)) | (1L << (PHASE - 540)) | (1L << (PLUGIN - 540)) | (1L << (PLUGIN_DIR - 540)) | (1L << (PLUGINS - 540)) | (1L << (PORT - 540)) | (1L << (PRECEDES - 540)) | (1L << (PREPARE - 540)) | (1L << (PRESERVE - 540)) | (1L << (PREV - 540)) | (1L << (PROCESSLIST - 540)) | (1L << (PROFILE - 540)) | (1L << (PROFILES - 540)) | (1L << (PROXY - 540)) | (1L << (QUERY - 540)) | (1L << (QUICK - 540)) | (1L << (REBUILD - 540)) | (1L << (RECOVER - 540)) | (1L << (RECURSIVE - 540)) | (1L << (REDO_BUFFER_SIZE - 540)) | (1L << (REDUNDANT - 540)) | (1L << (RELAY - 540)) | (1L << (RELAY_LOG_FILE - 540)) | (1L << (RELAY_LOG_POS - 540)) | (1L << (RELAYLOG - 540)) | (1L << (REMOVE - 540)) | (1L << (REORGANIZE - 540)) | (1L << (REPAIR - 540)) | (1L << (REPLICATE_DO_DB - 540)) | (1L << (REPLICATE_DO_TABLE - 540)) | (1L << (REPLICATE_IGNORE_DB - 540)) | (1L << (REPLICATE_IGNORE_TABLE - 540)) | (1L << (REPLICATE_REWRITE_DB - 540)) | (1L << (REPLICATE_WILD_DO_TABLE - 540)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 540)) | (1L << (REPLICATION - 540)) | (1L << (RESET - 540)) | (1L << (RESTART - 540)) | (1L << (RESUME - 540)) | (1L << (RETURNED_SQLSTATE - 540)) | (1L << (RETURNING - 540)) | (1L << (RETURNS - 540)) | (1L << (REUSE - 540)) | (1L << (ROLE - 540)) | (1L << (ROLLBACK - 540)) | (1L << (ROLLUP - 540)) | (1L << (ROTATE - 540)) | (1L << (ROW - 540)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROWS - 604)) | (1L << (ROW_FORMAT - 604)) | (1L << (RTREE - 604)) | (1L << (SAVEPOINT - 604)) | (1L << (SCHEDULE - 604)) | (1L << (SECURITY - 604)) | (1L << (SEQUENCE - 604)) | (1L << (SERVER - 604)) | (1L << (SESSION - 604)) | (1L << (SHARE - 604)) | (1L << (SHARED - 604)) | (1L << (SIGNED - 604)) | (1L << (SIMPLE - 604)) | (1L << (SLAVE - 604)) | (1L << (SLOW - 604)) | (1L << (SNAPSHOT - 604)) | (1L << (SOCKET - 604)) | (1L << (SOME - 604)) | (1L << (SONAME - 604)) | (1L << (SOUNDS - 604)) | (1L << (SOURCE - 604)) | (1L << (SQL_AFTER_GTIDS - 604)) | (1L << (SQL_AFTER_MTS_GAPS - 604)) | (1L << (SQL_BEFORE_GTIDS - 604)) | (1L << (SQL_BUFFER_RESULT - 604)) | (1L << (SQL_CACHE - 604)) | (1L << (SQL_NO_CACHE - 604)) | (1L << (SQL_THREAD - 604)) | (1L << (START - 604)) | (1L << (STARTS - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STATUS - 604)) | (1L << (STOP - 604)) | (1L << (STORAGE - 604)) | (1L << (STRING - 604)) | (1L << (SUBCLASS_ORIGIN - 604)) | (1L << (SUBJECT - 604)) | (1L << (SUBPARTITION - 604)) | (1L << (SUBPARTITIONS - 604)) | (1L << (SUSPEND - 604)) | (1L << (SWAPS - 604)) | (1L << (SWITCHES - 604)) | (1L << (TABLE_NAME - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TEMPORARY - 604)) | (1L << (TEMPTABLE - 604)) | (1L << (THAN - 604)) | (1L << (TRADITIONAL - 604)) | (1L << (TRANSACTION - 604)) | (1L << (TRANSACTIONAL - 604)) | (1L << (TRIGGERS - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNBOUNDED - 604)) | (1L << (UNDEFINED - 604)) | (1L << (UNDOFILE - 604)) | (1L << (UNDO_BUFFER_SIZE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (UNKNOWN - 604)) | (1L << (UNTIL - 604)) | (1L << (UPGRADE - 604)))) != 0) || ((((_la - 668)) & ~0x3f) == 0 && ((1L << (_la - 668)) & ((1L << (USER - 668)) | (1L << (USE_FRM - 668)) | (1L << (USER_RESOURCES - 668)) | (1L << (VALIDATION - 668)) | (1L << (VALUE - 668)) | (1L << (VARIABLES - 668)) | (1L << (VIEW - 668)) | (1L << (VIRTUAL - 668)) | (1L << (VISIBLE - 668)) | (1L << (WAIT - 668)) | (1L << (WARNINGS - 668)) | (1L << (WITHOUT - 668)) | (1L << (WORK - 668)) | (1L << (WRAPPER - 668)) | (1L << (X509 - 668)) | (1L << (XA - 668)) | (1L << (XML - 668)) | (1L << (YES - 668)) | (1L << (EUR - 668)) | (1L << (USA - 668)) | (1L << (JIS - 668)) | (1L << (ISO - 668)) | (1L << (INTERNAL - 668)) | (1L << (QUARTER - 668)) | (1L << (MONTH - 668)) | (1L << (DAY - 668)) | (1L << (HOUR - 668)) | (1L << (MINUTE - 668)) | (1L << (WEEK - 668)) | (1L << (SECOND - 668)) | (1L << (MICROSECOND - 668)) | (1L << (USER_STATISTICS - 668)) | (1L << (CLIENT_STATISTICS - 668)) | (1L << (INDEX_STATISTICS - 668)) | (1L << (TABLE_STATISTICS - 668)) | (1L << (FIREWALL_RULES - 668)) | (1L << (ADMIN - 668)) | (1L << (APPLICATION_PASSWORD_ADMIN - 668)) | (1L << (AUDIT_ADMIN - 668)) | (1L << (AUDIT_ABORT_EXEMPT - 668)) | (1L << (AUTHENTICATION_POLICY_ADMIN - 668)) | (1L << (BACKUP_ADMIN - 668)) | (1L << (BINLOG_ADMIN - 668)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 668)) | (1L << (CLONE_ADMIN - 668)) | (1L << (CONNECTION_ADMIN - 668)) | (1L << (ENCRYPTION_KEY_ADMIN - 668)) | (1L << (EXECUTE - 668)) | (1L << (FILE - 668)) | (1L << (FIREWALL_ADMIN - 668)) | (1L << (FIREWALL_EXEMPT - 668)) | (1L << (FIREWALL_USER - 668)) | (1L << (FLUSH_OPTIMIZER_COSTS - 668)) | (1L << (FLUSH_STATUS - 668)) | (1L << (FLUSH_TABLES - 668)) | (1L << (FLUSH_USER_RESOURCES - 668)) | (1L << (GROUP_REPLICATION_ADMIN - 668)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 668)) | (1L << (INNODB_REDO_LOG_ENABLE - 668)) | (1L << (INVOKE - 668)) | (1L << (LAMBDA - 668)) | (1L << (NDB_STORED_USER - 668)) | (1L << (PASSWORDLESS_USER_ADMIN - 668)))) != 0) || ((((_la - 732)) & ~0x3f) == 0 && ((1L << (_la - 732)) & ((1L << (PERSIST_RO_VARIABLES_ADMIN - 732)) | (1L << (PRIVILEGES - 732)) | (1L << (PROCESS - 732)) | (1L << (RELOAD - 732)) | (1L << (REPLICATION_APPLIER - 732)) | (1L << (REPLICATION_SLAVE_ADMIN - 732)) | (1L << (RESOURCE_GROUP_ADMIN - 732)) | (1L << (RESOURCE_GROUP_USER - 732)) | (1L << (ROLE_ADMIN - 732)) | (1L << (ROUTINE - 732)) | (1L << (S3 - 732)) | (1L << (SESSION_VARIABLES_ADMIN - 732)) | (1L << (SET_USER_ID - 732)) | (1L << (SHOW_ROUTINE - 732)) | (1L << (SHUTDOWN - 732)) | (1L << (SUPER - 732)) | (1L << (SYSTEM_VARIABLES_ADMIN - 732)) | (1L << (TABLES - 732)) | (1L << (TABLE_ENCRYPTION_ADMIN - 732)) | (1L << (VERSION_TOKEN_ADMIN - 732)) | (1L << (XA_RECOVER_ADMIN - 732)) | (1L << (ARMSCII8 - 732)) | (1L << (ASCII - 732)) | (1L << (BIG5 - 732)) | (1L << (CP1250 - 732)) | (1L << (CP1251 - 732)) | (1L << (CP1256 - 732)) | (1L << (CP1257 - 732)) | (1L << (CP850 - 732)) | (1L << (CP852 - 732)) | (1L << (CP866 - 732)) | (1L << (CP932 - 732)) | (1L << (DEC8 - 732)) | (1L << (EUCJPMS - 732)) | (1L << (EUCKR - 732)) | (1L << (GB18030 - 732)) | (1L << (GB2312 - 732)) | (1L << (GBK - 732)) | (1L << (GEOSTD8 - 732)) | (1L << (GREEK - 732)) | (1L << (HEBREW - 732)) | (1L << (HP8 - 732)) | (1L << (KEYBCS2 - 732)) | (1L << (KOI8R - 732)) | (1L << (KOI8U - 732)) | (1L << (LATIN1 - 732)) | (1L << (LATIN2 - 732)) | (1L << (LATIN5 - 732)) | (1L << (LATIN7 - 732)) | (1L << (MACCE - 732)) | (1L << (MACROMAN - 732)) | (1L << (SJIS - 732)) | (1L << (SWE7 - 732)) | (1L << (TIS620 - 732)) | (1L << (UCS2 - 732)) | (1L << (UJIS - 732)) | (1L << (UTF16 - 732)) | (1L << (UTF16LE - 732)) | (1L << (UTF32 - 732)) | (1L << (UTF8 - 732)) | (1L << (UTF8MB3 - 732)) | (1L << (UTF8MB4 - 732)) | (1L << (ARCHIVE - 732)))) != 0) || ((((_la - 796)) & ~0x3f) == 0 && ((1L << (_la - 796)) & ((1L << (BLACKHOLE - 796)) | (1L << (CSV - 796)) | (1L << (FEDERATED - 796)) | (1L << (INNODB - 796)) | (1L << (MEMORY - 796)) | (1L << (MRG_MYISAM - 796)) | (1L << (MYISAM - 796)) | (1L << (NDB - 796)) | (1L << (NDBCLUSTER - 796)) | (1L << (PERFORMANCE_SCHEMA - 796)) | (1L << (TOKUDB - 796)) | (1L << (REPEATABLE - 796)) | (1L << (COMMITTED - 796)) | (1L << (UNCOMMITTED - 796)) | (1L << (SERIALIZABLE - 796)) | (1L << (GEOMETRYCOLLECTION - 796)) | (1L << (GEOMETRY - 796)) | (1L << (LINESTRING - 796)) | (1L << (MULTILINESTRING - 796)) | (1L << (MULTIPOINT - 796)) | (1L << (MULTIPOLYGON - 796)) | (1L << (POINT - 796)) | (1L << (POLYGON - 796)) | (1L << (ABS - 796)) | (1L << (ACOS - 796)) | (1L << (ADDDATE - 796)) | (1L << (ADDTIME - 796)) | (1L << (AES_DECRYPT - 796)) | (1L << (AES_ENCRYPT - 796)) | (1L << (AREA - 796)) | (1L << (ASBINARY - 796)) | (1L << (ASIN - 796)) | (1L << (ASTEXT - 796)) | (1L << (ASWKB - 796)) | (1L << (ASWKT - 796)) | (1L << (ASYMMETRIC_DECRYPT - 796)) | (1L << (ASYMMETRIC_DERIVE - 796)) | (1L << (ASYMMETRIC_ENCRYPT - 796)) | (1L << (ASYMMETRIC_SIGN - 796)) | (1L << (ASYMMETRIC_VERIFY - 796)) | (1L << (ATAN - 796)) | (1L << (ATAN2 - 796)) | (1L << (BENCHMARK - 796)) | (1L << (BIN - 796)) | (1L << (BIT_COUNT - 796)) | (1L << (BIT_LENGTH - 796)) | (1L << (BUFFER - 796)) | (1L << (CATALOG_NAME - 796)) | (1L << (CEIL - 796)) | (1L << (CEILING - 796)) | (1L << (CENTROID - 796)) | (1L << (CHARACTER_LENGTH - 796)) | (1L << (CHARSET - 796)) | (1L << (CHAR_LENGTH - 796)) | (1L << (COERCIBILITY - 796)) | (1L << (COLLATION - 796)) | (1L << (COMPRESS - 796)) | (1L << (CONCAT - 796)) | (1L << (CONCAT_WS - 796)) | (1L << (CONNECTION_ID - 796)) | (1L << (CONV - 796)) | (1L << (CONVERT_TZ - 796)) | (1L << (COS - 796)))) != 0) || ((((_la - 860)) & ~0x3f) == 0 && ((1L << (_la - 860)) & ((1L << (COT - 860)) | (1L << (CRC32 - 860)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 860)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 860)) | (1L << (CREATE_DH_PARAMETERS - 860)) | (1L << (CREATE_DIGEST - 860)) | (1L << (CROSSES - 860)) | (1L << (DATEDIFF - 860)) | (1L << (DATE_FORMAT - 860)) | (1L << (DAYNAME - 860)) | (1L << (DAYOFMONTH - 860)) | (1L << (DAYOFWEEK - 860)) | (1L << (DAYOFYEAR - 860)) | (1L << (DECODE - 860)) | (1L << (DEGREES - 860)) | (1L << (DES_DECRYPT - 860)) | (1L << (DES_ENCRYPT - 860)) | (1L << (DIMENSION - 860)) | (1L << (DISJOINT - 860)) | (1L << (ELT - 860)) | (1L << (ENCODE - 860)) | (1L << (ENCRYPT - 860)) | (1L << (ENDPOINT - 860)) | (1L << (ENGINE_ATTRIBUTE - 860)) | (1L << (ENVELOPE - 860)) | (1L << (EQUALS - 860)) | (1L << (EXP - 860)) | (1L << (EXPORT_SET - 860)) | (1L << (EXTERIORRING - 860)) | (1L << (EXTRACTVALUE - 860)) | (1L << (FIELD - 860)) | (1L << (FIND_IN_SET - 860)) | (1L << (FLOOR - 860)) | (1L << (FORMAT - 860)) | (1L << (FOUND_ROWS - 860)) | (1L << (FROM_BASE64 - 860)) | (1L << (FROM_DAYS - 860)) | (1L << (FROM_UNIXTIME - 860)) | (1L << (GEOMCOLLFROMTEXT - 860)) | (1L << (GEOMCOLLFROMWKB - 860)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 860)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 860)) | (1L << (GEOMETRYFROMTEXT - 860)) | (1L << (GEOMETRYFROMWKB - 860)) | (1L << (GEOMETRYN - 860)) | (1L << (GEOMETRYTYPE - 860)) | (1L << (GEOMFROMTEXT - 860)) | (1L << (GEOMFROMWKB - 860)) | (1L << (GET_FORMAT - 860)) | (1L << (GET_LOCK - 860)) | (1L << (GLENGTH - 860)) | (1L << (GREATEST - 860)) | (1L << (GTID_SUBSET - 860)) | (1L << (GTID_SUBTRACT - 860)) | (1L << (HEX - 860)) | (1L << (IFNULL - 860)) | (1L << (INET6_ATON - 860)) | (1L << (INET6_NTOA - 860)) | (1L << (INET_ATON - 860)) | (1L << (INET_NTOA - 860)) | (1L << (INSTR - 860)) | (1L << (INTERIORRINGN - 860)) | (1L << (INTERSECTS - 860)) | (1L << (ISCLOSED - 860)))) != 0) || ((((_la - 924)) & ~0x3f) == 0 && ((1L << (_la - 924)) & ((1L << (ISEMPTY - 924)) | (1L << (ISNULL - 924)) | (1L << (ISSIMPLE - 924)) | (1L << (IS_FREE_LOCK - 924)) | (1L << (IS_IPV4 - 924)) | (1L << (IS_IPV4_COMPAT - 924)) | (1L << (IS_IPV4_MAPPED - 924)) | (1L << (IS_IPV6 - 924)) | (1L << (IS_USED_LOCK - 924)) | (1L << (LAST_INSERT_ID - 924)) | (1L << (LCASE - 924)) | (1L << (LEAST - 924)) | (1L << (LENGTH - 924)) | (1L << (LINEFROMTEXT - 924)) | (1L << (LINEFROMWKB - 924)) | (1L << (LINESTRINGFROMTEXT - 924)) | (1L << (LINESTRINGFROMWKB - 924)) | (1L << (LN - 924)) | (1L << (LOAD_FILE - 924)) | (1L << (LOCATE - 924)) | (1L << (LOG - 924)) | (1L << (LOG10 - 924)) | (1L << (LOG2 - 924)) | (1L << (LOWER - 924)) | (1L << (LPAD - 924)) | (1L << (LTRIM - 924)) | (1L << (MAKEDATE - 924)) | (1L << (MAKETIME - 924)) | (1L << (MAKE_SET - 924)) | (1L << (MASTER_POS_WAIT - 924)) | (1L << (MBRCONTAINS - 924)) | (1L << (MBRDISJOINT - 924)) | (1L << (MBREQUAL - 924)) | (1L << (MBRINTERSECTS - 924)) | (1L << (MBROVERLAPS - 924)) | (1L << (MBRTOUCHES - 924)) | (1L << (MBRWITHIN - 924)) | (1L << (MD5 - 924)) | (1L << (MLINEFROMTEXT - 924)) | (1L << (MLINEFROMWKB - 924)) | (1L << (MONTHNAME - 924)) | (1L << (MPOINTFROMTEXT - 924)) | (1L << (MPOINTFROMWKB - 924)) | (1L << (MPOLYFROMTEXT - 924)) | (1L << (MPOLYFROMWKB - 924)) | (1L << (MULTILINESTRINGFROMTEXT - 924)) | (1L << (MULTILINESTRINGFROMWKB - 924)) | (1L << (MULTIPOINTFROMTEXT - 924)) | (1L << (MULTIPOINTFROMWKB - 924)) | (1L << (MULTIPOLYGONFROMTEXT - 924)) | (1L << (MULTIPOLYGONFROMWKB - 924)) | (1L << (NAME_CONST - 924)) | (1L << (NULLIF - 924)) | (1L << (NUMGEOMETRIES - 924)) | (1L << (NUMINTERIORRINGS - 924)) | (1L << (NUMPOINTS - 924)) | (1L << (OCT - 924)) | (1L << (OCTET_LENGTH - 924)) | (1L << (ORD - 924)) | (1L << (OVERLAPS - 924)) | (1L << (PERIOD_ADD - 924)) | (1L << (PERIOD_DIFF - 924)) | (1L << (PI - 924)) | (1L << (POINTFROMTEXT - 924)))) != 0) || ((((_la - 988)) & ~0x3f) == 0 && ((1L << (_la - 988)) & ((1L << (POINTFROMWKB - 988)) | (1L << (POINTN - 988)) | (1L << (POLYFROMTEXT - 988)) | (1L << (POLYFROMWKB - 988)) | (1L << (POLYGONFROMTEXT - 988)) | (1L << (POLYGONFROMWKB - 988)) | (1L << (POW - 988)) | (1L << (POWER - 988)) | (1L << (QUOTE - 988)) | (1L << (RADIANS - 988)) | (1L << (RAND - 988)) | (1L << (RANDOM - 988)) | (1L << (RANDOM_BYTES - 988)) | (1L << (RELEASE_LOCK - 988)) | (1L << (REVERSE - 988)) | (1L << (ROUND - 988)) | (1L << (ROW_COUNT - 988)) | (1L << (RPAD - 988)) | (1L << (RTRIM - 988)) | (1L << (SEC_TO_TIME - 988)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 988)) | (1L << (SENSITIVE_VARIABLES_OBSERVER - 988)) | (1L << (SESSION_USER - 988)) | (1L << (SHA - 988)) | (1L << (SHA1 - 988)) | (1L << (SHA2 - 988)) | (1L << (SCHEMA_NAME - 988)) | (1L << (SIGN - 988)) | (1L << (SIN - 988)) | (1L << (SLEEP - 988)) | (1L << (SOUNDEX - 988)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 988)) | (1L << (SQRT - 988)) | (1L << (SRID - 988)) | (1L << (STARTPOINT - 988)) | (1L << (STRCMP - 988)) | (1L << (STR_TO_DATE - 988)) | (1L << (ST_AREA - 988)) | (1L << (ST_ASBINARY - 988)) | (1L << (ST_ASTEXT - 988)) | (1L << (ST_ASWKB - 988)) | (1L << (ST_ASWKT - 988)) | (1L << (ST_BUFFER - 988)) | (1L << (ST_CENTROID - 988)) | (1L << (ST_CONTAINS - 988)) | (1L << (ST_CROSSES - 988)) | (1L << (ST_DIFFERENCE - 988)) | (1L << (ST_DIMENSION - 988)) | (1L << (ST_DISJOINT - 988)) | (1L << (ST_DISTANCE - 988)) | (1L << (ST_ENDPOINT - 988)) | (1L << (ST_ENVELOPE - 988)) | (1L << (ST_EQUALS - 988)) | (1L << (ST_EXTERIORRING - 988)) | (1L << (ST_GEOMCOLLFROMTEXT - 988)) | (1L << (ST_GEOMCOLLFROMTXT - 988)) | (1L << (ST_GEOMCOLLFROMWKB - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 988)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 988)) | (1L << (ST_GEOMETRYFROMTEXT - 988)) | (1L << (ST_GEOMETRYFROMWKB - 988)) | (1L << (ST_GEOMETRYN - 988)) | (1L << (ST_GEOMETRYTYPE - 988)) | (1L << (ST_GEOMFROMTEXT - 988)))) != 0) || ((((_la - 1052)) & ~0x3f) == 0 && ((1L << (_la - 1052)) & ((1L << (ST_GEOMFROMWKB - 1052)) | (1L << (ST_INTERIORRINGN - 1052)) | (1L << (ST_INTERSECTION - 1052)) | (1L << (ST_INTERSECTS - 1052)) | (1L << (ST_ISCLOSED - 1052)) | (1L << (ST_ISEMPTY - 1052)) | (1L << (ST_ISSIMPLE - 1052)) | (1L << (ST_LINEFROMTEXT - 1052)) | (1L << (ST_LINEFROMWKB - 1052)) | (1L << (ST_LINESTRINGFROMTEXT - 1052)) | (1L << (ST_LINESTRINGFROMWKB - 1052)) | (1L << (ST_NUMGEOMETRIES - 1052)) | (1L << (ST_NUMINTERIORRING - 1052)) | (1L << (ST_NUMINTERIORRINGS - 1052)) | (1L << (ST_NUMPOINTS - 1052)) | (1L << (ST_OVERLAPS - 1052)) | (1L << (ST_POINTFROMTEXT - 1052)) | (1L << (ST_POINTFROMWKB - 1052)) | (1L << (ST_POINTN - 1052)) | (1L << (ST_POLYFROMTEXT - 1052)) | (1L << (ST_POLYFROMWKB - 1052)) | (1L << (ST_POLYGONFROMTEXT - 1052)) | (1L << (ST_POLYGONFROMWKB - 1052)) | (1L << (ST_SRID - 1052)) | (1L << (ST_STARTPOINT - 1052)) | (1L << (ST_SYMDIFFERENCE - 1052)) | (1L << (ST_TOUCHES - 1052)) | (1L << (ST_UNION - 1052)) | (1L << (ST_WITHIN - 1052)) | (1L << (ST_X - 1052)) | (1L << (ST_Y - 1052)) | (1L << (SUBDATE - 1052)) | (1L << (SUBSTRING_INDEX - 1052)) | (1L << (SUBTIME - 1052)) | (1L << (SYSTEM_USER - 1052)) | (1L << (SYSTEM - 1052)) | (1L << (TAN - 1052)) | (1L << (TELEMETRY_LOG_ADMIN - 1052)) | (1L << (TIMEDIFF - 1052)) | (1L << (TIMESTAMPADD - 1052)) | (1L << (TIMESTAMPDIFF - 1052)) | (1L << (TIME_FORMAT - 1052)) | (1L << (TIME_TO_SEC - 1052)) | (1L << (TOUCHES - 1052)) | (1L << (TO_BASE64 - 1052)) | (1L << (TO_DAYS - 1052)) | (1L << (TO_SECONDS - 1052)) | (1L << (TP_CONNECTION_ADMIN - 1052)) | (1L << (UCASE - 1052)) | (1L << (UNCOMPRESS - 1052)) | (1L << (UNCOMPRESSED_LENGTH - 1052)) | (1L << (UNHEX - 1052)) | (1L << (UNIX_TIMESTAMP - 1052)) | (1L << (UPDATEXML - 1052)) | (1L << (UPPER - 1052)) | (1L << (UUID - 1052)) | (1L << (UUID_SHORT - 1052)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1052)) | (1L << (VERSION - 1052)) | (1L << (VERSIONING - 1052)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1052)) | (1L << (WEEKDAY - 1052)) | (1L << (WEEKOFYEAR - 1052)) | (1L << (WEIGHT_STRING - 1052)))) != 0) || ((((_la - 1116)) & ~0x3f) == 0 && ((1L << (_la - 1116)) & ((1L << (WITHIN - 1116)) | (1L << (YEARWEEK - 1116)) | (1L << (Y_FUNCTION - 1116)) | (1L << (X_FUNCTION - 1116)) | (1L << (VIA - 1116)) | (1L << (LASTVAL - 1116)) | (1L << (NEXTVAL - 1116)) | (1L << (SETVAL - 1116)) | (1L << (PREVIOUS - 1116)) | (1L << (PERSISTENT - 1116)) | (1L << (BINLOG_MONITOR - 1116)) | (1L << (BINLOG_REPLAY - 1116)) | (1L << (FEDERATED_ADMIN - 1116)) | (1L << (READ_ONLY_ADMIN - 1116)) | (1L << (REPLICA - 1116)) | (1L << (REPLICATION_MASTER_ADMIN - 1116)) | (1L << (MONITOR - 1116)) | (1L << (READ_ONLY - 1116)) | (1L << (REPLAY - 1116)) | (1L << (MOD - 1116)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1116)) | (1L << (STRING_LITERAL - 1116)))) != 0) || _la==ID) {
{
setState(3975);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(3974);
match(AS);
}
}
setState(3977);
uid();
}
}
setState(3980);
match(SET);
setState(3981);
updatedElement();
setState(3986);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3982);
match(COMMA);
setState(3983);
updatedElement();
}
}
setState(3988);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(3991);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WHERE) {
{
setState(3989);
match(WHERE);
setState(3990);
expression(0);
}
}
setState(3994);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ORDER) {
{
setState(3993);
orderByClause();
}
}
setState(3997);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LIMIT) {
{
setState(3996);
limitClause();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class MultipleUpdateStatementContext extends ParserRuleContext {
public Token priority;
public TerminalNode UPDATE() { return getToken(MySqlParser.UPDATE, 0); }
public TableSourcesContext tableSources() {
return getRuleContext(TableSourcesContext.class,0);
}
public TerminalNode SET() { return getToken(MySqlParser.SET, 0); }
public List updatedElement() {
return getRuleContexts(UpdatedElementContext.class);
}
public UpdatedElementContext updatedElement(int i) {
return getRuleContext(UpdatedElementContext.class,i);
}
public TerminalNode IGNORE() { return getToken(MySqlParser.IGNORE, 0); }
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public TerminalNode WHERE() { return getToken(MySqlParser.WHERE, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode LOW_PRIORITY() { return getToken(MySqlParser.LOW_PRIORITY, 0); }
public MultipleUpdateStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_multipleUpdateStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterMultipleUpdateStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitMultipleUpdateStatement(this);
}
}
public final MultipleUpdateStatementContext multipleUpdateStatement() throws RecognitionException {
MultipleUpdateStatementContext _localctx = new MultipleUpdateStatementContext(_ctx, getState());
enterRule(_localctx, 246, RULE_multipleUpdateStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3999);
match(UPDATE);
setState(4001);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LOW_PRIORITY) {
{
setState(4000);
((MultipleUpdateStatementContext)_localctx).priority = match(LOW_PRIORITY);
}
}
setState(4004);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE) {
{
setState(4003);
match(IGNORE);
}
}
setState(4006);
tableSources();
setState(4007);
match(SET);
setState(4008);
updatedElement();
setState(4013);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(4009);
match(COMMA);
setState(4010);
updatedElement();
}
}
setState(4015);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(4018);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WHERE) {
{
setState(4016);
match(WHERE);
setState(4017);
expression(0);
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class OrderByClauseContext extends ParserRuleContext {
public TerminalNode ORDER() { return getToken(MySqlParser.ORDER, 0); }
public TerminalNode BY() { return getToken(MySqlParser.BY, 0); }
public List orderByExpression() {
return getRuleContexts(OrderByExpressionContext.class);
}
public OrderByExpressionContext orderByExpression(int i) {
return getRuleContext(OrderByExpressionContext.class,i);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public OrderByClauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_orderByClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterOrderByClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitOrderByClause(this);
}
}
public final OrderByClauseContext orderByClause() throws RecognitionException {
OrderByClauseContext _localctx = new OrderByClauseContext(_ctx, getState());
enterRule(_localctx, 248, RULE_orderByClause);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(4020);
match(ORDER);
setState(4021);
match(BY);
setState(4022);
orderByExpression();
setState(4027);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,589,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(4023);
match(COMMA);
setState(4024);
orderByExpression();
}
}
}
setState(4029);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,589,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class OrderByExpressionContext extends ParserRuleContext {
public Token order;
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode ASC() { return getToken(MySqlParser.ASC, 0); }
public TerminalNode DESC() { return getToken(MySqlParser.DESC, 0); }
public OrderByExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_orderByExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterOrderByExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitOrderByExpression(this);
}
}
public final OrderByExpressionContext orderByExpression() throws RecognitionException {
OrderByExpressionContext _localctx = new OrderByExpressionContext(_ctx, getState());
enterRule(_localctx, 250, RULE_orderByExpression);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4030);
expression(0);
setState(4032);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,590,_ctx) ) {
case 1:
{
setState(4031);
((OrderByExpressionContext)_localctx).order = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==ASC || _la==DESC) ) {
((OrderByExpressionContext)_localctx).order = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TableSourcesContext extends ParserRuleContext {
public List tableSource() {
return getRuleContexts(TableSourceContext.class);
}
public TableSourceContext tableSource(int i) {
return getRuleContext(TableSourceContext.class,i);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public TableSourcesContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tableSources; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableSources(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableSources(this);
}
}
public final TableSourcesContext tableSources() throws RecognitionException {
TableSourcesContext _localctx = new TableSourcesContext(_ctx, getState());
enterRule(_localctx, 252, RULE_tableSources);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(4034);
tableSource();
setState(4039);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,591,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(4035);
match(COMMA);
setState(4036);
tableSource();
}
}
}
setState(4041);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,591,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TableSourceContext extends ParserRuleContext {
public TableSourceContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tableSource; }
public TableSourceContext() { }
public void copyFrom(TableSourceContext ctx) {
super.copyFrom(ctx);
}
}
public static class TableJsonContext extends TableSourceContext {
public JsonTableContext jsonTable() {
return getRuleContext(JsonTableContext.class,0);
}
public TableJsonContext(TableSourceContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableJson(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableJson(this);
}
}
public static class TableSourceNestedContext extends TableSourceContext {
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public TableSourceItemContext tableSourceItem() {
return getRuleContext(TableSourceItemContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public List joinPart() {
return getRuleContexts(JoinPartContext.class);
}
public JoinPartContext joinPart(int i) {
return getRuleContext(JoinPartContext.class,i);
}
public TableSourceNestedContext(TableSourceContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableSourceNested(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableSourceNested(this);
}
}
public static class TableSourceBaseContext extends TableSourceContext {
public TableSourceItemContext tableSourceItem() {
return getRuleContext(TableSourceItemContext.class,0);
}
public List joinPart() {
return getRuleContexts(JoinPartContext.class);
}
public JoinPartContext joinPart(int i) {
return getRuleContext(JoinPartContext.class,i);
}
public TableSourceBaseContext(TableSourceContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableSourceBase(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableSourceBase(this);
}
}
public final TableSourceContext tableSource() throws RecognitionException {
TableSourceContext _localctx = new TableSourceContext(_ctx, getState());
enterRule(_localctx, 254, RULE_tableSource);
int _la;
try {
int _alt;
setState(4060);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,594,_ctx) ) {
case 1:
_localctx = new TableSourceBaseContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(4042);
tableSourceItem();
setState(4046);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,592,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(4043);
joinPart();
}
}
}
setState(4048);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,592,_ctx);
}
}
break;
case 2:
_localctx = new TableSourceNestedContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(4049);
match(LR_BRACKET);
setState(4050);
tableSourceItem();
setState(4054);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==CROSS || ((((_la - 85)) & ~0x3f) == 0 && ((1L << (_la - 85)) & ((1L << (INNER - 85)) | (1L << (JOIN - 85)) | (1L << (LEFT - 85)) | (1L << (NATURAL - 85)))) != 0) || _la==RIGHT || _la==STRAIGHT_JOIN) {
{
{
setState(4051);
joinPart();
}
}
setState(4056);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(4057);
match(RR_BRACKET);
}
break;
case 3:
_localctx = new TableJsonContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(4059);
jsonTable();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TableSourceItemContext extends ParserRuleContext {
public TableSourceItemContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tableSourceItem; }
public TableSourceItemContext() { }
public void copyFrom(TableSourceItemContext ctx) {
super.copyFrom(ctx);
}
}
public static class SubqueryTableItemContext extends TableSourceItemContext {
public SelectStatementContext parenthesisSubquery;
public UidContext alias;
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public SelectStatementContext selectStatement() {
return getRuleContext(SelectStatementContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode AS() { return getToken(MySqlParser.AS, 0); }
public SubqueryTableItemContext(TableSourceItemContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSubqueryTableItem(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSubqueryTableItem(this);
}
}
public static class AtomTableItemContext extends TableSourceItemContext {
public UidContext alias;
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode PARTITION() { return getToken(MySqlParser.PARTITION, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public List indexHint() {
return getRuleContexts(IndexHintContext.class);
}
public IndexHintContext indexHint(int i) {
return getRuleContext(IndexHintContext.class,i);
}
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode AS() { return getToken(MySqlParser.AS, 0); }
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public AtomTableItemContext(TableSourceItemContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterAtomTableItem(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitAtomTableItem(this);
}
}
public static class TableSourcesItemContext extends TableSourceItemContext {
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public TableSourcesContext tableSources() {
return getRuleContext(TableSourcesContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TableSourcesItemContext(TableSourceItemContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterTableSourcesItem(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitTableSourcesItem(this);
}
}
public final TableSourceItemContext tableSourceItem() throws RecognitionException {
TableSourceItemContext _localctx = new TableSourceItemContext(_ctx, getState());
enterRule(_localctx, 256, RULE_tableSourceItem);
int _la;
try {
int _alt;
setState(4102);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,602,_ctx) ) {
case 1:
_localctx = new AtomTableItemContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(4062);
tableName();
setState(4068);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITION) {
{
setState(4063);
match(PARTITION);
setState(4064);
match(LR_BRACKET);
setState(4065);
uidList();
setState(4066);
match(RR_BRACKET);
}
}
setState(4074);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,597,_ctx) ) {
case 1:
{
setState(4071);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(4070);
match(AS);
}
}
setState(4073);
((AtomTableItemContext)_localctx).alias = uid();
}
break;
}
setState(4084);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,599,_ctx) ) {
case 1:
{
setState(4076);
indexHint();
setState(4081);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,598,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(4077);
match(COMMA);
setState(4078);
indexHint();
}
}
}
setState(4083);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,598,_ctx);
}
}
break;
}
}
break;
case 2:
_localctx = new SubqueryTableItemContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(4091);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,600,_ctx) ) {
case 1:
{
setState(4086);
selectStatement();
}
break;
case 2:
{
setState(4087);
match(LR_BRACKET);
setState(4088);
((SubqueryTableItemContext)_localctx).parenthesisSubquery = selectStatement();
setState(4089);
match(RR_BRACKET);
}
break;
}
setState(4094);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(4093);
match(AS);
}
}
setState(4096);
((SubqueryTableItemContext)_localctx).alias = uid();
}
break;
case 3:
_localctx = new TableSourcesItemContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(4098);
match(LR_BRACKET);
setState(4099);
tableSources();
setState(4100);
match(RR_BRACKET);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class IndexHintContext extends ParserRuleContext {
public Token indexHintAction;
public Token keyFormat;
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public TerminalNode USE() { return getToken(MySqlParser.USE, 0); }
public TerminalNode IGNORE() { return getToken(MySqlParser.IGNORE, 0); }
public TerminalNode FORCE() { return getToken(MySqlParser.FORCE, 0); }
public TerminalNode INDEX() { return getToken(MySqlParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(MySqlParser.KEY, 0); }
public TerminalNode FOR() { return getToken(MySqlParser.FOR, 0); }
public IndexHintTypeContext indexHintType() {
return getRuleContext(IndexHintTypeContext.class,0);
}
public IndexHintContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_indexHint; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterIndexHint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitIndexHint(this);
}
}
public final IndexHintContext indexHint() throws RecognitionException {
IndexHintContext _localctx = new IndexHintContext(_ctx, getState());
enterRule(_localctx, 258, RULE_indexHint);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4104);
((IndexHintContext)_localctx).indexHintAction = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==FORCE || _la==IGNORE || _la==USE) ) {
((IndexHintContext)_localctx).indexHintAction = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(4105);
((IndexHintContext)_localctx).keyFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==INDEX || _la==KEY) ) {
((IndexHintContext)_localctx).keyFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(4108);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FOR) {
{
setState(4106);
match(FOR);
setState(4107);
indexHintType();
}
}
setState(4110);
match(LR_BRACKET);
setState(4111);
uidList();
setState(4112);
match(RR_BRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class IndexHintTypeContext extends ParserRuleContext {
public TerminalNode JOIN() { return getToken(MySqlParser.JOIN, 0); }
public TerminalNode ORDER() { return getToken(MySqlParser.ORDER, 0); }
public TerminalNode BY() { return getToken(MySqlParser.BY, 0); }
public TerminalNode GROUP() { return getToken(MySqlParser.GROUP, 0); }
public IndexHintTypeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_indexHintType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterIndexHintType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitIndexHintType(this);
}
}
public final IndexHintTypeContext indexHintType() throws RecognitionException {
IndexHintTypeContext _localctx = new IndexHintTypeContext(_ctx, getState());
enterRule(_localctx, 260, RULE_indexHintType);
try {
setState(4119);
_errHandler.sync(this);
switch (_input.LA(1)) {
case JOIN:
enterOuterAlt(_localctx, 1);
{
setState(4114);
match(JOIN);
}
break;
case ORDER:
enterOuterAlt(_localctx, 2);
{
setState(4115);
match(ORDER);
setState(4116);
match(BY);
}
break;
case GROUP:
enterOuterAlt(_localctx, 3);
{
setState(4117);
match(GROUP);
setState(4118);
match(BY);
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class JoinPartContext extends ParserRuleContext {
public JoinPartContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_joinPart; }
public JoinPartContext() { }
public void copyFrom(JoinPartContext ctx) {
super.copyFrom(ctx);
}
}
public static class InnerJoinContext extends JoinPartContext {
public TerminalNode JOIN() { return getToken(MySqlParser.JOIN, 0); }
public TableSourceItemContext tableSourceItem() {
return getRuleContext(TableSourceItemContext.class,0);
}
public TerminalNode LATERAL() { return getToken(MySqlParser.LATERAL, 0); }
public List joinSpec() {
return getRuleContexts(JoinSpecContext.class);
}
public JoinSpecContext joinSpec(int i) {
return getRuleContext(JoinSpecContext.class,i);
}
public TerminalNode INNER() { return getToken(MySqlParser.INNER, 0); }
public TerminalNode CROSS() { return getToken(MySqlParser.CROSS, 0); }
public InnerJoinContext(JoinPartContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterInnerJoin(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitInnerJoin(this);
}
}
public static class NaturalJoinContext extends JoinPartContext {
public TerminalNode NATURAL() { return getToken(MySqlParser.NATURAL, 0); }
public TerminalNode JOIN() { return getToken(MySqlParser.JOIN, 0); }
public TableSourceItemContext tableSourceItem() {
return getRuleContext(TableSourceItemContext.class,0);
}
public TerminalNode LEFT() { return getToken(MySqlParser.LEFT, 0); }
public TerminalNode RIGHT() { return getToken(MySqlParser.RIGHT, 0); }
public TerminalNode OUTER() { return getToken(MySqlParser.OUTER, 0); }
public NaturalJoinContext(JoinPartContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterNaturalJoin(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitNaturalJoin(this);
}
}
public static class OuterJoinContext extends JoinPartContext {
public TerminalNode JOIN() { return getToken(MySqlParser.JOIN, 0); }
public TableSourceItemContext tableSourceItem() {
return getRuleContext(TableSourceItemContext.class,0);
}
public TerminalNode LEFT() { return getToken(MySqlParser.LEFT, 0); }
public TerminalNode RIGHT() { return getToken(MySqlParser.RIGHT, 0); }
public TerminalNode OUTER() { return getToken(MySqlParser.OUTER, 0); }
public TerminalNode LATERAL() { return getToken(MySqlParser.LATERAL, 0); }
public List joinSpec() {
return getRuleContexts(JoinSpecContext.class);
}
public JoinSpecContext joinSpec(int i) {
return getRuleContext(JoinSpecContext.class,i);
}
public OuterJoinContext(JoinPartContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterOuterJoin(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitOuterJoin(this);
}
}
public static class StraightJoinContext extends JoinPartContext {
public TerminalNode STRAIGHT_JOIN() { return getToken(MySqlParser.STRAIGHT_JOIN, 0); }
public TableSourceItemContext tableSourceItem() {
return getRuleContext(TableSourceItemContext.class,0);
}
public List ON() { return getTokens(MySqlParser.ON); }
public TerminalNode ON(int i) {
return getToken(MySqlParser.ON, i);
}
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public StraightJoinContext(JoinPartContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterStraightJoin(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitStraightJoin(this);
}
}
public final JoinPartContext joinPart() throws RecognitionException {
JoinPartContext _localctx = new JoinPartContext(_ctx, getState());
enterRule(_localctx, 262, RULE_joinPart);
int _la;
try {
int _alt;
setState(4168);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CROSS:
case INNER:
case JOIN:
_localctx = new InnerJoinContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(4122);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CROSS || _la==INNER) {
{
setState(4121);
_la = _input.LA(1);
if ( !(_la==CROSS || _la==INNER) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(4124);
match(JOIN);
setState(4126);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,606,_ctx) ) {
case 1:
{
setState(4125);
match(LATERAL);
}
break;
}
setState(4128);
tableSourceItem();
setState(4132);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,607,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(4129);
joinSpec();
}
}
}
setState(4134);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,607,_ctx);
}
}
break;
case STRAIGHT_JOIN:
_localctx = new StraightJoinContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(4135);
match(STRAIGHT_JOIN);
setState(4136);
tableSourceItem();
setState(4141);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,608,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(4137);
match(ON);
setState(4138);
expression(0);
}
}
}
setState(4143);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,608,_ctx);
}
}
break;
case LEFT:
case RIGHT:
_localctx = new OuterJoinContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(4144);
_la = _input.LA(1);
if ( !(_la==LEFT || _la==RIGHT) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(4146);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OUTER) {
{
setState(4145);
match(OUTER);
}
}
setState(4148);
match(JOIN);
setState(4150);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,610,_ctx) ) {
case 1:
{
setState(4149);
match(LATERAL);
}
break;
}
setState(4152);
tableSourceItem();
setState(4156);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,611,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(4153);
joinSpec();
}
}
}
setState(4158);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,611,_ctx);
}
}
break;
case NATURAL:
_localctx = new NaturalJoinContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(4159);
match(NATURAL);
setState(4164);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LEFT || _la==RIGHT) {
{
setState(4160);
_la = _input.LA(1);
if ( !(_la==LEFT || _la==RIGHT) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(4162);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OUTER) {
{
setState(4161);
match(OUTER);
}
}
}
}
setState(4166);
match(JOIN);
setState(4167);
tableSourceItem();
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class JoinSpecContext extends ParserRuleContext {
public TerminalNode ON() { return getToken(MySqlParser.ON, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode USING() { return getToken(MySqlParser.USING, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public JoinSpecContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_joinSpec; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterJoinSpec(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitJoinSpec(this);
}
}
public final JoinSpecContext joinSpec() throws RecognitionException {
JoinSpecContext _localctx = new JoinSpecContext(_ctx, getState());
enterRule(_localctx, 264, RULE_joinSpec);
try {
setState(4177);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ON:
enterOuterAlt(_localctx, 1);
{
{
setState(4170);
match(ON);
setState(4171);
expression(0);
}
}
break;
case USING:
enterOuterAlt(_localctx, 2);
{
setState(4172);
match(USING);
setState(4173);
match(LR_BRACKET);
setState(4174);
uidList();
setState(4175);
match(RR_BRACKET);
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class QueryExpressionContext extends ParserRuleContext {
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public QuerySpecificationContext querySpecification() {
return getRuleContext(QuerySpecificationContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public QueryExpressionContext queryExpression() {
return getRuleContext(QueryExpressionContext.class,0);
}
public QueryExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_queryExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterQueryExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitQueryExpression(this);
}
}
public final QueryExpressionContext queryExpression() throws RecognitionException {
QueryExpressionContext _localctx = new QueryExpressionContext(_ctx, getState());
enterRule(_localctx, 266, RULE_queryExpression);
try {
setState(4187);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,616,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(4179);
match(LR_BRACKET);
setState(4180);
querySpecification();
setState(4181);
match(RR_BRACKET);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(4183);
match(LR_BRACKET);
setState(4184);
queryExpression();
setState(4185);
match(RR_BRACKET);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class QueryExpressionNointoContext extends ParserRuleContext {
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public QuerySpecificationNointoContext querySpecificationNointo() {
return getRuleContext(QuerySpecificationNointoContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public QueryExpressionNointoContext queryExpressionNointo() {
return getRuleContext(QueryExpressionNointoContext.class,0);
}
public QueryExpressionNointoContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_queryExpressionNointo; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterQueryExpressionNointo(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitQueryExpressionNointo(this);
}
}
public final QueryExpressionNointoContext queryExpressionNointo() throws RecognitionException {
QueryExpressionNointoContext _localctx = new QueryExpressionNointoContext(_ctx, getState());
enterRule(_localctx, 268, RULE_queryExpressionNointo);
try {
setState(4197);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,617,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(4189);
match(LR_BRACKET);
setState(4190);
querySpecificationNointo();
setState(4191);
match(RR_BRACKET);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(4193);
match(LR_BRACKET);
setState(4194);
queryExpressionNointo();
setState(4195);
match(RR_BRACKET);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class QuerySpecificationContext extends ParserRuleContext {
public TerminalNode SELECT() { return getToken(MySqlParser.SELECT, 0); }
public SelectElementsContext selectElements() {
return getRuleContext(SelectElementsContext.class,0);
}
public List selectSpec() {
return getRuleContexts(SelectSpecContext.class);
}
public SelectSpecContext selectSpec(int i) {
return getRuleContext(SelectSpecContext.class,i);
}
public SelectIntoExpressionContext selectIntoExpression() {
return getRuleContext(SelectIntoExpressionContext.class,0);
}
public FromClauseContext fromClause() {
return getRuleContext(FromClauseContext.class,0);
}
public GroupByClauseContext groupByClause() {
return getRuleContext(GroupByClauseContext.class,0);
}
public HavingClauseContext havingClause() {
return getRuleContext(HavingClauseContext.class,0);
}
public WindowClauseContext windowClause() {
return getRuleContext(WindowClauseContext.class,0);
}
public OrderByClauseContext orderByClause() {
return getRuleContext(OrderByClauseContext.class,0);
}
public LimitClauseContext limitClause() {
return getRuleContext(LimitClauseContext.class,0);
}
public QuerySpecificationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_querySpecification; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterQuerySpecification(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitQuerySpecification(this);
}
}
public final QuerySpecificationContext querySpecification() throws RecognitionException {
QuerySpecificationContext _localctx = new QuerySpecificationContext(_ctx, getState());
enterRule(_localctx, 270, RULE_querySpecification);
int _la;
try {
int _alt;
setState(4257);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,634,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(4199);
match(SELECT);
setState(4203);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,618,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(4200);
selectSpec();
}
}
}
setState(4205);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,618,_ctx);
}
setState(4206);
selectElements();
setState(4208);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INTO) {
{
setState(4207);
selectIntoExpression();
}
}
setState(4211);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,620,_ctx) ) {
case 1:
{
setState(4210);
fromClause();
}
break;
}
setState(4214);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,621,_ctx) ) {
case 1:
{
setState(4213);
groupByClause();
}
break;
}
setState(4217);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==HAVING) {
{
setState(4216);
havingClause();
}
}
setState(4220);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WINDOW) {
{
setState(4219);
windowClause();
}
}
setState(4223);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,624,_ctx) ) {
case 1:
{
setState(4222);
orderByClause();
}
break;
}
setState(4226);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,625,_ctx) ) {
case 1:
{
setState(4225);
limitClause();
}
break;
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(4228);
match(SELECT);
setState(4232);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,626,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(4229);
selectSpec();
}
}
}
setState(4234);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,626,_ctx);
}
setState(4235);
selectElements();
setState(4237);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,627,_ctx) ) {
case 1:
{
setState(4236);
fromClause();
}
break;
}
setState(4240);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,628,_ctx) ) {
case 1:
{
setState(4239);
groupByClause();
}
break;
}
setState(4243);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==HAVING) {
{
setState(4242);
havingClause();
}
}
setState(4246);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WINDOW) {
{
setState(4245);
windowClause();
}
}
setState(4249);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,631,_ctx) ) {
case 1:
{
setState(4248);
orderByClause();
}
break;
}
setState(4252);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,632,_ctx) ) {
case 1:
{
setState(4251);
limitClause();
}
break;
}
setState(4255);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INTO) {
{
setState(4254);
selectIntoExpression();
}
}
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class QuerySpecificationNointoContext extends ParserRuleContext {
public TerminalNode SELECT() { return getToken(MySqlParser.SELECT, 0); }
public SelectElementsContext selectElements() {
return getRuleContext(SelectElementsContext.class,0);
}
public List selectSpec() {
return getRuleContexts(SelectSpecContext.class);
}
public SelectSpecContext selectSpec(int i) {
return getRuleContext(SelectSpecContext.class,i);
}
public FromClauseContext fromClause() {
return getRuleContext(FromClauseContext.class,0);
}
public GroupByClauseContext groupByClause() {
return getRuleContext(GroupByClauseContext.class,0);
}
public HavingClauseContext havingClause() {
return getRuleContext(HavingClauseContext.class,0);
}
public WindowClauseContext windowClause() {
return getRuleContext(WindowClauseContext.class,0);
}
public OrderByClauseContext orderByClause() {
return getRuleContext(OrderByClauseContext.class,0);
}
public LimitClauseContext limitClause() {
return getRuleContext(LimitClauseContext.class,0);
}
public UnionStatementContext unionStatement() {
return getRuleContext(UnionStatementContext.class,0);
}
public QuerySpecificationNointoContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_querySpecificationNointo; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterQuerySpecificationNointo(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitQuerySpecificationNointo(this);
}
}
public final QuerySpecificationNointoContext querySpecificationNointo() throws RecognitionException {
QuerySpecificationNointoContext _localctx = new QuerySpecificationNointoContext(_ctx, getState());
enterRule(_localctx, 272, RULE_querySpecificationNointo);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(4259);
match(SELECT);
setState(4263);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,635,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(4260);
selectSpec();
}
}
}
setState(4265);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,635,_ctx);
}
setState(4266);
selectElements();
setState(4268);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,636,_ctx) ) {
case 1:
{
setState(4267);
fromClause();
}
break;
}
setState(4271);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,637,_ctx) ) {
case 1:
{
setState(4270);
groupByClause();
}
break;
}
setState(4274);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==HAVING) {
{
setState(4273);
havingClause();
}
}
setState(4277);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WINDOW) {
{
setState(4276);
windowClause();
}
}
setState(4280);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,640,_ctx) ) {
case 1:
{
setState(4279);
orderByClause();
}
break;
}
setState(4283);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,641,_ctx) ) {
case 1:
{
setState(4282);
limitClause();
}
break;
}
setState(4286);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,642,_ctx) ) {
case 1:
{
setState(4285);
unionStatement();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class UnionParenthesisContext extends ParserRuleContext {
public Token unionType;
public TerminalNode UNION() { return getToken(MySqlParser.UNION, 0); }
public QueryExpressionNointoContext queryExpressionNointo() {
return getRuleContext(QueryExpressionNointoContext.class,0);
}
public TerminalNode ALL() { return getToken(MySqlParser.ALL, 0); }
public TerminalNode DISTINCT() { return getToken(MySqlParser.DISTINCT, 0); }
public UnionParenthesisContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_unionParenthesis; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterUnionParenthesis(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitUnionParenthesis(this);
}
}
public final UnionParenthesisContext unionParenthesis() throws RecognitionException {
UnionParenthesisContext _localctx = new UnionParenthesisContext(_ctx, getState());
enterRule(_localctx, 274, RULE_unionParenthesis);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4288);
match(UNION);
setState(4290);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ALL || _la==DISTINCT) {
{
setState(4289);
((UnionParenthesisContext)_localctx).unionType = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==ALL || _la==DISTINCT) ) {
((UnionParenthesisContext)_localctx).unionType = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(4292);
queryExpressionNointo();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class UnionStatementContext extends ParserRuleContext {
public Token unionType;
public TerminalNode UNION() { return getToken(MySqlParser.UNION, 0); }
public QuerySpecificationNointoContext querySpecificationNointo() {
return getRuleContext(QuerySpecificationNointoContext.class,0);
}
public QueryExpressionNointoContext queryExpressionNointo() {
return getRuleContext(QueryExpressionNointoContext.class,0);
}
public TerminalNode ALL() { return getToken(MySqlParser.ALL, 0); }
public TerminalNode DISTINCT() { return getToken(MySqlParser.DISTINCT, 0); }
public UnionStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_unionStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterUnionStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitUnionStatement(this);
}
}
public final UnionStatementContext unionStatement() throws RecognitionException {
UnionStatementContext _localctx = new UnionStatementContext(_ctx, getState());
enterRule(_localctx, 276, RULE_unionStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4294);
match(UNION);
setState(4296);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ALL || _la==DISTINCT) {
{
setState(4295);
((UnionStatementContext)_localctx).unionType = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==ALL || _la==DISTINCT) ) {
((UnionStatementContext)_localctx).unionType = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(4300);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SELECT:
{
setState(4298);
querySpecificationNointo();
}
break;
case LR_BRACKET:
{
setState(4299);
queryExpressionNointo();
}
break;
default:
throw new NoViableAltException(this);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class LateralStatementContext extends ParserRuleContext {
public TerminalNode LATERAL() { return getToken(MySqlParser.LATERAL, 0); }
public QuerySpecificationNointoContext querySpecificationNointo() {
return getRuleContext(QuerySpecificationNointoContext.class,0);
}
public QueryExpressionNointoContext queryExpressionNointo() {
return getRuleContext(QueryExpressionNointoContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode AS() { return getToken(MySqlParser.AS, 0); }
public LateralStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_lateralStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterLateralStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitLateralStatement(this);
}
}
public final LateralStatementContext lateralStatement() throws RecognitionException {
LateralStatementContext _localctx = new LateralStatementContext(_ctx, getState());
enterRule(_localctx, 278, RULE_lateralStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4302);
match(LATERAL);
setState(4317);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,649,_ctx) ) {
case 1:
{
setState(4303);
querySpecificationNointo();
}
break;
case 2:
{
setState(4304);
queryExpressionNointo();
}
break;
case 3:
{
{
setState(4305);
match(LR_BRACKET);
setState(4308);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SELECT:
{
setState(4306);
querySpecificationNointo();
}
break;
case LR_BRACKET:
{
setState(4307);
queryExpressionNointo();
}
break;
default:
throw new NoViableAltException(this);
}
setState(4310);
match(RR_BRACKET);
setState(4315);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,648,_ctx) ) {
case 1:
{
setState(4312);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(4311);
match(AS);
}
}
setState(4314);
uid();
}
break;
}
}
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class JsonTableContext extends ParserRuleContext {
public TerminalNode JSON_TABLE() { return getToken(MySqlParser.JSON_TABLE, 0); }
public List LR_BRACKET() { return getTokens(MySqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MySqlParser.LR_BRACKET, i);
}
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode COMMA() { return getToken(MySqlParser.COMMA, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode COLUMNS() { return getToken(MySqlParser.COLUMNS, 0); }
public JsonColumnListContext jsonColumnList() {
return getRuleContext(JsonColumnListContext.class,0);
}
public List RR_BRACKET() { return getTokens(MySqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MySqlParser.RR_BRACKET, i);
}
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode AS() { return getToken(MySqlParser.AS, 0); }
public JsonTableContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_jsonTable; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterJsonTable(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitJsonTable(this);
}
}
public final JsonTableContext jsonTable() throws RecognitionException {
JsonTableContext _localctx = new JsonTableContext(_ctx, getState());
enterRule(_localctx, 280, RULE_jsonTable);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4319);
match(JSON_TABLE);
setState(4320);
match(LR_BRACKET);
setState(4321);
expression(0);
setState(4322);
match(COMMA);
setState(4323);
match(STRING_LITERAL);
setState(4324);
match(COLUMNS);
setState(4325);
match(LR_BRACKET);
setState(4326);
jsonColumnList();
setState(4327);
match(RR_BRACKET);
setState(4328);
match(RR_BRACKET);
setState(4333);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,651,_ctx) ) {
case 1:
{
setState(4330);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(4329);
match(AS);
}
}
setState(4332);
uid();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class JsonColumnListContext extends ParserRuleContext {
public List jsonColumn() {
return getRuleContexts(JsonColumnContext.class);
}
public JsonColumnContext jsonColumn(int i) {
return getRuleContext(JsonColumnContext.class,i);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public JsonColumnListContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_jsonColumnList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterJsonColumnList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitJsonColumnList(this);
}
}
public final JsonColumnListContext jsonColumnList() throws RecognitionException {
JsonColumnListContext _localctx = new JsonColumnListContext(_ctx, getState());
enterRule(_localctx, 282, RULE_jsonColumnList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4335);
jsonColumn();
setState(4340);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(4336);
match(COMMA);
setState(4337);
jsonColumn();
}
}
setState(4342);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class JsonColumnContext extends ParserRuleContext {
public FullColumnNameContext fullColumnName() {
return getRuleContext(FullColumnNameContext.class,0);
}
public TerminalNode FOR() { return getToken(MySqlParser.FOR, 0); }
public TerminalNode ORDINALITY() { return getToken(MySqlParser.ORDINALITY, 0); }
public DataTypeContext dataType() {
return getRuleContext(DataTypeContext.class,0);
}
public TerminalNode PATH() { return getToken(MySqlParser.PATH, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode EXISTS() { return getToken(MySqlParser.EXISTS, 0); }
public JsonOnEmptyContext jsonOnEmpty() {
return getRuleContext(JsonOnEmptyContext.class,0);
}
public JsonOnErrorContext jsonOnError() {
return getRuleContext(JsonOnErrorContext.class,0);
}
public TerminalNode NESTED() { return getToken(MySqlParser.NESTED, 0); }
public TerminalNode COLUMNS() { return getToken(MySqlParser.COLUMNS, 0); }
public TerminalNode LR_BRACKET() { return getToken(MySqlParser.LR_BRACKET, 0); }
public JsonColumnListContext jsonColumnList() {
return getRuleContext(JsonColumnListContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MySqlParser.RR_BRACKET, 0); }
public JsonColumnContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_jsonColumn; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterJsonColumn(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitJsonColumn(this);
}
}
public final JsonColumnContext jsonColumn() throws RecognitionException {
JsonColumnContext _localctx = new JsonColumnContext(_ctx, getState());
enterRule(_localctx, 284, RULE_jsonColumn);
int _la;
try {
setState(4372);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,658,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(4343);
fullColumnName();
setState(4360);
_errHandler.sync(this);
switch (_input.LA(1)) {
case FOR:
{
setState(4344);
match(FOR);
setState(4345);
match(ORDINALITY);
}
break;
case CHARACTER:
case SET:
case TINYINT:
case SMALLINT:
case MEDIUMINT:
case MIDDLEINT:
case INT:
case INT1:
case INT2:
case INT3:
case INT4:
case INT8:
case INTEGER:
case BIGINT:
case REAL:
case DOUBLE:
case FLOAT:
case FLOAT4:
case FLOAT8:
case DECIMAL:
case DEC:
case NUMERIC:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
case CHAR:
case VARCHAR:
case NVARCHAR:
case NATIONAL:
case BINARY:
case VARBINARY:
case TINYBLOB:
case BLOB:
case MEDIUMBLOB:
case LONG:
case LONGBLOB:
case TINYTEXT:
case TEXT:
case MEDIUMTEXT:
case LONGTEXT:
case ENUM:
case SERIAL:
case BIT:
case BOOL:
case BOOLEAN:
case FIXED:
case JSON:
case NCHAR:
case GEOMETRYCOLLECTION:
case GEOMCOLLECTION:
case GEOMETRY:
case LINESTRING:
case MULTILINESTRING:
case MULTIPOINT:
case MULTIPOLYGON:
case POINT:
case POLYGON:
case UUID:
{
setState(4346);
dataType();
setState(4358);
_errHandler.sync(this);
switch (_input.LA(1)) {
case PATH:
{
setState(4347);
match(PATH);
setState(4348);
match(STRING_LITERAL);
setState(4350);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,653,_ctx) ) {
case 1:
{
setState(4349);
jsonOnEmpty();
}
break;
}
setState(4353);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT || _la==NULL_LITERAL || _la==ERROR) {
{
setState(4352);
jsonOnError();
}
}
}
break;
case EXISTS:
{
setState(4355);
match(EXISTS);
setState(4356);
match(PATH);
setState(4357);
match(STRING_LITERAL);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(4362);
match(NESTED);
setState(4364);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PATH) {
{
setState(4363);
match(PATH);
}
}
setState(4366);
match(STRING_LITERAL);
setState(4367);
match(COLUMNS);
setState(4368);
match(LR_BRACKET);
setState(4369);
jsonColumnList();
setState(4370);
match(RR_BRACKET);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class JsonOnEmptyContext extends ParserRuleContext {
public TerminalNode ON() { return getToken(MySqlParser.ON, 0); }
public TerminalNode EMPTY() { return getToken(MySqlParser.EMPTY, 0); }
public TerminalNode NULL_LITERAL() { return getToken(MySqlParser.NULL_LITERAL, 0); }
public TerminalNode ERROR() { return getToken(MySqlParser.ERROR, 0); }
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public DefaultValueContext defaultValue() {
return getRuleContext(DefaultValueContext.class,0);
}
public JsonOnEmptyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_jsonOnEmpty; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterJsonOnEmpty(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitJsonOnEmpty(this);
}
}
public final JsonOnEmptyContext jsonOnEmpty() throws RecognitionException {
JsonOnEmptyContext _localctx = new JsonOnEmptyContext(_ctx, getState());
enterRule(_localctx, 286, RULE_jsonOnEmpty);
try {
enterOuterAlt(_localctx, 1);
{
setState(4378);
_errHandler.sync(this);
switch (_input.LA(1)) {
case NULL_LITERAL:
{
setState(4374);
match(NULL_LITERAL);
}
break;
case ERROR:
{
setState(4375);
match(ERROR);
}
break;
case DEFAULT:
{
setState(4376);
match(DEFAULT);
setState(4377);
defaultValue();
}
break;
default:
throw new NoViableAltException(this);
}
setState(4380);
match(ON);
setState(4381);
match(EMPTY);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class JsonOnErrorContext extends ParserRuleContext {
public TerminalNode ON() { return getToken(MySqlParser.ON, 0); }
public List ERROR() { return getTokens(MySqlParser.ERROR); }
public TerminalNode ERROR(int i) {
return getToken(MySqlParser.ERROR, i);
}
public TerminalNode NULL_LITERAL() { return getToken(MySqlParser.NULL_LITERAL, 0); }
public TerminalNode DEFAULT() { return getToken(MySqlParser.DEFAULT, 0); }
public DefaultValueContext defaultValue() {
return getRuleContext(DefaultValueContext.class,0);
}
public JsonOnErrorContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_jsonOnError; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterJsonOnError(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitJsonOnError(this);
}
}
public final JsonOnErrorContext jsonOnError() throws RecognitionException {
JsonOnErrorContext _localctx = new JsonOnErrorContext(_ctx, getState());
enterRule(_localctx, 288, RULE_jsonOnError);
try {
enterOuterAlt(_localctx, 1);
{
setState(4387);
_errHandler.sync(this);
switch (_input.LA(1)) {
case NULL_LITERAL:
{
setState(4383);
match(NULL_LITERAL);
}
break;
case ERROR:
{
setState(4384);
match(ERROR);
}
break;
case DEFAULT:
{
setState(4385);
match(DEFAULT);
setState(4386);
defaultValue();
}
break;
default:
throw new NoViableAltException(this);
}
setState(4389);
match(ON);
setState(4390);
match(ERROR);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SelectSpecContext extends ParserRuleContext {
public TerminalNode ALL() { return getToken(MySqlParser.ALL, 0); }
public TerminalNode DISTINCT() { return getToken(MySqlParser.DISTINCT, 0); }
public TerminalNode DISTINCTROW() { return getToken(MySqlParser.DISTINCTROW, 0); }
public TerminalNode HIGH_PRIORITY() { return getToken(MySqlParser.HIGH_PRIORITY, 0); }
public TerminalNode STRAIGHT_JOIN() { return getToken(MySqlParser.STRAIGHT_JOIN, 0); }
public TerminalNode SQL_SMALL_RESULT() { return getToken(MySqlParser.SQL_SMALL_RESULT, 0); }
public TerminalNode SQL_BIG_RESULT() { return getToken(MySqlParser.SQL_BIG_RESULT, 0); }
public TerminalNode SQL_BUFFER_RESULT() { return getToken(MySqlParser.SQL_BUFFER_RESULT, 0); }
public TerminalNode SQL_CACHE() { return getToken(MySqlParser.SQL_CACHE, 0); }
public TerminalNode SQL_NO_CACHE() { return getToken(MySqlParser.SQL_NO_CACHE, 0); }
public TerminalNode SQL_CALC_FOUND_ROWS() { return getToken(MySqlParser.SQL_CALC_FOUND_ROWS, 0); }
public SelectSpecContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_selectSpec; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSelectSpec(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSelectSpec(this);
}
}
public final SelectSpecContext selectSpec() throws RecognitionException {
SelectSpecContext _localctx = new SelectSpecContext(_ctx, getState());
enterRule(_localctx, 290, RULE_selectSpec);
int _la;
try {
setState(4400);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ALL:
case DISTINCT:
case DISTINCTROW:
enterOuterAlt(_localctx, 1);
{
setState(4392);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ALL) | (1L << DISTINCT) | (1L << DISTINCTROW))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case HIGH_PRIORITY:
enterOuterAlt(_localctx, 2);
{
setState(4393);
match(HIGH_PRIORITY);
}
break;
case STRAIGHT_JOIN:
enterOuterAlt(_localctx, 3);
{
setState(4394);
match(STRAIGHT_JOIN);
}
break;
case SQL_SMALL_RESULT:
enterOuterAlt(_localctx, 4);
{
setState(4395);
match(SQL_SMALL_RESULT);
}
break;
case SQL_BIG_RESULT:
enterOuterAlt(_localctx, 5);
{
setState(4396);
match(SQL_BIG_RESULT);
}
break;
case SQL_BUFFER_RESULT:
enterOuterAlt(_localctx, 6);
{
setState(4397);
match(SQL_BUFFER_RESULT);
}
break;
case SQL_CACHE:
case SQL_NO_CACHE:
enterOuterAlt(_localctx, 7);
{
setState(4398);
_la = _input.LA(1);
if ( !(_la==SQL_CACHE || _la==SQL_NO_CACHE) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case SQL_CALC_FOUND_ROWS:
enterOuterAlt(_localctx, 8);
{
setState(4399);
match(SQL_CALC_FOUND_ROWS);
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SelectElementsContext extends ParserRuleContext {
public Token star;
public List selectElement() {
return getRuleContexts(SelectElementContext.class);
}
public SelectElementContext selectElement(int i) {
return getRuleContext(SelectElementContext.class,i);
}
public TerminalNode STAR() { return getToken(MySqlParser.STAR, 0); }
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public SelectElementsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_selectElements; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSelectElements(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSelectElements(this);
}
}
public final SelectElementsContext selectElements() throws RecognitionException {
SelectElementsContext _localctx = new SelectElementsContext(_ctx, getState());
enterRule(_localctx, 292, RULE_selectElements);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(4404);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,662,_ctx) ) {
case 1:
{
setState(4402);
((SelectElementsContext)_localctx).star = match(STAR);
}
break;
case 2:
{
setState(4403);
selectElement();
}
break;
}
setState(4410);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,663,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(4406);
match(COMMA);
setState(4407);
selectElement();
}
}
}
setState(4412);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,663,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SelectElementContext extends ParserRuleContext {
public SelectElementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_selectElement; }
public SelectElementContext() { }
public void copyFrom(SelectElementContext ctx) {
super.copyFrom(ctx);
}
}
public static class SelectExpressionElementContext extends SelectElementContext {
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode LOCAL_ID() { return getToken(MySqlParser.LOCAL_ID, 0); }
public TerminalNode VAR_ASSIGN() { return getToken(MySqlParser.VAR_ASSIGN, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode AS() { return getToken(MySqlParser.AS, 0); }
public SelectExpressionElementContext(SelectElementContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSelectExpressionElement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSelectExpressionElement(this);
}
}
public static class SelectFunctionElementContext extends SelectElementContext {
public FunctionCallContext functionCall() {
return getRuleContext(FunctionCallContext.class,0);
}
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode AS() { return getToken(MySqlParser.AS, 0); }
public SelectFunctionElementContext(SelectElementContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSelectFunctionElement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSelectFunctionElement(this);
}
}
public static class SelectStarElementContext extends SelectElementContext {
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public TerminalNode DOT() { return getToken(MySqlParser.DOT, 0); }
public TerminalNode STAR() { return getToken(MySqlParser.STAR, 0); }
public SelectStarElementContext(SelectElementContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSelectStarElement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSelectStarElement(this);
}
}
public static class SelectColumnElementContext extends SelectElementContext {
public FullColumnNameContext fullColumnName() {
return getRuleContext(FullColumnNameContext.class,0);
}
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode AS() { return getToken(MySqlParser.AS, 0); }
public SelectColumnElementContext(SelectElementContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSelectColumnElement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSelectColumnElement(this);
}
}
public final SelectElementContext selectElement() throws RecognitionException {
SelectElementContext _localctx = new SelectElementContext(_ctx, getState());
enterRule(_localctx, 294, RULE_selectElement);
int _la;
try {
setState(4442);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,671,_ctx) ) {
case 1:
_localctx = new SelectStarElementContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(4413);
fullId();
setState(4414);
match(DOT);
setState(4415);
match(STAR);
}
break;
case 2:
_localctx = new SelectColumnElementContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(4417);
fullColumnName();
setState(4422);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,665,_ctx) ) {
case 1:
{
setState(4419);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(4418);
match(AS);
}
}
setState(4421);
uid();
}
break;
}
}
break;
case 3:
_localctx = new SelectFunctionElementContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(4424);
functionCall();
setState(4429);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,667,_ctx) ) {
case 1:
{
setState(4426);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(4425);
match(AS);
}
}
setState(4428);
uid();
}
break;
}
}
break;
case 4:
_localctx = new SelectExpressionElementContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(4433);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,668,_ctx) ) {
case 1:
{
setState(4431);
match(LOCAL_ID);
setState(4432);
match(VAR_ASSIGN);
}
break;
}
setState(4435);
expression(0);
setState(4440);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,670,_ctx) ) {
case 1:
{
setState(4437);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(4436);
match(AS);
}
}
setState(4439);
uid();
}
break;
}
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SelectIntoExpressionContext extends ParserRuleContext {
public SelectIntoExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_selectIntoExpression; }
public SelectIntoExpressionContext() { }
public void copyFrom(SelectIntoExpressionContext ctx) {
super.copyFrom(ctx);
}
}
public static class SelectIntoVariablesContext extends SelectIntoExpressionContext {
public TerminalNode INTO() { return getToken(MySqlParser.INTO, 0); }
public List assignmentField() {
return getRuleContexts(AssignmentFieldContext.class);
}
public AssignmentFieldContext assignmentField(int i) {
return getRuleContext(AssignmentFieldContext.class,i);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public SelectIntoVariablesContext(SelectIntoExpressionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSelectIntoVariables(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSelectIntoVariables(this);
}
}
public static class SelectIntoTextFileContext extends SelectIntoExpressionContext {
public Token filename;
public CharsetNameContext charset;
public Token fieldsFormat;
public TerminalNode INTO() { return getToken(MySqlParser.INTO, 0); }
public TerminalNode OUTFILE() { return getToken(MySqlParser.OUTFILE, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode CHARACTER() { return getToken(MySqlParser.CHARACTER, 0); }
public TerminalNode SET() { return getToken(MySqlParser.SET, 0); }
public TerminalNode LINES() { return getToken(MySqlParser.LINES, 0); }
public CharsetNameContext charsetName() {
return getRuleContext(CharsetNameContext.class,0);
}
public TerminalNode FIELDS() { return getToken(MySqlParser.FIELDS, 0); }
public TerminalNode COLUMNS() { return getToken(MySqlParser.COLUMNS, 0); }
public List selectFieldsInto() {
return getRuleContexts(SelectFieldsIntoContext.class);
}
public SelectFieldsIntoContext selectFieldsInto(int i) {
return getRuleContext(SelectFieldsIntoContext.class,i);
}
public List selectLinesInto() {
return getRuleContexts(SelectLinesIntoContext.class);
}
public SelectLinesIntoContext selectLinesInto(int i) {
return getRuleContext(SelectLinesIntoContext.class,i);
}
public SelectIntoTextFileContext(SelectIntoExpressionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSelectIntoTextFile(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSelectIntoTextFile(this);
}
}
public static class SelectIntoDumpFileContext extends SelectIntoExpressionContext {
public TerminalNode INTO() { return getToken(MySqlParser.INTO, 0); }
public TerminalNode DUMPFILE() { return getToken(MySqlParser.DUMPFILE, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public SelectIntoDumpFileContext(SelectIntoExpressionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSelectIntoDumpFile(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSelectIntoDumpFile(this);
}
}
public final SelectIntoExpressionContext selectIntoExpression() throws RecognitionException {
SelectIntoExpressionContext _localctx = new SelectIntoExpressionContext(_ctx, getState());
enterRule(_localctx, 296, RULE_selectIntoExpression);
int _la;
try {
setState(4480);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,678,_ctx) ) {
case 1:
_localctx = new SelectIntoVariablesContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(4444);
match(INTO);
setState(4445);
assignmentField();
setState(4450);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(4446);
match(COMMA);
setState(4447);
assignmentField();
}
}
setState(4452);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case 2:
_localctx = new SelectIntoDumpFileContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(4453);
match(INTO);
setState(4454);
match(DUMPFILE);
setState(4455);
match(STRING_LITERAL);
}
break;
case 3:
_localctx = new SelectIntoTextFileContext(_localctx);
enterOuterAlt(_localctx, 3);
{
{
setState(4456);
match(INTO);
setState(4457);
match(OUTFILE);
setState(4458);
((SelectIntoTextFileContext)_localctx).filename = match(STRING_LITERAL);
setState(4462);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CHARACTER) {
{
setState(4459);
match(CHARACTER);
setState(4460);
match(SET);
setState(4461);
((SelectIntoTextFileContext)_localctx).charset = charsetName();
}
}
setState(4470);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,675,_ctx) ) {
case 1:
{
setState(4464);
((SelectIntoTextFileContext)_localctx).fieldsFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==COLUMNS || _la==FIELDS) ) {
((SelectIntoTextFileContext)_localctx).fieldsFormat = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(4466);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(4465);
selectFieldsInto();
}
}
setState(4468);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==ENCLOSED || _la==ESCAPED || _la==OPTIONALLY || _la==TERMINATED );
}
break;
}
setState(4478);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LINES) {
{
setState(4472);
match(LINES);
setState(4474);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(4473);
selectLinesInto();
}
}
setState(4476);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==STARTING || _la==TERMINATED );
}
}
}
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SelectFieldsIntoContext extends ParserRuleContext {
public Token terminationField;
public Token enclosion;
public Token escaping;
public TerminalNode TERMINATED() { return getToken(MySqlParser.TERMINATED, 0); }
public TerminalNode BY() { return getToken(MySqlParser.BY, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode ENCLOSED() { return getToken(MySqlParser.ENCLOSED, 0); }
public TerminalNode OPTIONALLY() { return getToken(MySqlParser.OPTIONALLY, 0); }
public TerminalNode ESCAPED() { return getToken(MySqlParser.ESCAPED, 0); }
public SelectFieldsIntoContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_selectFieldsInto; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSelectFieldsInto(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSelectFieldsInto(this);
}
}
public final SelectFieldsIntoContext selectFieldsInto() throws RecognitionException {
SelectFieldsIntoContext _localctx = new SelectFieldsIntoContext(_ctx, getState());
enterRule(_localctx, 298, RULE_selectFieldsInto);
int _la;
try {
setState(4494);
_errHandler.sync(this);
switch (_input.LA(1)) {
case TERMINATED:
enterOuterAlt(_localctx, 1);
{
setState(4482);
match(TERMINATED);
setState(4483);
match(BY);
setState(4484);
((SelectFieldsIntoContext)_localctx).terminationField = match(STRING_LITERAL);
}
break;
case ENCLOSED:
case OPTIONALLY:
enterOuterAlt(_localctx, 2);
{
setState(4486);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OPTIONALLY) {
{
setState(4485);
match(OPTIONALLY);
}
}
setState(4488);
match(ENCLOSED);
setState(4489);
match(BY);
setState(4490);
((SelectFieldsIntoContext)_localctx).enclosion = match(STRING_LITERAL);
}
break;
case ESCAPED:
enterOuterAlt(_localctx, 3);
{
setState(4491);
match(ESCAPED);
setState(4492);
match(BY);
setState(4493);
((SelectFieldsIntoContext)_localctx).escaping = match(STRING_LITERAL);
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SelectLinesIntoContext extends ParserRuleContext {
public Token starting;
public Token terminationLine;
public TerminalNode STARTING() { return getToken(MySqlParser.STARTING, 0); }
public TerminalNode BY() { return getToken(MySqlParser.BY, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MySqlParser.STRING_LITERAL, 0); }
public TerminalNode TERMINATED() { return getToken(MySqlParser.TERMINATED, 0); }
public SelectLinesIntoContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_selectLinesInto; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterSelectLinesInto(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitSelectLinesInto(this);
}
}
public final SelectLinesIntoContext selectLinesInto() throws RecognitionException {
SelectLinesIntoContext _localctx = new SelectLinesIntoContext(_ctx, getState());
enterRule(_localctx, 300, RULE_selectLinesInto);
try {
setState(4502);
_errHandler.sync(this);
switch (_input.LA(1)) {
case STARTING:
enterOuterAlt(_localctx, 1);
{
setState(4496);
match(STARTING);
setState(4497);
match(BY);
setState(4498);
((SelectLinesIntoContext)_localctx).starting = match(STRING_LITERAL);
}
break;
case TERMINATED:
enterOuterAlt(_localctx, 2);
{
setState(4499);
match(TERMINATED);
setState(4500);
match(BY);
setState(4501);
((SelectLinesIntoContext)_localctx).terminationLine = match(STRING_LITERAL);
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class FromClauseContext extends ParserRuleContext {
public ExpressionContext whereExpr;
public TerminalNode FROM() { return getToken(MySqlParser.FROM, 0); }
public TableSourcesContext tableSources() {
return getRuleContext(TableSourcesContext.class,0);
}
public TerminalNode WHERE() { return getToken(MySqlParser.WHERE, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public FromClauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_fromClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterFromClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitFromClause(this);
}
}
public final FromClauseContext fromClause() throws RecognitionException {
FromClauseContext _localctx = new FromClauseContext(_ctx, getState());
enterRule(_localctx, 302, RULE_fromClause);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4506);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FROM) {
{
setState(4504);
match(FROM);
setState(4505);
tableSources();
}
}
setState(4510);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WHERE) {
{
setState(4508);
match(WHERE);
setState(4509);
((FromClauseContext)_localctx).whereExpr = expression(0);
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class GroupByClauseContext extends ParserRuleContext {
public TerminalNode GROUP() { return getToken(MySqlParser.GROUP, 0); }
public TerminalNode BY() { return getToken(MySqlParser.BY, 0); }
public List groupByItem() {
return getRuleContexts(GroupByItemContext.class);
}
public GroupByItemContext groupByItem(int i) {
return getRuleContext(GroupByItemContext.class,i);
}
public List COMMA() { return getTokens(MySqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MySqlParser.COMMA, i);
}
public TerminalNode WITH() { return getToken(MySqlParser.WITH, 0); }
public TerminalNode ROLLUP() { return getToken(MySqlParser.ROLLUP, 0); }
public GroupByClauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_groupByClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterGroupByClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitGroupByClause(this);
}
}
public final GroupByClauseContext groupByClause() throws RecognitionException {
GroupByClauseContext _localctx = new GroupByClauseContext(_ctx, getState());
enterRule(_localctx, 304, RULE_groupByClause);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(4512);
match(GROUP);
setState(4513);
match(BY);
setState(4514);
groupByItem();
setState(4519);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,684,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(4515);
match(COMMA);
setState(4516);
groupByItem();
}
}
}
setState(4521);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,684,_ctx);
}
setState(4524);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,685,_ctx) ) {
case 1:
{
setState(4522);
match(WITH);
setState(4523);
match(ROLLUP);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class HavingClauseContext extends ParserRuleContext {
public ExpressionContext havingExpr;
public TerminalNode HAVING() { return getToken(MySqlParser.HAVING, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public HavingClauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_havingClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).enterHavingClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MySqlParserListener ) ((MySqlParserListener)listener).exitHavingClause(this);
}
}
public final HavingClauseContext havingClause() throws RecognitionException {
HavingClauseContext _localctx = new HavingClauseContext(_ctx, getState());
enterRule(_localctx, 306, RULE_havingClause);
try {
enterOuterAlt(_localctx, 1);
{
setState(4526);
match(HAVING);
setState(4527);
((HavingClauseContext)_localctx).havingExpr = expression(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class WindowClauseContext extends ParserRuleContext {
public TerminalNode WINDOW() { return getToken(MySqlParser.WINDOW, 0); }
public List windowName() {
return getRuleContexts(WindowNameContext.class);
}
public WindowNameContext windowName(int i) {
return getRuleContext(WindowNameContext.class,i);
}
public List