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.mariadb.generated.MariaDBParser Maven / Gradle / Ivy
// Generated from io/debezium/ddl/parser/mariadb/generated/MariaDBParser.g4 by ANTLR 4.10.1
package io.debezium.ddl.parser.mariadb.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 MariaDBParser 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, BEFORE=15, BETWEEN=16, BODY=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, ESCAPED=58,
EXCEPT=59, EXISTS=60, EXIT=61, EXPLAIN=62, FALSE=63, FETCH=64, FOR=65,
FORCE=66, FOREIGN=67, FROM=68, FULLTEXT=69, GENERATED=70, GET=71, GRANT=72,
GROUP=73, HAVING=74, HIGH_PRIORITY=75, HISTOGRAM=76, IF=77, IGNORE=78,
IGNORED=79, IN=80, INDEX=81, INFILE=82, INNER=83, INOUT=84, INSERT=85,
INTERVAL=86, INTO=87, IS=88, ITERATE=89, JOIN=90, KEY=91, KEYS=92, KILL=93,
LATERAL=94, LEADING=95, LEAVE=96, LEFT=97, LIKE=98, LIMIT=99, LINEAR=100,
LINES=101, LOAD=102, LOCK=103, LOCKED=104, LOOP=105, LOW_PRIORITY=106,
MASTER_BIND=107, MASTER_SSL_VERIFY_SERVER_CERT=108, MATCH=109, MAXVALUE=110,
MINVALUE=111, MODIFIES=112, NATURAL=113, NOT=114, NO_WRITE_TO_BINLOG=115,
NULL_LITERAL=116, NUMBER=117, ON=118, OPTIMIZE=119, OPTION=120, OPTIONAL=121,
OPTIONALLY=122, OR=123, ORDER=124, OUT=125, OUTER=126, OUTFILE=127, OVER=128,
PARTITION=129, PRIMARY=130, PACKAGE=131, PROCEDURE=132, PURGE=133, RANGE=134,
READ=135, READS=136, REFERENCES=137, REGEXP=138, RELEASE=139, RENAME=140,
REPEAT=141, REPLACE=142, REQUIRE=143, RESIGNAL=144, RESTRICT=145, RETAIN=146,
RETURN=147, REVOKE=148, RIGHT=149, RLIKE=150, SCHEMA=151, SCHEMAS=152,
SELECT=153, SET=154, SEPARATOR=155, SHOW=156, SIGNAL=157, SKIP_=158, SPATIAL=159,
SQL=160, SQLEXCEPTION=161, SQLSTATE=162, SQLWARNING=163, SQL_BIG_RESULT=164,
SQL_CALC_FOUND_ROWS=165, SQL_SMALL_RESULT=166, SSL=167, STACKED=168, STARTING=169,
STATEMENT=170, STRAIGHT_JOIN=171, TABLE=172, TERMINATED=173, THEN=174,
TO=175, TRAILING=176, TRIGGER=177, TRUE=178, UNDO=179, UNION=180, UNIQUE=181,
UNLOCK=182, UNSIGNED=183, UPDATE=184, USAGE=185, USE=186, USING=187, VALUES=188,
WHEN=189, WHERE=190, WHILE=191, WITH=192, WRITE=193, XOR=194, ZEROFILL=195,
TINYINT=196, SMALLINT=197, MEDIUMINT=198, MIDDLEINT=199, INT=200, INT1=201,
INT2=202, INT3=203, INT4=204, INT8=205, INTEGER=206, BIGINT=207, REAL=208,
DOUBLE=209, PRECISION=210, FLOAT=211, FLOAT4=212, FLOAT8=213, DECIMAL=214,
DEC=215, NUMERIC=216, DATE=217, TIME=218, TIMESTAMP=219, DATETIME=220,
YEAR=221, CHAR=222, VARCHAR=223, NVARCHAR=224, NATIONAL=225, BINARY=226,
VARBINARY=227, TINYBLOB=228, BLOB=229, MEDIUMBLOB=230, LONG=231, LONGBLOB=232,
TINYTEXT=233, TEXT=234, MEDIUMTEXT=235, LONGTEXT=236, ENUM=237, VARYING=238,
SERIAL=239, YEAR_MONTH=240, DAY_HOUR=241, DAY_MINUTE=242, DAY_SECOND=243,
HOUR_MINUTE=244, HOUR_SECOND=245, MINUTE_SECOND=246, SECOND_MICROSECOND=247,
MINUTE_MICROSECOND=248, HOUR_MICROSECOND=249, DAY_MICROSECOND=250, JSON_ARRAY=251,
JSON_ARRAYAGG=252, JSON_ARRAY_APPEND=253, JSON_ARRAY_INSERT=254, JSON_CONTAINS=255,
JSON_CONTAINS_PATH=256, JSON_DEPTH=257, JSON_EXTRACT=258, JSON_INSERT=259,
JSON_KEYS=260, JSON_LENGTH=261, JSON_MERGE=262, JSON_MERGE_PATCH=263,
JSON_MERGE_PRESERVE=264, JSON_OBJECT=265, JSON_OBJECTAGG=266, JSON_OVERLAPS=267,
JSON_PRETTY=268, JSON_QUOTE=269, JSON_REMOVE=270, JSON_REPLACE=271, JSON_SCHEMA_VALID=272,
JSON_SCHEMA_VALIDATION_REPORT=273, JSON_SEARCH=274, JSON_SET=275, JSON_STORAGE_FREE=276,
JSON_STORAGE_SIZE=277, JSON_TABLE=278, JSON_TYPE=279, JSON_UNQUOTE=280,
JSON_VALID=281, JSON_VALUE=282, NESTED=283, ORDINALITY=284, PATH=285,
AVG=286, BIT_AND=287, BIT_OR=288, BIT_XOR=289, COUNT=290, CUME_DIST=291,
DENSE_RANK=292, FIRST_VALUE=293, GROUP_CONCAT=294, LAG=295, LAST_VALUE=296,
LEAD=297, MAX=298, MIN=299, NTILE=300, NTH_VALUE=301, PERCENT_RANK=302,
RANK=303, ROW_NUMBER=304, STD=305, STDDEV=306, STDDEV_POP=307, STDDEV_SAMP=308,
SUM=309, VAR_POP=310, VAR_SAMP=311, VARIANCE=312, CURRENT_DATE=313, CURRENT_TIME=314,
CURRENT_TIMESTAMP=315, LOCALTIME=316, CURDATE=317, CURTIME=318, DATE_ADD=319,
DATE_SUB=320, EXTRACT=321, LOCALTIMESTAMP=322, NOW=323, POSITION=324,
SUBSTR=325, SUBSTRING=326, SYSDATE=327, TRIM=328, UTC_DATE=329, UTC_TIME=330,
UTC_TIMESTAMP=331, ACCOUNT=332, ACTION=333, AFTER=334, AGGREGATE=335,
ALGORITHM=336, ANY=337, AT=338, AUTHORS=339, AUTOCOMMIT=340, AUTOEXTEND_SIZE=341,
AUTO_INCREMENT=342, AVG_ROW_LENGTH=343, BEGIN=344, BINLOG=345, BIT=346,
BLOCK=347, BOOL=348, BOOLEAN=349, BTREE=350, CACHE=351, CASCADED=352,
CHAIN=353, CHANGED=354, CHANNEL=355, CHECKSUM=356, PAGE_CHECKSUM=357,
CIPHER=358, CLASS_ORIGIN=359, CLIENT=360, CLOSE=361, CLUSTERING=362, COALESCE=363,
CODE=364, COLUMNS=365, COLUMN_FORMAT=366, COLUMN_NAME=367, COMMENT=368,
COMMIT=369, COMPACT=370, COMPLETION=371, COMPRESSED=372, COMPRESSION=373,
CONCURRENT=374, CONNECT=375, CONNECTION=376, CONSISTENT=377, CONSTRAINT_CATALOG=378,
CONSTRAINT_SCHEMA=379, CONSTRAINT_NAME=380, CONTAINS=381, CONTEXT=382,
CONTRIBUTORS=383, COPY=384, CPU=385, CYCLE=386, CURSOR_NAME=387, DATA=388,
DATAFILE=389, DEALLOCATE=390, DEFAULT_AUTH=391, DEFINER=392, DELAY_KEY_WRITE=393,
DES_KEY_FILE=394, DIRECTORY=395, DISABLE=396, DISCARD=397, DISK=398, DO=399,
DUMPFILE=400, DUPLICATE=401, DYNAMIC=402, ENABLE=403, ENCRYPTED=404, ENCRYPTION=405,
ENCRYPTION_KEY_ID=406, END=407, ENDS=408, ENGINE=409, ENGINES=410, ERROR=411,
ERRORS=412, ESCAPE=413, EVEN=414, EVENT=415, EVENTS=416, EVERY=417, EXCHANGE=418,
EXCLUSIVE=419, EXPIRE=420, EXPORT=421, EXTENDED=422, EXTENT_SIZE=423,
FAILED_LOGIN_ATTEMPTS=424, FAST=425, FAULTS=426, FIELDS=427, FILE_BLOCK_SIZE=428,
FILTER=429, FIRST=430, FIXED=431, FLUSH=432, FOLLOWING=433, FOLLOWS=434,
FOUND=435, FULL=436, FUNCTION=437, GENERAL=438, GLOBAL=439, GRANTS=440,
GROUP_REPLICATION=441, HANDLER=442, HASH=443, HELP=444, HISTORY=445, HOST=446,
HOSTS=447, IDENTIFIED=448, IGNORE_SERVER_IDS=449, IMPORT=450, INCREMENT=451,
INDEXES=452, INITIAL_SIZE=453, INPLACE=454, INSERT_METHOD=455, INSTALL=456,
INSTANCE=457, INSTANT=458, INVISIBLE=459, INVOKER=460, IO=461, IO_THREAD=462,
IPC=463, ISOLATION=464, ISSUER=465, JSON=466, KEY_BLOCK_SIZE=467, LANGUAGE=468,
LAST=469, LEAVES=470, LESS=471, LEVEL=472, LIST=473, LOCAL=474, LOCALES=475,
LOGFILE=476, LOGS=477, MASTER=478, MASTER_AUTO_POSITION=479, MASTER_CONNECT_RETRY=480,
MASTER_DELAY=481, MASTER_HEARTBEAT_PERIOD=482, MASTER_HOST=483, MASTER_LOG_FILE=484,
MASTER_LOG_POS=485, MASTER_PASSWORD=486, MASTER_PORT=487, MASTER_RETRY_COUNT=488,
MASTER_SSL=489, MASTER_SSL_CA=490, MASTER_SSL_CAPATH=491, MASTER_SSL_CERT=492,
MASTER_SSL_CIPHER=493, MASTER_SSL_CRL=494, MASTER_SSL_CRLPATH=495, MASTER_SSL_KEY=496,
MASTER_TLS_VERSION=497, MASTER_USER=498, MAX_CONNECTIONS_PER_HOUR=499,
MAX_QUERIES_PER_HOUR=500, MAX_ROWS=501, MAX_SIZE=502, MAX_UPDATES_PER_HOUR=503,
MAX_USER_CONNECTIONS=504, MEDIUM=505, MEMBER=506, MERGE=507, MESSAGE_TEXT=508,
MID=509, MIGRATE=510, MIN_ROWS=511, MODE=512, MODIFY=513, MUTEX=514, MYSQL=515,
MYSQL_ERRNO=516, NAME=517, NAMES=518, NCHAR=519, NEVER=520, NEXT=521,
NO=522, NOCACHE=523, NOCOPY=524, NOCYCLE=525, NOMAXVALUE=526, NOMINVALUE=527,
NOWAIT=528, NODEGROUP=529, NONE=530, ODBC=531, OFFLINE=532, OFFSET=533,
OF=534, OJ=535, OLD_PASSWORD=536, ONE=537, ONLINE=538, ONLY=539, OPEN=540,
OPTIMIZER_COSTS=541, OPTIONS=542, OWNER=543, PACK_KEYS=544, PAGE=545,
PAGE_COMPRESSED=546, PAGE_COMPRESSION_LEVEL=547, PARSER=548, PARTIAL=549,
PARTITIONING=550, PARTITIONS=551, PASSWORD=552, PASSWORD_LOCK_TIME=553,
PHASE=554, PLUGIN=555, PLUGIN_DIR=556, PLUGINS=557, PORT=558, PRECEDES=559,
PRECEDING=560, PREPARE=561, PRESERVE=562, PREV=563, PROCESSLIST=564, PROFILE=565,
PROFILES=566, PROXY=567, QUERY=568, QUERY_RESPONSE_TIME=569, QUICK=570,
REBUILD=571, RECOVER=572, RECURSIVE=573, REDO_BUFFER_SIZE=574, REDUNDANT=575,
RELAY=576, RELAY_LOG_FILE=577, RELAY_LOG_POS=578, RELAYLOG=579, REMOVE=580,
REORGANIZE=581, REPAIR=582, REPLICATE_DO_DB=583, REPLICATE_DO_TABLE=584,
REPLICATE_IGNORE_DB=585, REPLICATE_IGNORE_TABLE=586, REPLICATE_REWRITE_DB=587,
REPLICATE_WILD_DO_TABLE=588, REPLICATE_WILD_IGNORE_TABLE=589, REPLICATION=590,
RESET=591, RESTART=592, RESUME=593, RETURNED_SQLSTATE=594, RETURNING=595,
RETURNS=596, REUSE=597, ROLE=598, ROLLBACK=599, ROLLUP=600, ROTATE=601,
ROW=602, ROWS=603, ROW_FORMAT=604, RTREE=605, SAVEPOINT=606, SCHEDULE=607,
SECURITY=608, SEQUENCE=609, SERVER=610, SESSION=611, SHARE=612, SHARED=613,
SIGNED=614, SIMPLE=615, SLAVE=616, SLAVES=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,
TYPES=660, UNBOUNDED=661, UNDEFINED=662, UNDOFILE=663, UNDO_BUFFER_SIZE=664,
UNINSTALL=665, UNKNOWN=666, UNTIL=667, UPGRADE=668, USER=669, USE_FRM=670,
USER_RESOURCES=671, VALIDATION=672, VALUE=673, VARIABLES=674, VIEW=675,
VIRTUAL=676, VISIBLE=677, WAIT=678, WARNINGS=679, WINDOW=680, WITHOUT=681,
WORK=682, WRAPPER=683, WSREP_MEMBERSHIP=684, WSREP_STATUS=685, X509=686,
XA=687, XML=688, YES=689, EUR=690, USA=691, JIS=692, ISO=693, INTERNAL=694,
QUARTER=695, MONTH=696, DAY=697, HOUR=698, MINUTE=699, WEEK=700, SECOND=701,
MICROSECOND=702, USER_STATISTICS=703, CLIENT_STATISTICS=704, INDEX_STATISTICS=705,
TABLE_STATISTICS=706, ADMIN=707, APPLICATION_PASSWORD_ADMIN=708, AUDIT_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_USER=719, FLUSH_OPTIMIZER_COSTS=720, FLUSH_STATUS=721,
FLUSH_TABLES=722, FLUSH_USER_RESOURCES=723, GROUP_REPLICATION_ADMIN=724,
INNODB_REDO_LOG_ARCHIVE=725, INNODB_REDO_LOG_ENABLE=726, INVOKE=727, LAMBDA=728,
NDB_STORED_USER=729, PASSWORDLESS_USER_ADMIN=730, PERSIST_RO_VARIABLES_ADMIN=731,
PRIVILEGES=732, PROCESS=733, RELOAD=734, REPLICATION_APPLIER=735, REPLICATION_SLAVE_ADMIN=736,
RESOURCE_GROUP_ADMIN=737, RESOURCE_GROUP_USER=738, ROLE_ADMIN=739, ROUTINE=740,
S3=741, SERVICE_CONNECTION_ADMIN=742, SESSION_VARIABLES_ADMIN=743, SET_USER_ID=744,
SHOW_ROUTINE=745, SHUTDOWN=746, SUPER=747, SYSTEM_VARIABLES_ADMIN=748,
TABLES=749, TABLE_ENCRYPTION_ADMIN=750, VERSION_TOKEN_ADMIN=751, XA_RECOVER_ADMIN=752,
ARMSCII8=753, ASCII=754, BIG5=755, CP1250=756, CP1251=757, CP1256=758,
CP1257=759, CP850=760, CP852=761, CP866=762, CP932=763, DEC8=764, EUCJPMS=765,
EUCKR=766, GB18030=767, GB2312=768, GBK=769, GEOSTD8=770, GREEK=771, HEBREW=772,
HP8=773, KEYBCS2=774, KOI8R=775, KOI8U=776, LATIN1=777, LATIN2=778, LATIN5=779,
LATIN7=780, MACCE=781, MACROMAN=782, SJIS=783, SWE7=784, TIS620=785, UCS2=786,
UJIS=787, UTF16=788, UTF16LE=789, UTF32=790, UTF8=791, UTF8MB3=792, UTF8MB4=793,
ARCHIVE=794, BLACKHOLE=795, CSV=796, FEDERATED=797, INNODB=798, MEMORY=799,
MRG_MYISAM=800, MYISAM=801, NDB=802, NDBCLUSTER=803, PERFORMANCE_SCHEMA=804,
TOKUDB=805, REPEATABLE=806, COMMITTED=807, UNCOMMITTED=808, SERIALIZABLE=809,
GEOMETRYCOLLECTION=810, GEOMCOLLECTION=811, GEOMETRY=812, LINESTRING=813,
MULTILINESTRING=814, MULTIPOINT=815, MULTIPOLYGON=816, POINT=817, POLYGON=818,
ABS=819, ACOS=820, ADDDATE=821, ADDTIME=822, AES_DECRYPT=823, AES_ENCRYPT=824,
AREA=825, ASBINARY=826, ASIN=827, ASTEXT=828, ASWKB=829, ASWKT=830, ASYMMETRIC_DECRYPT=831,
ASYMMETRIC_DERIVE=832, ASYMMETRIC_ENCRYPT=833, ASYMMETRIC_SIGN=834, ASYMMETRIC_VERIFY=835,
ATAN=836, ATAN2=837, BENCHMARK=838, BIN=839, BIT_COUNT=840, BIT_LENGTH=841,
BUFFER=842, CATALOG_NAME=843, CEIL=844, CEILING=845, CENTROID=846, CHARACTER_LENGTH=847,
CHARSET=848, CHAR_LENGTH=849, COERCIBILITY=850, COLLATION=851, COMPRESS=852,
CONCAT=853, CONCAT_WS=854, CONNECTION_ID=855, CONV=856, CONVERT_TZ=857,
COS=858, COT=859, CRC32=860, CREATE_ASYMMETRIC_PRIV_KEY=861, CREATE_ASYMMETRIC_PUB_KEY=862,
CREATE_DH_PARAMETERS=863, CREATE_DIGEST=864, CROSSES=865, DATEDIFF=866,
DATE_FORMAT=867, DAYNAME=868, DAYOFMONTH=869, DAYOFWEEK=870, DAYOFYEAR=871,
DECODE=872, DEGREES=873, DES_DECRYPT=874, DES_ENCRYPT=875, DIMENSION=876,
DISJOINT=877, ELT=878, ENCODE=879, ENCRYPT=880, ENDPOINT=881, ENGINE_ATTRIBUTE=882,
ENVELOPE=883, EQUALS=884, EXP=885, EXPORT_SET=886, EXTERIORRING=887, EXTRACTVALUE=888,
FIELD=889, FIND_IN_SET=890, FLOOR=891, FORMAT=892, FOUND_ROWS=893, FROM_BASE64=894,
FROM_DAYS=895, FROM_UNIXTIME=896, GEOMCOLLFROMTEXT=897, GEOMCOLLFROMWKB=898,
GEOMETRYCOLLECTIONFROMTEXT=899, GEOMETRYCOLLECTIONFROMWKB=900, GEOMETRYFROMTEXT=901,
GEOMETRYFROMWKB=902, GEOMETRYN=903, GEOMETRYTYPE=904, GEOMFROMTEXT=905,
GEOMFROMWKB=906, GET_FORMAT=907, GET_LOCK=908, GLENGTH=909, GREATEST=910,
GTID_SUBSET=911, GTID_SUBTRACT=912, HEX=913, IFNULL=914, INET6_ATON=915,
INET6_NTOA=916, INET_ATON=917, INET_NTOA=918, INSTR=919, INTERIORRINGN=920,
INTERSECTS=921, ISCLOSED=922, ISEMPTY=923, ISNULL=924, ISSIMPLE=925, IS_FREE_LOCK=926,
IS_IPV4=927, IS_IPV4_COMPAT=928, IS_IPV4_MAPPED=929, IS_IPV6=930, IS_USED_LOCK=931,
LAST_INSERT_ID=932, LCASE=933, LEAST=934, LENGTH=935, LINEFROMTEXT=936,
LINEFROMWKB=937, LINESTRINGFROMTEXT=938, LINESTRINGFROMWKB=939, LN=940,
LOAD_FILE=941, LOCATE=942, LOG=943, LOG10=944, LOG2=945, LOWER=946, LPAD=947,
LTRIM=948, MAKEDATE=949, MAKETIME=950, MAKE_SET=951, MASTER_POS_WAIT=952,
MBRCONTAINS=953, MBRDISJOINT=954, MBREQUAL=955, MBRINTERSECTS=956, MBROVERLAPS=957,
MBRTOUCHES=958, MBRWITHIN=959, MD5=960, MLINEFROMTEXT=961, MLINEFROMWKB=962,
MONTHNAME=963, MPOINTFROMTEXT=964, MPOINTFROMWKB=965, MPOLYFROMTEXT=966,
MPOLYFROMWKB=967, MULTILINESTRINGFROMTEXT=968, MULTILINESTRINGFROMWKB=969,
MULTIPOINTFROMTEXT=970, MULTIPOINTFROMWKB=971, MULTIPOLYGONFROMTEXT=972,
MULTIPOLYGONFROMWKB=973, NAME_CONST=974, NULLIF=975, NUMGEOMETRIES=976,
NUMINTERIORRINGS=977, NUMPOINTS=978, OCT=979, OCTET_LENGTH=980, ORD=981,
OVERLAPS=982, PERIOD_ADD=983, PERIOD_DIFF=984, PI=985, POINTFROMTEXT=986,
POINTFROMWKB=987, POINTN=988, POLYFROMTEXT=989, POLYFROMWKB=990, POLYGONFROMTEXT=991,
POLYGONFROMWKB=992, POW=993, POWER=994, QUOTE=995, RADIANS=996, RAND=997,
RANDOM_BYTES=998, RELEASE_LOCK=999, REVERSE=1000, ROUND=1001, ROW_COUNT=1002,
RPAD=1003, RTRIM=1004, SEC_TO_TIME=1005, SECONDARY_ENGINE_ATTRIBUTE=1006,
SESSION_USER=1007, SHA=1008, SHA1=1009, SHA2=1010, SCHEMA_NAME=1011, SIGN=1012,
SIN=1013, SLEEP=1014, SOUNDEX=1015, SQL_THREAD_WAIT_AFTER_GTIDS=1016,
SQRT=1017, SRID=1018, STARTPOINT=1019, STRCMP=1020, STR_TO_DATE=1021,
ST_AREA=1022, ST_ASBINARY=1023, ST_ASTEXT=1024, ST_ASWKB=1025, ST_ASWKT=1026,
ST_BUFFER=1027, ST_CENTROID=1028, ST_CONTAINS=1029, ST_CROSSES=1030, ST_DIFFERENCE=1031,
ST_DIMENSION=1032, ST_DISJOINT=1033, ST_DISTANCE=1034, ST_ENDPOINT=1035,
ST_ENVELOPE=1036, ST_EQUALS=1037, ST_EXTERIORRING=1038, ST_GEOMCOLLFROMTEXT=1039,
ST_GEOMCOLLFROMTXT=1040, ST_GEOMCOLLFROMWKB=1041, ST_GEOMETRYCOLLECTIONFROMTEXT=1042,
ST_GEOMETRYCOLLECTIONFROMWKB=1043, ST_GEOMETRYFROMTEXT=1044, ST_GEOMETRYFROMWKB=1045,
ST_GEOMETRYN=1046, ST_GEOMETRYTYPE=1047, ST_GEOMFROMTEXT=1048, ST_GEOMFROMWKB=1049,
ST_INTERIORRINGN=1050, ST_INTERSECTION=1051, ST_INTERSECTS=1052, ST_ISCLOSED=1053,
ST_ISEMPTY=1054, ST_ISSIMPLE=1055, ST_LINEFROMTEXT=1056, ST_LINEFROMWKB=1057,
ST_LINESTRINGFROMTEXT=1058, ST_LINESTRINGFROMWKB=1059, ST_NUMGEOMETRIES=1060,
ST_NUMINTERIORRING=1061, ST_NUMINTERIORRINGS=1062, ST_NUMPOINTS=1063,
ST_OVERLAPS=1064, ST_POINTFROMTEXT=1065, ST_POINTFROMWKB=1066, ST_POINTN=1067,
ST_POLYFROMTEXT=1068, ST_POLYFROMWKB=1069, ST_POLYGONFROMTEXT=1070, ST_POLYGONFROMWKB=1071,
ST_SRID=1072, ST_STARTPOINT=1073, ST_SYMDIFFERENCE=1074, ST_TOUCHES=1075,
ST_UNION=1076, ST_WITHIN=1077, ST_X=1078, ST_Y=1079, SUBDATE=1080, SUBSTRING_INDEX=1081,
SUBTIME=1082, SYSTEM_USER=1083, TAN=1084, TIMEDIFF=1085, TIMESTAMPADD=1086,
TIMESTAMPDIFF=1087, TIME_FORMAT=1088, TIME_TO_SEC=1089, TOUCHES=1090,
TO_BASE64=1091, TO_DAYS=1092, TO_SECONDS=1093, UCASE=1094, UNCOMPRESS=1095,
UNCOMPRESSED_LENGTH=1096, UNHEX=1097, UNIX_TIMESTAMP=1098, UPDATEXML=1099,
UPPER=1100, UUID=1101, UUID_SHORT=1102, VALIDATE_PASSWORD_STRENGTH=1103,
VERSION=1104, WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS=1105, WEEKDAY=1106, WEEKOFYEAR=1107,
WEIGHT_STRING=1108, WITHIN=1109, YEARWEEK=1110, Y_FUNCTION=1111, X_FUNCTION=1112,
VIA=1113, LASTVAL=1114, NEXTVAL=1115, SETVAL=1116, PREVIOUS=1117, PERSISTENT=1118,
BINLOG_MONITOR=1119, BINLOG_REPLAY=1120, FEDERATED_ADMIN=1121, READ_ONLY_ADMIN=1122,
REPLICA=1123, REPLICAS=1124, REPLICATION_MASTER_ADMIN=1125, MONITOR=1126,
READ_ONLY=1127, REPLAY=1128, VAR_ASSIGN=1129, PLUS_ASSIGN=1130, MINUS_ASSIGN=1131,
MULT_ASSIGN=1132, DIV_ASSIGN=1133, MOD_ASSIGN=1134, AND_ASSIGN=1135, XOR_ASSIGN=1136,
OR_ASSIGN=1137, STAR=1138, DIVIDE=1139, MODULE=1140, PLUS=1141, MINUS=1142,
DIV=1143, MOD=1144, EQUAL_SYMBOL=1145, GREATER_SYMBOL=1146, LESS_SYMBOL=1147,
EXCLAMATION_SYMBOL=1148, BIT_NOT_OP=1149, BIT_OR_OP=1150, BIT_AND_OP=1151,
BIT_XOR_OP=1152, DOT=1153, LR_BRACKET=1154, RR_BRACKET=1155, COMMA=1156,
SEMI=1157, AT_SIGN=1158, ZERO_DECIMAL=1159, ONE_DECIMAL=1160, TWO_DECIMAL=1161,
SINGLE_QUOTE_SYMB=1162, DOUBLE_QUOTE_SYMB=1163, REVERSE_QUOTE_SYMB=1164,
COLON_SYMB=1165, CHARSET_REVERSE_QOUTE_STRING=1166, FILESIZE_LITERAL=1167,
START_NATIONAL_STRING_LITERAL=1168, STRING_LITERAL=1169, DECIMAL_LITERAL=1170,
HEXADECIMAL_LITERAL=1171, REAL_LITERAL=1172, NULL_SPEC_LITERAL=1173, BIT_STRING=1174,
STRING_CHARSET_NAME=1175, DOT_ID=1176, ID=1177, REVERSE_QUOTE_ID=1178,
HOST_IP_ADDRESS=1179, LOCAL_ID=1180, GLOBAL_ID=1181, ERROR_RECONGNIGION=1182;
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_subpartitionFunctionDefinition = 61, RULE_partitionDefinition = 62,
RULE_partitionDefinerAtom = 63, RULE_partitionDefinerVector = 64, RULE_subpartitionDefinition = 65,
RULE_partitionOption = 66, RULE_alterDatabase = 67, RULE_alterEvent = 68,
RULE_alterFunction = 69, RULE_alterInstance = 70, RULE_alterLogfileGroup = 71,
RULE_alterProcedure = 72, RULE_alterServer = 73, RULE_alterTable = 74,
RULE_alterTablespace = 75, RULE_alterView = 76, RULE_alterSequence = 77,
RULE_alterSpecification = 78, RULE_alterPartitionSpecification = 79, RULE_dropDatabase = 80,
RULE_dropEvent = 81, RULE_dropIndex = 82, RULE_dropLogfileGroup = 83,
RULE_dropProcedure = 84, RULE_dropFunction = 85, RULE_dropServer = 86,
RULE_dropTable = 87, RULE_dropTablespace = 88, RULE_dropTrigger = 89,
RULE_dropView = 90, RULE_dropRole = 91, RULE_setRole = 92, RULE_dropSequence = 93,
RULE_renameTable = 94, RULE_renameTableClause = 95, RULE_truncateTable = 96,
RULE_callStatement = 97, RULE_deleteStatement = 98, RULE_doStatement = 99,
RULE_handlerStatement = 100, RULE_insertStatement = 101, RULE_loadDataStatement = 102,
RULE_loadXmlStatement = 103, RULE_replaceStatement = 104, RULE_selectStatement = 105,
RULE_updateStatement = 106, RULE_valuesStatement = 107, RULE_insertStatementValue = 108,
RULE_updatedElement = 109, RULE_assignmentField = 110, RULE_lockClause = 111,
RULE_singleDeleteStatement = 112, RULE_multipleDeleteStatement = 113,
RULE_handlerOpenStatement = 114, RULE_handlerReadIndexStatement = 115,
RULE_handlerReadStatement = 116, RULE_handlerCloseStatement = 117, RULE_singleUpdateStatement = 118,
RULE_multipleUpdateStatement = 119, RULE_orderByClause = 120, RULE_orderByExpression = 121,
RULE_tableSources = 122, RULE_tableSource = 123, RULE_tableSourceItem = 124,
RULE_indexHint = 125, RULE_indexHintType = 126, RULE_joinPart = 127, RULE_queryExpression = 128,
RULE_queryExpressionNointo = 129, RULE_querySpecification = 130, RULE_querySpecificationNointo = 131,
RULE_unionParenthesis = 132, RULE_unionStatement = 133, RULE_lateralStatement = 134,
RULE_jsonTable = 135, RULE_jsonColumnList = 136, RULE_jsonColumn = 137,
RULE_jsonOnEmpty = 138, RULE_jsonOnError = 139, RULE_selectSpec = 140,
RULE_selectElements = 141, RULE_selectElement = 142, RULE_selectIntoExpression = 143,
RULE_selectFieldsInto = 144, RULE_selectLinesInto = 145, RULE_fromClause = 146,
RULE_groupByClause = 147, RULE_havingClause = 148, RULE_windowClause = 149,
RULE_groupByItem = 150, RULE_limitClause = 151, RULE_limitClauseAtom = 152,
RULE_startTransaction = 153, RULE_beginWork = 154, RULE_commitWork = 155,
RULE_rollbackWork = 156, RULE_savepointStatement = 157, RULE_rollbackStatement = 158,
RULE_releaseStatement = 159, RULE_lockTables = 160, RULE_unlockTables = 161,
RULE_setAutocommitStatement = 162, RULE_setTransactionStatement = 163,
RULE_transactionMode = 164, RULE_lockTableElement = 165, RULE_lockAction = 166,
RULE_transactionOption = 167, RULE_transactionLevel = 168, RULE_changeMaster = 169,
RULE_changeReplicationFilter = 170, RULE_purgeBinaryLogs = 171, RULE_resetMaster = 172,
RULE_resetSlave = 173, RULE_startSlave = 174, RULE_stopSlave = 175, RULE_startGroupReplication = 176,
RULE_stopGroupReplication = 177, RULE_masterOption = 178, RULE_stringMasterOption = 179,
RULE_decimalMasterOption = 180, RULE_boolMasterOption = 181, RULE_channelOption = 182,
RULE_replicationFilter = 183, RULE_tablePair = 184, RULE_threadType = 185,
RULE_untilOption = 186, RULE_connectionOption = 187, RULE_gtuidSet = 188,
RULE_xaStartTransaction = 189, RULE_xaEndTransaction = 190, RULE_xaPrepareStatement = 191,
RULE_xaCommitWork = 192, RULE_xaRollbackWork = 193, RULE_xaRecoverWork = 194,
RULE_prepareStatement = 195, RULE_executeStatement = 196, RULE_deallocatePrepare = 197,
RULE_routineBody = 198, RULE_blockStatement = 199, RULE_caseStatement = 200,
RULE_ifStatement = 201, RULE_iterateStatement = 202, RULE_leaveStatement = 203,
RULE_loopStatement = 204, RULE_repeatStatement = 205, RULE_returnStatement = 206,
RULE_whileStatement = 207, RULE_cursorStatement = 208, RULE_declareVariable = 209,
RULE_declareCondition = 210, RULE_declareCursor = 211, RULE_declareHandler = 212,
RULE_handlerConditionValue = 213, RULE_procedureSqlStatement = 214, RULE_caseAlternative = 215,
RULE_elifAlternative = 216, RULE_alterUser = 217, RULE_createUser = 218,
RULE_dropUser = 219, RULE_grantStatement = 220, RULE_roleOption = 221,
RULE_grantProxy = 222, RULE_renameUser = 223, RULE_revokeStatement = 224,
RULE_revokeProxy = 225, RULE_setPasswordStatement = 226, RULE_userSpecification = 227,
RULE_userAuthOption = 228, RULE_authenticationRule = 229, RULE_tlsOption = 230,
RULE_userResourceOption = 231, RULE_userPasswordOption = 232, RULE_userLockOption = 233,
RULE_privelegeClause = 234, RULE_privilege = 235, RULE_privilegeLevel = 236,
RULE_renameUserClause = 237, RULE_analyzeTable = 238, RULE_checkTable = 239,
RULE_checksumTable = 240, RULE_optimizeTable = 241, RULE_repairTable = 242,
RULE_checkTableOption = 243, RULE_createUdfunction = 244, RULE_installPlugin = 245,
RULE_uninstallPlugin = 246, RULE_setStatement = 247, RULE_showStatement = 248,
RULE_explainStatement = 249, RULE_variableClause = 250, RULE_showCommonEntity = 251,
RULE_showFilter = 252, RULE_showGlobalInfoClause = 253, RULE_showSchemaEntity = 254,
RULE_showProfileType = 255, RULE_binlogStatement = 256, RULE_cacheIndexStatement = 257,
RULE_flushStatement = 258, RULE_killStatement = 259, RULE_loadIndexIntoCache = 260,
RULE_resetStatement = 261, RULE_shutdownStatement = 262, RULE_tableIndexes = 263,
RULE_flushOption = 264, RULE_flushTableOption = 265, RULE_loadedTableIndexes = 266,
RULE_simpleDescribeStatement = 267, RULE_fullDescribeStatement = 268,
RULE_formatJsonStatement = 269, RULE_helpStatement = 270, RULE_useStatement = 271,
RULE_signalStatement = 272, RULE_resignalStatement = 273, RULE_signalConditionInformation = 274,
RULE_diagnosticsStatement = 275, RULE_diagnosticsConditionInformationName = 276,
RULE_describeObjectClause = 277, RULE_fullId = 278, RULE_tableName = 279,
RULE_roleName = 280, RULE_fullColumnName = 281, RULE_indexColumnName = 282,
RULE_simpleUserName = 283, RULE_hostName = 284, RULE_userName = 285, RULE_mysqlVariable = 286,
RULE_charsetName = 287, RULE_collationName = 288, RULE_engineName = 289,
RULE_engineNameBase = 290, RULE_encryptedLiteral = 291, RULE_uuidSet = 292,
RULE_xid = 293, RULE_xuidStringId = 294, RULE_authPlugin = 295, RULE_uid = 296,
RULE_simpleId = 297, RULE_dottedId = 298, RULE_decimalLiteral = 299, RULE_fileSizeLiteral = 300,
RULE_stringLiteral = 301, RULE_booleanLiteral = 302, RULE_hexadecimalLiteral = 303,
RULE_nullNotnull = 304, RULE_constant = 305, RULE_dataType = 306, RULE_collectionOptions = 307,
RULE_collectionOption = 308, RULE_convertedDataType = 309, RULE_lengthOneDimension = 310,
RULE_lengthTwoDimension = 311, RULE_lengthTwoOptionalDimension = 312,
RULE_uidList = 313, RULE_tables = 314, RULE_indexColumnNames = 315, RULE_expressions = 316,
RULE_expressionsWithDefaults = 317, RULE_constants = 318, RULE_simpleStrings = 319,
RULE_userVariables = 320, RULE_defaultValue = 321, RULE_currentTimestamp = 322,
RULE_expressionOrDefault = 323, RULE_ifExists = 324, RULE_ifNotExists = 325,
RULE_orReplace = 326, RULE_waitNowaitClause = 327, RULE_lockOption = 328,
RULE_functionCall = 329, RULE_specificFunction = 330, RULE_caseFuncAlternative = 331,
RULE_levelsInWeightString = 332, RULE_levelInWeightListElement = 333,
RULE_aggregateWindowedFunction = 334, RULE_nonAggregateWindowedFunction = 335,
RULE_overClause = 336, RULE_windowSpec = 337, RULE_windowName = 338, RULE_frameClause = 339,
RULE_frameUnits = 340, RULE_frameExtent = 341, RULE_frameBetween = 342,
RULE_frameRange = 343, RULE_partitionClause = 344, RULE_scalarFunctionName = 345,
RULE_passwordFunctionClause = 346, RULE_functionArgs = 347, RULE_functionArg = 348,
RULE_expression = 349, RULE_predicate = 350, RULE_expressionAtom = 351,
RULE_unaryOperator = 352, RULE_comparisonOperator = 353, RULE_logicalOperator = 354,
RULE_bitOperator = 355, RULE_mathOperator = 356, RULE_jsonOperator = 357,
RULE_charsetNameBase = 358, RULE_transactionLevelBase = 359, RULE_privilegesBase = 360,
RULE_intervalTypeBase = 361, RULE_dataTypeBase = 362, RULE_keywordsCanBeId = 363,
RULE_functionNameBase = 364;
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", "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", "updateStatement", "valuesStatement", "insertStatementValue",
"updatedElement", "assignmentField", "lockClause", "singleDeleteStatement",
"multipleDeleteStatement", "handlerOpenStatement", "handlerReadIndexStatement",
"handlerReadStatement", "handlerCloseStatement", "singleUpdateStatement",
"multipleUpdateStatement", "orderByClause", "orderByExpression", "tableSources",
"tableSource", "tableSourceItem", "indexHint", "indexHintType", "joinPart",
"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", "authenticationRule",
"tlsOption", "userResourceOption", "userPasswordOption", "userLockOption",
"privelegeClause", "privilege", "privilegeLevel", "renameUserClause",
"analyzeTable", "checkTable", "checksumTable", "optimizeTable", "repairTable",
"checkTableOption", "createUdfunction", "installPlugin", "uninstallPlugin",
"setStatement", "showStatement", "explainStatement", "variableClause",
"showCommonEntity", "showFilter", "showGlobalInfoClause", "showSchemaEntity",
"showProfileType", "binlogStatement", "cacheIndexStatement", "flushStatement",
"killStatement", "loadIndexIntoCache", "resetStatement", "shutdownStatement",
"tableIndexes", "flushOption", "flushTableOption", "loadedTableIndexes",
"simpleDescribeStatement", "fullDescribeStatement", "formatJsonStatement",
"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", "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", "mathOperator", "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'", "'BEFORE'",
"'BETWEEN'", "'BODY'", "'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'", "'ESCAPED'", "'EXCEPT'", "'EXISTS'", "'EXIT'",
"'EXPLAIN'", "'FALSE'", "'FETCH'", "'FOR'", "'FORCE'", "'FOREIGN'", "'FROM'",
"'FULLTEXT'", "'GENERATED'", "'GET'", "'GRANT'", "'GROUP'", "'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'", "'PACKAGE'", "'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'", "'SPATIAL'",
"'SQL'", "'SQLEXCEPTION'", "'SQLSTATE'", "'SQLWARNING'", "'SQL_BIG_RESULT'",
"'SQL_CALC_FOUND_ROWS'", "'SQL_SMALL_RESULT'", "'SSL'", "'STACKED'",
"'STARTING'", "'STATEMENT'", "'STRAIGHT_JOIN'", "'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'", "'LOCALES'", "'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'", "'QUERY_RESPONSE_TIME'", "'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'",
"'SLAVES'", "'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'", "'TYPES'",
"'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'",
"'WSREP_MEMBERSHIP'", "'WSREP_STATUS'", "'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'",
"'ADMIN'", "'APPLICATION_PASSWORD_ADMIN'", "'AUDIT_ADMIN'", "'BACKUP_ADMIN'",
"'BINLOG_ADMIN'", "'BINLOG_ENCRYPTION_ADMIN'", "'CLONE_ADMIN'", "'CONNECTION_ADMIN'",
"'ENCRYPTION_KEY_ADMIN'", "'EXECUTE'", "'FILE'", "'FIREWALL_ADMIN'",
"'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_BYTES'", "'RELEASE_LOCK'", "'REVERSE'", "'ROUND'", "'ROW_COUNT'",
"'RPAD'", "'RTRIM'", "'SEC_TO_TIME'", "'SECONDARY_ENGINE_ATTRIBUTE'",
"'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'", "'TAN'", "'TIMEDIFF'",
"'TIMESTAMPADD'", "'TIMESTAMPDIFF'", "'TIME_FORMAT'", "'TIME_TO_SEC'",
"'TOUCHES'", "'TO_BASE64'", "'TO_DAYS'", "'TO_SECONDS'", "'UCASE'", "'UNCOMPRESS'",
"'UNCOMPRESSED_LENGTH'", "'UNHEX'", "'UNIX_TIMESTAMP'", "'UPDATEXML'",
"'UPPER'", "'UUID'", "'UUID_SHORT'", "'VALIDATE_PASSWORD_STRENGTH'",
"'VERSION'", "'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'",
"'REPLICAS'", "'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", "BEFORE", "BETWEEN", "BODY", "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", "ESCAPED", "EXCEPT", "EXISTS",
"EXIT", "EXPLAIN", "FALSE", "FETCH", "FOR", "FORCE", "FOREIGN", "FROM",
"FULLTEXT", "GENERATED", "GET", "GRANT", "GROUP", "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", "PACKAGE",
"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_", "SPATIAL", "SQL",
"SQLEXCEPTION", "SQLSTATE", "SQLWARNING", "SQL_BIG_RESULT", "SQL_CALC_FOUND_ROWS",
"SQL_SMALL_RESULT", "SSL", "STACKED", "STARTING", "STATEMENT", "STRAIGHT_JOIN",
"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", "LOCALES",
"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", "QUERY_RESPONSE_TIME", "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",
"SLAVES", "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", "TYPES", "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", "WSREP_MEMBERSHIP", "WSREP_STATUS", "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", "ADMIN", "APPLICATION_PASSWORD_ADMIN",
"AUDIT_ADMIN", "BACKUP_ADMIN", "BINLOG_ADMIN", "BINLOG_ENCRYPTION_ADMIN",
"CLONE_ADMIN", "CONNECTION_ADMIN", "ENCRYPTION_KEY_ADMIN", "EXECUTE",
"FILE", "FIREWALL_ADMIN", "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_BYTES", "RELEASE_LOCK", "REVERSE", "ROUND", "ROW_COUNT",
"RPAD", "RTRIM", "SEC_TO_TIME", "SECONDARY_ENGINE_ATTRIBUTE", "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",
"TAN", "TIMEDIFF", "TIMESTAMPADD", "TIMESTAMPDIFF", "TIME_FORMAT", "TIME_TO_SEC",
"TOUCHES", "TO_BASE64", "TO_DAYS", "TO_SECONDS", "UCASE", "UNCOMPRESS",
"UNCOMPRESSED_LENGTH", "UNHEX", "UNIX_TIMESTAMP", "UPDATEXML", "UPPER",
"UUID", "UUID_SHORT", "VALIDATE_PASSWORD_STRENGTH", "VERSION", "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", "REPLICAS", "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 "MariaDBParser.g4"; }
@Override
public String[] getRuleNames() { return ruleNames; }
@Override
public String getSerializedATN() { return _serializedATN; }
@Override
public ATN getATN() { return _ATN; }
public MariaDBParser(TokenStream input) {
super(input);
_interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
}
public static class RootContext extends ParserRuleContext {
public TerminalNode EOF() { return getToken(MariaDBParser.EOF, 0); }
public SqlStatementsContext sqlStatements() {
return getRuleContext(SqlStatementsContext.class,0);
}
public List MINUS() { return getTokens(MariaDBParser.MINUS); }
public TerminalNode MINUS(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterRoot(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(731);
_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 - 71)) & ~0x3f) == 0 && ((1L << (_la - 71)) & ((1L << (GET - 71)) | (1L << (GRANT - 71)) | (1L << (INSERT - 71)) | (1L << (KILL - 71)) | (1L << (LOAD - 71)) | (1L << (LOCK - 71)) | (1L << (OPTIMIZE - 71)) | (1L << (PURGE - 71)))) != 0) || ((((_la - 139)) & ~0x3f) == 0 && ((1L << (_la - 139)) & ((1L << (RELEASE - 139)) | (1L << (RENAME - 139)) | (1L << (REPLACE - 139)) | (1L << (RESIGNAL - 139)) | (1L << (REVOKE - 139)) | (1L << (SELECT - 139)) | (1L << (SET - 139)) | (1L << (SHOW - 139)) | (1L << (SIGNAL - 139)) | (1L << (UNLOCK - 139)) | (1L << (UPDATE - 139)) | (1L << (USE - 139)) | (1L << (VALUES - 139)))) != 0) || ((((_la - 344)) & ~0x3f) == 0 && ((1L << (_la - 344)) & ((1L << (BEGIN - 344)) | (1L << (BINLOG - 344)) | (1L << (CACHE - 344)) | (1L << (CHECKSUM - 344)) | (1L << (COMMIT - 344)) | (1L << (DEALLOCATE - 344)) | (1L << (DO - 344)))) != 0) || ((((_la - 432)) & ~0x3f) == 0 && ((1L << (_la - 432)) & ((1L << (FLUSH - 432)) | (1L << (HANDLER - 432)) | (1L << (HELP - 432)) | (1L << (INSTALL - 432)))) != 0) || ((((_la - 561)) & ~0x3f) == 0 && ((1L << (_la - 561)) & ((1L << (PREPARE - 561)) | (1L << (REPAIR - 561)) | (1L << (RESET - 561)) | (1L << (ROLLBACK - 561)) | (1L << (SAVEPOINT - 561)))) != 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(730);
sqlStatements();
}
}
setState(735);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MINUS) {
{
setState(733);
match(MINUS);
setState(734);
match(MINUS);
}
}
setState(737);
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(EmptyStatement_Context.class);
}
public EmptyStatement_Context emptyStatement_(int i) {
return getRuleContext(EmptyStatement_Context.class,i);
}
public List SEMI() { return getTokens(MariaDBParser.SEMI); }
public TerminalNode SEMI(int i) {
return getToken(MariaDBParser.SEMI, i);
}
public List MINUS() { return getTokens(MariaDBParser.MINUS); }
public TerminalNode MINUS(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterSqlStatements(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(750);
_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(748);
_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 UNLOCK:
case UPDATE:
case USE:
case VALUES:
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(739);
sqlStatement();
setState(742);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MINUS) {
{
setState(740);
match(MINUS);
setState(741);
match(MINUS);
}
}
setState(745);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,3,_ctx) ) {
case 1:
{
setState(744);
match(SEMI);
}
break;
}
}
break;
case SEMI:
{
setState(747);
emptyStatement_();
}
break;
default:
throw new NoViableAltException(this);
}
}
}
setState(752);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,5,_ctx);
}
setState(762);
_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 UNLOCK:
case UPDATE:
case USE:
case VALUES:
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(753);
sqlStatement();
setState(759);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,7,_ctx) ) {
case 1:
{
setState(756);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MINUS) {
{
setState(754);
match(MINUS);
setState(755);
match(MINUS);
}
}
setState(758);
match(SEMI);
}
break;
}
}
break;
case SEMI:
{
setState(761);
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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterSqlStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(765);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,9,_ctx) ) {
case 1:
{
setState(764);
setStatementFor();
}
break;
}
setState(774);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,10,_ctx) ) {
case 1:
{
setState(767);
ddlStatement();
}
break;
case 2:
{
setState(768);
dmlStatement();
}
break;
case 3:
{
setState(769);
transactionStatement();
}
break;
case 4:
{
setState(770);
replicationStatement();
}
break;
case 5:
{
setState(771);
preparedStatement();
}
break;
case 6:
{
setState(772);
administrationStatement();
}
break;
case 7:
{
setState(773);
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(MariaDBParser.SET, 0); }
public TerminalNode STATEMENT() { return getToken(MariaDBParser.STATEMENT, 0); }
public List ID() { return getTokens(MariaDBParser.ID); }
public TerminalNode ID(int i) {
return getToken(MariaDBParser.ID, i);
}
public List EQUAL_SYMBOL() { return getTokens(MariaDBParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(MariaDBParser.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(MariaDBParser.FOR, 0); }
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterSetStatementFor(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(776);
match(SET);
setState(777);
match(STATEMENT);
setState(778);
match(ID);
setState(779);
match(EQUAL_SYMBOL);
setState(780);
constant();
setState(787);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(781);
match(COMMA);
setState(782);
match(ID);
setState(783);
match(EQUAL_SYMBOL);
setState(784);
constant();
}
}
setState(789);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(790);
match(FOR);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class EmptyStatement_Context extends ParserRuleContext {
public TerminalNode SEMI() { return getToken(MariaDBParser.SEMI, 0); }
public EmptyStatement_Context(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_emptyStatement_; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterEmptyStatement_(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitEmptyStatement_(this);
}
}
public final EmptyStatement_Context emptyStatement_() throws RecognitionException {
EmptyStatement_Context _localctx = new EmptyStatement_Context(_ctx, getState());
enterRule(_localctx, 8, RULE_emptyStatement_);
try {
enterOuterAlt(_localctx, 1);
{
setState(792);
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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterDdlStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitDdlStatement(this);
}
}
public final DdlStatementContext ddlStatement() throws RecognitionException {
DdlStatementContext _localctx = new DdlStatementContext(_ctx, getState());
enterRule(_localctx, 10, RULE_ddlStatement);
try {
setState(835);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,12,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(794);
createDatabase();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(795);
createEvent();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(796);
createIndex();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(797);
createLogfileGroup();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(798);
createProcedure();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(799);
createFunction();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(800);
createServer();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(801);
createTable();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(802);
createTablespaceInnodb();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(803);
createTablespaceNdb();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(804);
createTrigger();
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(805);
createView();
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(806);
createRole();
}
break;
case 14:
enterOuterAlt(_localctx, 14);
{
setState(807);
createSequence();
}
break;
case 15:
enterOuterAlt(_localctx, 15);
{
setState(808);
alterDatabase();
}
break;
case 16:
enterOuterAlt(_localctx, 16);
{
setState(809);
alterEvent();
}
break;
case 17:
enterOuterAlt(_localctx, 17);
{
setState(810);
alterFunction();
}
break;
case 18:
enterOuterAlt(_localctx, 18);
{
setState(811);
alterInstance();
}
break;
case 19:
enterOuterAlt(_localctx, 19);
{
setState(812);
alterLogfileGroup();
}
break;
case 20:
enterOuterAlt(_localctx, 20);
{
setState(813);
alterProcedure();
}
break;
case 21:
enterOuterAlt(_localctx, 21);
{
setState(814);
alterServer();
}
break;
case 22:
enterOuterAlt(_localctx, 22);
{
setState(815);
alterTable();
}
break;
case 23:
enterOuterAlt(_localctx, 23);
{
setState(816);
alterTablespace();
}
break;
case 24:
enterOuterAlt(_localctx, 24);
{
setState(817);
alterView();
}
break;
case 25:
enterOuterAlt(_localctx, 25);
{
setState(818);
alterSequence();
}
break;
case 26:
enterOuterAlt(_localctx, 26);
{
setState(819);
dropDatabase();
}
break;
case 27:
enterOuterAlt(_localctx, 27);
{
setState(820);
dropEvent();
}
break;
case 28:
enterOuterAlt(_localctx, 28);
{
setState(821);
dropIndex();
}
break;
case 29:
enterOuterAlt(_localctx, 29);
{
setState(822);
dropLogfileGroup();
}
break;
case 30:
enterOuterAlt(_localctx, 30);
{
setState(823);
dropProcedure();
}
break;
case 31:
enterOuterAlt(_localctx, 31);
{
setState(824);
dropFunction();
}
break;
case 32:
enterOuterAlt(_localctx, 32);
{
setState(825);
dropServer();
}
break;
case 33:
enterOuterAlt(_localctx, 33);
{
setState(826);
dropTable();
}
break;
case 34:
enterOuterAlt(_localctx, 34);
{
setState(827);
dropTablespace();
}
break;
case 35:
enterOuterAlt(_localctx, 35);
{
setState(828);
dropTrigger();
}
break;
case 36:
enterOuterAlt(_localctx, 36);
{
setState(829);
dropView();
}
break;
case 37:
enterOuterAlt(_localctx, 37);
{
setState(830);
dropRole();
}
break;
case 38:
enterOuterAlt(_localctx, 38);
{
setState(831);
dropSequence();
}
break;
case 39:
enterOuterAlt(_localctx, 39);
{
setState(832);
setRole();
}
break;
case 40:
enterOuterAlt(_localctx, 40);
{
setState(833);
renameTable();
}
break;
case 41:
enterOuterAlt(_localctx, 41);
{
setState(834);
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 DmlStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dmlStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterDmlStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitDmlStatement(this);
}
}
public final DmlStatementContext dmlStatement() throws RecognitionException {
DmlStatementContext _localctx = new DmlStatementContext(_ctx, getState());
enterRule(_localctx, 12, RULE_dmlStatement);
try {
setState(848);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,13,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(837);
selectStatement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(838);
insertStatement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(839);
updateStatement();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(840);
deleteStatement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(841);
replaceStatement();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(842);
callStatement();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(843);
loadDataStatement();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(844);
loadXmlStatement();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(845);
doStatement();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(846);
handlerStatement();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(847);
valuesStatement();
}
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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterTransactionStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTransactionStatement(this);
}
}
public final TransactionStatementContext transactionStatement() throws RecognitionException {
TransactionStatementContext _localctx = new TransactionStatementContext(_ctx, getState());
enterRule(_localctx, 14, RULE_transactionStatement);
try {
setState(859);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,14,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(850);
startTransaction();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(851);
beginWork();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(852);
commitWork();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(853);
rollbackWork();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(854);
savepointStatement();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(855);
rollbackStatement();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(856);
releaseStatement();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(857);
lockTables();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(858);
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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterReplicationStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitReplicationStatement(this);
}
}
public final ReplicationStatementContext replicationStatement() throws RecognitionException {
ReplicationStatementContext _localctx = new ReplicationStatementContext(_ctx, getState());
enterRule(_localctx, 16, RULE_replicationStatement);
try {
setState(876);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,15,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(861);
changeMaster();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(862);
changeReplicationFilter();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(863);
purgeBinaryLogs();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(864);
resetMaster();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(865);
resetSlave();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(866);
startSlave();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(867);
stopSlave();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(868);
startGroupReplication();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(869);
stopGroupReplication();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(870);
xaStartTransaction();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(871);
xaEndTransaction();
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(872);
xaPrepareStatement();
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(873);
xaCommitWork();
}
break;
case 14:
enterOuterAlt(_localctx, 14);
{
setState(874);
xaRollbackWork();
}
break;
case 15:
enterOuterAlt(_localctx, 15);
{
setState(875);
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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterPreparedStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPreparedStatement(this);
}
}
public final PreparedStatementContext preparedStatement() throws RecognitionException {
PreparedStatementContext _localctx = new PreparedStatementContext(_ctx, getState());
enterRule(_localctx, 18, RULE_preparedStatement);
try {
setState(881);
_errHandler.sync(this);
switch (_input.LA(1)) {
case PREPARE:
enterOuterAlt(_localctx, 1);
{
setState(878);
prepareStatement();
}
break;
case EXECUTE:
enterOuterAlt(_localctx, 2);
{
setState(879);
executeStatement();
}
break;
case DROP:
case DEALLOCATE:
enterOuterAlt(_localctx, 3);
{
setState(880);
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 WithClauseContext withClause() {
return getRuleContext(WithClauseContext.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCompoundStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitCompoundStatement(this);
}
}
public final CompoundStatementContext compoundStatement() throws RecognitionException {
CompoundStatementContext _localctx = new CompoundStatementContext(_ctx, getState());
enterRule(_localctx, 20, RULE_compoundStatement);
try {
setState(896);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,17,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(883);
blockStatement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(884);
caseStatement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(885);
ifStatement();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(886);
leaveStatement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(887);
loopStatement();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(888);
repeatStatement();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(889);
whileStatement();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(890);
iterateStatement();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(891);
returnStatement();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(892);
cursorStatement();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(893);
withClause();
setState(894);
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 ExplainStatementContext explainStatement() {
return getRuleContext(ExplainStatementContext.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAdministrationStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAdministrationStatement(this);
}
}
public final AdministrationStatementContext administrationStatement() throws RecognitionException {
AdministrationStatementContext _localctx = new AdministrationStatementContext(_ctx, getState());
enterRule(_localctx, 22, RULE_administrationStatement);
try {
setState(924);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,18,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(898);
alterUser();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(899);
createUser();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(900);
dropUser();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(901);
grantStatement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(902);
grantProxy();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(903);
renameUser();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(904);
revokeStatement();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(905);
revokeProxy();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(906);
analyzeTable();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(907);
checkTable();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(908);
checksumTable();
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(909);
optimizeTable();
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(910);
repairTable();
}
break;
case 14:
enterOuterAlt(_localctx, 14);
{
setState(911);
createUdfunction();
}
break;
case 15:
enterOuterAlt(_localctx, 15);
{
setState(912);
installPlugin();
}
break;
case 16:
enterOuterAlt(_localctx, 16);
{
setState(913);
uninstallPlugin();
}
break;
case 17:
enterOuterAlt(_localctx, 17);
{
setState(914);
setStatement();
}
break;
case 18:
enterOuterAlt(_localctx, 18);
{
setState(915);
showStatement();
}
break;
case 19:
enterOuterAlt(_localctx, 19);
{
setState(916);
binlogStatement();
}
break;
case 20:
enterOuterAlt(_localctx, 20);
{
setState(917);
cacheIndexStatement();
}
break;
case 21:
enterOuterAlt(_localctx, 21);
{
setState(918);
flushStatement();
}
break;
case 22:
enterOuterAlt(_localctx, 22);
{
setState(919);
killStatement();
}
break;
case 23:
enterOuterAlt(_localctx, 23);
{
setState(920);
loadIndexIntoCache();
}
break;
case 24:
enterOuterAlt(_localctx, 24);
{
setState(921);
resetStatement();
}
break;
case 25:
enterOuterAlt(_localctx, 25);
{
setState(922);
shutdownStatement();
}
break;
case 26:
enterOuterAlt(_localctx, 26);
{
setState(923);
explainStatement();
}
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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterUtilityStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitUtilityStatement(this);
}
}
public final UtilityStatementContext utilityStatement() throws RecognitionException {
UtilityStatementContext _localctx = new UtilityStatementContext(_ctx, getState());
enterRule(_localctx, 24, RULE_utilityStatement);
try {
setState(933);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,19,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(926);
simpleDescribeStatement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(927);
fullDescribeStatement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(928);
helpStatement();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(929);
useStatement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(930);
signalStatement();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(931);
resignalStatement();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(932);
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(MariaDBParser.CREATE, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode DATABASE() { return getToken(MariaDBParser.DATABASE, 0); }
public TerminalNode SCHEMA() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCreateDatabase(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(935);
match(CREATE);
setState(936);
((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(938);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,20,_ctx) ) {
case 1:
{
setState(937);
ifNotExists();
}
break;
}
setState(940);
uid();
setState(944);
_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(941);
createDatabaseOption();
}
}
setState(946);
_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(MariaDBParser.CREATE, 0); }
public TerminalNode EVENT() { return getToken(MariaDBParser.EVENT, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public List ON() { return getTokens(MariaDBParser.ON); }
public TerminalNode ON(int i) {
return getToken(MariaDBParser.ON, i);
}
public TerminalNode SCHEDULE() { return getToken(MariaDBParser.SCHEDULE, 0); }
public ScheduleExpressionContext scheduleExpression() {
return getRuleContext(ScheduleExpressionContext.class,0);
}
public TerminalNode DO() { return getToken(MariaDBParser.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(MariaDBParser.COMPLETION, 0); }
public TerminalNode PRESERVE() { return getToken(MariaDBParser.PRESERVE, 0); }
public EnableTypeContext enableType() {
return getRuleContext(EnableTypeContext.class,0);
}
public TerminalNode COMMENT() { return getToken(MariaDBParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode NOT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCreateEvent(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(947);
match(CREATE);
setState(949);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(948);
ownerStatement();
}
}
setState(951);
match(EVENT);
setState(953);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,23,_ctx) ) {
case 1:
{
setState(952);
ifNotExists();
}
break;
}
setState(955);
fullId();
setState(956);
match(ON);
setState(957);
match(SCHEDULE);
setState(958);
scheduleExpression();
setState(965);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ON) {
{
setState(959);
match(ON);
setState(960);
match(COMPLETION);
setState(962);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOT) {
{
setState(961);
match(NOT);
}
}
setState(964);
match(PRESERVE);
}
}
setState(968);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DISABLE || _la==ENABLE) {
{
setState(967);
enableType();
}
}
setState(972);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMENT) {
{
setState(970);
match(COMMENT);
setState(971);
match(STRING_LITERAL);
}
}
setState(974);
match(DO);
setState(975);
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(MariaDBParser.CREATE, 0); }
public TerminalNode INDEX() { return getToken(MariaDBParser.INDEX, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode ON() { return getToken(MariaDBParser.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(MariaDBParser.ALGORITHM); }
public TerminalNode ALGORITHM(int i) {
return getToken(MariaDBParser.ALGORITHM, i);
}
public List LOCK() { return getTokens(MariaDBParser.LOCK); }
public TerminalNode LOCK(int i) {
return getToken(MariaDBParser.LOCK, i);
}
public TerminalNode ONLINE() { return getToken(MariaDBParser.ONLINE, 0); }
public TerminalNode OFFLINE() { return getToken(MariaDBParser.OFFLINE, 0); }
public TerminalNode UNIQUE() { return getToken(MariaDBParser.UNIQUE, 0); }
public TerminalNode FULLTEXT() { return getToken(MariaDBParser.FULLTEXT, 0); }
public TerminalNode SPATIAL() { return getToken(MariaDBParser.SPATIAL, 0); }
public List DEFAULT() { return getTokens(MariaDBParser.DEFAULT); }
public TerminalNode DEFAULT(int i) {
return getToken(MariaDBParser.DEFAULT, i);
}
public List INPLACE() { return getTokens(MariaDBParser.INPLACE); }
public TerminalNode INPLACE(int i) {
return getToken(MariaDBParser.INPLACE, i);
}
public List COPY() { return getTokens(MariaDBParser.COPY); }
public TerminalNode COPY(int i) {
return getToken(MariaDBParser.COPY, i);
}
public List NOCOPY() { return getTokens(MariaDBParser.NOCOPY); }
public TerminalNode NOCOPY(int i) {
return getToken(MariaDBParser.NOCOPY, i);
}
public List INSTANT() { return getTokens(MariaDBParser.INSTANT); }
public TerminalNode INSTANT(int i) {
return getToken(MariaDBParser.INSTANT, i);
}
public List NONE() { return getTokens(MariaDBParser.NONE); }
public TerminalNode NONE(int i) {
return getToken(MariaDBParser.NONE, i);
}
public List SHARED() { return getTokens(MariaDBParser.SHARED); }
public TerminalNode SHARED(int i) {
return getToken(MariaDBParser.SHARED, i);
}
public List EXCLUSIVE() { return getTokens(MariaDBParser.EXCLUSIVE); }
public TerminalNode EXCLUSIVE(int i) {
return getToken(MariaDBParser.EXCLUSIVE, i);
}
public List EQUAL_SYMBOL() { return getTokens(MariaDBParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCreateIndex(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(977);
match(CREATE);
setState(979);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(978);
orReplace();
}
}
setState(982);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OFFLINE || _la==ONLINE) {
{
setState(981);
((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(985);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FULLTEXT || _la==SPATIAL || _la==UNIQUE) {
{
setState(984);
((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(987);
match(INDEX);
setState(989);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,31,_ctx) ) {
case 1:
{
setState(988);
ifNotExists();
}
break;
}
setState(991);
uid();
setState(993);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==USING) {
{
setState(992);
indexType();
}
}
setState(995);
match(ON);
setState(996);
tableName();
setState(997);
indexColumnNames();
setState(999);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOWAIT || _la==WAIT) {
{
setState(998);
waitNowaitClause();
}
}
setState(1004);
_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(1001);
indexOption();
}
}
setState(1006);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1019);
_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(1017);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ALGORITHM:
{
setState(1007);
match(ALGORITHM);
setState(1009);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1008);
match(EQUAL_SYMBOL);
}
}
setState(1011);
((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(1012);
match(LOCK);
setState(1014);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1013);
match(EQUAL_SYMBOL);
}
}
setState(1016);
((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(1021);
_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(MariaDBParser.CREATE, 0); }
public TerminalNode LOGFILE() { return getToken(MariaDBParser.LOGFILE, 0); }
public TerminalNode GROUP() { return getToken(MariaDBParser.GROUP, 0); }
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public TerminalNode ADD() { return getToken(MariaDBParser.ADD, 0); }
public TerminalNode UNDOFILE() { return getToken(MariaDBParser.UNDOFILE, 0); }
public TerminalNode ENGINE() { return getToken(MariaDBParser.ENGINE, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public List STRING_LITERAL() { return getTokens(MariaDBParser.STRING_LITERAL); }
public TerminalNode STRING_LITERAL(int i) {
return getToken(MariaDBParser.STRING_LITERAL, i);
}
public TerminalNode INITIAL_SIZE() { return getToken(MariaDBParser.INITIAL_SIZE, 0); }
public TerminalNode UNDO_BUFFER_SIZE() { return getToken(MariaDBParser.UNDO_BUFFER_SIZE, 0); }
public TerminalNode REDO_BUFFER_SIZE() { return getToken(MariaDBParser.REDO_BUFFER_SIZE, 0); }
public TerminalNode NODEGROUP() { return getToken(MariaDBParser.NODEGROUP, 0); }
public TerminalNode WAIT() { return getToken(MariaDBParser.WAIT, 0); }
public TerminalNode COMMENT() { return getToken(MariaDBParser.COMMENT, 0); }
public List EQUAL_SYMBOL() { return getTokens(MariaDBParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCreateLogfileGroup(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1022);
match(CREATE);
setState(1023);
match(LOGFILE);
setState(1024);
match(GROUP);
setState(1025);
uid();
setState(1026);
match(ADD);
setState(1027);
match(UNDOFILE);
setState(1028);
((CreateLogfileGroupContext)_localctx).undoFile = match(STRING_LITERAL);
setState(1034);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INITIAL_SIZE) {
{
setState(1029);
match(INITIAL_SIZE);
setState(1031);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1030);
match(EQUAL_SYMBOL);
}
}
setState(1033);
((CreateLogfileGroupContext)_localctx).initSize = fileSizeLiteral();
}
}
setState(1041);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==UNDO_BUFFER_SIZE) {
{
setState(1036);
match(UNDO_BUFFER_SIZE);
setState(1038);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1037);
match(EQUAL_SYMBOL);
}
}
setState(1040);
((CreateLogfileGroupContext)_localctx).undoSize = fileSizeLiteral();
}
}
setState(1048);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==REDO_BUFFER_SIZE) {
{
setState(1043);
match(REDO_BUFFER_SIZE);
setState(1045);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1044);
match(EQUAL_SYMBOL);
}
}
setState(1047);
((CreateLogfileGroupContext)_localctx).redoSize = fileSizeLiteral();
}
}
setState(1055);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NODEGROUP) {
{
setState(1050);
match(NODEGROUP);
setState(1052);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1051);
match(EQUAL_SYMBOL);
}
}
setState(1054);
uid();
}
}
setState(1058);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WAIT) {
{
setState(1057);
match(WAIT);
}
}
setState(1065);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMENT) {
{
setState(1060);
match(COMMENT);
setState(1062);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1061);
match(EQUAL_SYMBOL);
}
}
setState(1064);
((CreateLogfileGroupContext)_localctx).comment = match(STRING_LITERAL);
}
}
setState(1067);
match(ENGINE);
setState(1069);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1068);
match(EQUAL_SYMBOL);
}
}
setState(1071);
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(MariaDBParser.CREATE, 0); }
public TerminalNode PROCEDURE() { return getToken(MariaDBParser.PROCEDURE, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.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(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCreateProcedure(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1073);
match(CREATE);
setState(1075);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1074);
orReplace();
}
}
setState(1078);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(1077);
ownerStatement();
}
}
setState(1080);
match(PROCEDURE);
setState(1081);
fullId();
setState(1082);
match(LR_BRACKET);
setState(1084);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (IN - 73)) | (1L << (INOUT - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (OUT - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(1083);
procedureParameter();
}
}
setState(1090);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1086);
match(COMMA);
setState(1087);
procedureParameter();
}
}
setState(1092);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1093);
match(RR_BRACKET);
setState(1097);
_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(1094);
routineOption();
}
}
}
setState(1099);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,55,_ctx);
}
setState(1100);
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(MariaDBParser.CREATE, 0); }
public TerminalNode FUNCTION() { return getToken(MariaDBParser.FUNCTION, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode RETURNS() { return getToken(MariaDBParser.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(MariaDBParser.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(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCreateFunction(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1102);
match(CREATE);
setState(1104);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1103);
orReplace();
}
}
setState(1107);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(1106);
ownerStatement();
}
}
setState(1110);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AGGREGATE) {
{
setState(1109);
match(AGGREGATE);
}
}
setState(1112);
match(FUNCTION);
setState(1114);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,59,_ctx) ) {
case 1:
{
setState(1113);
ifNotExists();
}
break;
}
setState(1116);
fullId();
setState(1117);
match(LR_BRACKET);
setState(1119);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(1118);
functionParameter();
}
}
setState(1125);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1121);
match(COMMA);
setState(1122);
functionParameter();
}
}
setState(1127);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1128);
match(RR_BRACKET);
setState(1129);
match(RETURNS);
setState(1130);
dataType();
setState(1134);
_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(1131);
routineOption();
}
}
}
setState(1136);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,62,_ctx);
}
setState(1139);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ALTER:
case ANALYZE:
case ATTRIBUTE:
case BODY:
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 EXCEPT:
case EXPLAIN:
case GET:
case GRANT:
case GROUP:
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 PACKAGE:
case PURGE:
case RELEASE:
case RENAME:
case REPLACE:
case RESIGNAL:
case REVOKE:
case RIGHT:
case SCHEMA:
case SELECT:
case SET:
case SHOW:
case SIGNAL:
case SKIP_:
case STACKED:
case STATEMENT:
case UNLOCK:
case UPDATE:
case USE:
case VALUES:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
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 LOCALES:
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 QUERY_RESPONSE_TIME:
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 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 SLAVES:
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 TYPES:
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 WSREP_MEMBERSHIP:
case WSREP_STATUS:
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 ADMIN:
case AUDIT_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_USER:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
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 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_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
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 TAN:
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 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 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 REPLICAS:
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(1137);
routineBody();
}
break;
case RETURN:
{
setState(1138);
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(MariaDBParser.CREATE, 0); }
public TerminalNode ROLE() { return getToken(MariaDBParser.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(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCreateRole(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1141);
match(CREATE);
setState(1142);
match(ROLE);
setState(1144);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,64,_ctx) ) {
case 1:
{
setState(1143);
ifNotExists();
}
break;
}
setState(1146);
roleName();
setState(1151);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1147);
match(COMMA);
setState(1148);
roleName();
}
}
setState(1153);
_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(MariaDBParser.CREATE, 0); }
public TerminalNode SERVER() { return getToken(MariaDBParser.SERVER, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode FOREIGN() { return getToken(MariaDBParser.FOREIGN, 0); }
public TerminalNode DATA() { return getToken(MariaDBParser.DATA, 0); }
public TerminalNode WRAPPER() { return getToken(MariaDBParser.WRAPPER, 0); }
public TerminalNode OPTIONS() { return getToken(MariaDBParser.OPTIONS, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.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(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode MYSQL() { return getToken(MariaDBParser.MYSQL, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCreateServer(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1154);
match(CREATE);
setState(1155);
match(SERVER);
setState(1156);
uid();
setState(1157);
match(FOREIGN);
setState(1158);
match(DATA);
setState(1159);
match(WRAPPER);
setState(1160);
((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(1161);
match(OPTIONS);
setState(1162);
match(LR_BRACKET);
setState(1163);
serverOption();
setState(1168);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1164);
match(COMMA);
setState(1165);
serverOption();
}
}
setState(1170);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1171);
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(MariaDBParser.CREATE, 0); }
public TerminalNode TABLE() { return getToken(MariaDBParser.TABLE, 0); }
public List tableName() {
return getRuleContexts(TableNameContext.class);
}
public TableNameContext tableName(int i) {
return getRuleContext(TableNameContext.class,i);
}
public TerminalNode LIKE() { return getToken(MariaDBParser.LIKE, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public OrReplaceContext orReplace() {
return getRuleContext(OrReplaceContext.class,0);
}
public TerminalNode TEMPORARY() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCopyCreateTable(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitCopyCreateTable(this);
}
}
public static class ColumnCreateTableContext extends CreateTableContext {
public TerminalNode CREATE() { return getToken(MariaDBParser.CREATE, 0); }
public TerminalNode TABLE() { return getToken(MariaDBParser.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(MariaDBParser.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(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.COMMA, i);
}
public ColumnCreateTableContext(CreateTableContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterColumnCreateTable(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitColumnCreateTable(this);
}
}
public static class QueryCreateTableContext extends CreateTableContext {
public Token keyViolate;
public TerminalNode CREATE() { return getToken(MariaDBParser.CREATE, 0); }
public TerminalNode TABLE() { return getToken(MariaDBParser.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(MariaDBParser.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(MariaDBParser.AS, 0); }
public TerminalNode IGNORE() { return getToken(MariaDBParser.IGNORE, 0); }
public TerminalNode REPLACE() { return getToken(MariaDBParser.REPLACE, 0); }
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.COMMA, i);
}
public QueryCreateTableContext(CreateTableContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterQueryCreateTable(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1260);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,88,_ctx) ) {
case 1:
_localctx = new CopyCreateTableContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1173);
match(CREATE);
setState(1175);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1174);
orReplace();
}
}
setState(1178);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==TEMPORARY) {
{
setState(1177);
match(TEMPORARY);
}
}
setState(1180);
match(TABLE);
setState(1182);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,69,_ctx) ) {
case 1:
{
setState(1181);
ifNotExists();
}
break;
}
setState(1184);
tableName();
setState(1192);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LIKE:
{
setState(1185);
match(LIKE);
setState(1186);
tableName();
}
break;
case LR_BRACKET:
{
setState(1187);
match(LR_BRACKET);
setState(1188);
match(LIKE);
setState(1189);
((CopyCreateTableContext)_localctx).parenthesisTable = tableName();
setState(1190);
match(RR_BRACKET);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 2:
_localctx = new QueryCreateTableContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1194);
match(CREATE);
setState(1196);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1195);
orReplace();
}
}
setState(1199);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==TEMPORARY) {
{
setState(1198);
match(TEMPORARY);
}
}
setState(1201);
match(TABLE);
setState(1203);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,73,_ctx) ) {
case 1:
{
setState(1202);
ifNotExists();
}
break;
}
setState(1205);
tableName();
setState(1207);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,74,_ctx) ) {
case 1:
{
setState(1206);
createDefinitions();
}
break;
}
setState(1219);
_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==UNION || _la==CHAR || ((((_la - 341)) & ~0x3f) == 0 && ((1L << (_la - 341)) & ((1L << (AUTOEXTEND_SIZE - 341)) | (1L << (AUTO_INCREMENT - 341)) | (1L << (AVG_ROW_LENGTH - 341)) | (1L << (CHECKSUM - 341)) | (1L << (PAGE_CHECKSUM - 341)) | (1L << (COMMENT - 341)) | (1L << (COMPRESSION - 341)) | (1L << (CONNECTION - 341)) | (1L << (DATA - 341)) | (1L << (DELAY_KEY_WRITE - 341)) | (1L << (ENCRYPTED - 341)))) != 0) || ((((_la - 405)) & ~0x3f) == 0 && ((1L << (_la - 405)) & ((1L << (ENCRYPTION - 405)) | (1L << (ENCRYPTION_KEY_ID - 405)) | (1L << (ENGINE - 405)) | (1L << (INSERT_METHOD - 405)) | (1L << (KEY_BLOCK_SIZE - 405)))) != 0) || ((((_la - 501)) & ~0x3f) == 0 && ((1L << (_la - 501)) & ((1L << (MAX_ROWS - 501)) | (1L << (MIN_ROWS - 501)) | (1L << (PACK_KEYS - 501)) | (1L << (PAGE_COMPRESSED - 501)) | (1L << (PAGE_COMPRESSION_LEVEL - 501)) | (1L << (PASSWORD - 501)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROW_FORMAT - 604)) | (1L << (START - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STORAGE - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TRANSACTIONAL - 604)))) != 0) || _la==CHARSET || _la==ENGINE_ATTRIBUTE || _la==SECONDARY_ENGINE_ATTRIBUTE || _la==STRING_LITERAL) {
{
setState(1209);
tableOption();
setState(1216);
_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==UNION || _la==CHAR || ((((_la - 341)) & ~0x3f) == 0 && ((1L << (_la - 341)) & ((1L << (AUTOEXTEND_SIZE - 341)) | (1L << (AUTO_INCREMENT - 341)) | (1L << (AVG_ROW_LENGTH - 341)) | (1L << (CHECKSUM - 341)) | (1L << (PAGE_CHECKSUM - 341)) | (1L << (COMMENT - 341)) | (1L << (COMPRESSION - 341)) | (1L << (CONNECTION - 341)) | (1L << (DATA - 341)) | (1L << (DELAY_KEY_WRITE - 341)) | (1L << (ENCRYPTED - 341)))) != 0) || ((((_la - 405)) & ~0x3f) == 0 && ((1L << (_la - 405)) & ((1L << (ENCRYPTION - 405)) | (1L << (ENCRYPTION_KEY_ID - 405)) | (1L << (ENGINE - 405)) | (1L << (INSERT_METHOD - 405)) | (1L << (KEY_BLOCK_SIZE - 405)))) != 0) || ((((_la - 501)) & ~0x3f) == 0 && ((1L << (_la - 501)) & ((1L << (MAX_ROWS - 501)) | (1L << (MIN_ROWS - 501)) | (1L << (PACK_KEYS - 501)) | (1L << (PAGE_COMPRESSED - 501)) | (1L << (PAGE_COMPRESSION_LEVEL - 501)) | (1L << (PASSWORD - 501)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (ROW_FORMAT - 604)) | (1L << (START - 604)) | (1L << (STATS_AUTO_RECALC - 604)) | (1L << (STATS_PERSISTENT - 604)) | (1L << (STATS_SAMPLE_PAGES - 604)) | (1L << (STORAGE - 604)) | (1L << (TABLESPACE - 604)) | (1L << (TABLE_TYPE - 604)) | (1L << (TRANSACTIONAL - 604)))) != 0) || _la==CHARSET || _la==ENGINE_ATTRIBUTE || _la==SECONDARY_ENGINE_ATTRIBUTE || _la==COMMA || _la==STRING_LITERAL) {
{
{
setState(1211);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1210);
match(COMMA);
}
}
setState(1213);
tableOption();
}
}
setState(1218);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
setState(1222);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITION) {
{
setState(1221);
partitionDefinitions();
}
}
setState(1225);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE || _la==REPLACE) {
{
setState(1224);
((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(1228);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(1227);
match(AS);
}
}
setState(1230);
selectStatement();
}
break;
case 3:
_localctx = new ColumnCreateTableContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(1232);
match(CREATE);
setState(1234);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1233);
orReplace();
}
}
setState(1237);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==TEMPORARY) {
{
setState(1236);
match(TEMPORARY);
}
}
setState(1239);
match(TABLE);
setState(1241);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,83,_ctx) ) {
case 1:
{
setState(1240);
ifNotExists();
}
break;
}
setState(1243);
tableName();
setState(1244);
createDefinitions();
setState(1255);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,86,_ctx) ) {
case 1:
{
setState(1245);
tableOption();
setState(1252);
_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(1247);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1246);
match(COMMA);
}
}
setState(1249);
tableOption();
}
}
}
setState(1254);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,85,_ctx);
}
}
break;
}
setState(1258);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITION) {
{
setState(1257);
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(MariaDBParser.CREATE, 0); }
public TerminalNode TABLESPACE() { return getToken(MariaDBParser.TABLESPACE, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode ADD() { return getToken(MariaDBParser.ADD, 0); }
public TerminalNode DATAFILE() { return getToken(MariaDBParser.DATAFILE, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode FILE_BLOCK_SIZE() { return getToken(MariaDBParser.FILE_BLOCK_SIZE, 0); }
public List EQUAL_SYMBOL() { return getTokens(MariaDBParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(MariaDBParser.EQUAL_SYMBOL, i);
}
public TerminalNode ENGINE() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCreateTablespaceInnodb(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1262);
match(CREATE);
setState(1263);
match(TABLESPACE);
setState(1264);
uid();
setState(1265);
match(ADD);
setState(1266);
match(DATAFILE);
setState(1267);
((CreateTablespaceInnodbContext)_localctx).datafile = match(STRING_LITERAL);
setState(1271);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FILE_BLOCK_SIZE) {
{
setState(1268);
match(FILE_BLOCK_SIZE);
setState(1269);
match(EQUAL_SYMBOL);
setState(1270);
((CreateTablespaceInnodbContext)_localctx).fileBlockSize = fileSizeLiteral();
}
}
setState(1278);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ENGINE) {
{
setState(1273);
match(ENGINE);
setState(1275);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1274);
match(EQUAL_SYMBOL);
}
}
setState(1277);
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(MariaDBParser.CREATE, 0); }
public TerminalNode TABLESPACE() { return getToken(MariaDBParser.TABLESPACE, 0); }
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public TerminalNode ADD() { return getToken(MariaDBParser.ADD, 0); }
public TerminalNode DATAFILE() { return getToken(MariaDBParser.DATAFILE, 0); }
public TerminalNode USE() { return getToken(MariaDBParser.USE, 0); }
public TerminalNode LOGFILE() { return getToken(MariaDBParser.LOGFILE, 0); }
public TerminalNode GROUP() { return getToken(MariaDBParser.GROUP, 0); }
public TerminalNode ENGINE() { return getToken(MariaDBParser.ENGINE, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public List STRING_LITERAL() { return getTokens(MariaDBParser.STRING_LITERAL); }
public TerminalNode STRING_LITERAL(int i) {
return getToken(MariaDBParser.STRING_LITERAL, i);
}
public TerminalNode EXTENT_SIZE() { return getToken(MariaDBParser.EXTENT_SIZE, 0); }
public TerminalNode INITIAL_SIZE() { return getToken(MariaDBParser.INITIAL_SIZE, 0); }
public TerminalNode AUTOEXTEND_SIZE() { return getToken(MariaDBParser.AUTOEXTEND_SIZE, 0); }
public TerminalNode MAX_SIZE() { return getToken(MariaDBParser.MAX_SIZE, 0); }
public TerminalNode NODEGROUP() { return getToken(MariaDBParser.NODEGROUP, 0); }
public TerminalNode WAIT() { return getToken(MariaDBParser.WAIT, 0); }
public TerminalNode COMMENT() { return getToken(MariaDBParser.COMMENT, 0); }
public List EQUAL_SYMBOL() { return getTokens(MariaDBParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCreateTablespaceNdb(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1280);
match(CREATE);
setState(1281);
match(TABLESPACE);
setState(1282);
uid();
setState(1283);
match(ADD);
setState(1284);
match(DATAFILE);
setState(1285);
((CreateTablespaceNdbContext)_localctx).datafile = match(STRING_LITERAL);
setState(1286);
match(USE);
setState(1287);
match(LOGFILE);
setState(1288);
match(GROUP);
setState(1289);
uid();
setState(1295);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EXTENT_SIZE) {
{
setState(1290);
match(EXTENT_SIZE);
setState(1292);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1291);
match(EQUAL_SYMBOL);
}
}
setState(1294);
((CreateTablespaceNdbContext)_localctx).extentSize = fileSizeLiteral();
}
}
setState(1302);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INITIAL_SIZE) {
{
setState(1297);
match(INITIAL_SIZE);
setState(1299);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1298);
match(EQUAL_SYMBOL);
}
}
setState(1301);
((CreateTablespaceNdbContext)_localctx).initialSize = fileSizeLiteral();
}
}
setState(1309);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AUTOEXTEND_SIZE) {
{
setState(1304);
match(AUTOEXTEND_SIZE);
setState(1306);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1305);
match(EQUAL_SYMBOL);
}
}
setState(1308);
((CreateTablespaceNdbContext)_localctx).autoextendSize = fileSizeLiteral();
}
}
setState(1316);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MAX_SIZE) {
{
setState(1311);
match(MAX_SIZE);
setState(1313);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1312);
match(EQUAL_SYMBOL);
}
}
setState(1315);
((CreateTablespaceNdbContext)_localctx).maxSize = fileSizeLiteral();
}
}
setState(1323);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NODEGROUP) {
{
setState(1318);
match(NODEGROUP);
setState(1320);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1319);
match(EQUAL_SYMBOL);
}
}
setState(1322);
uid();
}
}
setState(1326);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WAIT) {
{
setState(1325);
match(WAIT);
}
}
setState(1333);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMENT) {
{
setState(1328);
match(COMMENT);
setState(1330);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1329);
match(EQUAL_SYMBOL);
}
}
setState(1332);
((CreateTablespaceNdbContext)_localctx).comment = match(STRING_LITERAL);
}
}
setState(1335);
match(ENGINE);
setState(1337);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1336);
match(EQUAL_SYMBOL);
}
}
setState(1339);
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(MariaDBParser.CREATE, 0); }
public TerminalNode TRIGGER() { return getToken(MariaDBParser.TRIGGER, 0); }
public TerminalNode ON() { return getToken(MariaDBParser.ON, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode FOR() { return getToken(MariaDBParser.FOR, 0); }
public TerminalNode EACH() { return getToken(MariaDBParser.EACH, 0); }
public TerminalNode ROW() { return getToken(MariaDBParser.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(MariaDBParser.BEFORE, 0); }
public TerminalNode AFTER() { return getToken(MariaDBParser.AFTER, 0); }
public TerminalNode INSERT() { return getToken(MariaDBParser.INSERT, 0); }
public TerminalNode UPDATE() { return getToken(MariaDBParser.UPDATE, 0); }
public TerminalNode DELETE() { return getToken(MariaDBParser.DELETE, 0); }
public OrReplaceContext orReplace() {
return getRuleContext(OrReplaceContext.class,0);
}
public OwnerStatementContext ownerStatement() {
return getRuleContext(OwnerStatementContext.class,0);
}
public TerminalNode FOLLOWS() { return getToken(MariaDBParser.FOLLOWS, 0); }
public TerminalNode PRECEDES() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCreateTrigger(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1341);
match(CREATE);
setState(1343);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1342);
orReplace();
}
}
setState(1346);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(1345);
ownerStatement();
}
}
setState(1348);
match(TRIGGER);
setState(1349);
((CreateTriggerContext)_localctx).thisTrigger = fullId();
setState(1350);
((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(1351);
((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(1352);
match(ON);
setState(1353);
tableName();
setState(1354);
match(FOR);
setState(1355);
match(EACH);
setState(1356);
match(ROW);
setState(1359);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,108,_ctx) ) {
case 1:
{
setState(1357);
((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(1358);
((CreateTriggerContext)_localctx).otherTrigger = fullId();
}
break;
}
setState(1361);
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(MariaDBParser.WITH, 0); }
public CommonTableExpressionsContext commonTableExpressions() {
return getRuleContext(CommonTableExpressionsContext.class,0);
}
public TerminalNode RECURSIVE() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterWithClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1363);
match(WITH);
setState(1365);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,109,_ctx) ) {
case 1:
{
setState(1364);
match(RECURSIVE);
}
break;
}
setState(1367);
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(MariaDBParser.AS, 0); }
public List LR_BRACKET() { return getTokens(MariaDBParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MariaDBParser.LR_BRACKET, i);
}
public DmlStatementContext dmlStatement() {
return getRuleContext(DmlStatementContext.class,0);
}
public List RR_BRACKET() { return getTokens(MariaDBParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MariaDBParser.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(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCommonTableExpressions(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1369);
cteName();
setState(1381);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(1370);
match(LR_BRACKET);
setState(1371);
cteColumnName();
setState(1376);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1372);
match(COMMA);
setState(1373);
cteColumnName();
}
}
setState(1378);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1379);
match(RR_BRACKET);
}
}
setState(1383);
match(AS);
setState(1384);
match(LR_BRACKET);
setState(1385);
dmlStatement();
setState(1386);
match(RR_BRACKET);
setState(1389);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1387);
match(COMMA);
setState(1388);
commonTableExpressions();
}
}
}
}
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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCteName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1391);
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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCteColumnName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1393);
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(MariaDBParser.CREATE, 0); }
public TerminalNode VIEW() { return getToken(MariaDBParser.VIEW, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public TerminalNode AS() { return getToken(MariaDBParser.AS, 0); }
public List LR_BRACKET() { return getTokens(MariaDBParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MariaDBParser.LR_BRACKET, i);
}
public SelectStatementContext selectStatement() {
return getRuleContext(SelectStatementContext.class,0);
}
public List RR_BRACKET() { return getTokens(MariaDBParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MariaDBParser.RR_BRACKET, i);
}
public OrReplaceContext orReplace() {
return getRuleContext(OrReplaceContext.class,0);
}
public TerminalNode ALGORITHM() { return getToken(MariaDBParser.ALGORITHM, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public OwnerStatementContext ownerStatement() {
return getRuleContext(OwnerStatementContext.class,0);
}
public TerminalNode SQL() { return getToken(MariaDBParser.SQL, 0); }
public TerminalNode SECURITY() { return getToken(MariaDBParser.SECURITY, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode UNDEFINED() { return getToken(MariaDBParser.UNDEFINED, 0); }
public TerminalNode MERGE() { return getToken(MariaDBParser.MERGE, 0); }
public TerminalNode TEMPTABLE() { return getToken(MariaDBParser.TEMPTABLE, 0); }
public TerminalNode DEFINER() { return getToken(MariaDBParser.DEFINER, 0); }
public TerminalNode INVOKER() { return getToken(MariaDBParser.INVOKER, 0); }
public WithClauseContext withClause() {
return getRuleContext(WithClauseContext.class,0);
}
public TerminalNode WITH() { return getToken(MariaDBParser.WITH, 0); }
public TerminalNode CHECK() { return getToken(MariaDBParser.CHECK, 0); }
public TerminalNode OPTION() { return getToken(MariaDBParser.OPTION, 0); }
public TerminalNode CASCADED() { return getToken(MariaDBParser.CASCADED, 0); }
public TerminalNode LOCAL() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCreateView(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1395);
match(CREATE);
setState(1397);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1396);
orReplace();
}
}
setState(1402);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ALGORITHM) {
{
setState(1399);
match(ALGORITHM);
setState(1400);
match(EQUAL_SYMBOL);
setState(1401);
((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(1405);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(1404);
ownerStatement();
}
}
setState(1410);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==SQL) {
{
setState(1407);
match(SQL);
setState(1408);
match(SECURITY);
setState(1409);
((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(1412);
match(VIEW);
setState(1413);
fullId();
setState(1418);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(1414);
match(LR_BRACKET);
setState(1415);
uidList();
setState(1416);
match(RR_BRACKET);
}
}
setState(1420);
match(AS);
setState(1440);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,122,_ctx) ) {
case 1:
{
setState(1421);
match(LR_BRACKET);
setState(1423);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WITH) {
{
setState(1422);
withClause();
}
}
setState(1425);
selectStatement();
setState(1426);
match(RR_BRACKET);
}
break;
case 2:
{
setState(1429);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WITH) {
{
setState(1428);
withClause();
}
}
setState(1431);
selectStatement();
setState(1438);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WITH) {
{
setState(1432);
match(WITH);
setState(1434);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CASCADED || _la==LOCAL) {
{
setState(1433);
((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(1436);
match(CHECK);
setState(1437);
match(OPTION);
}
}
}
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(MariaDBParser.CREATE, 0); }
public TerminalNode SEQUENCE() { return getToken(MariaDBParser.SEQUENCE, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public OrReplaceContext orReplace() {
return getRuleContext(OrReplaceContext.class,0);
}
public TerminalNode TEMPORARY() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCreateSequence(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1442);
match(CREATE);
setState(1444);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1443);
orReplace();
}
}
setState(1447);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==TEMPORARY) {
{
setState(1446);
match(TEMPORARY);
}
}
setState(1449);
match(SEQUENCE);
setState(1451);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,125,_ctx) ) {
case 1:
{
setState(1450);
ifNotExists();
}
break;
}
setState(1453);
fullId();
setState(1458);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,127,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
setState(1456);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,126,_ctx) ) {
case 1:
{
setState(1454);
sequenceSpec();
}
break;
case 2:
{
setState(1455);
tableOption();
}
break;
}
}
}
setState(1460);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,127,_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(MariaDBParser.INCREMENT, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode BY() { return getToken(MariaDBParser.BY, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TerminalNode MINVALUE() { return getToken(MariaDBParser.MINVALUE, 0); }
public TerminalNode NO() { return getToken(MariaDBParser.NO, 0); }
public TerminalNode NOMINVALUE() { return getToken(MariaDBParser.NOMINVALUE, 0); }
public TerminalNode MAXVALUE() { return getToken(MariaDBParser.MAXVALUE, 0); }
public TerminalNode NOMAXVALUE() { return getToken(MariaDBParser.NOMAXVALUE, 0); }
public TerminalNode START() { return getToken(MariaDBParser.START, 0); }
public TerminalNode WITH() { return getToken(MariaDBParser.WITH, 0); }
public TerminalNode CACHE() { return getToken(MariaDBParser.CACHE, 0); }
public TerminalNode NOCACHE() { return getToken(MariaDBParser.NOCACHE, 0); }
public TerminalNode CYCLE() { return getToken(MariaDBParser.CYCLE, 0); }
public TerminalNode NOCYCLE() { return getToken(MariaDBParser.NOCYCLE, 0); }
public TerminalNode RESTART() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterSequenceSpec(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitSequenceSpec(this);
}
}
public final SequenceSpecContext sequenceSpec() throws RecognitionException {
SequenceSpecContext _localctx = new SequenceSpecContext(_ctx, getState());
enterRule(_localctx, 62, RULE_sequenceSpec);
int _la;
try {
setState(1500);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,134,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1461);
match(INCREMENT);
setState(1463);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==BY || _la==EQUAL_SYMBOL) {
{
setState(1462);
_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(1465);
decimalLiteral();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1466);
match(MINVALUE);
setState(1468);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1467);
match(EQUAL_SYMBOL);
}
}
setState(1470);
decimalLiteral();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1471);
match(NO);
setState(1472);
match(MINVALUE);
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1473);
match(NOMINVALUE);
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(1474);
match(MAXVALUE);
setState(1476);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1475);
match(EQUAL_SYMBOL);
}
}
setState(1478);
decimalLiteral();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(1479);
match(NO);
setState(1480);
match(MAXVALUE);
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(1481);
match(NOMAXVALUE);
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(1482);
match(START);
setState(1484);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WITH || _la==EQUAL_SYMBOL) {
{
setState(1483);
_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(1486);
decimalLiteral();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(1487);
match(CACHE);
setState(1489);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1488);
match(EQUAL_SYMBOL);
}
}
setState(1491);
decimalLiteral();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(1492);
match(NOCACHE);
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(1493);
match(CYCLE);
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(1494);
match(NOCYCLE);
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(1495);
match(RESTART);
setState(1497);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WITH || _la==EQUAL_SYMBOL) {
{
setState(1496);
_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(1499);
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(MariaDBParser.DEFAULT); }
public TerminalNode DEFAULT(int i) {
return getToken(MariaDBParser.DEFAULT, i);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TerminalNode COLLATE() { return getToken(MariaDBParser.COLLATE, 0); }
public CollationNameContext collationName() {
return getRuleContext(CollationNameContext.class,0);
}
public TerminalNode ENCRYPTION() { return getToken(MariaDBParser.ENCRYPTION, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode READ() { return getToken(MariaDBParser.READ, 0); }
public TerminalNode ONLY() { return getToken(MariaDBParser.ONLY, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(MariaDBParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCreateDatabaseOption(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitCreateDatabaseOption(this);
}
}
public final CreateDatabaseOptionContext createDatabaseOption() throws RecognitionException {
CreateDatabaseOptionContext _localctx = new CreateDatabaseOptionContext(_ctx, getState());
enterRule(_localctx, 64, RULE_createDatabaseOption);
int _la;
try {
setState(1535);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,143,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1503);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
setState(1502);
match(DEFAULT);
}
}
setState(1505);
charSet();
setState(1507);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1506);
match(EQUAL_SYMBOL);
}
}
setState(1511);
_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(1509);
charsetName();
}
break;
case DEFAULT:
{
setState(1510);
match(DEFAULT);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1514);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
setState(1513);
match(DEFAULT);
}
}
setState(1516);
match(COLLATE);
setState(1518);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1517);
match(EQUAL_SYMBOL);
}
}
setState(1520);
collationName();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1522);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
setState(1521);
match(DEFAULT);
}
}
setState(1524);
match(ENCRYPTION);
setState(1526);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1525);
match(EQUAL_SYMBOL);
}
}
setState(1528);
match(STRING_LITERAL);
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1529);
match(READ);
setState(1530);
match(ONLY);
setState(1532);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1531);
match(EQUAL_SYMBOL);
}
}
setState(1534);
_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(MariaDBParser.CHARACTER, 0); }
public TerminalNode SET() { return getToken(MariaDBParser.SET, 0); }
public TerminalNode CHARSET() { return getToken(MariaDBParser.CHARSET, 0); }
public TerminalNode CHAR() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCharSet(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitCharSet(this);
}
}
public final CharSetContext charSet() throws RecognitionException {
CharSetContext _localctx = new CharSetContext(_ctx, getState());
enterRule(_localctx, 66, RULE_charSet);
try {
setState(1542);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CHARACTER:
enterOuterAlt(_localctx, 1);
{
setState(1537);
match(CHARACTER);
setState(1538);
match(SET);
}
break;
case CHARSET:
enterOuterAlt(_localctx, 2);
{
setState(1539);
match(CHARSET);
}
break;
case CHAR:
enterOuterAlt(_localctx, 3);
{
setState(1540);
match(CHAR);
setState(1541);
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(MariaDBParser.CURRENT_USER, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCurrentUserExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1544);
match(CURRENT_USER);
setState(1547);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,145,_ctx) ) {
case 1:
{
setState(1545);
match(LR_BRACKET);
setState(1546);
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(MariaDBParser.DEFINER, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.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(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterOwnerStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1549);
match(DEFINER);
setState(1550);
match(EQUAL_SYMBOL);
setState(1554);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,146,_ctx) ) {
case 1:
{
setState(1551);
userName();
}
break;
case 2:
{
setState(1552);
currentUserExpression();
}
break;
case 3:
{
setState(1553);
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(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterPreciseSchedule(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(MariaDBParser.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(MariaDBParser.STARTS, 0); }
public TerminalNode ENDS() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterIntervalSchedule(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitIntervalSchedule(this);
}
}
public final ScheduleExpressionContext scheduleExpression() throws RecognitionException {
ScheduleExpressionContext _localctx = new ScheduleExpressionContext(_ctx, getState());
enterRule(_localctx, 72, RULE_scheduleExpression);
int _la;
try {
setState(1590);
_errHandler.sync(this);
switch (_input.LA(1)) {
case AT:
_localctx = new PreciseScheduleContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1556);
match(AT);
setState(1557);
timestampValue();
setState(1561);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==PLUS) {
{
{
setState(1558);
intervalExpr();
}
}
setState(1563);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case EVERY:
_localctx = new IntervalScheduleContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1564);
match(EVERY);
setState(1567);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,148,_ctx) ) {
case 1:
{
setState(1565);
decimalLiteral();
}
break;
case 2:
{
setState(1566);
expression(0);
}
break;
}
setState(1569);
intervalType();
setState(1578);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==STARTS) {
{
setState(1570);
match(STARTS);
setState(1571);
((IntervalScheduleContext)_localctx).startTimestamp = timestampValue();
setState(1575);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==PLUS) {
{
{
setState(1572);
((IntervalScheduleContext)_localctx).intervalExpr = intervalExpr();
((IntervalScheduleContext)_localctx).startIntervals.add(((IntervalScheduleContext)_localctx).intervalExpr);
}
}
setState(1577);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
setState(1588);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ENDS) {
{
setState(1580);
match(ENDS);
setState(1581);
((IntervalScheduleContext)_localctx).endTimestamp = timestampValue();
setState(1585);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==PLUS) {
{
{
setState(1582);
((IntervalScheduleContext)_localctx).intervalExpr = intervalExpr();
((IntervalScheduleContext)_localctx).endIntervals.add(((IntervalScheduleContext)_localctx).intervalExpr);
}
}
setState(1587);
_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(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterTimestampValue(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTimestampValue(this);
}
}
public final TimestampValueContext timestampValue() throws RecognitionException {
TimestampValueContext _localctx = new TimestampValueContext(_ctx, getState());
enterRule(_localctx, 74, RULE_timestampValue);
try {
setState(1596);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,154,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1592);
match(CURRENT_TIMESTAMP);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1593);
stringLiteral();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1594);
decimalLiteral();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1595);
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(MariaDBParser.PLUS, 0); }
public TerminalNode INTERVAL() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterIntervalExpr(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1598);
match(PLUS);
setState(1599);
match(INTERVAL);
setState(1602);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,155,_ctx) ) {
case 1:
{
setState(1600);
decimalLiteral();
}
break;
case 2:
{
setState(1601);
expression(0);
}
break;
}
setState(1604);
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(MariaDBParser.YEAR, 0); }
public TerminalNode YEAR_MONTH() { return getToken(MariaDBParser.YEAR_MONTH, 0); }
public TerminalNode DAY_HOUR() { return getToken(MariaDBParser.DAY_HOUR, 0); }
public TerminalNode DAY_MINUTE() { return getToken(MariaDBParser.DAY_MINUTE, 0); }
public TerminalNode DAY_SECOND() { return getToken(MariaDBParser.DAY_SECOND, 0); }
public TerminalNode HOUR_MINUTE() { return getToken(MariaDBParser.HOUR_MINUTE, 0); }
public TerminalNode HOUR_SECOND() { return getToken(MariaDBParser.HOUR_SECOND, 0); }
public TerminalNode MINUTE_SECOND() { return getToken(MariaDBParser.MINUTE_SECOND, 0); }
public TerminalNode SECOND_MICROSECOND() { return getToken(MariaDBParser.SECOND_MICROSECOND, 0); }
public TerminalNode MINUTE_MICROSECOND() { return getToken(MariaDBParser.MINUTE_MICROSECOND, 0); }
public TerminalNode HOUR_MICROSECOND() { return getToken(MariaDBParser.HOUR_MICROSECOND, 0); }
public TerminalNode DAY_MICROSECOND() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterIntervalType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitIntervalType(this);
}
}
public final IntervalTypeContext intervalType() throws RecognitionException {
IntervalTypeContext _localctx = new IntervalTypeContext(_ctx, getState());
enterRule(_localctx, 78, RULE_intervalType);
try {
setState(1619);
_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(1606);
intervalTypeBase();
}
break;
case YEAR:
enterOuterAlt(_localctx, 2);
{
setState(1607);
match(YEAR);
}
break;
case YEAR_MONTH:
enterOuterAlt(_localctx, 3);
{
setState(1608);
match(YEAR_MONTH);
}
break;
case DAY_HOUR:
enterOuterAlt(_localctx, 4);
{
setState(1609);
match(DAY_HOUR);
}
break;
case DAY_MINUTE:
enterOuterAlt(_localctx, 5);
{
setState(1610);
match(DAY_MINUTE);
}
break;
case DAY_SECOND:
enterOuterAlt(_localctx, 6);
{
setState(1611);
match(DAY_SECOND);
}
break;
case HOUR_MINUTE:
enterOuterAlt(_localctx, 7);
{
setState(1612);
match(HOUR_MINUTE);
}
break;
case HOUR_SECOND:
enterOuterAlt(_localctx, 8);
{
setState(1613);
match(HOUR_SECOND);
}
break;
case MINUTE_SECOND:
enterOuterAlt(_localctx, 9);
{
setState(1614);
match(MINUTE_SECOND);
}
break;
case SECOND_MICROSECOND:
enterOuterAlt(_localctx, 10);
{
setState(1615);
match(SECOND_MICROSECOND);
}
break;
case MINUTE_MICROSECOND:
enterOuterAlt(_localctx, 11);
{
setState(1616);
match(MINUTE_MICROSECOND);
}
break;
case HOUR_MICROSECOND:
enterOuterAlt(_localctx, 12);
{
setState(1617);
match(HOUR_MICROSECOND);
}
break;
case DAY_MICROSECOND:
enterOuterAlt(_localctx, 13);
{
setState(1618);
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(MariaDBParser.ENABLE, 0); }
public TerminalNode DISABLE() { return getToken(MariaDBParser.DISABLE, 0); }
public TerminalNode ON() { return getToken(MariaDBParser.ON, 0); }
public TerminalNode SLAVE() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterEnableType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitEnableType(this);
}
}
public final EnableTypeContext enableType() throws RecognitionException {
EnableTypeContext _localctx = new EnableTypeContext(_ctx, getState());
enterRule(_localctx, 80, RULE_enableType);
try {
setState(1626);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,157,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1621);
match(ENABLE);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1622);
match(DISABLE);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1623);
match(DISABLE);
setState(1624);
match(ON);
setState(1625);
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(MariaDBParser.USING, 0); }
public TerminalNode BTREE() { return getToken(MariaDBParser.BTREE, 0); }
public TerminalNode HASH() { return getToken(MariaDBParser.HASH, 0); }
public TerminalNode RTREE() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterIndexType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1628);
match(USING);
setState(1629);
_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(MariaDBParser.KEY_BLOCK_SIZE, 0); }
public FileSizeLiteralContext fileSizeLiteral() {
return getRuleContext(FileSizeLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public IndexTypeContext indexType() {
return getRuleContext(IndexTypeContext.class,0);
}
public TerminalNode WITH() { return getToken(MariaDBParser.WITH, 0); }
public TerminalNode PARSER() { return getToken(MariaDBParser.PARSER, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode COMMENT() { return getToken(MariaDBParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode VISIBLE() { return getToken(MariaDBParser.VISIBLE, 0); }
public TerminalNode INVISIBLE() { return getToken(MariaDBParser.INVISIBLE, 0); }
public TerminalNode ENGINE_ATTRIBUTE() { return getToken(MariaDBParser.ENGINE_ATTRIBUTE, 0); }
public TerminalNode SECONDARY_ENGINE_ATTRIBUTE() { return getToken(MariaDBParser.SECONDARY_ENGINE_ATTRIBUTE, 0); }
public TerminalNode CLUSTERING() { return getToken(MariaDBParser.CLUSTERING, 0); }
public TerminalNode YES() { return getToken(MariaDBParser.YES, 0); }
public TerminalNode NO() { return getToken(MariaDBParser.NO, 0); }
public TerminalNode IGNORED() { return getToken(MariaDBParser.IGNORED, 0); }
public TerminalNode NOT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterIndexOption(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitIndexOption(this);
}
}
public final IndexOptionContext indexOption() throws RecognitionException {
IndexOptionContext _localctx = new IndexOptionContext(_ctx, getState());
enterRule(_localctx, 84, RULE_indexOption);
int _la;
try {
setState(1661);
_errHandler.sync(this);
switch (_input.LA(1)) {
case KEY_BLOCK_SIZE:
enterOuterAlt(_localctx, 1);
{
setState(1631);
match(KEY_BLOCK_SIZE);
setState(1633);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1632);
match(EQUAL_SYMBOL);
}
}
setState(1635);
fileSizeLiteral();
}
break;
case USING:
enterOuterAlt(_localctx, 2);
{
setState(1636);
indexType();
}
break;
case WITH:
enterOuterAlt(_localctx, 3);
{
setState(1637);
match(WITH);
setState(1638);
match(PARSER);
setState(1639);
uid();
}
break;
case COMMENT:
enterOuterAlt(_localctx, 4);
{
setState(1640);
match(COMMENT);
setState(1641);
match(STRING_LITERAL);
}
break;
case INVISIBLE:
case VISIBLE:
enterOuterAlt(_localctx, 5);
{
setState(1642);
_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(1643);
match(ENGINE_ATTRIBUTE);
setState(1645);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1644);
match(EQUAL_SYMBOL);
}
}
setState(1647);
match(STRING_LITERAL);
}
break;
case SECONDARY_ENGINE_ATTRIBUTE:
enterOuterAlt(_localctx, 7);
{
setState(1648);
match(SECONDARY_ENGINE_ATTRIBUTE);
setState(1650);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1649);
match(EQUAL_SYMBOL);
}
}
setState(1652);
match(STRING_LITERAL);
}
break;
case CLUSTERING:
enterOuterAlt(_localctx, 8);
{
setState(1653);
match(CLUSTERING);
setState(1654);
match(EQUAL_SYMBOL);
setState(1655);
_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(1659);
_errHandler.sync(this);
switch (_input.LA(1)) {
case IGNORED:
{
setState(1656);
match(IGNORED);
}
break;
case NOT:
{
setState(1657);
match(NOT);
setState(1658);
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(MariaDBParser.IN, 0); }
public TerminalNode OUT() { return getToken(MariaDBParser.OUT, 0); }
public TerminalNode INOUT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterProcedureParameter(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1664);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 80)) & ~0x3f) == 0 && ((1L << (_la - 80)) & ((1L << (IN - 80)) | (1L << (INOUT - 80)) | (1L << (OUT - 80)))) != 0)) {
{
setState(1663);
((ProcedureParameterContext)_localctx).direction = _input.LT(1);
_la = _input.LA(1);
if ( !(((((_la - 80)) & ~0x3f) == 0 && ((1L << (_la - 80)) & ((1L << (IN - 80)) | (1L << (INOUT - 80)) | (1L << (OUT - 80)))) != 0)) ) {
((ProcedureParameterContext)_localctx).direction = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(1666);
uid();
setState(1667);
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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterFunctionParameter(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1669);
uid();
setState(1670);
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(MariaDBParser.DETERMINISTIC, 0); }
public TerminalNode NOT() { return getToken(MariaDBParser.NOT, 0); }
public RoutineBehaviorContext(RoutineOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterRoutineBehavior(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitRoutineBehavior(this);
}
}
public static class RoutineLanguageContext extends RoutineOptionContext {
public TerminalNode LANGUAGE() { return getToken(MariaDBParser.LANGUAGE, 0); }
public TerminalNode SQL() { return getToken(MariaDBParser.SQL, 0); }
public RoutineLanguageContext(RoutineOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterRoutineLanguage(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitRoutineLanguage(this);
}
}
public static class RoutineCommentContext extends RoutineOptionContext {
public TerminalNode COMMENT() { return getToken(MariaDBParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public RoutineCommentContext(RoutineOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterRoutineComment(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitRoutineComment(this);
}
}
public static class RoutineSecurityContext extends RoutineOptionContext {
public Token context;
public TerminalNode SQL() { return getToken(MariaDBParser.SQL, 0); }
public TerminalNode SECURITY() { return getToken(MariaDBParser.SECURITY, 0); }
public TerminalNode DEFINER() { return getToken(MariaDBParser.DEFINER, 0); }
public TerminalNode INVOKER() { return getToken(MariaDBParser.INVOKER, 0); }
public RoutineSecurityContext(RoutineOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterRoutineSecurity(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitRoutineSecurity(this);
}
}
public static class RoutineDataContext extends RoutineOptionContext {
public TerminalNode CONTAINS() { return getToken(MariaDBParser.CONTAINS, 0); }
public TerminalNode SQL() { return getToken(MariaDBParser.SQL, 0); }
public TerminalNode NO() { return getToken(MariaDBParser.NO, 0); }
public TerminalNode READS() { return getToken(MariaDBParser.READS, 0); }
public TerminalNode DATA() { return getToken(MariaDBParser.DATA, 0); }
public TerminalNode MODIFIES() { return getToken(MariaDBParser.MODIFIES, 0); }
public RoutineDataContext(RoutineOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterRoutineData(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitRoutineData(this);
}
}
public final RoutineOptionContext routineOption() throws RecognitionException {
RoutineOptionContext _localctx = new RoutineOptionContext(_ctx, getState());
enterRule(_localctx, 90, RULE_routineOption);
int _la;
try {
setState(1695);
_errHandler.sync(this);
switch (_input.LA(1)) {
case COMMENT:
_localctx = new RoutineCommentContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1672);
match(COMMENT);
setState(1673);
match(STRING_LITERAL);
}
break;
case LANGUAGE:
_localctx = new RoutineLanguageContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1674);
match(LANGUAGE);
setState(1675);
match(SQL);
}
break;
case DETERMINISTIC:
case NOT:
_localctx = new RoutineBehaviorContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(1677);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOT) {
{
setState(1676);
match(NOT);
}
}
setState(1679);
match(DETERMINISTIC);
}
break;
case MODIFIES:
case READS:
case CONTAINS:
case NO:
_localctx = new RoutineDataContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(1690);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CONTAINS:
{
setState(1680);
match(CONTAINS);
setState(1681);
match(SQL);
}
break;
case NO:
{
setState(1682);
match(NO);
setState(1683);
match(SQL);
}
break;
case READS:
{
setState(1684);
match(READS);
setState(1685);
match(SQL);
setState(1686);
match(DATA);
}
break;
case MODIFIES:
{
setState(1687);
match(MODIFIES);
setState(1688);
match(SQL);
setState(1689);
match(DATA);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case SQL:
_localctx = new RoutineSecurityContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(1692);
match(SQL);
setState(1693);
match(SECURITY);
setState(1694);
((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(MariaDBParser.HOST, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode DATABASE() { return getToken(MariaDBParser.DATABASE, 0); }
public TerminalNode USER() { return getToken(MariaDBParser.USER, 0); }
public TerminalNode PASSWORD() { return getToken(MariaDBParser.PASSWORD, 0); }
public TerminalNode SOCKET() { return getToken(MariaDBParser.SOCKET, 0); }
public TerminalNode OWNER() { return getToken(MariaDBParser.OWNER, 0); }
public TerminalNode PORT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterServerOption(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitServerOption(this);
}
}
public final ServerOptionContext serverOption() throws RecognitionException {
ServerOptionContext _localctx = new ServerOptionContext(_ctx, getState());
enterRule(_localctx, 92, RULE_serverOption);
try {
setState(1711);
_errHandler.sync(this);
switch (_input.LA(1)) {
case HOST:
enterOuterAlt(_localctx, 1);
{
setState(1697);
match(HOST);
setState(1698);
match(STRING_LITERAL);
}
break;
case DATABASE:
enterOuterAlt(_localctx, 2);
{
setState(1699);
match(DATABASE);
setState(1700);
match(STRING_LITERAL);
}
break;
case USER:
enterOuterAlt(_localctx, 3);
{
setState(1701);
match(USER);
setState(1702);
match(STRING_LITERAL);
}
break;
case PASSWORD:
enterOuterAlt(_localctx, 4);
{
setState(1703);
match(PASSWORD);
setState(1704);
match(STRING_LITERAL);
}
break;
case SOCKET:
enterOuterAlt(_localctx, 5);
{
setState(1705);
match(SOCKET);
setState(1706);
match(STRING_LITERAL);
}
break;
case OWNER:
enterOuterAlt(_localctx, 6);
{
setState(1707);
match(OWNER);
setState(1708);
match(STRING_LITERAL);
}
break;
case PORT:
enterOuterAlt(_localctx, 7);
{
setState(1709);
match(PORT);
setState(1710);
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(MariaDBParser.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(MariaDBParser.RR_BRACKET, 0); }
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCreateDefinitions(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1713);
match(LR_BRACKET);
setState(1714);
createDefinition();
setState(1719);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1715);
match(COMMA);
setState(1716);
createDefinition();
}
}
setState(1721);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1722);
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 UidContext uid() {
return getRuleContext(UidContext.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterColumnDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitColumnDeclaration(this);
}
}
public static class ConstraintDeclarationContext extends CreateDefinitionContext {
public TableConstraintContext tableConstraint() {
return getRuleContext(TableConstraintContext.class,0);
}
public ConstraintDeclarationContext(CreateDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterConstraintDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterIndexDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitIndexDeclaration(this);
}
}
public final CreateDefinitionContext createDefinition() throws RecognitionException {
CreateDefinitionContext _localctx = new CreateDefinitionContext(_ctx, getState());
enterRule(_localctx, 96, RULE_createDefinition);
try {
setState(1729);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,169,_ctx) ) {
case 1:
_localctx = new ColumnDeclarationContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1724);
uid();
setState(1725);
columnDefinition();
}
break;
case 2:
_localctx = new ConstraintDeclarationContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1727);
tableConstraint();
}
break;
case 3:
_localctx = new IndexDeclarationContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(1728);
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 ColumnDefinitionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_columnDefinition; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterColumnDefinition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitColumnDefinition(this);
}
}
public final ColumnDefinitionContext columnDefinition() throws RecognitionException {
ColumnDefinitionContext _localctx = new ColumnDefinitionContext(_ctx, getState());
enterRule(_localctx, 98, RULE_columnDefinition);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(1731);
dataType();
setState(1735);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,170,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(1732);
columnConstraint();
}
}
}
setState(1737);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,170,_ctx);
}
}
}
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(MariaDBParser.STORAGE, 0); }
public TerminalNode DISK() { return getToken(MariaDBParser.DISK, 0); }
public TerminalNode MEMORY() { return getToken(MariaDBParser.MEMORY, 0); }
public TerminalNode DEFAULT() { return getToken(MariaDBParser.DEFAULT, 0); }
public StorageColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterStorageColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitStorageColumnConstraint(this);
}
}
public static class VisibilityColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode VISIBLE() { return getToken(MariaDBParser.VISIBLE, 0); }
public VisibilityColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterVisibilityColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitVisibilityColumnConstraint(this);
}
}
public static class AutoIncrementColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode AUTO_INCREMENT() { return getToken(MariaDBParser.AUTO_INCREMENT, 0); }
public TerminalNode ON() { return getToken(MariaDBParser.ON, 0); }
public TerminalNode UPDATE() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAutoIncrementColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAutoIncrementColumnConstraint(this);
}
}
public static class CommentColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode COMMENT() { return getToken(MariaDBParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public CommentColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterCommentColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitCommentColumnConstraint(this);
}
}
public static class UniqueKeyColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode UNIQUE() { return getToken(MariaDBParser.UNIQUE, 0); }
public TerminalNode KEY() { return getToken(MariaDBParser.KEY, 0); }
public UniqueKeyColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterUniqueKeyColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitUniqueKeyColumnConstraint(this);
}
}
public static class SerialDefaultColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode SERIAL() { return getToken(MariaDBParser.SERIAL, 0); }
public TerminalNode DEFAULT() { return getToken(MariaDBParser.DEFAULT, 0); }
public TerminalNode VALUE() { return getToken(MariaDBParser.VALUE, 0); }
public SerialDefaultColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterSerialDefaultColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitSerialDefaultColumnConstraint(this);
}
}
public static class GeneratedColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode AS() { return getToken(MariaDBParser.AS, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode GENERATED() { return getToken(MariaDBParser.GENERATED, 0); }
public TerminalNode ALWAYS() { return getToken(MariaDBParser.ALWAYS, 0); }
public TerminalNode VIRTUAL() { return getToken(MariaDBParser.VIRTUAL, 0); }
public TerminalNode STORED() { return getToken(MariaDBParser.STORED, 0); }
public TerminalNode PERSISTENT() { return getToken(MariaDBParser.PERSISTENT, 0); }
public GeneratedColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterGeneratedColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitGeneratedColumnConstraint(this);
}
}
public static class FormatColumnConstraintContext extends ColumnConstraintContext {
public Token colformat;
public TerminalNode COLUMN_FORMAT() { return getToken(MariaDBParser.COLUMN_FORMAT, 0); }
public TerminalNode FIXED() { return getToken(MariaDBParser.FIXED, 0); }
public TerminalNode DYNAMIC() { return getToken(MariaDBParser.DYNAMIC, 0); }
public TerminalNode DEFAULT() { return getToken(MariaDBParser.DEFAULT, 0); }
public FormatColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterFormatColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitFormatColumnConstraint(this);
}
}
public static class CollateColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode COLLATE() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCollateColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitCollateColumnConstraint(this);
}
}
public static class PrimaryKeyColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode KEY() { return getToken(MariaDBParser.KEY, 0); }
public TerminalNode PRIMARY() { return getToken(MariaDBParser.PRIMARY, 0); }
public PrimaryKeyColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterPrimaryKeyColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPrimaryKeyColumnConstraint(this);
}
}
public static class CheckColumnConstraintContext extends ColumnConstraintContext {
public UidContext name;
public TerminalNode CHECK() { return getToken(MariaDBParser.CHECK, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode CONSTRAINT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCheckColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterNullColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitNullColumnConstraint(this);
}
}
public static class DefaultColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode DEFAULT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterDefaultColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterReferenceColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitReferenceColumnConstraint(this);
}
}
public static class InvisibilityColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode INVISIBLE() { return getToken(MariaDBParser.INVISIBLE, 0); }
public InvisibilityColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterInvisibilityColumnConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitInvisibilityColumnConstraint(this);
}
}
public final ColumnConstraintContext columnConstraint() throws RecognitionException {
ColumnConstraintContext _localctx = new ColumnConstraintContext(_ctx, getState());
enterRule(_localctx, 100, RULE_columnConstraint);
int _la;
try {
setState(1791);
_errHandler.sync(this);
switch (_input.LA(1)) {
case NOT:
case NULL_LITERAL:
case NULL_SPEC_LITERAL:
_localctx = new NullColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1738);
nullNotnull();
}
break;
case DEFAULT:
_localctx = new DefaultColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1739);
match(DEFAULT);
setState(1740);
defaultValue();
}
break;
case VISIBLE:
_localctx = new VisibilityColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(1741);
match(VISIBLE);
}
break;
case INVISIBLE:
_localctx = new InvisibilityColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(1742);
match(INVISIBLE);
}
break;
case ON:
case AUTO_INCREMENT:
_localctx = new AutoIncrementColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(1747);
_errHandler.sync(this);
switch (_input.LA(1)) {
case AUTO_INCREMENT:
{
setState(1743);
match(AUTO_INCREMENT);
}
break;
case ON:
{
setState(1744);
match(ON);
setState(1745);
match(UPDATE);
setState(1746);
currentTimestamp();
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case KEY:
case PRIMARY:
_localctx = new PrimaryKeyColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 6);
{
setState(1750);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PRIMARY) {
{
setState(1749);
match(PRIMARY);
}
}
setState(1752);
match(KEY);
}
break;
case UNIQUE:
_localctx = new UniqueKeyColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 7);
{
setState(1753);
match(UNIQUE);
setState(1755);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,173,_ctx) ) {
case 1:
{
setState(1754);
match(KEY);
}
break;
}
}
break;
case COMMENT:
_localctx = new CommentColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 8);
{
setState(1757);
match(COMMENT);
setState(1758);
match(STRING_LITERAL);
}
break;
case COLUMN_FORMAT:
_localctx = new FormatColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 9);
{
setState(1759);
match(COLUMN_FORMAT);
setState(1760);
((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, 10);
{
setState(1761);
match(STORAGE);
setState(1762);
((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, 11);
{
setState(1763);
referenceDefinition();
}
break;
case COLLATE:
_localctx = new CollateColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 12);
{
setState(1764);
match(COLLATE);
setState(1765);
collationName();
}
break;
case AS:
case GENERATED:
_localctx = new GeneratedColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 13);
{
setState(1768);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==GENERATED) {
{
setState(1766);
match(GENERATED);
setState(1767);
match(ALWAYS);
}
}
setState(1770);
match(AS);
setState(1771);
match(LR_BRACKET);
setState(1772);
expression(0);
setState(1773);
match(RR_BRACKET);
setState(1775);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==STORED || _la==VIRTUAL || _la==PERSISTENT) {
{
setState(1774);
_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, 14);
{
setState(1777);
match(SERIAL);
setState(1778);
match(DEFAULT);
setState(1779);
match(VALUE);
}
break;
case CHECK:
case CONSTRAINT:
_localctx = new CheckColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 15);
{
setState(1784);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(1780);
match(CONSTRAINT);
setState(1782);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(1781);
((CheckColumnConstraintContext)_localctx).name = uid();
}
}
}
}
setState(1786);
match(CHECK);
setState(1787);
match(LR_BRACKET);
setState(1788);
expression(0);
setState(1789);
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(MariaDBParser.UNIQUE, 0); }
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode CONSTRAINT() { return getToken(MariaDBParser.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(MariaDBParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(MariaDBParser.KEY, 0); }
public UniqueKeyTableConstraintContext(TableConstraintContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterUniqueKeyTableConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitUniqueKeyTableConstraint(this);
}
}
public static class CheckTableConstraintContext extends TableConstraintContext {
public UidContext name;
public TerminalNode CHECK() { return getToken(MariaDBParser.CHECK, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode CONSTRAINT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCheckTableConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitCheckTableConstraint(this);
}
}
public static class PrimaryKeyTableConstraintContext extends TableConstraintContext {
public UidContext name;
public UidContext index;
public TerminalNode PRIMARY() { return getToken(MariaDBParser.PRIMARY, 0); }
public TerminalNode KEY() { return getToken(MariaDBParser.KEY, 0); }
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode CONSTRAINT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterPrimaryKeyTableConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPrimaryKeyTableConstraint(this);
}
}
public static class ForeignKeyTableConstraintContext extends TableConstraintContext {
public UidContext name;
public UidContext index;
public TerminalNode FOREIGN() { return getToken(MariaDBParser.FOREIGN, 0); }
public TerminalNode KEY() { return getToken(MariaDBParser.KEY, 0); }
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public ReferenceDefinitionContext referenceDefinition() {
return getRuleContext(ReferenceDefinitionContext.class,0);
}
public TerminalNode CONSTRAINT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterForeignKeyTableConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitForeignKeyTableConstraint(this);
}
}
public final TableConstraintContext tableConstraint() throws RecognitionException {
TableConstraintContext _localctx = new TableConstraintContext(_ctx, getState());
enterRule(_localctx, 102, RULE_tableConstraint);
int _la;
try {
setState(1862);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,195,_ctx) ) {
case 1:
_localctx = new PrimaryKeyTableConstraintContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1797);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(1793);
match(CONSTRAINT);
setState(1795);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,179,_ctx) ) {
case 1:
{
setState(1794);
((PrimaryKeyTableConstraintContext)_localctx).name = uid();
}
break;
}
}
}
setState(1799);
match(PRIMARY);
setState(1800);
match(KEY);
setState(1802);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(1801);
((PrimaryKeyTableConstraintContext)_localctx).index = uid();
}
}
setState(1805);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==USING) {
{
setState(1804);
indexType();
}
}
setState(1807);
indexColumnNames();
setState(1811);
_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(1808);
indexOption();
}
}
setState(1813);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case 2:
_localctx = new UniqueKeyTableConstraintContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1818);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(1814);
match(CONSTRAINT);
setState(1816);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(1815);
((UniqueKeyTableConstraintContext)_localctx).name = uid();
}
}
}
}
setState(1820);
match(UNIQUE);
setState(1822);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INDEX || _la==KEY) {
{
setState(1821);
((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(1825);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(1824);
((UniqueKeyTableConstraintContext)_localctx).index = uid();
}
}
setState(1828);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==USING) {
{
setState(1827);
indexType();
}
}
setState(1830);
indexColumnNames();
setState(1834);
_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(1831);
indexOption();
}
}
setState(1836);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case 3:
_localctx = new ForeignKeyTableConstraintContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(1841);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(1837);
match(CONSTRAINT);
setState(1839);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(1838);
((ForeignKeyTableConstraintContext)_localctx).name = uid();
}
}
}
}
setState(1843);
match(FOREIGN);
setState(1844);
match(KEY);
setState(1846);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(1845);
((ForeignKeyTableConstraintContext)_localctx).index = uid();
}
}
setState(1848);
indexColumnNames();
setState(1849);
referenceDefinition();
}
break;
case 4:
_localctx = new CheckTableConstraintContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(1855);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(1851);
match(CONSTRAINT);
setState(1853);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(1852);
((CheckTableConstraintContext)_localctx).name = uid();
}
}
}
}
setState(1857);
match(CHECK);
setState(1858);
match(LR_BRACKET);
setState(1859);
expression(0);
setState(1860);
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 ReferenceDefinitionContext extends ParserRuleContext {
public Token matchType;
public TerminalNode REFERENCES() { return getToken(MariaDBParser.REFERENCES, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode MATCH() { return getToken(MariaDBParser.MATCH, 0); }
public ReferenceActionContext referenceAction() {
return getRuleContext(ReferenceActionContext.class,0);
}
public TerminalNode FULL() { return getToken(MariaDBParser.FULL, 0); }
public TerminalNode PARTIAL() { return getToken(MariaDBParser.PARTIAL, 0); }
public TerminalNode SIMPLE() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterReferenceDefinition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(1864);
match(REFERENCES);
setState(1865);
tableName();
setState(1867);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,196,_ctx) ) {
case 1:
{
setState(1866);
indexColumnNames();
}
break;
}
setState(1871);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MATCH) {
{
setState(1869);
match(MATCH);
setState(1870);
((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(1874);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,198,_ctx) ) {
case 1:
{
setState(1873);
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(MariaDBParser.ON); }
public TerminalNode ON(int i) {
return getToken(MariaDBParser.ON, i);
}
public TerminalNode DELETE() { return getToken(MariaDBParser.DELETE, 0); }
public List referenceControlType() {
return getRuleContexts(ReferenceControlTypeContext.class);
}
public ReferenceControlTypeContext referenceControlType(int i) {
return getRuleContext(ReferenceControlTypeContext.class,i);
}
public TerminalNode UPDATE() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterReferenceAction(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitReferenceAction(this);
}
}
public final ReferenceActionContext referenceAction() throws RecognitionException {
ReferenceActionContext _localctx = new ReferenceActionContext(_ctx, getState());
enterRule(_localctx, 106, RULE_referenceAction);
try {
setState(1892);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,201,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1876);
match(ON);
setState(1877);
match(DELETE);
setState(1878);
((ReferenceActionContext)_localctx).onDelete = referenceControlType();
setState(1882);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,199,_ctx) ) {
case 1:
{
setState(1879);
match(ON);
setState(1880);
match(UPDATE);
setState(1881);
((ReferenceActionContext)_localctx).onUpdate = referenceControlType();
}
break;
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1884);
match(ON);
setState(1885);
match(UPDATE);
setState(1886);
((ReferenceActionContext)_localctx).onUpdate = referenceControlType();
setState(1890);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,200,_ctx) ) {
case 1:
{
setState(1887);
match(ON);
setState(1888);
match(DELETE);
setState(1889);
((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(MariaDBParser.RESTRICT, 0); }
public TerminalNode CASCADE() { return getToken(MariaDBParser.CASCADE, 0); }
public TerminalNode SET() { return getToken(MariaDBParser.SET, 0); }
public TerminalNode NULL_LITERAL() { return getToken(MariaDBParser.NULL_LITERAL, 0); }
public TerminalNode NO() { return getToken(MariaDBParser.NO, 0); }
public TerminalNode ACTION() { return getToken(MariaDBParser.ACTION, 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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterReferenceControlType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitReferenceControlType(this);
}
}
public final ReferenceControlTypeContext referenceControlType() throws RecognitionException {
ReferenceControlTypeContext _localctx = new ReferenceControlTypeContext(_ctx, getState());
enterRule(_localctx, 108, RULE_referenceControlType);
try {
setState(1900);
_errHandler.sync(this);
switch (_input.LA(1)) {
case RESTRICT:
enterOuterAlt(_localctx, 1);
{
setState(1894);
match(RESTRICT);
}
break;
case CASCADE:
enterOuterAlt(_localctx, 2);
{
setState(1895);
match(CASCADE);
}
break;
case SET:
enterOuterAlt(_localctx, 3);
{
setState(1896);
match(SET);
setState(1897);
match(NULL_LITERAL);
}
break;
case NO:
enterOuterAlt(_localctx, 4);
{
setState(1898);
match(NO);
setState(1899);
match(ACTION);
}
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 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(MariaDBParser.FULLTEXT, 0); }
public TerminalNode SPATIAL() { return getToken(MariaDBParser.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(MariaDBParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(MariaDBParser.KEY, 0); }
public SpecialIndexDeclarationContext(IndexColumnDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterSpecialIndexDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(MariaDBParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterSimpleIndexDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitSimpleIndexDeclaration(this);
}
}
public final IndexColumnDefinitionContext indexColumnDefinition() throws RecognitionException {
IndexColumnDefinitionContext _localctx = new IndexColumnDefinitionContext(_ctx, getState());
enterRule(_localctx, 110, RULE_indexColumnDefinition);
int _la;
try {
setState(1930);
_errHandler.sync(this);
switch (_input.LA(1)) {
case INDEX:
case KEY:
_localctx = new SimpleIndexDeclarationContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1902);
((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(1904);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(1903);
uid();
}
}
setState(1907);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==USING) {
{
setState(1906);
indexType();
}
}
setState(1909);
indexColumnNames();
setState(1913);
_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(1910);
indexOption();
}
}
setState(1915);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case FULLTEXT:
case SPATIAL:
_localctx = new SpecialIndexDeclarationContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1916);
_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(1918);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INDEX || _la==KEY) {
{
setState(1917);
((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(1921);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(1920);
uid();
}
}
setState(1923);
indexColumnNames();
setState(1927);
_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(1924);
indexOption();
}
}
setState(1929);
_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(MariaDBParser.ENGINE, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionEngine(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionEngine(this);
}
}
public static class TableOptionMaxRowsContext extends TableOptionContext {
public TerminalNode MAX_ROWS() { return getToken(MariaDBParser.MAX_ROWS, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionMaxRowsContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionMaxRows(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionMaxRows(this);
}
}
public static class TableOptionCollateContext extends TableOptionContext {
public TerminalNode COLLATE() { return getToken(MariaDBParser.COLLATE, 0); }
public CollationNameContext collationName() {
return getRuleContext(CollationNameContext.class,0);
}
public TerminalNode DEFAULT() { return getToken(MariaDBParser.DEFAULT, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionCollateContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionCollate(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionCollate(this);
}
}
public static class TableOptionPersistentContext extends TableOptionContext {
public Token extBoolValue;
public TerminalNode STATS_PERSISTENT() { return getToken(MariaDBParser.STATS_PERSISTENT, 0); }
public TerminalNode DEFAULT() { return getToken(MariaDBParser.DEFAULT, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(MariaDBParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(MariaDBParser.ONE_DECIMAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionPersistentContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionPersistent(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionPersistent(this);
}
}
public static class TableOptionTablespaceContext extends TableOptionContext {
public TerminalNode TABLESPACE() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionTablespace(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionTablespace(this);
}
}
public static class TableOptionAutoextendSizeContext extends TableOptionContext {
public TerminalNode AUTOEXTEND_SIZE() { return getToken(MariaDBParser.AUTOEXTEND_SIZE, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionAutoextendSizeContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionAutoextendSize(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionAutoextendSize(this);
}
}
public static class TableOptionPageCompressedContext extends TableOptionContext {
public TerminalNode PAGE_COMPRESSED() { return getToken(MariaDBParser.PAGE_COMPRESSED, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(MariaDBParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(MariaDBParser.ONE_DECIMAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionPageCompressedContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionPageCompressed(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionPageCompressed(this);
}
}
public static class TableOptionStartTransactionContext extends TableOptionContext {
public TerminalNode START() { return getToken(MariaDBParser.START, 0); }
public TerminalNode TRANSACTION() { return getToken(MariaDBParser.TRANSACTION, 0); }
public TableOptionStartTransactionContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionStartTransaction(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionStartTransaction(this);
}
}
public static class TableOptionPackKeysContext extends TableOptionContext {
public Token extBoolValue;
public TerminalNode PACK_KEYS() { return getToken(MariaDBParser.PACK_KEYS, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(MariaDBParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(MariaDBParser.ONE_DECIMAL, 0); }
public TerminalNode DEFAULT() { return getToken(MariaDBParser.DEFAULT, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionPackKeysContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionPackKeys(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionPackKeys(this);
}
}
public static class TableOptionPasswordContext extends TableOptionContext {
public TerminalNode PASSWORD() { return getToken(MariaDBParser.PASSWORD, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionPasswordContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionPassword(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionPassword(this);
}
}
public static class TableOptionUnionContext extends TableOptionContext {
public TerminalNode UNION() { return getToken(MariaDBParser.UNION, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public TablesContext tables() {
return getRuleContext(TablesContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionUnionContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionUnion(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionUnion(this);
}
}
public static class TableOptionSamplePageContext extends TableOptionContext {
public TerminalNode STATS_SAMPLE_PAGES() { return getToken(MariaDBParser.STATS_SAMPLE_PAGES, 0); }
public TerminalNode DEFAULT() { return getToken(MariaDBParser.DEFAULT, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionSamplePageContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionSamplePage(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(MariaDBParser.DEFAULT); }
public TerminalNode DEFAULT(int i) {
return getToken(MariaDBParser.DEFAULT, i);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionCharsetContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionCharset(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionCharset(this);
}
}
public static class TableOptionIndexDirectoryContext extends TableOptionContext {
public TerminalNode INDEX() { return getToken(MariaDBParser.INDEX, 0); }
public TerminalNode DIRECTORY() { return getToken(MariaDBParser.DIRECTORY, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionIndexDirectoryContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionIndexDirectory(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionIndexDirectory(this);
}
}
public static class TableOptionTableTypeContext extends TableOptionContext {
public TerminalNode TABLE_TYPE() { return getToken(MariaDBParser.TABLE_TYPE, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionTableType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionTableType(this);
}
}
public static class TableOptionKeyBlockSizeContext extends TableOptionContext {
public TerminalNode KEY_BLOCK_SIZE() { return getToken(MariaDBParser.KEY_BLOCK_SIZE, 0); }
public FileSizeLiteralContext fileSizeLiteral() {
return getRuleContext(FileSizeLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionKeyBlockSizeContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionKeyBlockSize(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionKeyBlockSize(this);
}
}
public static class TableOptionEncryptionContext extends TableOptionContext {
public TerminalNode ENCRYPTION() { return getToken(MariaDBParser.ENCRYPTION, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionEncryptionContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionEncryption(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionEncryption(this);
}
}
public static class TableOptionDataDirectoryContext extends TableOptionContext {
public TerminalNode DIRECTORY() { return getToken(MariaDBParser.DIRECTORY, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode DATA() { return getToken(MariaDBParser.DATA, 0); }
public TerminalNode INDEX() { return getToken(MariaDBParser.INDEX, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionDataDirectoryContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionDataDirectory(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionDataDirectory(this);
}
}
public static class TableOptionRecalculationContext extends TableOptionContext {
public Token extBoolValue;
public TerminalNode STATS_AUTO_RECALC() { return getToken(MariaDBParser.STATS_AUTO_RECALC, 0); }
public TerminalNode DEFAULT() { return getToken(MariaDBParser.DEFAULT, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(MariaDBParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(MariaDBParser.ONE_DECIMAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionRecalculationContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionRecalculation(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionRecalculation(this);
}
}
public static class TableOptionAutoIncrementContext extends TableOptionContext {
public TerminalNode AUTO_INCREMENT() { return getToken(MariaDBParser.AUTO_INCREMENT, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionAutoIncrementContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionAutoIncrement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionAutoIncrement(this);
}
}
public static class TableOptionEncryptionKeyIdContext extends TableOptionContext {
public TerminalNode ENCRYPTION_KEY_ID() { return getToken(MariaDBParser.ENCRYPTION_KEY_ID, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionEncryptionKeyIdContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionEncryptionKeyId(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionEncryptionKeyId(this);
}
}
public static class TableOptionChecksumContext extends TableOptionContext {
public Token boolValue;
public TerminalNode CHECKSUM() { return getToken(MariaDBParser.CHECKSUM, 0); }
public TerminalNode PAGE_CHECKSUM() { return getToken(MariaDBParser.PAGE_CHECKSUM, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(MariaDBParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(MariaDBParser.ONE_DECIMAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionChecksumContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionChecksum(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionChecksum(this);
}
}
public static class TableOptionEncryptedContext extends TableOptionContext {
public EncryptedLiteralContext encryptedLiteral() {
return getRuleContext(EncryptedLiteralContext.class,0);
}
public TerminalNode YES() { return getToken(MariaDBParser.YES, 0); }
public TerminalNode NO() { return getToken(MariaDBParser.NO, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionEncryptedContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionEncrypted(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionEncrypted(this);
}
}
public static class TableOptionDelayContext extends TableOptionContext {
public Token boolValue;
public TerminalNode DELAY_KEY_WRITE() { return getToken(MariaDBParser.DELAY_KEY_WRITE, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(MariaDBParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(MariaDBParser.ONE_DECIMAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionDelayContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionDelay(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionDelay(this);
}
}
public static class TableOptionConnectionContext extends TableOptionContext {
public TerminalNode CONNECTION() { return getToken(MariaDBParser.CONNECTION, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionConnectionContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionConnection(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionConnection(this);
}
}
public static class TableOptionTransactionalContext extends TableOptionContext {
public TerminalNode TRANSACTIONAL() { return getToken(MariaDBParser.TRANSACTIONAL, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(MariaDBParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(MariaDBParser.ONE_DECIMAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionTransactionalContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionTransactional(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionTransactional(this);
}
}
public static class TableOptionPageCompressionLevelContext extends TableOptionContext {
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode PAGE_COMPRESSION_LEVEL() { return getToken(MariaDBParser.PAGE_COMPRESSION_LEVEL, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionPageCompressionLevelContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionPageCompressionLevel(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionPageCompressionLevel(this);
}
}
public static class TableOptionSecondaryEngineAttributeContext extends TableOptionContext {
public TerminalNode SECONDARY_ENGINE_ATTRIBUTE() { return getToken(MariaDBParser.SECONDARY_ENGINE_ATTRIBUTE, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionSecondaryEngineAttributeContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionSecondaryEngineAttribute(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionSecondaryEngineAttribute(this);
}
}
public static class TableOptionCommentContext extends TableOptionContext {
public TerminalNode COMMENT() { return getToken(MariaDBParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionCommentContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionComment(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionComment(this);
}
}
public static class TableOptionAverageContext extends TableOptionContext {
public TerminalNode AVG_ROW_LENGTH() { return getToken(MariaDBParser.AVG_ROW_LENGTH, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionAverageContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionAverage(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionAverage(this);
}
}
public static class TableOptionRowFormatContext extends TableOptionContext {
public Token rowFormat;
public TerminalNode ROW_FORMAT() { return getToken(MariaDBParser.ROW_FORMAT, 0); }
public TerminalNode DEFAULT() { return getToken(MariaDBParser.DEFAULT, 0); }
public TerminalNode DYNAMIC() { return getToken(MariaDBParser.DYNAMIC, 0); }
public TerminalNode FIXED() { return getToken(MariaDBParser.FIXED, 0); }
public TerminalNode COMPRESSED() { return getToken(MariaDBParser.COMPRESSED, 0); }
public TerminalNode REDUNDANT() { return getToken(MariaDBParser.REDUNDANT, 0); }
public TerminalNode COMPACT() { return getToken(MariaDBParser.COMPACT, 0); }
public TerminalNode ID() { return getToken(MariaDBParser.ID, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionRowFormatContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionRowFormat(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionRowFormat(this);
}
}
public static class TableOptionCompressionContext extends TableOptionContext {
public TerminalNode COMPRESSION() { return getToken(MariaDBParser.COMPRESSION, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode ID() { return getToken(MariaDBParser.ID, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionCompressionContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionCompression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionCompression(this);
}
}
public static class TableOptionInsertMethodContext extends TableOptionContext {
public Token insertMethod;
public TerminalNode INSERT_METHOD() { return getToken(MariaDBParser.INSERT_METHOD, 0); }
public TerminalNode NO() { return getToken(MariaDBParser.NO, 0); }
public TerminalNode FIRST() { return getToken(MariaDBParser.FIRST, 0); }
public TerminalNode LAST() { return getToken(MariaDBParser.LAST, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionInsertMethodContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionInsertMethod(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionInsertMethod(this);
}
}
public static class TableOptionEngineAttributeContext extends TableOptionContext {
public TerminalNode ENGINE_ATTRIBUTE() { return getToken(MariaDBParser.ENGINE_ATTRIBUTE, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionEngineAttributeContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionEngineAttribute(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionEngineAttribute(this);
}
}
public static class TableOptionMinRowsContext extends TableOptionContext {
public TerminalNode MIN_ROWS() { return getToken(MariaDBParser.MIN_ROWS, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TableOptionMinRowsContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableOptionMinRows(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableOptionMinRows(this);
}
}
public final TableOptionContext tableOption() throws RecognitionException {
TableOptionContext _localctx = new TableOptionContext(_ctx, getState());
enterRule(_localctx, 112, RULE_tableOption);
int _la;
try {
setState(2123);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,248,_ctx) ) {
case 1:
_localctx = new TableOptionEngineContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1932);
match(ENGINE);
setState(1934);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1933);
match(EQUAL_SYMBOL);
}
}
setState(1937);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,211,_ctx) ) {
case 1:
{
setState(1936);
engineName();
}
break;
}
}
break;
case 2:
_localctx = new TableOptionEngineAttributeContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1939);
match(ENGINE_ATTRIBUTE);
setState(1941);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1940);
match(EQUAL_SYMBOL);
}
}
setState(1943);
match(STRING_LITERAL);
}
break;
case 3:
_localctx = new TableOptionAutoextendSizeContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(1944);
match(AUTOEXTEND_SIZE);
setState(1946);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1945);
match(EQUAL_SYMBOL);
}
}
setState(1948);
decimalLiteral();
}
break;
case 4:
_localctx = new TableOptionAutoIncrementContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(1949);
match(AUTO_INCREMENT);
setState(1951);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1950);
match(EQUAL_SYMBOL);
}
}
setState(1953);
decimalLiteral();
}
break;
case 5:
_localctx = new TableOptionAverageContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(1954);
match(AVG_ROW_LENGTH);
setState(1956);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1955);
match(EQUAL_SYMBOL);
}
}
setState(1958);
decimalLiteral();
}
break;
case 6:
_localctx = new TableOptionCharsetContext(_localctx);
enterOuterAlt(_localctx, 6);
{
setState(1960);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
setState(1959);
match(DEFAULT);
}
}
setState(1962);
charSet();
setState(1964);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1963);
match(EQUAL_SYMBOL);
}
}
setState(1968);
_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(1966);
charsetName();
}
break;
case DEFAULT:
{
setState(1967);
match(DEFAULT);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 7:
_localctx = new TableOptionChecksumContext(_localctx);
enterOuterAlt(_localctx, 7);
{
setState(1970);
_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(1972);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1971);
match(EQUAL_SYMBOL);
}
}
setState(1974);
((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(1976);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
setState(1975);
match(DEFAULT);
}
}
setState(1978);
match(COLLATE);
setState(1980);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1979);
match(EQUAL_SYMBOL);
}
}
setState(1982);
collationName();
}
break;
case 9:
_localctx = new TableOptionCommentContext(_localctx);
enterOuterAlt(_localctx, 9);
{
setState(1983);
match(COMMENT);
setState(1985);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1984);
match(EQUAL_SYMBOL);
}
}
setState(1987);
match(STRING_LITERAL);
}
break;
case 10:
_localctx = new TableOptionCompressionContext(_localctx);
enterOuterAlt(_localctx, 10);
{
setState(1988);
match(COMPRESSION);
setState(1990);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1989);
match(EQUAL_SYMBOL);
}
}
setState(1992);
_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(1993);
match(CONNECTION);
setState(1995);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1994);
match(EQUAL_SYMBOL);
}
}
setState(1997);
match(STRING_LITERAL);
}
break;
case 12:
_localctx = new TableOptionDataDirectoryContext(_localctx);
enterOuterAlt(_localctx, 12);
{
setState(1998);
_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(1999);
match(DIRECTORY);
setState(2001);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2000);
match(EQUAL_SYMBOL);
}
}
setState(2003);
match(STRING_LITERAL);
}
break;
case 13:
_localctx = new TableOptionDelayContext(_localctx);
enterOuterAlt(_localctx, 13);
{
setState(2004);
match(DELAY_KEY_WRITE);
setState(2006);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2005);
match(EQUAL_SYMBOL);
}
}
setState(2008);
((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(2009);
match(ENCRYPTION);
setState(2011);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2010);
match(EQUAL_SYMBOL);
}
}
setState(2013);
match(STRING_LITERAL);
}
break;
case 15:
_localctx = new TableOptionEncryptedContext(_localctx);
enterOuterAlt(_localctx, 15);
{
setState(2014);
encryptedLiteral();
setState(2016);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2015);
match(EQUAL_SYMBOL);
}
}
setState(2018);
_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(2020);
_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(2022);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2021);
match(EQUAL_SYMBOL);
}
}
setState(2024);
_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(2025);
_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(2027);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2026);
match(EQUAL_SYMBOL);
}
}
setState(2029);
decimalLiteral();
}
break;
case 18:
_localctx = new TableOptionEncryptionKeyIdContext(_localctx);
enterOuterAlt(_localctx, 18);
{
setState(2030);
match(ENCRYPTION_KEY_ID);
setState(2032);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2031);
match(EQUAL_SYMBOL);
}
}
setState(2034);
decimalLiteral();
}
break;
case 19:
_localctx = new TableOptionIndexDirectoryContext(_localctx);
enterOuterAlt(_localctx, 19);
{
setState(2035);
match(INDEX);
setState(2036);
match(DIRECTORY);
setState(2038);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2037);
match(EQUAL_SYMBOL);
}
}
setState(2040);
match(STRING_LITERAL);
}
break;
case 20:
_localctx = new TableOptionInsertMethodContext(_localctx);
enterOuterAlt(_localctx, 20);
{
setState(2041);
match(INSERT_METHOD);
setState(2043);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2042);
match(EQUAL_SYMBOL);
}
}
setState(2045);
((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(2046);
match(KEY_BLOCK_SIZE);
setState(2048);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2047);
match(EQUAL_SYMBOL);
}
}
setState(2050);
fileSizeLiteral();
}
break;
case 22:
_localctx = new TableOptionMaxRowsContext(_localctx);
enterOuterAlt(_localctx, 22);
{
setState(2051);
match(MAX_ROWS);
setState(2053);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2052);
match(EQUAL_SYMBOL);
}
}
setState(2055);
decimalLiteral();
}
break;
case 23:
_localctx = new TableOptionMinRowsContext(_localctx);
enterOuterAlt(_localctx, 23);
{
setState(2056);
match(MIN_ROWS);
setState(2058);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2057);
match(EQUAL_SYMBOL);
}
}
setState(2060);
decimalLiteral();
}
break;
case 24:
_localctx = new TableOptionPackKeysContext(_localctx);
enterOuterAlt(_localctx, 24);
{
setState(2061);
match(PACK_KEYS);
setState(2063);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2062);
match(EQUAL_SYMBOL);
}
}
setState(2065);
((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(2066);
match(PASSWORD);
setState(2068);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2067);
match(EQUAL_SYMBOL);
}
}
setState(2070);
match(STRING_LITERAL);
}
break;
case 26:
_localctx = new TableOptionRowFormatContext(_localctx);
enterOuterAlt(_localctx, 26);
{
setState(2071);
match(ROW_FORMAT);
setState(2073);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2072);
match(EQUAL_SYMBOL);
}
}
setState(2075);
((TableOptionRowFormatContext)_localctx).rowFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DEFAULT || ((((_la - 370)) & ~0x3f) == 0 && ((1L << (_la - 370)) & ((1L << (COMPACT - 370)) | (1L << (COMPRESSED - 370)) | (1L << (DYNAMIC - 370)) | (1L << (FIXED - 370)))) != 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(2076);
match(START);
setState(2077);
match(TRANSACTION);
}
break;
case 28:
_localctx = new TableOptionSecondaryEngineAttributeContext(_localctx);
enterOuterAlt(_localctx, 28);
{
setState(2078);
match(SECONDARY_ENGINE_ATTRIBUTE);
setState(2080);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2079);
match(EQUAL_SYMBOL);
}
}
setState(2082);
match(STRING_LITERAL);
}
break;
case 29:
_localctx = new TableOptionRecalculationContext(_localctx);
enterOuterAlt(_localctx, 29);
{
setState(2083);
match(STATS_AUTO_RECALC);
setState(2085);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2084);
match(EQUAL_SYMBOL);
}
}
setState(2087);
((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(2088);
match(STATS_PERSISTENT);
setState(2090);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2089);
match(EQUAL_SYMBOL);
}
}
setState(2092);
((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(2093);
match(STATS_SAMPLE_PAGES);
setState(2095);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2094);
match(EQUAL_SYMBOL);
}
}
setState(2099);
_errHandler.sync(this);
switch (_input.LA(1)) {
case DEFAULT:
{
setState(2097);
match(DEFAULT);
}
break;
case ZERO_DECIMAL:
case ONE_DECIMAL:
case TWO_DECIMAL:
case DECIMAL_LITERAL:
case REAL_LITERAL:
{
setState(2098);
decimalLiteral();
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 32:
_localctx = new TableOptionTablespaceContext(_localctx);
enterOuterAlt(_localctx, 32);
{
setState(2101);
match(TABLESPACE);
setState(2102);
uid();
setState(2104);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,245,_ctx) ) {
case 1:
{
setState(2103);
tablespaceStorage();
}
break;
}
}
break;
case 33:
_localctx = new TableOptionTableTypeContext(_localctx);
enterOuterAlt(_localctx, 33);
{
setState(2106);
match(TABLE_TYPE);
setState(2107);
match(EQUAL_SYMBOL);
setState(2108);
tableType();
}
break;
case 34:
_localctx = new TableOptionTablespaceContext(_localctx);
enterOuterAlt(_localctx, 34);
{
setState(2109);
tablespaceStorage();
}
break;
case 35:
_localctx = new TableOptionTransactionalContext(_localctx);
enterOuterAlt(_localctx, 35);
{
setState(2110);
match(TRANSACTIONAL);
setState(2112);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2111);
match(EQUAL_SYMBOL);
}
}
setState(2114);
_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(2115);
match(UNION);
setState(2117);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2116);
match(EQUAL_SYMBOL);
}
}
setState(2119);
match(LR_BRACKET);
setState(2120);
tables();
setState(2121);
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 TableTypeContext extends ParserRuleContext {
public TerminalNode MYSQL() { return getToken(MariaDBParser.MYSQL, 0); }
public TerminalNode ODBC() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(2125);
_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(MariaDBParser.STORAGE, 0); }
public TerminalNode DISK() { return getToken(MariaDBParser.DISK, 0); }
public TerminalNode MEMORY() { return getToken(MariaDBParser.MEMORY, 0); }
public TerminalNode DEFAULT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterTablespaceStorage(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(2127);
match(STORAGE);
setState(2128);
_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(MariaDBParser.PARTITION, 0); }
public List BY() { return getTokens(MariaDBParser.BY); }
public TerminalNode BY(int i) {
return getToken(MariaDBParser.BY, i);
}
public PartitionFunctionDefinitionContext partitionFunctionDefinition() {
return getRuleContext(PartitionFunctionDefinitionContext.class,0);
}
public TerminalNode PARTITIONS() { return getToken(MariaDBParser.PARTITIONS, 0); }
public TerminalNode SUBPARTITION() { return getToken(MariaDBParser.SUBPARTITION, 0); }
public SubpartitionFunctionDefinitionContext subpartitionFunctionDefinition() {
return getRuleContext(SubpartitionFunctionDefinitionContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.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(MariaDBParser.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(MariaDBParser.SUBPARTITIONS, 0); }
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterPartitionDefinitions(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(2130);
match(PARTITION);
setState(2131);
match(BY);
setState(2132);
partitionFunctionDefinition();
setState(2135);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITIONS) {
{
setState(2133);
match(PARTITIONS);
setState(2134);
((PartitionDefinitionsContext)_localctx).count = decimalLiteral();
}
}
setState(2144);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==SUBPARTITION) {
{
setState(2137);
match(SUBPARTITION);
setState(2138);
match(BY);
setState(2139);
subpartitionFunctionDefinition();
setState(2142);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==SUBPARTITIONS) {
{
setState(2140);
match(SUBPARTITIONS);
setState(2141);
((PartitionDefinitionsContext)_localctx).subCount = decimalLiteral();
}
}
}
}
setState(2157);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,253,_ctx) ) {
case 1:
{
setState(2146);
match(LR_BRACKET);
setState(2147);
partitionDefinition();
setState(2152);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2148);
match(COMMA);
setState(2149);
partitionDefinition();
}
}
setState(2154);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2155);
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(MariaDBParser.KEY, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode LINEAR() { return getToken(MariaDBParser.LINEAR, 0); }
public TerminalNode ALGORITHM() { return getToken(MariaDBParser.ALGORITHM, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(MariaDBParser.ONE_DECIMAL, 0); }
public TerminalNode TWO_DECIMAL() { return getToken(MariaDBParser.TWO_DECIMAL, 0); }
public PartitionFunctionKeyContext(PartitionFunctionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterPartitionFunctionKey(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPartitionFunctionKey(this);
}
}
public static class PartitionFunctionHashContext extends PartitionFunctionDefinitionContext {
public TerminalNode HASH() { return getToken(MariaDBParser.HASH, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode LINEAR() { return getToken(MariaDBParser.LINEAR, 0); }
public PartitionFunctionHashContext(PartitionFunctionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterPartitionFunctionHash(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPartitionFunctionHash(this);
}
}
public static class PartitionFunctionListContext extends PartitionFunctionDefinitionContext {
public TerminalNode LIST() { return getToken(MariaDBParser.LIST, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode COLUMNS() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterPartitionFunctionList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPartitionFunctionList(this);
}
}
public static class PartitionFunctionRangeContext extends PartitionFunctionDefinitionContext {
public TerminalNode RANGE() { return getToken(MariaDBParser.RANGE, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode COLUMNS() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterPartitionFunctionRange(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPartitionFunctionRange(this);
}
}
public final PartitionFunctionDefinitionContext partitionFunctionDefinition() throws RecognitionException {
PartitionFunctionDefinitionContext _localctx = new PartitionFunctionDefinitionContext(_ctx, getState());
enterRule(_localctx, 120, RULE_partitionFunctionDefinition);
int _la;
try {
setState(2204);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,259,_ctx) ) {
case 1:
_localctx = new PartitionFunctionHashContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(2160);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LINEAR) {
{
setState(2159);
match(LINEAR);
}
}
setState(2162);
match(HASH);
setState(2163);
match(LR_BRACKET);
setState(2164);
expression(0);
setState(2165);
match(RR_BRACKET);
}
break;
case 2:
_localctx = new PartitionFunctionKeyContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(2168);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LINEAR) {
{
setState(2167);
match(LINEAR);
}
}
setState(2170);
match(KEY);
setState(2174);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ALGORITHM) {
{
setState(2171);
match(ALGORITHM);
setState(2172);
match(EQUAL_SYMBOL);
setState(2173);
((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(2176);
match(LR_BRACKET);
setState(2177);
uidList();
setState(2178);
match(RR_BRACKET);
}
break;
case 3:
_localctx = new PartitionFunctionRangeContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(2180);
match(RANGE);
setState(2190);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LR_BRACKET:
{
setState(2181);
match(LR_BRACKET);
setState(2182);
expression(0);
setState(2183);
match(RR_BRACKET);
}
break;
case COLUMNS:
{
setState(2185);
match(COLUMNS);
setState(2186);
match(LR_BRACKET);
setState(2187);
uidList();
setState(2188);
match(RR_BRACKET);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 4:
_localctx = new PartitionFunctionListContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(2192);
match(LIST);
setState(2202);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LR_BRACKET:
{
setState(2193);
match(LR_BRACKET);
setState(2194);
expression(0);
setState(2195);
match(RR_BRACKET);
}
break;
case COLUMNS:
{
setState(2197);
match(COLUMNS);
setState(2198);
match(LR_BRACKET);
setState(2199);
uidList();
setState(2200);
match(RR_BRACKET);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
}
}
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(MariaDBParser.HASH, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode LINEAR() { return getToken(MariaDBParser.LINEAR, 0); }
public SubPartitionFunctionHashContext(SubpartitionFunctionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterSubPartitionFunctionHash(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitSubPartitionFunctionHash(this);
}
}
public static class SubPartitionFunctionKeyContext extends SubpartitionFunctionDefinitionContext {
public Token algType;
public TerminalNode KEY() { return getToken(MariaDBParser.KEY, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode LINEAR() { return getToken(MariaDBParser.LINEAR, 0); }
public TerminalNode ALGORITHM() { return getToken(MariaDBParser.ALGORITHM, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(MariaDBParser.ONE_DECIMAL, 0); }
public TerminalNode TWO_DECIMAL() { return getToken(MariaDBParser.TWO_DECIMAL, 0); }
public SubPartitionFunctionKeyContext(SubpartitionFunctionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterSubPartitionFunctionKey(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitSubPartitionFunctionKey(this);
}
}
public final SubpartitionFunctionDefinitionContext subpartitionFunctionDefinition() throws RecognitionException {
SubpartitionFunctionDefinitionContext _localctx = new SubpartitionFunctionDefinitionContext(_ctx, getState());
enterRule(_localctx, 122, RULE_subpartitionFunctionDefinition);
int _la;
try {
setState(2227);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,263,_ctx) ) {
case 1:
_localctx = new SubPartitionFunctionHashContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(2207);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LINEAR) {
{
setState(2206);
match(LINEAR);
}
}
setState(2209);
match(HASH);
setState(2210);
match(LR_BRACKET);
setState(2211);
expression(0);
setState(2212);
match(RR_BRACKET);
}
break;
case 2:
_localctx = new SubPartitionFunctionKeyContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(2215);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LINEAR) {
{
setState(2214);
match(LINEAR);
}
}
setState(2217);
match(KEY);
setState(2221);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ALGORITHM) {
{
setState(2218);
match(ALGORITHM);
setState(2219);
match(EQUAL_SYMBOL);
setState(2220);
((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(2223);
match(LR_BRACKET);
setState(2224);
uidList();
setState(2225);
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(MariaDBParser.PARTITION, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode VALUES() { return getToken(MariaDBParser.VALUES, 0); }
public TerminalNode LESS() { return getToken(MariaDBParser.LESS, 0); }
public TerminalNode THAN() { return getToken(MariaDBParser.THAN, 0); }
public List LR_BRACKET() { return getTokens(MariaDBParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MariaDBParser.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(MariaDBParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MariaDBParser.RR_BRACKET, i);
}
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterPartitionComparison(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPartitionComparison(this);
}
}
public static class PartitionListAtomContext extends PartitionDefinitionContext {
public TerminalNode PARTITION() { return getToken(MariaDBParser.PARTITION, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode VALUES() { return getToken(MariaDBParser.VALUES, 0); }
public TerminalNode IN() { return getToken(MariaDBParser.IN, 0); }
public List LR_BRACKET() { return getTokens(MariaDBParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MariaDBParser.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(MariaDBParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MariaDBParser.RR_BRACKET, i);
}
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterPartitionListAtom(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPartitionListAtom(this);
}
}
public static class PartitionListVectorContext extends PartitionDefinitionContext {
public TerminalNode PARTITION() { return getToken(MariaDBParser.PARTITION, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode VALUES() { return getToken(MariaDBParser.VALUES, 0); }
public TerminalNode IN() { return getToken(MariaDBParser.IN, 0); }
public List LR_BRACKET() { return getTokens(MariaDBParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MariaDBParser.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(MariaDBParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MariaDBParser.RR_BRACKET, i);
}
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterPartitionListVector(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPartitionListVector(this);
}
}
public static class PartitionSimpleContext extends PartitionDefinitionContext {
public TerminalNode PARTITION() { return getToken(MariaDBParser.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(MariaDBParser.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(MariaDBParser.RR_BRACKET, 0); }
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.COMMA, i);
}
public PartitionSimpleContext(PartitionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterPartitionSimple(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPartitionSimple(this);
}
}
public final PartitionDefinitionContext partitionDefinition() throws RecognitionException {
PartitionDefinitionContext _localctx = new PartitionDefinitionContext(_ctx, getState());
enterRule(_localctx, 124, RULE_partitionDefinition);
int _la;
try {
setState(2375);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,282,_ctx) ) {
case 1:
_localctx = new PartitionComparisonContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(2229);
match(PARTITION);
setState(2230);
uid();
setState(2231);
match(VALUES);
setState(2232);
match(LESS);
setState(2233);
match(THAN);
setState(2234);
match(LR_BRACKET);
setState(2235);
partitionDefinerAtom();
setState(2240);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2236);
match(COMMA);
setState(2237);
partitionDefinerAtom();
}
}
setState(2242);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2243);
match(RR_BRACKET);
setState(2247);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DEFAULT || _la==INDEX || ((((_la - 368)) & ~0x3f) == 0 && ((1L << (_la - 368)) & ((1L << (COMMENT - 368)) | (1L << (DATA - 368)) | (1L << (ENGINE - 368)))) != 0) || ((((_la - 501)) & ~0x3f) == 0 && ((1L << (_la - 501)) & ((1L << (MAX_ROWS - 501)) | (1L << (MIN_ROWS - 501)) | (1L << (NODEGROUP - 501)))) != 0) || _la==STORAGE || _la==TABLESPACE) {
{
{
setState(2244);
partitionOption();
}
}
setState(2249);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2261);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(2250);
match(LR_BRACKET);
setState(2251);
subpartitionDefinition();
setState(2256);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2252);
match(COMMA);
setState(2253);
subpartitionDefinition();
}
}
setState(2258);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2259);
match(RR_BRACKET);
}
}
}
break;
case 2:
_localctx = new PartitionComparisonContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(2263);
match(PARTITION);
setState(2264);
uid();
setState(2265);
match(VALUES);
setState(2266);
match(LESS);
setState(2267);
match(THAN);
setState(2268);
partitionDefinerAtom();
setState(2272);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DEFAULT || _la==INDEX || ((((_la - 368)) & ~0x3f) == 0 && ((1L << (_la - 368)) & ((1L << (COMMENT - 368)) | (1L << (DATA - 368)) | (1L << (ENGINE - 368)))) != 0) || ((((_la - 501)) & ~0x3f) == 0 && ((1L << (_la - 501)) & ((1L << (MAX_ROWS - 501)) | (1L << (MIN_ROWS - 501)) | (1L << (NODEGROUP - 501)))) != 0) || _la==STORAGE || _la==TABLESPACE) {
{
{
setState(2269);
partitionOption();
}
}
setState(2274);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2286);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(2275);
match(LR_BRACKET);
setState(2276);
subpartitionDefinition();
setState(2281);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2277);
match(COMMA);
setState(2278);
subpartitionDefinition();
}
}
setState(2283);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2284);
match(RR_BRACKET);
}
}
}
break;
case 3:
_localctx = new PartitionListAtomContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(2288);
match(PARTITION);
setState(2289);
uid();
setState(2290);
match(VALUES);
setState(2291);
match(IN);
setState(2292);
match(LR_BRACKET);
setState(2293);
partitionDefinerAtom();
setState(2298);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2294);
match(COMMA);
setState(2295);
partitionDefinerAtom();
}
}
setState(2300);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2301);
match(RR_BRACKET);
setState(2305);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DEFAULT || _la==INDEX || ((((_la - 368)) & ~0x3f) == 0 && ((1L << (_la - 368)) & ((1L << (COMMENT - 368)) | (1L << (DATA - 368)) | (1L << (ENGINE - 368)))) != 0) || ((((_la - 501)) & ~0x3f) == 0 && ((1L << (_la - 501)) & ((1L << (MAX_ROWS - 501)) | (1L << (MIN_ROWS - 501)) | (1L << (NODEGROUP - 501)))) != 0) || _la==STORAGE || _la==TABLESPACE) {
{
{
setState(2302);
partitionOption();
}
}
setState(2307);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2319);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(2308);
match(LR_BRACKET);
setState(2309);
subpartitionDefinition();
setState(2314);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2310);
match(COMMA);
setState(2311);
subpartitionDefinition();
}
}
setState(2316);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2317);
match(RR_BRACKET);
}
}
}
break;
case 4:
_localctx = new PartitionListVectorContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(2321);
match(PARTITION);
setState(2322);
uid();
setState(2323);
match(VALUES);
setState(2324);
match(IN);
setState(2325);
match(LR_BRACKET);
setState(2326);
partitionDefinerVector();
setState(2331);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2327);
match(COMMA);
setState(2328);
partitionDefinerVector();
}
}
setState(2333);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2334);
match(RR_BRACKET);
setState(2338);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DEFAULT || _la==INDEX || ((((_la - 368)) & ~0x3f) == 0 && ((1L << (_la - 368)) & ((1L << (COMMENT - 368)) | (1L << (DATA - 368)) | (1L << (ENGINE - 368)))) != 0) || ((((_la - 501)) & ~0x3f) == 0 && ((1L << (_la - 501)) & ((1L << (MAX_ROWS - 501)) | (1L << (MIN_ROWS - 501)) | (1L << (NODEGROUP - 501)))) != 0) || _la==STORAGE || _la==TABLESPACE) {
{
{
setState(2335);
partitionOption();
}
}
setState(2340);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2352);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(2341);
match(LR_BRACKET);
setState(2342);
subpartitionDefinition();
setState(2347);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2343);
match(COMMA);
setState(2344);
subpartitionDefinition();
}
}
setState(2349);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2350);
match(RR_BRACKET);
}
}
}
break;
case 5:
_localctx = new PartitionSimpleContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(2354);
match(PARTITION);
setState(2355);
uid();
setState(2359);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DEFAULT || _la==INDEX || ((((_la - 368)) & ~0x3f) == 0 && ((1L << (_la - 368)) & ((1L << (COMMENT - 368)) | (1L << (DATA - 368)) | (1L << (ENGINE - 368)))) != 0) || ((((_la - 501)) & ~0x3f) == 0 && ((1L << (_la - 501)) & ((1L << (MAX_ROWS - 501)) | (1L << (MIN_ROWS - 501)) | (1L << (NODEGROUP - 501)))) != 0) || _la==STORAGE || _la==TABLESPACE) {
{
{
setState(2356);
partitionOption();
}
}
setState(2361);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2373);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(2362);
match(LR_BRACKET);
setState(2363);
subpartitionDefinition();
setState(2368);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2364);
match(COMMA);
setState(2365);
subpartitionDefinition();
}
}
setState(2370);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2371);
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(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterPartitionDefinerAtom(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPartitionDefinerAtom(this);
}
}
public final PartitionDefinerAtomContext partitionDefinerAtom() throws RecognitionException {
PartitionDefinerAtomContext _localctx = new PartitionDefinerAtomContext(_ctx, getState());
enterRule(_localctx, 126, RULE_partitionDefinerAtom);
try {
setState(2380);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,283,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2377);
constant();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2378);
expression(0);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(2379);
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(MariaDBParser.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(MariaDBParser.RR_BRACKET, 0); }
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterPartitionDefinerVector(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPartitionDefinerVector(this);
}
}
public final PartitionDefinerVectorContext partitionDefinerVector() throws RecognitionException {
PartitionDefinerVectorContext _localctx = new PartitionDefinerVectorContext(_ctx, getState());
enterRule(_localctx, 128, RULE_partitionDefinerVector);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2382);
match(LR_BRACKET);
setState(2383);
partitionDefinerAtom();
setState(2386);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(2384);
match(COMMA);
setState(2385);
partitionDefinerAtom();
}
}
setState(2388);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==COMMA );
setState(2390);
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(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterSubpartitionDefinition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitSubpartitionDefinition(this);
}
}
public final SubpartitionDefinitionContext subpartitionDefinition() throws RecognitionException {
SubpartitionDefinitionContext _localctx = new SubpartitionDefinitionContext(_ctx, getState());
enterRule(_localctx, 130, RULE_subpartitionDefinition);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2392);
match(SUBPARTITION);
setState(2393);
uid();
setState(2397);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DEFAULT || _la==INDEX || ((((_la - 368)) & ~0x3f) == 0 && ((1L << (_la - 368)) & ((1L << (COMMENT - 368)) | (1L << (DATA - 368)) | (1L << (ENGINE - 368)))) != 0) || ((((_la - 501)) & ~0x3f) == 0 && ((1L << (_la - 501)) & ((1L << (MAX_ROWS - 501)) | (1L << (MIN_ROWS - 501)) | (1L << (NODEGROUP - 501)))) != 0) || _la==STORAGE || _la==TABLESPACE) {
{
{
setState(2394);
partitionOption();
}
}
setState(2399);
_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(MariaDBParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public PartitionOptionCommentContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterPartitionOptionComment(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPartitionOptionComment(this);
}
}
public static class PartitionOptionNodeGroupContext extends PartitionOptionContext {
public UidContext nodegroup;
public TerminalNode NODEGROUP() { return getToken(MariaDBParser.NODEGROUP, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public PartitionOptionNodeGroupContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterPartitionOptionNodeGroup(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPartitionOptionNodeGroup(this);
}
}
public static class PartitionOptionIndexDirectoryContext extends PartitionOptionContext {
public Token indexDirectory;
public TerminalNode INDEX() { return getToken(MariaDBParser.INDEX, 0); }
public TerminalNode DIRECTORY() { return getToken(MariaDBParser.DIRECTORY, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public PartitionOptionIndexDirectoryContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterPartitionOptionIndexDirectory(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPartitionOptionIndexDirectory(this);
}
}
public static class PartitionOptionMaxRowsContext extends PartitionOptionContext {
public DecimalLiteralContext maxRows;
public TerminalNode MAX_ROWS() { return getToken(MariaDBParser.MAX_ROWS, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public PartitionOptionMaxRowsContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterPartitionOptionMaxRows(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPartitionOptionMaxRows(this);
}
}
public static class PartitionOptionTablespaceContext extends PartitionOptionContext {
public UidContext tablespace;
public TerminalNode TABLESPACE() { return getToken(MariaDBParser.TABLESPACE, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public PartitionOptionTablespaceContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterPartitionOptionTablespace(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPartitionOptionTablespace(this);
}
}
public static class PartitionOptionEngineContext extends PartitionOptionContext {
public TerminalNode ENGINE() { return getToken(MariaDBParser.ENGINE, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public TerminalNode DEFAULT() { return getToken(MariaDBParser.DEFAULT, 0); }
public TerminalNode STORAGE() { return getToken(MariaDBParser.STORAGE, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public PartitionOptionEngineContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterPartitionOptionEngine(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPartitionOptionEngine(this);
}
}
public static class PartitionOptionMinRowsContext extends PartitionOptionContext {
public DecimalLiteralContext minRows;
public TerminalNode MIN_ROWS() { return getToken(MariaDBParser.MIN_ROWS, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public PartitionOptionMinRowsContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterPartitionOptionMinRows(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPartitionOptionMinRows(this);
}
}
public static class PartitionOptionDataDirectoryContext extends PartitionOptionContext {
public Token dataDirectory;
public TerminalNode DATA() { return getToken(MariaDBParser.DATA, 0); }
public TerminalNode DIRECTORY() { return getToken(MariaDBParser.DIRECTORY, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public PartitionOptionDataDirectoryContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterPartitionOptionDataDirectory(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitPartitionOptionDataDirectory(this);
}
}
public final PartitionOptionContext partitionOption() throws RecognitionException {
PartitionOptionContext _localctx = new PartitionOptionContext(_ctx, getState());
enterRule(_localctx, 132, RULE_partitionOption);
int _la;
try {
setState(2448);
_errHandler.sync(this);
switch (_input.LA(1)) {
case DEFAULT:
case ENGINE:
case STORAGE:
_localctx = new PartitionOptionEngineContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(2401);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
setState(2400);
match(DEFAULT);
}
}
setState(2404);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==STORAGE) {
{
setState(2403);
match(STORAGE);
}
}
setState(2406);
match(ENGINE);
setState(2408);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2407);
match(EQUAL_SYMBOL);
}
}
setState(2410);
engineName();
}
break;
case COMMENT:
_localctx = new PartitionOptionCommentContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(2411);
match(COMMENT);
setState(2413);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2412);
match(EQUAL_SYMBOL);
}
}
setState(2415);
((PartitionOptionCommentContext)_localctx).comment = match(STRING_LITERAL);
}
break;
case DATA:
_localctx = new PartitionOptionDataDirectoryContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(2416);
match(DATA);
setState(2417);
match(DIRECTORY);
setState(2419);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2418);
match(EQUAL_SYMBOL);
}
}
setState(2421);
((PartitionOptionDataDirectoryContext)_localctx).dataDirectory = match(STRING_LITERAL);
}
break;
case INDEX:
_localctx = new PartitionOptionIndexDirectoryContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(2422);
match(INDEX);
setState(2423);
match(DIRECTORY);
setState(2425);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2424);
match(EQUAL_SYMBOL);
}
}
setState(2427);
((PartitionOptionIndexDirectoryContext)_localctx).indexDirectory = match(STRING_LITERAL);
}
break;
case MAX_ROWS:
_localctx = new PartitionOptionMaxRowsContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(2428);
match(MAX_ROWS);
setState(2430);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2429);
match(EQUAL_SYMBOL);
}
}
setState(2432);
((PartitionOptionMaxRowsContext)_localctx).maxRows = decimalLiteral();
}
break;
case MIN_ROWS:
_localctx = new PartitionOptionMinRowsContext(_localctx);
enterOuterAlt(_localctx, 6);
{
setState(2433);
match(MIN_ROWS);
setState(2435);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2434);
match(EQUAL_SYMBOL);
}
}
setState(2437);
((PartitionOptionMinRowsContext)_localctx).minRows = decimalLiteral();
}
break;
case TABLESPACE:
_localctx = new PartitionOptionTablespaceContext(_localctx);
enterOuterAlt(_localctx, 7);
{
setState(2438);
match(TABLESPACE);
setState(2440);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2439);
match(EQUAL_SYMBOL);
}
}
setState(2442);
((PartitionOptionTablespaceContext)_localctx).tablespace = uid();
}
break;
case NODEGROUP:
_localctx = new PartitionOptionNodeGroupContext(_localctx);
enterOuterAlt(_localctx, 8);
{
setState(2443);
match(NODEGROUP);
setState(2445);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2444);
match(EQUAL_SYMBOL);
}
}
setState(2447);
((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(MariaDBParser.ALTER, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode UPGRADE() { return getToken(MariaDBParser.UPGRADE, 0); }
public TerminalNode DATA() { return getToken(MariaDBParser.DATA, 0); }
public TerminalNode DIRECTORY() { return getToken(MariaDBParser.DIRECTORY, 0); }
public TerminalNode NAME() { return getToken(MariaDBParser.NAME, 0); }
public TerminalNode DATABASE() { return getToken(MariaDBParser.DATABASE, 0); }
public TerminalNode SCHEMA() { return getToken(MariaDBParser.SCHEMA, 0); }
public AlterUpgradeNameContext(AlterDatabaseContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterUpgradeName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterUpgradeName(this);
}
}
public static class AlterSimpleDatabaseContext extends AlterDatabaseContext {
public Token dbFormat;
public TerminalNode ALTER() { return getToken(MariaDBParser.ALTER, 0); }
public TerminalNode DATABASE() { return getToken(MariaDBParser.DATABASE, 0); }
public TerminalNode SCHEMA() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterSimpleDatabase(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterSimpleDatabase(this);
}
}
public final AlterDatabaseContext alterDatabase() throws RecognitionException {
AlterDatabaseContext _localctx = new AlterDatabaseContext(_ctx, getState());
enterRule(_localctx, 134, RULE_alterDatabase);
int _la;
try {
setState(2468);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,299,_ctx) ) {
case 1:
_localctx = new AlterSimpleDatabaseContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(2450);
match(ALTER);
setState(2451);
((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(2453);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,297,_ctx) ) {
case 1:
{
setState(2452);
uid();
}
break;
}
setState(2456);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(2455);
createDatabaseOption();
}
}
setState(2458);
_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(2460);
match(ALTER);
setState(2461);
((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(2462);
uid();
setState(2463);
match(UPGRADE);
setState(2464);
match(DATA);
setState(2465);
match(DIRECTORY);
setState(2466);
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(MariaDBParser.ALTER, 0); }
public TerminalNode EVENT() { return getToken(MariaDBParser.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(MariaDBParser.ON); }
public TerminalNode ON(int i) {
return getToken(MariaDBParser.ON, i);
}
public TerminalNode SCHEDULE() { return getToken(MariaDBParser.SCHEDULE, 0); }
public ScheduleExpressionContext scheduleExpression() {
return getRuleContext(ScheduleExpressionContext.class,0);
}
public TerminalNode COMPLETION() { return getToken(MariaDBParser.COMPLETION, 0); }
public TerminalNode PRESERVE() { return getToken(MariaDBParser.PRESERVE, 0); }
public TerminalNode RENAME() { return getToken(MariaDBParser.RENAME, 0); }
public TerminalNode TO() { return getToken(MariaDBParser.TO, 0); }
public EnableTypeContext enableType() {
return getRuleContext(EnableTypeContext.class,0);
}
public TerminalNode COMMENT() { return getToken(MariaDBParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode DO() { return getToken(MariaDBParser.DO, 0); }
public RoutineBodyContext routineBody() {
return getRuleContext(RoutineBodyContext.class,0);
}
public TerminalNode NOT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterEvent(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterEvent(this);
}
}
public final AlterEventContext alterEvent() throws RecognitionException {
AlterEventContext _localctx = new AlterEventContext(_ctx, getState());
enterRule(_localctx, 136, RULE_alterEvent);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2470);
match(ALTER);
setState(2472);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(2471);
ownerStatement();
}
}
setState(2474);
match(EVENT);
setState(2475);
fullId();
setState(2479);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,301,_ctx) ) {
case 1:
{
setState(2476);
match(ON);
setState(2477);
match(SCHEDULE);
setState(2478);
scheduleExpression();
}
break;
}
setState(2487);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ON) {
{
setState(2481);
match(ON);
setState(2482);
match(COMPLETION);
setState(2484);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOT) {
{
setState(2483);
match(NOT);
}
}
setState(2486);
match(PRESERVE);
}
}
setState(2492);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,304,_ctx) ) {
case 1:
{
setState(2489);
match(RENAME);
setState(2490);
match(TO);
setState(2491);
fullId();
}
break;
}
setState(2495);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DISABLE || _la==ENABLE) {
{
setState(2494);
enableType();
}
}
setState(2499);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMENT) {
{
setState(2497);
match(COMMENT);
setState(2498);
match(STRING_LITERAL);
}
}
setState(2503);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,307,_ctx) ) {
case 1:
{
setState(2501);
match(DO);
setState(2502);
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(MariaDBParser.ALTER, 0); }
public TerminalNode FUNCTION() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterFunction(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterFunction(this);
}
}
public final AlterFunctionContext alterFunction() throws RecognitionException {
AlterFunctionContext _localctx = new AlterFunctionContext(_ctx, getState());
enterRule(_localctx, 138, RULE_alterFunction);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2505);
match(ALTER);
setState(2506);
match(FUNCTION);
setState(2507);
fullId();
setState(2511);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DETERMINISTIC || ((((_la - 112)) & ~0x3f) == 0 && ((1L << (_la - 112)) & ((1L << (MODIFIES - 112)) | (1L << (NOT - 112)) | (1L << (READS - 112)) | (1L << (SQL - 112)))) != 0) || _la==COMMENT || _la==CONTAINS || _la==LANGUAGE || _la==NO) {
{
{
setState(2508);
routineOption();
}
}
setState(2513);
_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(MariaDBParser.ALTER, 0); }
public TerminalNode INSTANCE() { return getToken(MariaDBParser.INSTANCE, 0); }
public TerminalNode ROTATE() { return getToken(MariaDBParser.ROTATE, 0); }
public TerminalNode INNODB() { return getToken(MariaDBParser.INNODB, 0); }
public TerminalNode MASTER() { return getToken(MariaDBParser.MASTER, 0); }
public TerminalNode KEY() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterInstance(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterInstance(this);
}
}
public final AlterInstanceContext alterInstance() throws RecognitionException {
AlterInstanceContext _localctx = new AlterInstanceContext(_ctx, getState());
enterRule(_localctx, 140, RULE_alterInstance);
try {
enterOuterAlt(_localctx, 1);
{
setState(2514);
match(ALTER);
setState(2515);
match(INSTANCE);
setState(2516);
match(ROTATE);
setState(2517);
match(INNODB);
setState(2518);
match(MASTER);
setState(2519);
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(MariaDBParser.ALTER, 0); }
public TerminalNode LOGFILE() { return getToken(MariaDBParser.LOGFILE, 0); }
public TerminalNode GROUP() { return getToken(MariaDBParser.GROUP, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode ADD() { return getToken(MariaDBParser.ADD, 0); }
public TerminalNode UNDOFILE() { return getToken(MariaDBParser.UNDOFILE, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode ENGINE() { return getToken(MariaDBParser.ENGINE, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public TerminalNode INITIAL_SIZE() { return getToken(MariaDBParser.INITIAL_SIZE, 0); }
public FileSizeLiteralContext fileSizeLiteral() {
return getRuleContext(FileSizeLiteralContext.class,0);
}
public TerminalNode WAIT() { return getToken(MariaDBParser.WAIT, 0); }
public List EQUAL_SYMBOL() { return getTokens(MariaDBParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterLogfileGroup(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterLogfileGroup(this);
}
}
public final AlterLogfileGroupContext alterLogfileGroup() throws RecognitionException {
AlterLogfileGroupContext _localctx = new AlterLogfileGroupContext(_ctx, getState());
enterRule(_localctx, 142, RULE_alterLogfileGroup);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2521);
match(ALTER);
setState(2522);
match(LOGFILE);
setState(2523);
match(GROUP);
setState(2524);
uid();
setState(2525);
match(ADD);
setState(2526);
match(UNDOFILE);
setState(2527);
match(STRING_LITERAL);
setState(2533);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INITIAL_SIZE) {
{
setState(2528);
match(INITIAL_SIZE);
setState(2530);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2529);
match(EQUAL_SYMBOL);
}
}
setState(2532);
fileSizeLiteral();
}
}
setState(2536);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WAIT) {
{
setState(2535);
match(WAIT);
}
}
setState(2538);
match(ENGINE);
setState(2540);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2539);
match(EQUAL_SYMBOL);
}
}
setState(2542);
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(MariaDBParser.ALTER, 0); }
public TerminalNode PROCEDURE() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterProcedure(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterProcedure(this);
}
}
public final AlterProcedureContext alterProcedure() throws RecognitionException {
AlterProcedureContext _localctx = new AlterProcedureContext(_ctx, getState());
enterRule(_localctx, 144, RULE_alterProcedure);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2544);
match(ALTER);
setState(2545);
match(PROCEDURE);
setState(2546);
fullId();
setState(2550);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DETERMINISTIC || ((((_la - 112)) & ~0x3f) == 0 && ((1L << (_la - 112)) & ((1L << (MODIFIES - 112)) | (1L << (NOT - 112)) | (1L << (READS - 112)) | (1L << (SQL - 112)))) != 0) || _la==COMMENT || _la==CONTAINS || _la==LANGUAGE || _la==NO) {
{
{
setState(2547);
routineOption();
}
}
setState(2552);
_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(MariaDBParser.ALTER, 0); }
public TerminalNode SERVER() { return getToken(MariaDBParser.SERVER, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode OPTIONS() { return getToken(MariaDBParser.OPTIONS, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.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(MariaDBParser.RR_BRACKET, 0); }
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterServer(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterServer(this);
}
}
public final AlterServerContext alterServer() throws RecognitionException {
AlterServerContext _localctx = new AlterServerContext(_ctx, getState());
enterRule(_localctx, 146, RULE_alterServer);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2553);
match(ALTER);
setState(2554);
match(SERVER);
setState(2555);
uid();
setState(2556);
match(OPTIONS);
setState(2557);
match(LR_BRACKET);
setState(2558);
serverOption();
setState(2563);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2559);
match(COMMA);
setState(2560);
serverOption();
}
}
setState(2565);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2566);
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(MariaDBParser.ALTER, 0); }
public TerminalNode TABLE() { return getToken(MariaDBParser.TABLE, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode IGNORE() { return getToken(MariaDBParser.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(MariaDBParser.ONLINE, 0); }
public TerminalNode OFFLINE() { return getToken(MariaDBParser.OFFLINE, 0); }
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterTable(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterTable(this);
}
}
public final AlterTableContext alterTable() throws RecognitionException {
AlterTableContext _localctx = new AlterTableContext(_ctx, getState());
enterRule(_localctx, 148, RULE_alterTable);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2568);
match(ALTER);
setState(2570);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OFFLINE || _la==ONLINE) {
{
setState(2569);
((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(2573);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE) {
{
setState(2572);
match(IGNORE);
}
}
setState(2575);
match(TABLE);
setState(2577);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,317,_ctx) ) {
case 1:
{
setState(2576);
ifExists();
}
break;
}
setState(2579);
tableName();
setState(2581);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOWAIT || _la==WAIT) {
{
setState(2580);
waitNowaitClause();
}
}
setState(2591);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,320,_ctx) ) {
case 1:
{
setState(2583);
alterSpecification();
setState(2588);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2584);
match(COMMA);
setState(2585);
alterSpecification();
}
}
setState(2590);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
}
setState(2594);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITION) {
{
setState(2593);
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(MariaDBParser.ALTER, 0); }
public TerminalNode TABLESPACE() { return getToken(MariaDBParser.TABLESPACE, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode DATAFILE() { return getToken(MariaDBParser.DATAFILE, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode ENGINE() { return getToken(MariaDBParser.ENGINE, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public TerminalNode ADD() { return getToken(MariaDBParser.ADD, 0); }
public TerminalNode DROP() { return getToken(MariaDBParser.DROP, 0); }
public TerminalNode INITIAL_SIZE() { return getToken(MariaDBParser.INITIAL_SIZE, 0); }
public List EQUAL_SYMBOL() { return getTokens(MariaDBParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(MariaDBParser.EQUAL_SYMBOL, i);
}
public FileSizeLiteralContext fileSizeLiteral() {
return getRuleContext(FileSizeLiteralContext.class,0);
}
public TerminalNode WAIT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterTablespace(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterTablespace(this);
}
}
public final AlterTablespaceContext alterTablespace() throws RecognitionException {
AlterTablespaceContext _localctx = new AlterTablespaceContext(_ctx, getState());
enterRule(_localctx, 150, RULE_alterTablespace);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2596);
match(ALTER);
setState(2597);
match(TABLESPACE);
setState(2598);
uid();
setState(2599);
((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(2600);
match(DATAFILE);
setState(2601);
match(STRING_LITERAL);
setState(2605);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INITIAL_SIZE) {
{
setState(2602);
match(INITIAL_SIZE);
setState(2603);
match(EQUAL_SYMBOL);
setState(2604);
fileSizeLiteral();
}
}
setState(2608);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WAIT) {
{
setState(2607);
match(WAIT);
}
}
setState(2610);
match(ENGINE);
setState(2612);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2611);
match(EQUAL_SYMBOL);
}
}
setState(2614);
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(MariaDBParser.ALTER, 0); }
public TerminalNode VIEW() { return getToken(MariaDBParser.VIEW, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public TerminalNode AS() { return getToken(MariaDBParser.AS, 0); }
public SelectStatementContext selectStatement() {
return getRuleContext(SelectStatementContext.class,0);
}
public TerminalNode ALGORITHM() { return getToken(MariaDBParser.ALGORITHM, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public OwnerStatementContext ownerStatement() {
return getRuleContext(OwnerStatementContext.class,0);
}
public TerminalNode SQL() { return getToken(MariaDBParser.SQL, 0); }
public TerminalNode SECURITY() { return getToken(MariaDBParser.SECURITY, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode WITH() { return getToken(MariaDBParser.WITH, 0); }
public TerminalNode CHECK() { return getToken(MariaDBParser.CHECK, 0); }
public TerminalNode OPTION() { return getToken(MariaDBParser.OPTION, 0); }
public TerminalNode UNDEFINED() { return getToken(MariaDBParser.UNDEFINED, 0); }
public TerminalNode MERGE() { return getToken(MariaDBParser.MERGE, 0); }
public TerminalNode TEMPTABLE() { return getToken(MariaDBParser.TEMPTABLE, 0); }
public TerminalNode DEFINER() { return getToken(MariaDBParser.DEFINER, 0); }
public TerminalNode INVOKER() { return getToken(MariaDBParser.INVOKER, 0); }
public TerminalNode CASCADED() { return getToken(MariaDBParser.CASCADED, 0); }
public TerminalNode LOCAL() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterView(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterView(this);
}
}
public final AlterViewContext alterView() throws RecognitionException {
AlterViewContext _localctx = new AlterViewContext(_ctx, getState());
enterRule(_localctx, 152, RULE_alterView);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2616);
match(ALTER);
setState(2620);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ALGORITHM) {
{
setState(2617);
match(ALGORITHM);
setState(2618);
match(EQUAL_SYMBOL);
setState(2619);
((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(2623);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(2622);
ownerStatement();
}
}
setState(2628);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==SQL) {
{
setState(2625);
match(SQL);
setState(2626);
match(SECURITY);
setState(2627);
((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(2630);
match(VIEW);
setState(2631);
fullId();
setState(2636);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(2632);
match(LR_BRACKET);
setState(2633);
uidList();
setState(2634);
match(RR_BRACKET);
}
}
setState(2638);
match(AS);
setState(2639);
selectStatement();
setState(2646);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WITH) {
{
setState(2640);
match(WITH);
setState(2642);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CASCADED || _la==LOCAL) {
{
setState(2641);
((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(2644);
match(CHECK);
setState(2645);
match(OPTION);
}
}
}
}
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(MariaDBParser.ALTER, 0); }
public TerminalNode SEQUENCE() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterSequence(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterSequence(this);
}
}
public final AlterSequenceContext alterSequence() throws RecognitionException {
AlterSequenceContext _localctx = new AlterSequenceContext(_ctx, getState());
enterRule(_localctx, 154, RULE_alterSequence);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(2648);
match(ALTER);
setState(2649);
match(SEQUENCE);
setState(2651);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,331,_ctx) ) {
case 1:
{
setState(2650);
ifExists();
}
break;
}
setState(2653);
fullId();
setState(2655);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
{
setState(2654);
sequenceSpec();
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(2657);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,332,_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 AlterByDisableKeysContext extends AlterSpecificationContext {
public TerminalNode DISABLE() { return getToken(MariaDBParser.DISABLE, 0); }
public TerminalNode KEYS() { return getToken(MariaDBParser.KEYS, 0); }
public AlterByDisableKeysContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByDisableKeys(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByDisableKeys(this);
}
}
public static class AlterByDefaultCharsetContext extends AlterSpecificationContext {
public TerminalNode CHARACTER() { return getToken(MariaDBParser.CHARACTER, 0); }
public TerminalNode SET() { return getToken(MariaDBParser.SET, 0); }
public List EQUAL_SYMBOL() { return getTokens(MariaDBParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(MariaDBParser.EQUAL_SYMBOL, i);
}
public CharsetNameContext charsetName() {
return getRuleContext(CharsetNameContext.class,0);
}
public TerminalNode DEFAULT() { return getToken(MariaDBParser.DEFAULT, 0); }
public TerminalNode COLLATE() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByDefaultCharset(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByDefaultCharset(this);
}
}
public static class AlterByRenameColumnContext extends AlterSpecificationContext {
public UidContext oldColumn;
public UidContext newColumn;
public TerminalNode RENAME() { return getToken(MariaDBParser.RENAME, 0); }
public TerminalNode COLUMN() { return getToken(MariaDBParser.COLUMN, 0); }
public TerminalNode TO() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByRenameColumn(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByRenameColumn(this);
}
}
public static class AlterByConvertCharsetContext extends AlterSpecificationContext {
public TerminalNode CONVERT() { return getToken(MariaDBParser.CONVERT, 0); }
public TerminalNode TO() { return getToken(MariaDBParser.TO, 0); }
public TerminalNode CHARACTER() { return getToken(MariaDBParser.CHARACTER, 0); }
public TerminalNode SET() { return getToken(MariaDBParser.SET, 0); }
public CharsetNameContext charsetName() {
return getRuleContext(CharsetNameContext.class,0);
}
public TerminalNode COLLATE() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByConvertCharset(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByConvertCharset(this);
}
}
public static class AlterByAddForeignKeyContext extends AlterSpecificationContext {
public UidContext name;
public UidContext indexName;
public TerminalNode ADD() { return getToken(MariaDBParser.ADD, 0); }
public TerminalNode FOREIGN() { return getToken(MariaDBParser.FOREIGN, 0); }
public TerminalNode KEY() { return getToken(MariaDBParser.KEY, 0); }
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public ReferenceDefinitionContext referenceDefinition() {
return getRuleContext(ReferenceDefinitionContext.class,0);
}
public TerminalNode CONSTRAINT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByAddForeignKey(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByAddForeignKey(this);
}
}
public static class AlterByRenameIndexContext extends AlterSpecificationContext {
public Token indexFormat;
public TerminalNode RENAME() { return getToken(MariaDBParser.RENAME, 0); }
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public TerminalNode TO() { return getToken(MariaDBParser.TO, 0); }
public TerminalNode INDEX() { return getToken(MariaDBParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(MariaDBParser.KEY, 0); }
public AlterByRenameIndexContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByRenameIndex(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByRenameIndex(this);
}
}
public static class AlterByRenameContext extends AlterSpecificationContext {
public Token renameFormat;
public TerminalNode RENAME() { return getToken(MariaDBParser.RENAME, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public TerminalNode TO() { return getToken(MariaDBParser.TO, 0); }
public TerminalNode AS() { return getToken(MariaDBParser.AS, 0); }
public AlterByRenameContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByRename(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByRename(this);
}
}
public static class AlterByImportTablespaceContext extends AlterSpecificationContext {
public TerminalNode IMPORT() { return getToken(MariaDBParser.IMPORT, 0); }
public TerminalNode TABLESPACE() { return getToken(MariaDBParser.TABLESPACE, 0); }
public AlterByImportTablespaceContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByImportTablespace(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByImportTablespace(this);
}
}
public static class AlterByAddDefinitionsContext extends AlterSpecificationContext {
public TerminalNode ADD() { return getToken(MariaDBParser.ADD, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.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(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode COLUMN() { return getToken(MariaDBParser.COLUMN, 0); }
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.COMMA, i);
}
public AlterByAddDefinitionsContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByAddDefinitions(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByAddDefinitions(this);
}
}
public static class AlterByDropConstraintCheckContext extends AlterSpecificationContext {
public TerminalNode DROP() { return getToken(MariaDBParser.DROP, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode CONSTRAINT() { return getToken(MariaDBParser.CONSTRAINT, 0); }
public TerminalNode CHECK() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByDropConstraintCheck(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByDropConstraintCheck(this);
}
}
public static class AlterByAddColumnsContext extends AlterSpecificationContext {
public TerminalNode ADD() { return getToken(MariaDBParser.ADD, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.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(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode COLUMN() { return getToken(MariaDBParser.COLUMN, 0); }
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.COMMA, i);
}
public AlterByAddColumnsContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByAddColumns(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByAddColumns(this);
}
}
public static class AlterByAlterIndexVisibilityContext extends AlterSpecificationContext {
public TerminalNode ALTER() { return getToken(MariaDBParser.ALTER, 0); }
public TerminalNode INDEX() { return getToken(MariaDBParser.INDEX, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode VISIBLE() { return getToken(MariaDBParser.VISIBLE, 0); }
public TerminalNode INVISIBLE() { return getToken(MariaDBParser.INVISIBLE, 0); }
public AlterByAlterIndexVisibilityContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByAlterIndexVisibility(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByAlterIndexVisibility(this);
}
}
public static class AlterByDropForeignKeyContext extends AlterSpecificationContext {
public TerminalNode DROP() { return getToken(MariaDBParser.DROP, 0); }
public TerminalNode FOREIGN() { return getToken(MariaDBParser.FOREIGN, 0); }
public TerminalNode KEY() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByDropForeignKey(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByDropForeignKey(this);
}
}
public static class AlterByAddCheckTableConstraintContext extends AlterSpecificationContext {
public UidContext name;
public TerminalNode ADD() { return getToken(MariaDBParser.ADD, 0); }
public TerminalNode CHECK() { return getToken(MariaDBParser.CHECK, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode CONSTRAINT() { return getToken(MariaDBParser.CONSTRAINT, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public AlterByAddCheckTableConstraintContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByAddCheckTableConstraint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterPartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterPartition(this);
}
}
public static class AlterByAddIndexContext extends AlterSpecificationContext {
public Token indexFormat;
public TerminalNode ADD() { return getToken(MariaDBParser.ADD, 0); }
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode INDEX() { return getToken(MariaDBParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByAddIndex(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByAddIndex(this);
}
}
public static class AlterByDropColumnContext extends AlterSpecificationContext {
public TerminalNode DROP() { return getToken(MariaDBParser.DROP, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode COLUMN() { return getToken(MariaDBParser.COLUMN, 0); }
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public TerminalNode RESTRICT() { return getToken(MariaDBParser.RESTRICT, 0); }
public AlterByDropColumnContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByDropColumn(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByDropColumn(this);
}
}
public static class AlterByChangeDefaultContext extends AlterSpecificationContext {
public TerminalNode ALTER() { return getToken(MariaDBParser.ALTER, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode SET() { return getToken(MariaDBParser.SET, 0); }
public TerminalNode DEFAULT() { return getToken(MariaDBParser.DEFAULT, 0); }
public DefaultValueContext defaultValue() {
return getRuleContext(DefaultValueContext.class,0);
}
public TerminalNode DROP() { return getToken(MariaDBParser.DROP, 0); }
public TerminalNode COLUMN() { return getToken(MariaDBParser.COLUMN, 0); }
public AlterByChangeDefaultContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByChangeDefault(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByChangeDefault(this);
}
}
public static class AlterByForceContext extends AlterSpecificationContext {
public TerminalNode FORCE() { return getToken(MariaDBParser.FORCE, 0); }
public AlterByForceContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByForce(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByForce(this);
}
}
public static class AlterByAddSpecialIndexContext extends AlterSpecificationContext {
public Token keyType;
public Token indexFormat;
public TerminalNode ADD() { return getToken(MariaDBParser.ADD, 0); }
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode FULLTEXT() { return getToken(MariaDBParser.FULLTEXT, 0); }
public TerminalNode SPATIAL() { return getToken(MariaDBParser.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(MariaDBParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(MariaDBParser.KEY, 0); }
public AlterByAddSpecialIndexContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByAddSpecialIndex(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByAddSpecialIndex(this);
}
}
public static class AlterByModifyColumnContext extends AlterSpecificationContext {
public TerminalNode MODIFY() { return getToken(MariaDBParser.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(MariaDBParser.COLUMN, 0); }
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public TerminalNode FIRST() { return getToken(MariaDBParser.FIRST, 0); }
public TerminalNode AFTER() { return getToken(MariaDBParser.AFTER, 0); }
public AlterByModifyColumnContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByModifyColumn(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.COMMA, i);
}
public AlterByTableOptionContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByTableOption(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByTableOption(this);
}
}
public static class AlterByDropPrimaryKeyContext extends AlterSpecificationContext {
public TerminalNode DROP() { return getToken(MariaDBParser.DROP, 0); }
public TerminalNode PRIMARY() { return getToken(MariaDBParser.PRIMARY, 0); }
public TerminalNode KEY() { return getToken(MariaDBParser.KEY, 0); }
public AlterByDropPrimaryKeyContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByDropPrimaryKey(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByDropPrimaryKey(this);
}
}
public static class AlterByLockContext extends AlterSpecificationContext {
public Token lockType;
public TerminalNode LOCK() { return getToken(MariaDBParser.LOCK, 0); }
public TerminalNode DEFAULT() { return getToken(MariaDBParser.DEFAULT, 0); }
public TerminalNode NONE() { return getToken(MariaDBParser.NONE, 0); }
public TerminalNode SHARED() { return getToken(MariaDBParser.SHARED, 0); }
public TerminalNode EXCLUSIVE() { return getToken(MariaDBParser.EXCLUSIVE, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public AlterByLockContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByLock(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByLock(this);
}
}
public static class AlterByDiscardTablespaceContext extends AlterSpecificationContext {
public TerminalNode DISCARD() { return getToken(MariaDBParser.DISCARD, 0); }
public TerminalNode TABLESPACE() { return getToken(MariaDBParser.TABLESPACE, 0); }
public AlterByDiscardTablespaceContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByDiscardTablespace(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByDiscardTablespace(this);
}
}
public static class AlterByValidateContext extends AlterSpecificationContext {
public Token validationFormat;
public TerminalNode VALIDATION() { return getToken(MariaDBParser.VALIDATION, 0); }
public TerminalNode WITHOUT() { return getToken(MariaDBParser.WITHOUT, 0); }
public TerminalNode WITH() { return getToken(MariaDBParser.WITH, 0); }
public AlterByValidateContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByValidate(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByValidate(this);
}
}
public static class AlterByAddPrimaryKeyContext extends AlterSpecificationContext {
public UidContext name;
public UidContext index;
public TerminalNode ADD() { return getToken(MariaDBParser.ADD, 0); }
public TerminalNode PRIMARY() { return getToken(MariaDBParser.PRIMARY, 0); }
public TerminalNode KEY() { return getToken(MariaDBParser.KEY, 0); }
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode CONSTRAINT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByAddPrimaryKey(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByAddPrimaryKey(this);
}
}
public static class AlterByEnableKeysContext extends AlterSpecificationContext {
public TerminalNode ENABLE() { return getToken(MariaDBParser.ENABLE, 0); }
public TerminalNode KEYS() { return getToken(MariaDBParser.KEYS, 0); }
public AlterByEnableKeysContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByEnableKeys(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByEnableKeys(this);
}
}
public static class AlterBySetAlgorithmContext extends AlterSpecificationContext {
public Token algType;
public TerminalNode ALGORITHM() { return getToken(MariaDBParser.ALGORITHM, 0); }
public TerminalNode DEFAULT() { return getToken(MariaDBParser.DEFAULT, 0); }
public TerminalNode INSTANT() { return getToken(MariaDBParser.INSTANT, 0); }
public TerminalNode INPLACE() { return getToken(MariaDBParser.INPLACE, 0); }
public TerminalNode COPY() { return getToken(MariaDBParser.COPY, 0); }
public TerminalNode NOCOPY() { return getToken(MariaDBParser.NOCOPY, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.EQUAL_SYMBOL, 0); }
public AlterBySetAlgorithmContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterBySetAlgorithm(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterBySetAlgorithm(this);
}
}
public static class AlterByChangeColumnContext extends AlterSpecificationContext {
public UidContext oldColumn;
public UidContext newColumn;
public UidContext afterColumn;
public TerminalNode CHANGE() { return getToken(MariaDBParser.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(MariaDBParser.COLUMN, 0); }
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public TerminalNode FIRST() { return getToken(MariaDBParser.FIRST, 0); }
public TerminalNode AFTER() { return getToken(MariaDBParser.AFTER, 0); }
public AlterByChangeColumnContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByChangeColumn(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByChangeColumn(this);
}
}
public static class AlterByAddUniqueKeyContext extends AlterSpecificationContext {
public UidContext name;
public Token indexFormat;
public UidContext indexName;
public TerminalNode ADD() { return getToken(MariaDBParser.ADD, 0); }
public TerminalNode UNIQUE() { return getToken(MariaDBParser.UNIQUE, 0); }
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode CONSTRAINT() { return getToken(MariaDBParser.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(MariaDBParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(MariaDBParser.KEY, 0); }
public AlterByAddUniqueKeyContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByAddUniqueKey(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByAddUniqueKey(this);
}
}
public static class AlterByDropIndexContext extends AlterSpecificationContext {
public Token indexFormat;
public TerminalNode DROP() { return getToken(MariaDBParser.DROP, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode INDEX() { return getToken(MariaDBParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByDropIndex(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByDropIndex(this);
}
}
public static class AlterByAddColumnContext extends AlterSpecificationContext {
public TerminalNode ADD() { return getToken(MariaDBParser.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(MariaDBParser.COLUMN, 0); }
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public TerminalNode FIRST() { return getToken(MariaDBParser.FIRST, 0); }
public TerminalNode AFTER() { return getToken(MariaDBParser.AFTER, 0); }
public AlterByAddColumnContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByAddColumn(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByAddColumn(this);
}
}
public static class AlterByOrderContext extends AlterSpecificationContext {
public TerminalNode ORDER() { return getToken(MariaDBParser.ORDER, 0); }
public TerminalNode BY() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByOrder(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByOrder(this);
}
}
public final AlterSpecificationContext alterSpecification() throws RecognitionException {
AlterSpecificationContext _localctx = new AlterSpecificationContext(_ctx, getState());
enterRule(_localctx, 156, RULE_alterSpecification);
int _la;
try {
int _alt;
setState(2982);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,391,_ctx) ) {
case 1:
_localctx = new AlterByTableOptionContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(2659);
tableOption();
setState(2666);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,334,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(2661);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2660);
match(COMMA);
}
}
setState(2663);
tableOption();
}
}
}
setState(2668);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,334,_ctx);
}
}
break;
case 2:
_localctx = new AlterByAddColumnContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(2669);
match(ADD);
setState(2671);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLUMN) {
{
setState(2670);
match(COLUMN);
}
}
setState(2674);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,336,_ctx) ) {
case 1:
{
setState(2673);
ifNotExists();
}
break;
}
setState(2676);
uid();
setState(2677);
columnDefinition();
setState(2681);
_errHandler.sync(this);
switch (_input.LA(1)) {
case FIRST:
{
setState(2678);
match(FIRST);
}
break;
case AFTER:
{
setState(2679);
match(AFTER);
setState(2680);
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 UNLOCK:
case UPDATE:
case USE:
case VALUES:
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(2683);
match(ADD);
setState(2685);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLUMN) {
{
setState(2684);
match(COLUMN);
}
}
setState(2688);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(2687);
ifNotExists();
}
}
setState(2690);
match(LR_BRACKET);
setState(2691);
uid();
setState(2692);
columnDefinition();
setState(2699);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2693);
match(COMMA);
setState(2694);
uid();
setState(2695);
columnDefinition();
}
}
setState(2701);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2702);
match(RR_BRACKET);
}
break;
case 4:
_localctx = new AlterByAddIndexContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(2704);
match(ADD);
setState(2705);
((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(2707);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,341,_ctx) ) {
case 1:
{
setState(2706);
ifNotExists();
}
break;
}
setState(2710);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(2709);
uid();
}
}
setState(2713);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==USING) {
{
setState(2712);
indexType();
}
}
setState(2715);
indexColumnNames();
setState(2719);
_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(2716);
indexOption();
}
}
setState(2721);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case 5:
_localctx = new AlterByAddPrimaryKeyContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(2722);
match(ADD);
setState(2727);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(2723);
match(CONSTRAINT);
setState(2725);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,345,_ctx) ) {
case 1:
{
setState(2724);
((AlterByAddPrimaryKeyContext)_localctx).name = uid();
}
break;
}
}
}
setState(2729);
match(PRIMARY);
setState(2730);
match(KEY);
setState(2732);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(2731);
((AlterByAddPrimaryKeyContext)_localctx).index = uid();
}
}
setState(2735);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==USING) {
{
setState(2734);
indexType();
}
}
setState(2737);
indexColumnNames();
setState(2741);
_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(2738);
indexOption();
}
}
setState(2743);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case 6:
_localctx = new AlterByAddUniqueKeyContext(_localctx);
enterOuterAlt(_localctx, 6);
{
setState(2744);
match(ADD);
setState(2749);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(2745);
match(CONSTRAINT);
setState(2747);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(2746);
((AlterByAddUniqueKeyContext)_localctx).name = uid();
}
}
}
}
setState(2751);
match(UNIQUE);
setState(2753);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INDEX || _la==KEY) {
{
setState(2752);
((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(2756);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,353,_ctx) ) {
case 1:
{
setState(2755);
ifNotExists();
}
break;
}
setState(2759);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(2758);
((AlterByAddUniqueKeyContext)_localctx).indexName = uid();
}
}
setState(2762);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==USING) {
{
setState(2761);
indexType();
}
}
setState(2764);
indexColumnNames();
setState(2768);
_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(2765);
indexOption();
}
}
setState(2770);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case 7:
_localctx = new AlterByAddSpecialIndexContext(_localctx);
enterOuterAlt(_localctx, 7);
{
setState(2771);
match(ADD);
setState(2772);
((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(2774);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INDEX || _la==KEY) {
{
setState(2773);
((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(2777);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(2776);
uid();
}
}
setState(2779);
indexColumnNames();
setState(2783);
_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(2780);
indexOption();
}
}
setState(2785);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case 8:
_localctx = new AlterByAddForeignKeyContext(_localctx);
enterOuterAlt(_localctx, 8);
{
setState(2786);
match(ADD);
setState(2791);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(2787);
match(CONSTRAINT);
setState(2789);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(2788);
((AlterByAddForeignKeyContext)_localctx).name = uid();
}
}
}
}
setState(2793);
match(FOREIGN);
setState(2794);
match(KEY);
setState(2796);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,362,_ctx) ) {
case 1:
{
setState(2795);
ifNotExists();
}
break;
}
setState(2799);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(2798);
((AlterByAddForeignKeyContext)_localctx).indexName = uid();
}
}
setState(2801);
indexColumnNames();
setState(2802);
referenceDefinition();
}
break;
case 9:
_localctx = new AlterByAddCheckTableConstraintContext(_localctx);
enterOuterAlt(_localctx, 9);
{
setState(2804);
match(ADD);
setState(2809);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(2805);
match(CONSTRAINT);
setState(2807);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(2806);
((AlterByAddCheckTableConstraintContext)_localctx).name = uid();
}
}
}
}
setState(2811);
match(CHECK);
setState(2812);
match(LR_BRACKET);
setState(2813);
expression(0);
setState(2814);
match(RR_BRACKET);
}
break;
case 10:
_localctx = new AlterBySetAlgorithmContext(_localctx);
enterOuterAlt(_localctx, 10);
{
setState(2816);
match(ALGORITHM);
setState(2818);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2817);
match(EQUAL_SYMBOL);
}
}
setState(2820);
((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 11:
_localctx = new AlterByChangeDefaultContext(_localctx);
enterOuterAlt(_localctx, 11);
{
setState(2821);
match(ALTER);
setState(2823);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLUMN) {
{
setState(2822);
match(COLUMN);
}
}
setState(2825);
uid();
setState(2831);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SET:
{
setState(2826);
match(SET);
setState(2827);
match(DEFAULT);
setState(2828);
defaultValue();
}
break;
case DROP:
{
setState(2829);
match(DROP);
setState(2830);
match(DEFAULT);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 12:
_localctx = new AlterByChangeColumnContext(_localctx);
enterOuterAlt(_localctx, 12);
{
setState(2833);
match(CHANGE);
setState(2835);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLUMN) {
{
setState(2834);
match(COLUMN);
}
}
setState(2838);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,370,_ctx) ) {
case 1:
{
setState(2837);
ifExists();
}
break;
}
setState(2840);
((AlterByChangeColumnContext)_localctx).oldColumn = uid();
setState(2841);
((AlterByChangeColumnContext)_localctx).newColumn = uid();
setState(2842);
columnDefinition();
setState(2846);
_errHandler.sync(this);
switch (_input.LA(1)) {
case FIRST:
{
setState(2843);
match(FIRST);
}
break;
case AFTER:
{
setState(2844);
match(AFTER);
setState(2845);
((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 UNLOCK:
case UPDATE:
case USE:
case VALUES:
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 13:
_localctx = new AlterByRenameColumnContext(_localctx);
enterOuterAlt(_localctx, 13);
{
setState(2848);
match(RENAME);
setState(2849);
match(COLUMN);
setState(2850);
((AlterByRenameColumnContext)_localctx).oldColumn = uid();
setState(2851);
match(TO);
setState(2852);
((AlterByRenameColumnContext)_localctx).newColumn = uid();
}
break;
case 14:
_localctx = new AlterByLockContext(_localctx);
enterOuterAlt(_localctx, 14);
{
setState(2854);
match(LOCK);
setState(2856);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2855);
match(EQUAL_SYMBOL);
}
}
setState(2858);
((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 15:
_localctx = new AlterByModifyColumnContext(_localctx);
enterOuterAlt(_localctx, 15);
{
setState(2859);
match(MODIFY);
setState(2861);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLUMN) {
{
setState(2860);
match(COLUMN);
}
}
setState(2864);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,374,_ctx) ) {
case 1:
{
setState(2863);
ifExists();
}
break;
}
setState(2866);
uid();
setState(2867);
columnDefinition();
setState(2871);
_errHandler.sync(this);
switch (_input.LA(1)) {
case FIRST:
{
setState(2868);
match(FIRST);
}
break;
case AFTER:
{
setState(2869);
match(AFTER);
setState(2870);
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 UNLOCK:
case UPDATE:
case USE:
case VALUES:
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 16:
_localctx = new AlterByDropColumnContext(_localctx);
enterOuterAlt(_localctx, 16);
{
setState(2873);
match(DROP);
setState(2875);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLUMN) {
{
setState(2874);
match(COLUMN);
}
}
setState(2878);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,377,_ctx) ) {
case 1:
{
setState(2877);
ifExists();
}
break;
}
setState(2880);
uid();
setState(2882);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==RESTRICT) {
{
setState(2881);
match(RESTRICT);
}
}
}
break;
case 17:
_localctx = new AlterByDropConstraintCheckContext(_localctx);
enterOuterAlt(_localctx, 17);
{
setState(2884);
match(DROP);
setState(2885);
_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(2887);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,379,_ctx) ) {
case 1:
{
setState(2886);
ifExists();
}
break;
}
setState(2889);
uid();
}
break;
case 18:
_localctx = new AlterByDropPrimaryKeyContext(_localctx);
enterOuterAlt(_localctx, 18);
{
setState(2890);
match(DROP);
setState(2891);
match(PRIMARY);
setState(2892);
match(KEY);
}
break;
case 19:
_localctx = new AlterByDropIndexContext(_localctx);
enterOuterAlt(_localctx, 19);
{
setState(2893);
match(DROP);
setState(2894);
((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(2896);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,380,_ctx) ) {
case 1:
{
setState(2895);
ifExists();
}
break;
}
setState(2898);
uid();
}
break;
case 20:
_localctx = new AlterByRenameIndexContext(_localctx);
enterOuterAlt(_localctx, 20);
{
setState(2899);
match(RENAME);
setState(2900);
((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(2901);
uid();
setState(2902);
match(TO);
setState(2903);
uid();
}
break;
case 21:
_localctx = new AlterByAlterIndexVisibilityContext(_localctx);
enterOuterAlt(_localctx, 21);
{
setState(2905);
match(ALTER);
setState(2906);
match(INDEX);
setState(2907);
uid();
setState(2908);
_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 22:
_localctx = new AlterByDropForeignKeyContext(_localctx);
enterOuterAlt(_localctx, 22);
{
setState(2910);
match(DROP);
setState(2911);
match(FOREIGN);
setState(2912);
match(KEY);
setState(2914);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,381,_ctx) ) {
case 1:
{
setState(2913);
ifExists();
}
break;
}
setState(2916);
uid();
setState(2918);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DOT || _la==DOT_ID) {
{
setState(2917);
dottedId();
}
}
}
break;
case 23:
_localctx = new AlterByDisableKeysContext(_localctx);
enterOuterAlt(_localctx, 23);
{
setState(2920);
match(DISABLE);
setState(2921);
match(KEYS);
}
break;
case 24:
_localctx = new AlterByEnableKeysContext(_localctx);
enterOuterAlt(_localctx, 24);
{
setState(2922);
match(ENABLE);
setState(2923);
match(KEYS);
}
break;
case 25:
_localctx = new AlterByRenameContext(_localctx);
enterOuterAlt(_localctx, 25);
{
setState(2924);
match(RENAME);
setState(2926);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS || _la==TO) {
{
setState(2925);
((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(2930);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,384,_ctx) ) {
case 1:
{
setState(2928);
uid();
}
break;
case 2:
{
setState(2929);
fullId();
}
break;
}
}
break;
case 26:
_localctx = new AlterByOrderContext(_localctx);
enterOuterAlt(_localctx, 26);
{
setState(2932);
match(ORDER);
setState(2933);
match(BY);
setState(2934);
uidList();
}
break;
case 27:
_localctx = new AlterByConvertCharsetContext(_localctx);
enterOuterAlt(_localctx, 27);
{
setState(2935);
match(CONVERT);
setState(2936);
match(TO);
setState(2937);
match(CHARACTER);
setState(2938);
match(SET);
setState(2939);
charsetName();
setState(2942);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLLATE) {
{
setState(2940);
match(COLLATE);
setState(2941);
collationName();
}
}
}
break;
case 28:
_localctx = new AlterByDefaultCharsetContext(_localctx);
enterOuterAlt(_localctx, 28);
{
setState(2945);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
setState(2944);
match(DEFAULT);
}
}
setState(2947);
match(CHARACTER);
setState(2948);
match(SET);
setState(2949);
match(EQUAL_SYMBOL);
setState(2950);
charsetName();
setState(2954);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLLATE) {
{
setState(2951);
match(COLLATE);
setState(2952);
match(EQUAL_SYMBOL);
setState(2953);
collationName();
}
}
}
break;
case 29:
_localctx = new AlterByDiscardTablespaceContext(_localctx);
enterOuterAlt(_localctx, 29);
{
setState(2956);
match(DISCARD);
setState(2957);
match(TABLESPACE);
}
break;
case 30:
_localctx = new AlterByImportTablespaceContext(_localctx);
enterOuterAlt(_localctx, 30);
{
setState(2958);
match(IMPORT);
setState(2959);
match(TABLESPACE);
}
break;
case 31:
_localctx = new AlterByForceContext(_localctx);
enterOuterAlt(_localctx, 31);
{
setState(2960);
match(FORCE);
}
break;
case 32:
_localctx = new AlterByValidateContext(_localctx);
enterOuterAlt(_localctx, 32);
{
setState(2961);
((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(2962);
match(VALIDATION);
}
break;
case 33:
_localctx = new AlterByAddDefinitionsContext(_localctx);
enterOuterAlt(_localctx, 33);
{
setState(2963);
match(ADD);
setState(2965);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLUMN) {
{
setState(2964);
match(COLUMN);
}
}
setState(2968);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(2967);
ifNotExists();
}
}
setState(2970);
match(LR_BRACKET);
setState(2971);
createDefinition();
setState(2976);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2972);
match(COMMA);
setState(2973);
createDefinition();
}
}
setState(2978);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2979);
match(RR_BRACKET);
}
break;
case 34:
_localctx = new AlterPartitionContext(_localctx);
enterOuterAlt(_localctx, 34);
{
setState(2981);
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(MariaDBParser.IMPORT, 0); }
public TerminalNode PARTITION() { return getToken(MariaDBParser.PARTITION, 0); }
public TerminalNode TABLESPACE() { return getToken(MariaDBParser.TABLESPACE, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode ALL() { return getToken(MariaDBParser.ALL, 0); }
public AlterByImportPartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByImportPartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByImportPartition(this);
}
}
public static class AlterByDropPartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode DROP() { return getToken(MariaDBParser.DROP, 0); }
public TerminalNode PARTITION() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByDropPartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByDropPartition(this);
}
}
public static class AlterByDiscardPartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode DISCARD() { return getToken(MariaDBParser.DISCARD, 0); }
public TerminalNode PARTITION() { return getToken(MariaDBParser.PARTITION, 0); }
public TerminalNode TABLESPACE() { return getToken(MariaDBParser.TABLESPACE, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode ALL() { return getToken(MariaDBParser.ALL, 0); }
public AlterByDiscardPartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByDiscardPartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByDiscardPartition(this);
}
}
public static class AlterByAddPartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode ADD() { return getToken(MariaDBParser.ADD, 0); }
public TerminalNode PARTITION() { return getToken(MariaDBParser.PARTITION, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.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(MariaDBParser.RR_BRACKET, 0); }
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.COMMA, i);
}
public AlterByAddPartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByAddPartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByAddPartition(this);
}
}
public static class AlterByRemovePartitioningContext extends AlterPartitionSpecificationContext {
public TerminalNode REMOVE() { return getToken(MariaDBParser.REMOVE, 0); }
public TerminalNode PARTITIONING() { return getToken(MariaDBParser.PARTITIONING, 0); }
public AlterByRemovePartitioningContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByRemovePartitioning(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByRemovePartitioning(this);
}
}
public static class AlterByOptimizePartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode OPTIMIZE() { return getToken(MariaDBParser.OPTIMIZE, 0); }
public TerminalNode PARTITION() { return getToken(MariaDBParser.PARTITION, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode ALL() { return getToken(MariaDBParser.ALL, 0); }
public AlterByOptimizePartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByOptimizePartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByOptimizePartition(this);
}
}
public static class AlterByCheckPartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode CHECK() { return getToken(MariaDBParser.CHECK, 0); }
public TerminalNode PARTITION() { return getToken(MariaDBParser.PARTITION, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode ALL() { return getToken(MariaDBParser.ALL, 0); }
public AlterByCheckPartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByCheckPartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByCheckPartition(this);
}
}
public static class AlterByCoalescePartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode COALESCE() { return getToken(MariaDBParser.COALESCE, 0); }
public TerminalNode PARTITION() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByCoalescePartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByCoalescePartition(this);
}
}
public static class AlterByReorganizePartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode REORGANIZE() { return getToken(MariaDBParser.REORGANIZE, 0); }
public TerminalNode PARTITION() { return getToken(MariaDBParser.PARTITION, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode INTO() { return getToken(MariaDBParser.INTO, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.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(MariaDBParser.RR_BRACKET, 0); }
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.COMMA, i);
}
public AlterByReorganizePartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByReorganizePartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByReorganizePartition(this);
}
}
public static class AlterByAnalyzePartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode ANALYZE() { return getToken(MariaDBParser.ANALYZE, 0); }
public TerminalNode PARTITION() { return getToken(MariaDBParser.PARTITION, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode ALL() { return getToken(MariaDBParser.ALL, 0); }
public AlterByAnalyzePartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByAnalyzePartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByAnalyzePartition(this);
}
}
public static class AlterByRebuildPartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode REBUILD() { return getToken(MariaDBParser.REBUILD, 0); }
public TerminalNode PARTITION() { return getToken(MariaDBParser.PARTITION, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode ALL() { return getToken(MariaDBParser.ALL, 0); }
public AlterByRebuildPartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByRebuildPartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByRebuildPartition(this);
}
}
public static class AlterByUpgradePartitioningContext extends AlterPartitionSpecificationContext {
public TerminalNode UPGRADE() { return getToken(MariaDBParser.UPGRADE, 0); }
public TerminalNode PARTITIONING() { return getToken(MariaDBParser.PARTITIONING, 0); }
public AlterByUpgradePartitioningContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByUpgradePartitioning(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByUpgradePartitioning(this);
}
}
public static class AlterByTruncatePartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode TRUNCATE() { return getToken(MariaDBParser.TRUNCATE, 0); }
public TerminalNode PARTITION() { return getToken(MariaDBParser.PARTITION, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode ALL() { return getToken(MariaDBParser.ALL, 0); }
public AlterByTruncatePartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByTruncatePartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByTruncatePartition(this);
}
}
public static class AlterByRepairPartitionContext extends AlterPartitionSpecificationContext {
public TerminalNode REPAIR() { return getToken(MariaDBParser.REPAIR, 0); }
public TerminalNode PARTITION() { return getToken(MariaDBParser.PARTITION, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode ALL() { return getToken(MariaDBParser.ALL, 0); }
public AlterByRepairPartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByRepairPartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByRepairPartition(this);
}
}
public static class AlterByExchangePartitionContext extends AlterPartitionSpecificationContext {
public Token validationFormat;
public TerminalNode EXCHANGE() { return getToken(MariaDBParser.EXCHANGE, 0); }
public TerminalNode PARTITION() { return getToken(MariaDBParser.PARTITION, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public List WITH() { return getTokens(MariaDBParser.WITH); }
public TerminalNode WITH(int i) {
return getToken(MariaDBParser.WITH, i);
}
public TerminalNode TABLE() { return getToken(MariaDBParser.TABLE, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode VALIDATION() { return getToken(MariaDBParser.VALIDATION, 0); }
public TerminalNode WITHOUT() { return getToken(MariaDBParser.WITHOUT, 0); }
public AlterByExchangePartitionContext(AlterPartitionSpecificationContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAlterByExchangePartition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAlterByExchangePartition(this);
}
}
public final AlterPartitionSpecificationContext alterPartitionSpecification() throws RecognitionException {
AlterPartitionSpecificationContext _localctx = new AlterPartitionSpecificationContext(_ctx, getState());
enterRule(_localctx, 158, RULE_alterPartitionSpecification);
int _la;
try {
setState(3088);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ADD:
_localctx = new AlterByAddPartitionContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(2984);
match(ADD);
setState(2985);
match(PARTITION);
setState(2987);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(2986);
ifNotExists();
}
}
setState(2989);
match(LR_BRACKET);
setState(2990);
partitionDefinition();
setState(2995);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2991);
match(COMMA);
setState(2992);
partitionDefinition();
}
}
setState(2997);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2998);
match(RR_BRACKET);
}
break;
case DROP:
_localctx = new AlterByDropPartitionContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(3000);
match(DROP);
setState(3001);
match(PARTITION);
setState(3003);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,394,_ctx) ) {
case 1:
{
setState(3002);
ifExists();
}
break;
}
setState(3005);
uidList();
}
break;
case DISCARD:
_localctx = new AlterByDiscardPartitionContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(3006);
match(DISCARD);
setState(3007);
match(PARTITION);
setState(3010);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ATTRIBUTE:
case BODY:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case EXCEPT:
case GROUP:
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 PACKAGE:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
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 LOCALES:
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 QUERY_RESPONSE_TIME:
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 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 SLAVES:
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 TYPES:
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 WSREP_MEMBERSHIP:
case WSREP_STATUS:
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 ADMIN:
case AUDIT_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_USER:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
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 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_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
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 TAN:
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 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 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 REPLICAS:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
{
setState(3008);
uidList();
}
break;
case ALL:
{
setState(3009);
match(ALL);
}
break;
default:
throw new NoViableAltException(this);
}
setState(3012);
match(TABLESPACE);
}
break;
case IMPORT:
_localctx = new AlterByImportPartitionContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(3013);
match(IMPORT);
setState(3014);
match(PARTITION);
setState(3017);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ATTRIBUTE:
case BODY:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case EXCEPT:
case GROUP:
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 PACKAGE:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
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 LOCALES:
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 QUERY_RESPONSE_TIME:
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 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 SLAVES:
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 TYPES:
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 WSREP_MEMBERSHIP:
case WSREP_STATUS:
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 ADMIN:
case AUDIT_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_USER:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
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 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_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
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 TAN:
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 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 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 REPLICAS:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
{
setState(3015);
uidList();
}
break;
case ALL:
{
setState(3016);
match(ALL);
}
break;
default:
throw new NoViableAltException(this);
}
setState(3019);
match(TABLESPACE);
}
break;
case TRUNCATE:
_localctx = new AlterByTruncatePartitionContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(3020);
match(TRUNCATE);
setState(3021);
match(PARTITION);
setState(3024);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ATTRIBUTE:
case BODY:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case EXCEPT:
case GROUP:
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 PACKAGE:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
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 LOCALES:
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 QUERY_RESPONSE_TIME:
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 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 SLAVES:
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 TYPES:
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 WSREP_MEMBERSHIP:
case WSREP_STATUS:
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 ADMIN:
case AUDIT_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_USER:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
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 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_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
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 TAN:
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 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 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 REPLICAS:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
{
setState(3022);
uidList();
}
break;
case ALL:
{
setState(3023);
match(ALL);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case COALESCE:
_localctx = new AlterByCoalescePartitionContext(_localctx);
enterOuterAlt(_localctx, 6);
{
setState(3026);
match(COALESCE);
setState(3027);
match(PARTITION);
setState(3028);
decimalLiteral();
}
break;
case REORGANIZE:
_localctx = new AlterByReorganizePartitionContext(_localctx);
enterOuterAlt(_localctx, 7);
{
setState(3029);
match(REORGANIZE);
setState(3030);
match(PARTITION);
setState(3031);
uidList();
setState(3032);
match(INTO);
setState(3033);
match(LR_BRACKET);
setState(3034);
partitionDefinition();
setState(3039);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3035);
match(COMMA);
setState(3036);
partitionDefinition();
}
}
setState(3041);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(3042);
match(RR_BRACKET);
}
break;
case EXCHANGE:
_localctx = new AlterByExchangePartitionContext(_localctx);
enterOuterAlt(_localctx, 8);
{
setState(3044);
match(EXCHANGE);
setState(3045);
match(PARTITION);
setState(3046);
uid();
setState(3047);
match(WITH);
setState(3048);
match(TABLE);
setState(3049);
tableName();
setState(3052);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WITH || _la==WITHOUT) {
{
setState(3050);
((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(3051);
match(VALIDATION);
}
}
}
break;
case ANALYZE:
_localctx = new AlterByAnalyzePartitionContext(_localctx);
enterOuterAlt(_localctx, 9);
{
setState(3054);
match(ANALYZE);
setState(3055);
match(PARTITION);
setState(3058);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ATTRIBUTE:
case BODY:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case EXCEPT:
case GROUP:
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 PACKAGE:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
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 LOCALES:
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 QUERY_RESPONSE_TIME:
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 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 SLAVES:
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 TYPES:
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 WSREP_MEMBERSHIP:
case WSREP_STATUS:
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 ADMIN:
case AUDIT_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_USER:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
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 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_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
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 TAN:
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 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 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 REPLICAS:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
{
setState(3056);
uidList();
}
break;
case ALL:
{
setState(3057);
match(ALL);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case CHECK:
_localctx = new AlterByCheckPartitionContext(_localctx);
enterOuterAlt(_localctx, 10);
{
setState(3060);
match(CHECK);
setState(3061);
match(PARTITION);
setState(3064);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ATTRIBUTE:
case BODY:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case EXCEPT:
case GROUP:
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 PACKAGE:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
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 LOCALES:
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 QUERY_RESPONSE_TIME:
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 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 SLAVES:
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 TYPES:
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 WSREP_MEMBERSHIP:
case WSREP_STATUS:
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 ADMIN:
case AUDIT_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_USER:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
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 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_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
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 TAN:
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 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 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 REPLICAS:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
{
setState(3062);
uidList();
}
break;
case ALL:
{
setState(3063);
match(ALL);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case OPTIMIZE:
_localctx = new AlterByOptimizePartitionContext(_localctx);
enterOuterAlt(_localctx, 11);
{
setState(3066);
match(OPTIMIZE);
setState(3067);
match(PARTITION);
setState(3070);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ATTRIBUTE:
case BODY:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case EXCEPT:
case GROUP:
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 PACKAGE:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
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 LOCALES:
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 QUERY_RESPONSE_TIME:
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 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 SLAVES:
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 TYPES:
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 WSREP_MEMBERSHIP:
case WSREP_STATUS:
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 ADMIN:
case AUDIT_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_USER:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
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 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_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
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 TAN:
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 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 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 REPLICAS:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
{
setState(3068);
uidList();
}
break;
case ALL:
{
setState(3069);
match(ALL);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case REBUILD:
_localctx = new AlterByRebuildPartitionContext(_localctx);
enterOuterAlt(_localctx, 12);
{
setState(3072);
match(REBUILD);
setState(3073);
match(PARTITION);
setState(3076);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ATTRIBUTE:
case BODY:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case EXCEPT:
case GROUP:
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 PACKAGE:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
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 LOCALES:
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 QUERY_RESPONSE_TIME:
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 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 SLAVES:
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 TYPES:
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 WSREP_MEMBERSHIP:
case WSREP_STATUS:
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 ADMIN:
case AUDIT_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_USER:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
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 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_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
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 TAN:
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 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 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 REPLICAS:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
{
setState(3074);
uidList();
}
break;
case ALL:
{
setState(3075);
match(ALL);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case REPAIR:
_localctx = new AlterByRepairPartitionContext(_localctx);
enterOuterAlt(_localctx, 13);
{
setState(3078);
match(REPAIR);
setState(3079);
match(PARTITION);
setState(3082);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ATTRIBUTE:
case BODY:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case EXCEPT:
case GROUP:
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 PACKAGE:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
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 LOCALES:
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 QUERY_RESPONSE_TIME:
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 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 SLAVES:
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 TYPES:
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 WSREP_MEMBERSHIP:
case WSREP_STATUS:
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 ADMIN:
case AUDIT_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_USER:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
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 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_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
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 TAN:
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 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 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 REPLICAS:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
{
setState(3080);
uidList();
}
break;
case ALL:
{
setState(3081);
match(ALL);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case REMOVE:
_localctx = new AlterByRemovePartitioningContext(_localctx);
enterOuterAlt(_localctx, 14);
{
setState(3084);
match(REMOVE);
setState(3085);
match(PARTITIONING);
}
break;
case UPGRADE:
_localctx = new AlterByUpgradePartitioningContext(_localctx);
enterOuterAlt(_localctx, 15);
{
setState(3086);
match(UPGRADE);
setState(3087);
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(MariaDBParser.DROP, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode DATABASE() { return getToken(MariaDBParser.DATABASE, 0); }
public TerminalNode SCHEMA() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterDropDatabase(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitDropDatabase(this);
}
}
public final DropDatabaseContext dropDatabase() throws RecognitionException {
DropDatabaseContext _localctx = new DropDatabaseContext(_ctx, getState());
enterRule(_localctx, 160, RULE_dropDatabase);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3090);
match(DROP);
setState(3091);
((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(3093);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,406,_ctx) ) {
case 1:
{
setState(3092);
ifExists();
}
break;
}
setState(3095);
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(MariaDBParser.DROP, 0); }
public TerminalNode EVENT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterDropEvent(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitDropEvent(this);
}
}
public final DropEventContext dropEvent() throws RecognitionException {
DropEventContext _localctx = new DropEventContext(_ctx, getState());
enterRule(_localctx, 162, RULE_dropEvent);
try {
enterOuterAlt(_localctx, 1);
{
setState(3097);
match(DROP);
setState(3098);
match(EVENT);
setState(3100);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,407,_ctx) ) {
case 1:
{
setState(3099);
ifExists();
}
break;
}
setState(3102);
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(MariaDBParser.DROP, 0); }
public TerminalNode INDEX() { return getToken(MariaDBParser.INDEX, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode ON() { return getToken(MariaDBParser.ON, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public List ALGORITHM() { return getTokens(MariaDBParser.ALGORITHM); }
public TerminalNode ALGORITHM(int i) {
return getToken(MariaDBParser.ALGORITHM, i);
}
public List LOCK() { return getTokens(MariaDBParser.LOCK); }
public TerminalNode LOCK(int i) {
return getToken(MariaDBParser.LOCK, i);
}
public WaitNowaitClauseContext waitNowaitClause() {
return getRuleContext(WaitNowaitClauseContext.class,0);
}
public TerminalNode ONLINE() { return getToken(MariaDBParser.ONLINE, 0); }
public TerminalNode OFFLINE() { return getToken(MariaDBParser.OFFLINE, 0); }
public List DEFAULT() { return getTokens(MariaDBParser.DEFAULT); }
public TerminalNode DEFAULT(int i) {
return getToken(MariaDBParser.DEFAULT, i);
}
public List INPLACE() { return getTokens(MariaDBParser.INPLACE); }
public TerminalNode INPLACE(int i) {
return getToken(MariaDBParser.INPLACE, i);
}
public List COPY() { return getTokens(MariaDBParser.COPY); }
public TerminalNode COPY(int i) {
return getToken(MariaDBParser.COPY, i);
}
public List NONE() { return getTokens(MariaDBParser.NONE); }
public TerminalNode NONE(int i) {
return getToken(MariaDBParser.NONE, i);
}
public List SHARED() { return getTokens(MariaDBParser.SHARED); }
public TerminalNode SHARED(int i) {
return getToken(MariaDBParser.SHARED, i);
}
public List EXCLUSIVE() { return getTokens(MariaDBParser.EXCLUSIVE); }
public TerminalNode EXCLUSIVE(int i) {
return getToken(MariaDBParser.EXCLUSIVE, i);
}
public List EQUAL_SYMBOL() { return getTokens(MariaDBParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterDropIndex(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitDropIndex(this);
}
}
public final DropIndexContext dropIndex() throws RecognitionException {
DropIndexContext _localctx = new DropIndexContext(_ctx, getState());
enterRule(_localctx, 164, RULE_dropIndex);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(3104);
match(DROP);
setState(3105);
match(INDEX);
setState(3107);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,408,_ctx) ) {
case 1:
{
setState(3106);
ifExists();
}
break;
}
setState(3110);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,409,_ctx) ) {
case 1:
{
setState(3109);
((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(3112);
uid();
setState(3113);
match(ON);
setState(3114);
tableName();
setState(3127);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,413,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
setState(3125);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ALGORITHM:
{
setState(3115);
match(ALGORITHM);
setState(3117);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(3116);
match(EQUAL_SYMBOL);
}
}
setState(3119);
((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(3120);
match(LOCK);
setState(3122);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(3121);
match(EQUAL_SYMBOL);
}
}
setState(3124);
((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(3129);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,413,_ctx);
}
setState(3131);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOWAIT || _la==WAIT) {
{
setState(3130);
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(MariaDBParser.DROP, 0); }
public TerminalNode LOGFILE() { return getToken(MariaDBParser.LOGFILE, 0); }
public TerminalNode GROUP() { return getToken(MariaDBParser.GROUP, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode ENGINE() { return getToken(MariaDBParser.ENGINE, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterDropLogfileGroup(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitDropLogfileGroup(this);
}
}
public final DropLogfileGroupContext dropLogfileGroup() throws RecognitionException {
DropLogfileGroupContext _localctx = new DropLogfileGroupContext(_ctx, getState());
enterRule(_localctx, 166, RULE_dropLogfileGroup);
try {
enterOuterAlt(_localctx, 1);
{
setState(3133);
match(DROP);
setState(3134);
match(LOGFILE);
setState(3135);
match(GROUP);
setState(3136);
uid();
setState(3137);
match(ENGINE);
setState(3138);
match(EQUAL_SYMBOL);
setState(3139);
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(MariaDBParser.DROP, 0); }
public TerminalNode PROCEDURE() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterDropProcedure(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitDropProcedure(this);
}
}
public final DropProcedureContext dropProcedure() throws RecognitionException {
DropProcedureContext _localctx = new DropProcedureContext(_ctx, getState());
enterRule(_localctx, 168, RULE_dropProcedure);
try {
enterOuterAlt(_localctx, 1);
{
setState(3141);
match(DROP);
setState(3142);
match(PROCEDURE);
setState(3144);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,415,_ctx) ) {
case 1:
{
setState(3143);
ifExists();
}
break;
}
setState(3146);
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(MariaDBParser.DROP, 0); }
public TerminalNode FUNCTION() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterDropFunction(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitDropFunction(this);
}
}
public final DropFunctionContext dropFunction() throws RecognitionException {
DropFunctionContext _localctx = new DropFunctionContext(_ctx, getState());
enterRule(_localctx, 170, RULE_dropFunction);
try {
enterOuterAlt(_localctx, 1);
{
setState(3148);
match(DROP);
setState(3149);
match(FUNCTION);
setState(3151);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,416,_ctx) ) {
case 1:
{
setState(3150);
ifExists();
}
break;
}
setState(3153);
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(MariaDBParser.DROP, 0); }
public TerminalNode SERVER() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterDropServer(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitDropServer(this);
}
}
public final DropServerContext dropServer() throws RecognitionException {
DropServerContext _localctx = new DropServerContext(_ctx, getState());
enterRule(_localctx, 172, RULE_dropServer);
try {
enterOuterAlt(_localctx, 1);
{
setState(3155);
match(DROP);
setState(3156);
match(SERVER);
setState(3158);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,417,_ctx) ) {
case 1:
{
setState(3157);
ifExists();
}
break;
}
setState(3160);
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(MariaDBParser.DROP, 0); }
public TerminalNode TABLE() { return getToken(MariaDBParser.TABLE, 0); }
public TablesContext tables() {
return getRuleContext(TablesContext.class,0);
}
public TerminalNode TEMPORARY() { return getToken(MariaDBParser.TEMPORARY, 0); }
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public WaitNowaitClauseContext waitNowaitClause() {
return getRuleContext(WaitNowaitClauseContext.class,0);
}
public TerminalNode RESTRICT() { return getToken(MariaDBParser.RESTRICT, 0); }
public TerminalNode CASCADE() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterDropTable(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitDropTable(this);
}
}
public final DropTableContext dropTable() throws RecognitionException {
DropTableContext _localctx = new DropTableContext(_ctx, getState());
enterRule(_localctx, 174, RULE_dropTable);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3162);
match(DROP);
setState(3164);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==TEMPORARY) {
{
setState(3163);
match(TEMPORARY);
}
}
setState(3166);
match(TABLE);
setState(3168);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,419,_ctx) ) {
case 1:
{
setState(3167);
ifExists();
}
break;
}
setState(3170);
tables();
setState(3172);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOWAIT || _la==WAIT) {
{
setState(3171);
waitNowaitClause();
}
}
setState(3175);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CASCADE || _la==RESTRICT) {
{
setState(3174);
((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(MariaDBParser.DROP, 0); }
public TerminalNode TABLESPACE() { return getToken(MariaDBParser.TABLESPACE, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode ENGINE() { return getToken(MariaDBParser.ENGINE, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterDropTablespace(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitDropTablespace(this);
}
}
public final DropTablespaceContext dropTablespace() throws RecognitionException {
DropTablespaceContext _localctx = new DropTablespaceContext(_ctx, getState());
enterRule(_localctx, 176, RULE_dropTablespace);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3177);
match(DROP);
setState(3178);
match(TABLESPACE);
setState(3179);
uid();
setState(3185);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ENGINE) {
{
setState(3180);
match(ENGINE);
setState(3182);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(3181);
match(EQUAL_SYMBOL);
}
}
setState(3184);
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(MariaDBParser.DROP, 0); }
public TerminalNode TRIGGER() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterDropTrigger(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitDropTrigger(this);
}
}
public final DropTriggerContext dropTrigger() throws RecognitionException {
DropTriggerContext _localctx = new DropTriggerContext(_ctx, getState());
enterRule(_localctx, 178, RULE_dropTrigger);
try {
enterOuterAlt(_localctx, 1);
{
setState(3187);
match(DROP);
setState(3188);
match(TRIGGER);
setState(3190);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,424,_ctx) ) {
case 1:
{
setState(3189);
ifExists();
}
break;
}
setState(3192);
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(MariaDBParser.DROP, 0); }
public TerminalNode VIEW() { return getToken(MariaDBParser.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(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.COMMA, i);
}
public TerminalNode RESTRICT() { return getToken(MariaDBParser.RESTRICT, 0); }
public TerminalNode CASCADE() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterDropView(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitDropView(this);
}
}
public final DropViewContext dropView() throws RecognitionException {
DropViewContext _localctx = new DropViewContext(_ctx, getState());
enterRule(_localctx, 180, RULE_dropView);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3194);
match(DROP);
setState(3195);
match(VIEW);
setState(3197);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,425,_ctx) ) {
case 1:
{
setState(3196);
ifExists();
}
break;
}
setState(3199);
fullId();
setState(3204);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3200);
match(COMMA);
setState(3201);
fullId();
}
}
setState(3206);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(3208);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CASCADE || _la==RESTRICT) {
{
setState(3207);
((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(MariaDBParser.DROP, 0); }
public TerminalNode ROLE() { return getToken(MariaDBParser.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(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterDropRole(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitDropRole(this);
}
}
public final DropRoleContext dropRole() throws RecognitionException {
DropRoleContext _localctx = new DropRoleContext(_ctx, getState());
enterRule(_localctx, 182, RULE_dropRole);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3210);
match(DROP);
setState(3211);
match(ROLE);
setState(3213);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,428,_ctx) ) {
case 1:
{
setState(3212);
ifExists();
}
break;
}
setState(3215);
roleName();
setState(3220);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3216);
match(COMMA);
setState(3217);
roleName();
}
}
setState(3222);
_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(MariaDBParser.SET, 0); }
public TerminalNode DEFAULT() { return getToken(MariaDBParser.DEFAULT, 0); }
public TerminalNode ROLE() { return getToken(MariaDBParser.ROLE, 0); }
public TerminalNode TO() { return getToken(MariaDBParser.TO, 0); }
public TerminalNode NONE() { return getToken(MariaDBParser.NONE, 0); }
public TerminalNode ALL() { return getToken(MariaDBParser.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(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterSetRole(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitSetRole(this);
}
}
public final SetRoleContext setRole() throws RecognitionException {
SetRoleContext _localctx = new SetRoleContext(_ctx, getState());
enterRule(_localctx, 184, RULE_setRole);
int _la;
try {
setState(3256);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,435,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(3223);
match(SET);
setState(3224);
match(DEFAULT);
setState(3225);
match(ROLE);
setState(3236);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,431,_ctx) ) {
case 1:
{
setState(3226);
match(NONE);
}
break;
case 2:
{
setState(3227);
match(ALL);
}
break;
case 3:
{
setState(3228);
roleName();
setState(3233);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3229);
match(COMMA);
setState(3230);
roleName();
}
}
setState(3235);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
}
setState(3238);
match(TO);
setState(3241);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,432,_ctx) ) {
case 1:
{
setState(3239);
userName();
}
break;
case 2:
{
setState(3240);
uid();
}
break;
}
setState(3250);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3243);
match(COMMA);
setState(3246);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,433,_ctx) ) {
case 1:
{
setState(3244);
userName();
}
break;
case 2:
{
setState(3245);
uid();
}
break;
}
}
}
setState(3252);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(3253);
match(SET);
setState(3254);
match(ROLE);
setState(3255);
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(MariaDBParser.DROP, 0); }
public TerminalNode SEQUENCE() { return getToken(MariaDBParser.SEQUENCE, 0); }
public List fullId() {
return getRuleContexts(FullIdContext.class);
}
public FullIdContext fullId(int i) {
return getRuleContext(FullIdContext.class,i);
}
public TerminalNode TEMPORARY() { return getToken(MariaDBParser.TEMPORARY, 0); }
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public TerminalNode COMMENT_INPUT() { return getToken(MariaDBParser.COMMENT_INPUT, 0); }
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterDropSequence(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitDropSequence(this);
}
}
public final DropSequenceContext dropSequence() throws RecognitionException {
DropSequenceContext _localctx = new DropSequenceContext(_ctx, getState());
enterRule(_localctx, 186, RULE_dropSequence);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3258);
match(DROP);
setState(3260);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==TEMPORARY) {
{
setState(3259);
match(TEMPORARY);
}
}
setState(3262);
match(SEQUENCE);
setState(3264);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,437,_ctx) ) {
case 1:
{
setState(3263);
ifExists();
}
break;
}
setState(3267);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMENT_INPUT) {
{
setState(3266);
match(COMMENT_INPUT);
}
}
setState(3269);
fullId();
setState(3274);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3270);
match(COMMA);
setState(3271);
fullId();
}
}
setState(3276);
_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(MariaDBParser.RENAME, 0); }
public TerminalNode TABLE() { return getToken(MariaDBParser.TABLE, 0); }
public List renameTableClause() {
return getRuleContexts(RenameTableClauseContext.class);
}
public RenameTableClauseContext renameTableClause(int i) {
return getRuleContext(RenameTableClauseContext.class,i);
}
public IfExistsContext ifExists() {
return getRuleContext(IfExistsContext.class,0);
}
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterRenameTable(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitRenameTable(this);
}
}
public final RenameTableContext renameTable() throws RecognitionException {
RenameTableContext _localctx = new RenameTableContext(_ctx, getState());
enterRule(_localctx, 188, RULE_renameTable);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3277);
match(RENAME);
setState(3278);
match(TABLE);
setState(3280);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,440,_ctx) ) {
case 1:
{
setState(3279);
ifExists();
}
break;
}
setState(3282);
renameTableClause();
setState(3287);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3283);
match(COMMA);
setState(3284);
renameTableClause();
}
}
setState(3289);
_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(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterRenameTableClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitRenameTableClause(this);
}
}
public final RenameTableClauseContext renameTableClause() throws RecognitionException {
RenameTableClauseContext _localctx = new RenameTableClauseContext(_ctx, getState());
enterRule(_localctx, 190, RULE_renameTableClause);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3290);
tableName();
setState(3292);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOWAIT || _la==WAIT) {
{
setState(3291);
waitNowaitClause();
}
}
setState(3294);
match(TO);
setState(3295);
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(MariaDBParser.TRUNCATE, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode TABLE() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterTruncateTable(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTruncateTable(this);
}
}
public final TruncateTableContext truncateTable() throws RecognitionException {
TruncateTableContext _localctx = new TruncateTableContext(_ctx, getState());
enterRule(_localctx, 192, RULE_truncateTable);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3297);
match(TRUNCATE);
setState(3299);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==TABLE) {
{
setState(3298);
match(TABLE);
}
}
setState(3301);
tableName();
setState(3303);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOWAIT || _la==WAIT) {
{
setState(3302);
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(MariaDBParser.CALL, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterCallStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitCallStatement(this);
}
}
public final CallStatementContext callStatement() throws RecognitionException {
CallStatementContext _localctx = new CallStatementContext(_ctx, getState());
enterRule(_localctx, 194, RULE_callStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(3305);
match(CALL);
setState(3306);
fullId();
setState(3313);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,446,_ctx) ) {
case 1:
{
setState(3307);
match(LR_BRACKET);
setState(3310);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,445,_ctx) ) {
case 1:
{
setState(3308);
constants();
}
break;
case 2:
{
setState(3309);
expressions();
}
break;
}
setState(3312);
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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterDeleteStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitDeleteStatement(this);
}
}
public final DeleteStatementContext deleteStatement() throws RecognitionException {
DeleteStatementContext _localctx = new DeleteStatementContext(_ctx, getState());
enterRule(_localctx, 196, RULE_deleteStatement);
try {
setState(3317);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,447,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(3315);
singleDeleteStatement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(3316);
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(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterDoStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitDoStatement(this);
}
}
public final DoStatementContext doStatement() throws RecognitionException {
DoStatementContext _localctx = new DoStatementContext(_ctx, getState());
enterRule(_localctx, 198, RULE_doStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(3319);
match(DO);
setState(3320);
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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterHandlerStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitHandlerStatement(this);
}
}
public final HandlerStatementContext handlerStatement() throws RecognitionException {
HandlerStatementContext _localctx = new HandlerStatementContext(_ctx, getState());
enterRule(_localctx, 200, RULE_handlerStatement);
try {
setState(3326);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,448,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(3322);
handlerOpenStatement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(3323);
handlerReadIndexStatement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(3324);
handlerReadStatement();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(3325);
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 UidListContext 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(MariaDBParser.INSERT, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public InsertStatementValueContext insertStatementValue() {
return getRuleContext(InsertStatementValueContext.class,0);
}
public TerminalNode SET() { return getToken(MariaDBParser.SET, 0); }
public TerminalNode IGNORE() { return getToken(MariaDBParser.IGNORE, 0); }
public TerminalNode INTO() { return getToken(MariaDBParser.INTO, 0); }
public TerminalNode PARTITION() { return getToken(MariaDBParser.PARTITION, 0); }
public List LR_BRACKET() { return getTokens(MariaDBParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MariaDBParser.LR_BRACKET, i);
}
public List RR_BRACKET() { return getTokens(MariaDBParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MariaDBParser.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(MariaDBParser.ON, 0); }
public TerminalNode DUPLICATE() { return getToken(MariaDBParser.DUPLICATE, 0); }
public TerminalNode KEY() { return getToken(MariaDBParser.KEY, 0); }
public TerminalNode UPDATE() { return getToken(MariaDBParser.UPDATE, 0); }
public TerminalNode LOW_PRIORITY() { return getToken(MariaDBParser.LOW_PRIORITY, 0); }
public TerminalNode DELAYED() { return getToken(MariaDBParser.DELAYED, 0); }
public TerminalNode HIGH_PRIORITY() { return getToken(MariaDBParser.HIGH_PRIORITY, 0); }
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.COMMA, i);
}
public List uidList() {
return getRuleContexts(UidListContext.class);
}
public UidListContext uidList(int i) {
return getRuleContext(UidListContext.class,i);
}
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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterInsertStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitInsertStatement(this);
}
}
public final InsertStatementContext insertStatement() throws RecognitionException {
InsertStatementContext _localctx = new InsertStatementContext(_ctx, getState());
enterRule(_localctx, 202, RULE_insertStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3328);
match(INSERT);
setState(3330);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 44)) & ~0x3f) == 0 && ((1L << (_la - 44)) & ((1L << (DELAYED - 44)) | (1L << (HIGH_PRIORITY - 44)) | (1L << (LOW_PRIORITY - 44)))) != 0)) {
{
setState(3329);
((InsertStatementContext)_localctx).priority = _input.LT(1);
_la = _input.LA(1);
if ( !(((((_la - 44)) & ~0x3f) == 0 && ((1L << (_la - 44)) & ((1L << (DELAYED - 44)) | (1L << (HIGH_PRIORITY - 44)) | (1L << (LOW_PRIORITY - 44)))) != 0)) ) {
((InsertStatementContext)_localctx).priority = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3333);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE) {
{
setState(3332);
match(IGNORE);
}
}
setState(3336);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INTO) {
{
setState(3335);
match(INTO);
}
}
setState(3338);
tableName();
setState(3345);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITION) {
{
setState(3339);
match(PARTITION);
setState(3340);
match(LR_BRACKET);
setState(3342);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(3341);
((InsertStatementContext)_localctx).partitions = uidList();
}
}
setState(3344);
match(RR_BRACKET);
}
}
setState(3363);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SELECT:
case VALUES:
case VALUE:
case LR_BRACKET:
{
setState(3351);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,454,_ctx) ) {
case 1:
{
setState(3347);
match(LR_BRACKET);
setState(3348);
((InsertStatementContext)_localctx).columns = uidList();
setState(3349);
match(RR_BRACKET);
}
break;
}
setState(3353);
insertStatementValue();
}
break;
case SET:
{
setState(3354);
match(SET);
setState(3355);
((InsertStatementContext)_localctx).setFirst = updatedElement();
setState(3360);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3356);
match(COMMA);
setState(3357);
((InsertStatementContext)_localctx).updatedElement = updatedElement();
((InsertStatementContext)_localctx).setElements.add(((InsertStatementContext)_localctx).updatedElement);
}
}
setState(3362);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(3377);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ON) {
{
setState(3365);
match(ON);
setState(3366);
match(DUPLICATE);
setState(3367);
match(KEY);
setState(3368);
match(UPDATE);
setState(3369);
((InsertStatementContext)_localctx).duplicatedFirst = updatedElement();
setState(3374);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3370);
match(COMMA);
setState(3371);
((InsertStatementContext)_localctx).updatedElement = updatedElement();
((InsertStatementContext)_localctx).duplicatedElements.add(((InsertStatementContext)_localctx).updatedElement);
}
}
setState(3376);
_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(MariaDBParser.LOAD, 0); }
public TerminalNode DATA() { return getToken(MariaDBParser.DATA, 0); }
public TerminalNode INFILE() { return getToken(MariaDBParser.INFILE, 0); }
public TerminalNode INTO() { return getToken(MariaDBParser.INTO, 0); }
public TerminalNode TABLE() { return getToken(MariaDBParser.TABLE, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode LOCAL() { return getToken(MariaDBParser.LOCAL, 0); }
public TerminalNode PARTITION() { return getToken(MariaDBParser.PARTITION, 0); }
public List LR_BRACKET() { return getTokens(MariaDBParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MariaDBParser.LR_BRACKET, i);
}
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public List RR_BRACKET() { return getTokens(MariaDBParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MariaDBParser.RR_BRACKET, i);
}
public TerminalNode CHARACTER() { return getToken(MariaDBParser.CHARACTER, 0); }
public List SET() { return getTokens(MariaDBParser.SET); }
public TerminalNode SET(int i) {
return getToken(MariaDBParser.SET, i);
}
public List LINES() { return getTokens(MariaDBParser.LINES); }
public TerminalNode LINES(int i) {
return getToken(MariaDBParser.LINES, i);
}
public List IGNORE() { return getTokens(MariaDBParser.IGNORE); }
public TerminalNode IGNORE(int i) {
return getToken(MariaDBParser.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(MariaDBParser.LOW_PRIORITY, 0); }
public TerminalNode CONCURRENT() { return getToken(MariaDBParser.CONCURRENT, 0); }
public TerminalNode REPLACE() { return getToken(MariaDBParser.REPLACE, 0); }
public TerminalNode FIELDS() { return getToken(MariaDBParser.FIELDS, 0); }
public TerminalNode COLUMNS() { return getToken(MariaDBParser.COLUMNS, 0); }
public TerminalNode ROWS() { return getToken(MariaDBParser.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(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterLoadDataStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitLoadDataStatement(this);
}
}
public final LoadDataStatementContext loadDataStatement() throws RecognitionException {
LoadDataStatementContext _localctx = new LoadDataStatementContext(_ctx, getState());
enterRule(_localctx, 204, RULE_loadDataStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3379);
match(LOAD);
setState(3380);
match(DATA);
setState(3382);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LOW_PRIORITY || _la==CONCURRENT) {
{
setState(3381);
((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(3385);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LOCAL) {
{
setState(3384);
match(LOCAL);
}
}
setState(3387);
match(INFILE);
setState(3388);
((LoadDataStatementContext)_localctx).filename = match(STRING_LITERAL);
setState(3390);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE || _la==REPLACE) {
{
setState(3389);
((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(3392);
match(INTO);
setState(3393);
match(TABLE);
setState(3394);
tableName();
setState(3400);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITION) {
{
setState(3395);
match(PARTITION);
setState(3396);
match(LR_BRACKET);
setState(3397);
uidList();
setState(3398);
match(RR_BRACKET);
}
}
setState(3405);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CHARACTER) {
{
setState(3402);
match(CHARACTER);
setState(3403);
match(SET);
setState(3404);
((LoadDataStatementContext)_localctx).charset = charsetName();
}
}
setState(3413);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLUMNS || _la==FIELDS) {
{
setState(3407);
((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(3409);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(3408);
selectFieldsInto();
}
}
setState(3411);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==ENCLOSED || _la==ESCAPED || _la==OPTIONALLY || _la==TERMINATED );
}
}
setState(3421);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LINES) {
{
setState(3415);
match(LINES);
setState(3417);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(3416);
selectLinesInto();
}
}
setState(3419);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==STARTING || _la==TERMINATED );
}
}
setState(3427);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE) {
{
setState(3423);
match(IGNORE);
setState(3424);
decimalLiteral();
setState(3425);
((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(3440);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,470,_ctx) ) {
case 1:
{
setState(3429);
match(LR_BRACKET);
setState(3430);
assignmentField();
setState(3435);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3431);
match(COMMA);
setState(3432);
assignmentField();
}
}
setState(3437);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(3438);
match(RR_BRACKET);
}
break;
}
setState(3451);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,472,_ctx) ) {
case 1:
{
setState(3442);
match(SET);
setState(3443);
updatedElement();
setState(3448);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3444);
match(COMMA);
setState(3445);
updatedElement();
}
}
setState(3450);
_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(MariaDBParser.LOAD, 0); }
public TerminalNode XML() { return getToken(MariaDBParser.XML, 0); }
public TerminalNode INFILE() { return getToken(MariaDBParser.INFILE, 0); }
public TerminalNode INTO() { return getToken(MariaDBParser.INTO, 0); }
public TerminalNode TABLE() { return getToken(MariaDBParser.TABLE, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public List STRING_LITERAL() { return getTokens(MariaDBParser.STRING_LITERAL); }
public TerminalNode STRING_LITERAL(int i) {
return getToken(MariaDBParser.STRING_LITERAL, i);
}
public TerminalNode LOCAL() { return getToken(MariaDBParser.LOCAL, 0); }
public TerminalNode CHARACTER() { return getToken(MariaDBParser.CHARACTER, 0); }
public List SET() { return getTokens(MariaDBParser.SET); }
public TerminalNode SET(int i) {
return getToken(MariaDBParser.SET, i);
}
public List ROWS() { return getTokens(MariaDBParser.ROWS); }
public TerminalNode ROWS(int i) {
return getToken(MariaDBParser.ROWS, i);
}
public TerminalNode IDENTIFIED() { return getToken(MariaDBParser.IDENTIFIED, 0); }
public TerminalNode BY() { return getToken(MariaDBParser.BY, 0); }
public TerminalNode LESS_SYMBOL() { return getToken(MariaDBParser.LESS_SYMBOL, 0); }
public TerminalNode GREATER_SYMBOL() { return getToken(MariaDBParser.GREATER_SYMBOL, 0); }
public List IGNORE() { return getTokens(MariaDBParser.IGNORE); }
public TerminalNode IGNORE(int i) {
return getToken(MariaDBParser.IGNORE, i);
}
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.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(MariaDBParser.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(MariaDBParser.LOW_PRIORITY, 0); }
public TerminalNode CONCURRENT() { return getToken(MariaDBParser.CONCURRENT, 0); }
public TerminalNode REPLACE() { return getToken(MariaDBParser.REPLACE, 0); }
public TerminalNode LINES() { return getToken(MariaDBParser.LINES, 0); }
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterLoadXmlStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitLoadXmlStatement(this);
}
}
public final LoadXmlStatementContext loadXmlStatement() throws RecognitionException {
LoadXmlStatementContext _localctx = new LoadXmlStatementContext(_ctx, getState());
enterRule(_localctx, 206, RULE_loadXmlStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3453);
match(LOAD);
setState(3454);
match(XML);
setState(3456);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LOW_PRIORITY || _la==CONCURRENT) {
{
setState(3455);
((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(3459);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LOCAL) {
{
setState(3458);
match(LOCAL);
}
}
setState(3461);
match(INFILE);
setState(3462);
((LoadXmlStatementContext)_localctx).filename = match(STRING_LITERAL);
setState(3464);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE || _la==REPLACE) {
{
setState(3463);
((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(3466);
match(INTO);
setState(3467);
match(TABLE);
setState(3468);
tableName();
setState(3472);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CHARACTER) {
{
setState(3469);
match(CHARACTER);
setState(3470);
match(SET);
setState(3471);
((LoadXmlStatementContext)_localctx).charset = charsetName();
}
}
setState(3480);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ROWS) {
{
setState(3474);
match(ROWS);
setState(3475);
match(IDENTIFIED);
setState(3476);
match(BY);
setState(3477);
match(LESS_SYMBOL);
setState(3478);
((LoadXmlStatementContext)_localctx).tag = match(STRING_LITERAL);
setState(3479);
match(GREATER_SYMBOL);
}
}
setState(3486);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE) {
{
setState(3482);
match(IGNORE);
setState(3483);
decimalLiteral();
setState(3484);
((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(3499);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,480,_ctx) ) {
case 1:
{
setState(3488);
match(LR_BRACKET);
setState(3489);
assignmentField();
setState(3494);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3490);
match(COMMA);
setState(3491);
assignmentField();
}
}
setState(3496);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(3497);
match(RR_BRACKET);
}
break;
}
setState(3510);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,482,_ctx) ) {
case 1:
{
setState(3501);
match(SET);
setState(3502);
updatedElement();
setState(3507);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3503);
match(COMMA);
setState(3504);
updatedElement();
}
}
setState(3509);
_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(MariaDBParser.REPLACE, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public InsertStatementValueContext insertStatementValue() {
return getRuleContext(InsertStatementValueContext.class,0);
}
public TerminalNode SET() { return getToken(MariaDBParser.SET, 0); }
public TerminalNode INTO() { return getToken(MariaDBParser.INTO, 0); }
public TerminalNode PARTITION() { return getToken(MariaDBParser.PARTITION, 0); }
public List LR_BRACKET() { return getTokens(MariaDBParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MariaDBParser.LR_BRACKET, i);
}
public List RR_BRACKET() { return getTokens(MariaDBParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MariaDBParser.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(MariaDBParser.LOW_PRIORITY, 0); }
public TerminalNode DELAYED() { return getToken(MariaDBParser.DELAYED, 0); }
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterReplaceStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitReplaceStatement(this);
}
}
public final ReplaceStatementContext replaceStatement() throws RecognitionException {
ReplaceStatementContext _localctx = new ReplaceStatementContext(_ctx, getState());
enterRule(_localctx, 208, RULE_replaceStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3512);
match(REPLACE);
setState(3514);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DELAYED || _la==LOW_PRIORITY) {
{
setState(3513);
((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(3517);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INTO) {
{
setState(3516);
match(INTO);
}
}
setState(3519);
tableName();
setState(3525);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITION) {
{
setState(3520);
match(PARTITION);
setState(3521);
match(LR_BRACKET);
setState(3522);
((ReplaceStatementContext)_localctx).partitions = uidList();
setState(3523);
match(RR_BRACKET);
}
}
setState(3543);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SELECT:
case VALUES:
case VALUE:
case LR_BRACKET:
{
setState(3531);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,486,_ctx) ) {
case 1:
{
setState(3527);
match(LR_BRACKET);
setState(3528);
((ReplaceStatementContext)_localctx).columns = uidList();
setState(3529);
match(RR_BRACKET);
}
break;
}
setState(3533);
insertStatementValue();
}
break;
case SET:
{
setState(3534);
match(SET);
setState(3535);
((ReplaceStatementContext)_localctx).setFirst = updatedElement();
setState(3540);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3536);
match(COMMA);
setState(3537);
((ReplaceStatementContext)_localctx).updatedElement = updatedElement();
((ReplaceStatementContext)_localctx).setElements.add(((ReplaceStatementContext)_localctx).updatedElement);
}
}
setState(3542);
_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 List unionStatement() {
return getRuleContexts(UnionStatementContext.class);
}
public UnionStatementContext unionStatement(int i) {
return getRuleContext(UnionStatementContext.class,i);
}
public TerminalNode UNION() { return getToken(MariaDBParser.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(MariaDBParser.ALL, 0); }
public TerminalNode DISTINCT() { return getToken(MariaDBParser.DISTINCT, 0); }
public UnionSelectContext(SelectStatementContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterUnionSelect(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(MariaDBParser.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(MariaDBParser.ALL, 0); }
public TerminalNode DISTINCT() { return getToken(MariaDBParser.DISTINCT, 0); }
public UnionParenthesisSelectContext(SelectStatementContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterUnionParenthesisSelect(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterSimpleSelect(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterParenthesisSelect(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitParenthesisSelect(this);
}
}
public static class WithLateralStatementContext extends SelectStatementContext {
public QuerySpecificationNointoContext querySpecificationNointo() {
return getRuleContext(QuerySpecificationNointoContext.class,0);
}
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterWithLateralStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitWithLateralStatement(this);
}
}
public final SelectStatementContext selectStatement() throws RecognitionException {
SelectStatementContext _localctx = new SelectStatementContext(_ctx, getState());
enterRule(_localctx, 210, RULE_selectStatement);
int _la;
try {
int _alt;
setState(3607);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,505,_ctx) ) {
case 1:
_localctx = new SimpleSelectContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(3545);
querySpecification();
setState(3547);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,489,_ctx) ) {
case 1:
{
setState(3546);
lockClause();
}
break;
}
}
break;
case 2:
_localctx = new ParenthesisSelectContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(3549);
queryExpression();
setState(3551);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,490,_ctx) ) {
case 1:
{
setState(3550);
lockClause();
}
break;
}
}
break;
case 3:
_localctx = new UnionSelectContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(3553);
querySpecificationNointo();
setState(3555);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
{
setState(3554);
unionStatement();
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(3557);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,491,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
setState(3567);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==UNION) {
{
setState(3559);
match(UNION);
setState(3561);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ALL || _la==DISTINCT) {
{
setState(3560);
((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(3565);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SELECT:
{
setState(3563);
querySpecification();
}
break;
case LR_BRACKET:
{
setState(3564);
queryExpression();
}
break;
default:
throw new NoViableAltException(this);
}
}
}
setState(3570);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,495,_ctx) ) {
case 1:
{
setState(3569);
orderByClause();
}
break;
}
setState(3573);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LIMIT) {
{
setState(3572);
limitClause();
}
}
setState(3576);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,497,_ctx) ) {
case 1:
{
setState(3575);
lockClause();
}
break;
}
}
break;
case 4:
_localctx = new UnionParenthesisSelectContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(3578);
queryExpressionNointo();
setState(3580);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
{
setState(3579);
unionParenthesis();
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(3582);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,498,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
setState(3589);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==UNION) {
{
setState(3584);
match(UNION);
setState(3586);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ALL || _la==DISTINCT) {
{
setState(3585);
((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(3588);
queryExpression();
}
}
setState(3592);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,501,_ctx) ) {
case 1:
{
setState(3591);
orderByClause();
}
break;
}
setState(3595);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LIMIT) {
{
setState(3594);
limitClause();
}
}
setState(3598);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,503,_ctx) ) {
case 1:
{
setState(3597);
lockClause();
}
break;
}
}
break;
case 5:
_localctx = new WithLateralStatementContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(3600);
querySpecificationNointo();
setState(3603);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(3601);
match(COMMA);
setState(3602);
lateralStatement();
}
}
setState(3605);
_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 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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterUpdateStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitUpdateStatement(this);
}
}
public final UpdateStatementContext updateStatement() throws RecognitionException {
UpdateStatementContext _localctx = new UpdateStatementContext(_ctx, getState());
enterRule(_localctx, 212, RULE_updateStatement);
try {
setState(3611);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,506,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(3609);
singleUpdateStatement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(3610);
multipleUpdateStatement();
}
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(MariaDBParser.VALUES, 0); }
public List LR_BRACKET() { return getTokens(MariaDBParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MariaDBParser.LR_BRACKET, i);
}
public List RR_BRACKET() { return getTokens(MariaDBParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MariaDBParser.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(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterValuesStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitValuesStatement(this);
}
}
public final ValuesStatementContext valuesStatement() throws RecognitionException {
ValuesStatementContext _localctx = new ValuesStatementContext(_ctx, getState());
enterRule(_localctx, 214, RULE_valuesStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3613);
match(VALUES);
setState(3614);
match(LR_BRACKET);
setState(3616);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,507,_ctx) ) {
case 1:
{
setState(3615);
expressionsWithDefaults();
}
break;
}
setState(3618);
match(RR_BRACKET);
setState(3627);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3619);
match(COMMA);
setState(3620);
match(LR_BRACKET);
setState(3622);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,508,_ctx) ) {
case 1:
{
setState(3621);
expressionsWithDefaults();
}
break;
}
setState(3624);
match(RR_BRACKET);
}
}
setState(3629);
_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 InsertStatementValueContext extends ParserRuleContext {
public Token insertFormat;
public SelectStatementContext selectStatement() {
return getRuleContext(SelectStatementContext.class,0);
}
public List LR_BRACKET() { return getTokens(MariaDBParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MariaDBParser.LR_BRACKET, i);
}
public List RR_BRACKET() { return getTokens(MariaDBParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MariaDBParser.RR_BRACKET, i);
}
public TerminalNode VALUES() { return getToken(MariaDBParser.VALUES, 0); }
public TerminalNode VALUE() { return getToken(MariaDBParser.VALUE, 0); }
public List expressionsWithDefaults() {
return getRuleContexts(ExpressionsWithDefaultsContext.class);
}
public ExpressionsWithDefaultsContext expressionsWithDefaults(int i) {
return getRuleContext(ExpressionsWithDefaultsContext.class,i);
}
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterInsertStatementValue(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitInsertStatementValue(this);
}
}
public final InsertStatementValueContext insertStatementValue() throws RecognitionException {
InsertStatementValueContext _localctx = new InsertStatementValueContext(_ctx, getState());
enterRule(_localctx, 216, RULE_insertStatementValue);
int _la;
try {
setState(3648);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SELECT:
case LR_BRACKET:
enterOuterAlt(_localctx, 1);
{
setState(3630);
selectStatement();
}
break;
case VALUES:
case VALUE:
enterOuterAlt(_localctx, 2);
{
setState(3631);
((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(3632);
match(LR_BRACKET);
setState(3634);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,510,_ctx) ) {
case 1:
{
setState(3633);
expressionsWithDefaults();
}
break;
}
setState(3636);
match(RR_BRACKET);
setState(3645);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3637);
match(COMMA);
setState(3638);
match(LR_BRACKET);
setState(3640);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,511,_ctx) ) {
case 1:
{
setState(3639);
expressionsWithDefaults();
}
break;
}
setState(3642);
match(RR_BRACKET);
}
}
setState(3647);
_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(MariaDBParser.EQUAL_SYMBOL, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode DEFAULT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterUpdatedElement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitUpdatedElement(this);
}
}
public final UpdatedElementContext updatedElement() throws RecognitionException {
UpdatedElementContext _localctx = new UpdatedElementContext(_ctx, getState());
enterRule(_localctx, 218, RULE_updatedElement);
try {
enterOuterAlt(_localctx, 1);
{
setState(3650);
fullColumnName();
setState(3651);
match(EQUAL_SYMBOL);
setState(3654);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,514,_ctx) ) {
case 1:
{
setState(3652);
expression(0);
}
break;
case 2:
{
setState(3653);
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(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterAssignmentField(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAssignmentField(this);
}
}
public final AssignmentFieldContext assignmentField() throws RecognitionException {
AssignmentFieldContext _localctx = new AssignmentFieldContext(_ctx, getState());
enterRule(_localctx, 220, RULE_assignmentField);
try {
setState(3658);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ATTRIBUTE:
case BODY:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case EXCEPT:
case GROUP:
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 PACKAGE:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
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 LOCALES:
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 QUERY_RESPONSE_TIME:
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 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 SLAVES:
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 TYPES:
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 WSREP_MEMBERSHIP:
case WSREP_STATUS:
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 ADMIN:
case AUDIT_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_USER:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
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 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_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
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 TAN:
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 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 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 REPLICAS:
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(3656);
uid();
}
break;
case LOCAL_ID:
enterOuterAlt(_localctx, 2);
{
setState(3657);
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(MariaDBParser.FOR, 0); }
public TerminalNode UPDATE() { return getToken(MariaDBParser.UPDATE, 0); }
public TerminalNode LOCK() { return getToken(MariaDBParser.LOCK, 0); }
public TerminalNode IN() { return getToken(MariaDBParser.IN, 0); }
public TerminalNode SHARE() { return getToken(MariaDBParser.SHARE, 0); }
public TerminalNode MODE() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterLockClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitLockClause(this);
}
}
public final LockClauseContext lockClause() throws RecognitionException {
LockClauseContext _localctx = new LockClauseContext(_ctx, getState());
enterRule(_localctx, 222, RULE_lockClause);
try {
enterOuterAlt(_localctx, 1);
{
setState(3666);
_errHandler.sync(this);
switch (_input.LA(1)) {
case FOR:
{
setState(3660);
match(FOR);
setState(3661);
match(UPDATE);
}
break;
case LOCK:
{
setState(3662);
match(LOCK);
setState(3663);
match(IN);
setState(3664);
match(SHARE);
setState(3665);
match(MODE);
}
break;
default:
throw new NoViableAltException(this);
}
setState(3669);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,517,_ctx) ) {
case 1:
{
setState(3668);
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(MariaDBParser.DELETE, 0); }
public TerminalNode FROM() { return getToken(MariaDBParser.FROM, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode QUICK() { return getToken(MariaDBParser.QUICK, 0); }
public TerminalNode IGNORE() { return getToken(MariaDBParser.IGNORE, 0); }
public TerminalNode PARTITION() { return getToken(MariaDBParser.PARTITION, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode WHERE() { return getToken(MariaDBParser.WHERE, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public OrderByClauseContext orderByClause() {
return getRuleContext(OrderByClauseContext.class,0);
}
public TerminalNode LIMIT() { return getToken(MariaDBParser.LIMIT, 0); }
public LimitClauseAtomContext limitClauseAtom() {
return getRuleContext(LimitClauseAtomContext.class,0);
}
public TerminalNode LOW_PRIORITY() { return getToken(MariaDBParser.LOW_PRIORITY, 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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterSingleDeleteStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitSingleDeleteStatement(this);
}
}
public final SingleDeleteStatementContext singleDeleteStatement() throws RecognitionException {
SingleDeleteStatementContext _localctx = new SingleDeleteStatementContext(_ctx, getState());
enterRule(_localctx, 224, RULE_singleDeleteStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3671);
match(DELETE);
setState(3673);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LOW_PRIORITY) {
{
setState(3672);
((SingleDeleteStatementContext)_localctx).priority = match(LOW_PRIORITY);
}
}
setState(3676);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==QUICK) {
{
setState(3675);
match(QUICK);
}
}
setState(3679);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE) {
{
setState(3678);
match(IGNORE);
}
}
setState(3681);
match(FROM);
setState(3682);
tableName();
setState(3688);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITION) {
{
setState(3683);
match(PARTITION);
setState(3684);
match(LR_BRACKET);
setState(3685);
uidList();
setState(3686);
match(RR_BRACKET);
}
}
setState(3692);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WHERE) {
{
setState(3690);
match(WHERE);
setState(3691);
expression(0);
}
}
setState(3695);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ORDER) {
{
setState(3694);
orderByClause();
}
}
setState(3699);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LIMIT) {
{
setState(3697);
match(LIMIT);
setState(3698);
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(MariaDBParser.DELETE, 0); }
public List tableName() {
return getRuleContexts(TableNameContext.class);
}
public TableNameContext tableName(int i) {
return getRuleContext(TableNameContext.class,i);
}
public TerminalNode FROM() { return getToken(MariaDBParser.FROM, 0); }
public TableSourcesContext tableSources() {
return getRuleContext(TableSourcesContext.class,0);
}
public TerminalNode USING() { return getToken(MariaDBParser.USING, 0); }
public TerminalNode QUICK() { return getToken(MariaDBParser.QUICK, 0); }
public TerminalNode IGNORE() { return getToken(MariaDBParser.IGNORE, 0); }
public TerminalNode WHERE() { return getToken(MariaDBParser.WHERE, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode LOW_PRIORITY() { return getToken(MariaDBParser.LOW_PRIORITY, 0); }
public List DOT() { return getTokens(MariaDBParser.DOT); }
public TerminalNode DOT(int i) {
return getToken(MariaDBParser.DOT, i);
}
public List STAR() { return getTokens(MariaDBParser.STAR); }
public TerminalNode STAR(int i) {
return getToken(MariaDBParser.STAR, i);
}
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterMultipleDeleteStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitMultipleDeleteStatement(this);
}
}
public final MultipleDeleteStatementContext multipleDeleteStatement() throws RecognitionException {
MultipleDeleteStatementContext _localctx = new MultipleDeleteStatementContext(_ctx, getState());
enterRule(_localctx, 226, RULE_multipleDeleteStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3701);
match(DELETE);
setState(3703);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LOW_PRIORITY) {
{
setState(3702);
((MultipleDeleteStatementContext)_localctx).priority = match(LOW_PRIORITY);
}
}
setState(3706);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,526,_ctx) ) {
case 1:
{
setState(3705);
match(QUICK);
}
break;
}
setState(3709);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE) {
{
setState(3708);
match(IGNORE);
}
}
setState(3750);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ATTRIBUTE:
case BODY:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case EXCEPT:
case GROUP:
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 PACKAGE:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
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 LOCALES:
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 QUERY_RESPONSE_TIME:
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 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 SLAVES:
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 TYPES:
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 WSREP_MEMBERSHIP:
case WSREP_STATUS:
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 ADMIN:
case AUDIT_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_USER:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
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 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_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
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 TAN:
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 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 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 REPLICAS:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
{
setState(3711);
tableName();
setState(3714);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DOT) {
{
setState(3712);
match(DOT);
setState(3713);
match(STAR);
}
}
setState(3724);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3716);
match(COMMA);
setState(3717);
tableName();
setState(3720);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DOT) {
{
setState(3718);
match(DOT);
setState(3719);
match(STAR);
}
}
}
}
setState(3726);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(3727);
match(FROM);
setState(3728);
tableSources();
}
break;
case FROM:
{
setState(3730);
match(FROM);
setState(3731);
tableName();
setState(3734);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DOT) {
{
setState(3732);
match(DOT);
setState(3733);
match(STAR);
}
}
setState(3744);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3736);
match(COMMA);
setState(3737);
tableName();
setState(3740);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DOT) {
{
setState(3738);
match(DOT);
setState(3739);
match(STAR);
}
}
}
}
setState(3746);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(3747);
match(USING);
setState(3748);
tableSources();
}
break;
default:
throw new NoViableAltException(this);
}
setState(3754);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WHERE) {
{
setState(3752);
match(WHERE);
setState(3753);
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(MariaDBParser.HANDLER, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode OPEN() { return getToken(MariaDBParser.OPEN, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode AS() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterHandlerOpenStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitHandlerOpenStatement(this);
}
}
public final HandlerOpenStatementContext handlerOpenStatement() throws RecognitionException {
HandlerOpenStatementContext _localctx = new HandlerOpenStatementContext(_ctx, getState());
enterRule(_localctx, 228, RULE_handlerOpenStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3756);
match(HANDLER);
setState(3757);
tableName();
setState(3758);
match(OPEN);
setState(3763);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,537,_ctx) ) {
case 1:
{
setState(3760);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(3759);
match(AS);
}
}
setState(3762);
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(MariaDBParser.HANDLER, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode READ() { return getToken(MariaDBParser.READ, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public ComparisonOperatorContext comparisonOperator() {
return getRuleContext(ComparisonOperatorContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public ConstantsContext constants() {
return getRuleContext(ConstantsContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode WHERE() { return getToken(MariaDBParser.WHERE, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode LIMIT() { return getToken(MariaDBParser.LIMIT, 0); }
public LimitClauseAtomContext limitClauseAtom() {
return getRuleContext(LimitClauseAtomContext.class,0);
}
public TerminalNode FIRST() { return getToken(MariaDBParser.FIRST, 0); }
public TerminalNode NEXT() { return getToken(MariaDBParser.NEXT, 0); }
public TerminalNode PREV() { return getToken(MariaDBParser.PREV, 0); }
public TerminalNode LAST() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterHandlerReadIndexStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitHandlerReadIndexStatement(this);
}
}
public final HandlerReadIndexStatementContext handlerReadIndexStatement() throws RecognitionException {
HandlerReadIndexStatementContext _localctx = new HandlerReadIndexStatementContext(_ctx, getState());
enterRule(_localctx, 230, RULE_handlerReadIndexStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3765);
match(HANDLER);
setState(3766);
tableName();
setState(3767);
match(READ);
setState(3768);
((HandlerReadIndexStatementContext)_localctx).index = uid();
setState(3775);
_errHandler.sync(this);
switch (_input.LA(1)) {
case EQUAL_SYMBOL:
case GREATER_SYMBOL:
case LESS_SYMBOL:
case EXCLAMATION_SYMBOL:
{
setState(3769);
comparisonOperator();
setState(3770);
match(LR_BRACKET);
setState(3771);
constants();
setState(3772);
match(RR_BRACKET);
}
break;
case FIRST:
case LAST:
case NEXT:
case PREV:
{
setState(3774);
((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(3779);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WHERE) {
{
setState(3777);
match(WHERE);
setState(3778);
expression(0);
}
}
setState(3783);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LIMIT) {
{
setState(3781);
match(LIMIT);
setState(3782);
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(MariaDBParser.HANDLER, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode READ() { return getToken(MariaDBParser.READ, 0); }
public TerminalNode FIRST() { return getToken(MariaDBParser.FIRST, 0); }
public TerminalNode NEXT() { return getToken(MariaDBParser.NEXT, 0); }
public TerminalNode WHERE() { return getToken(MariaDBParser.WHERE, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode LIMIT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterHandlerReadStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitHandlerReadStatement(this);
}
}
public final HandlerReadStatementContext handlerReadStatement() throws RecognitionException {
HandlerReadStatementContext _localctx = new HandlerReadStatementContext(_ctx, getState());
enterRule(_localctx, 232, RULE_handlerReadStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3785);
match(HANDLER);
setState(3786);
tableName();
setState(3787);
match(READ);
setState(3788);
((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(3791);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WHERE) {
{
setState(3789);
match(WHERE);
setState(3790);
expression(0);
}
}
setState(3795);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LIMIT) {
{
setState(3793);
match(LIMIT);
setState(3794);
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(MariaDBParser.HANDLER, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode CLOSE() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterHandlerCloseStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitHandlerCloseStatement(this);
}
}
public final HandlerCloseStatementContext handlerCloseStatement() throws RecognitionException {
HandlerCloseStatementContext _localctx = new HandlerCloseStatementContext(_ctx, getState());
enterRule(_localctx, 234, RULE_handlerCloseStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(3797);
match(HANDLER);
setState(3798);
tableName();
setState(3799);
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(MariaDBParser.UPDATE, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode SET() { return getToken(MariaDBParser.SET, 0); }
public List updatedElement() {
return getRuleContexts(UpdatedElementContext.class);
}
public UpdatedElementContext updatedElement(int i) {
return getRuleContext(UpdatedElementContext.class,i);
}
public TerminalNode IGNORE() { return getToken(MariaDBParser.IGNORE, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.COMMA, i);
}
public TerminalNode WHERE() { return getToken(MariaDBParser.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(MariaDBParser.LOW_PRIORITY, 0); }
public TerminalNode AS() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterSingleUpdateStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitSingleUpdateStatement(this);
}
}
public final SingleUpdateStatementContext singleUpdateStatement() throws RecognitionException {
SingleUpdateStatementContext _localctx = new SingleUpdateStatementContext(_ctx, getState());
enterRule(_localctx, 236, RULE_singleUpdateStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3801);
match(UPDATE);
setState(3803);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LOW_PRIORITY) {
{
setState(3802);
((SingleUpdateStatementContext)_localctx).priority = match(LOW_PRIORITY);
}
}
setState(3806);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE) {
{
setState(3805);
match(IGNORE);
}
}
setState(3808);
tableName();
setState(3813);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << AS) | (1L << ATTRIBUTE) | (1L << BODY) | (1L << BUCKETS) | (1L << CONDITION) | (1L << CURRENT) | (1L << CURRENT_ROLE) | (1L << CURRENT_USER) | (1L << DATABASE) | (1L << DEFAULT) | (1L << DIAGNOSTICS) | (1L << EMPTY) | (1L << EXCEPT))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (GROUP - 73)) | (1L << (IF - 73)) | (1L << (IGNORED - 73)) | (1L << (INSERT - 73)) | (1L << (LATERAL - 73)) | (1L << (LEFT - 73)) | (1L << (LOCKED - 73)) | (1L << (MAXVALUE - 73)) | (1L << (MINVALUE - 73)) | (1L << (NUMBER - 73)) | (1L << (OPTIONAL - 73)) | (1L << (ORDER - 73)) | (1L << (PRIMARY - 73)) | (1L << (PACKAGE - 73)))) != 0) || ((((_la - 142)) & ~0x3f) == 0 && ((1L << (_la - 142)) & ((1L << (REPLACE - 142)) | (1L << (RIGHT - 142)) | (1L << (SCHEMA - 142)) | (1L << (SKIP_ - 142)) | (1L << (STACKED - 142)) | (1L << (STATEMENT - 142)))) != 0) || ((((_la - 217)) & ~0x3f) == 0 && ((1L << (_la - 217)) & ((1L << (DATE - 217)) | (1L << (TIME - 217)) | (1L << (TIMESTAMP - 217)) | (1L << (DATETIME - 217)) | (1L << (YEAR - 217)) | (1L << (BINARY - 217)) | (1L << (TEXT - 217)) | (1L << (ENUM - 217)) | (1L << (SERIAL - 217)) | (1L << (JSON_ARRAY - 217)) | (1L << (JSON_ARRAYAGG - 217)) | (1L << (JSON_ARRAY_APPEND - 217)) | (1L << (JSON_ARRAY_INSERT - 217)) | (1L << (JSON_CONTAINS - 217)) | (1L << (JSON_CONTAINS_PATH - 217)) | (1L << (JSON_DEPTH - 217)) | (1L << (JSON_EXTRACT - 217)) | (1L << (JSON_INSERT - 217)) | (1L << (JSON_KEYS - 217)) | (1L << (JSON_LENGTH - 217)) | (1L << (JSON_MERGE - 217)) | (1L << (JSON_MERGE_PATCH - 217)) | (1L << (JSON_MERGE_PRESERVE - 217)) | (1L << (JSON_OBJECT - 217)) | (1L << (JSON_OBJECTAGG - 217)) | (1L << (JSON_OVERLAPS - 217)) | (1L << (JSON_PRETTY - 217)) | (1L << (JSON_QUOTE - 217)) | (1L << (JSON_REMOVE - 217)) | (1L << (JSON_REPLACE - 217)) | (1L << (JSON_SCHEMA_VALID - 217)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 217)) | (1L << (JSON_SEARCH - 217)) | (1L << (JSON_SET - 217)) | (1L << (JSON_STORAGE_FREE - 217)) | (1L << (JSON_STORAGE_SIZE - 217)) | (1L << (JSON_TABLE - 217)) | (1L << (JSON_TYPE - 217)) | (1L << (JSON_UNQUOTE - 217)))) != 0) || ((((_la - 281)) & ~0x3f) == 0 && ((1L << (_la - 281)) & ((1L << (JSON_VALID - 281)) | (1L << (JSON_VALUE - 281)) | (1L << (NESTED - 281)) | (1L << (ORDINALITY - 281)) | (1L << (PATH - 281)) | (1L << (AVG - 281)) | (1L << (BIT_AND - 281)) | (1L << (BIT_OR - 281)) | (1L << (BIT_XOR - 281)) | (1L << (COUNT - 281)) | (1L << (CUME_DIST - 281)) | (1L << (DENSE_RANK - 281)) | (1L << (FIRST_VALUE - 281)) | (1L << (GROUP_CONCAT - 281)) | (1L << (LAG - 281)) | (1L << (LAST_VALUE - 281)) | (1L << (LEAD - 281)) | (1L << (MAX - 281)) | (1L << (MIN - 281)) | (1L << (NTILE - 281)) | (1L << (NTH_VALUE - 281)) | (1L << (PERCENT_RANK - 281)) | (1L << (RANK - 281)) | (1L << (ROW_NUMBER - 281)) | (1L << (STD - 281)) | (1L << (STDDEV - 281)) | (1L << (STDDEV_POP - 281)) | (1L << (STDDEV_SAMP - 281)) | (1L << (SUM - 281)) | (1L << (VAR_POP - 281)) | (1L << (VAR_SAMP - 281)) | (1L << (VARIANCE - 281)) | (1L << (CURRENT_DATE - 281)) | (1L << (CURRENT_TIME - 281)) | (1L << (CURRENT_TIMESTAMP - 281)) | (1L << (LOCALTIME - 281)) | (1L << (CURDATE - 281)) | (1L << (CURTIME - 281)) | (1L << (DATE_ADD - 281)) | (1L << (DATE_SUB - 281)) | (1L << (LOCALTIMESTAMP - 281)) | (1L << (NOW - 281)) | (1L << (POSITION - 281)) | (1L << (SUBSTR - 281)) | (1L << (SUBSTRING - 281)) | (1L << (SYSDATE - 281)) | (1L << (TRIM - 281)) | (1L << (UTC_DATE - 281)) | (1L << (UTC_TIME - 281)) | (1L << (UTC_TIMESTAMP - 281)) | (1L << (ACCOUNT - 281)) | (1L << (ACTION - 281)) | (1L << (AFTER - 281)) | (1L << (AGGREGATE - 281)) | (1L << (ALGORITHM - 281)) | (1L << (ANY - 281)) | (1L << (AT - 281)) | (1L << (AUTHORS - 281)) | (1L << (AUTOCOMMIT - 281)) | (1L << (AUTOEXTEND_SIZE - 281)) | (1L << (AUTO_INCREMENT - 281)) | (1L << (AVG_ROW_LENGTH - 281)) | (1L << (BEGIN - 281)))) != 0) || ((((_la - 345)) & ~0x3f) == 0 && ((1L << (_la - 345)) & ((1L << (BINLOG - 345)) | (1L << (BIT - 345)) | (1L << (BLOCK - 345)) | (1L << (BOOL - 345)) | (1L << (BOOLEAN - 345)) | (1L << (BTREE - 345)) | (1L << (CACHE - 345)) | (1L << (CASCADED - 345)) | (1L << (CHAIN - 345)) | (1L << (CHANGED - 345)) | (1L << (CHANNEL - 345)) | (1L << (CHECKSUM - 345)) | (1L << (PAGE_CHECKSUM - 345)) | (1L << (CIPHER - 345)) | (1L << (CLASS_ORIGIN - 345)) | (1L << (CLIENT - 345)) | (1L << (CLOSE - 345)) | (1L << (CLUSTERING - 345)) | (1L << (COALESCE - 345)) | (1L << (CODE - 345)) | (1L << (COLUMNS - 345)) | (1L << (COLUMN_FORMAT - 345)) | (1L << (COLUMN_NAME - 345)) | (1L << (COMMENT - 345)) | (1L << (COMMIT - 345)) | (1L << (COMPACT - 345)) | (1L << (COMPLETION - 345)) | (1L << (COMPRESSED - 345)) | (1L << (COMPRESSION - 345)) | (1L << (CONCURRENT - 345)) | (1L << (CONNECT - 345)) | (1L << (CONNECTION - 345)) | (1L << (CONSISTENT - 345)) | (1L << (CONSTRAINT_CATALOG - 345)) | (1L << (CONSTRAINT_SCHEMA - 345)) | (1L << (CONSTRAINT_NAME - 345)) | (1L << (CONTAINS - 345)) | (1L << (CONTEXT - 345)) | (1L << (CONTRIBUTORS - 345)) | (1L << (COPY - 345)) | (1L << (CPU - 345)) | (1L << (CYCLE - 345)) | (1L << (CURSOR_NAME - 345)) | (1L << (DATA - 345)) | (1L << (DATAFILE - 345)) | (1L << (DEALLOCATE - 345)) | (1L << (DEFAULT_AUTH - 345)) | (1L << (DEFINER - 345)) | (1L << (DELAY_KEY_WRITE - 345)) | (1L << (DES_KEY_FILE - 345)) | (1L << (DIRECTORY - 345)) | (1L << (DISABLE - 345)) | (1L << (DISCARD - 345)) | (1L << (DISK - 345)) | (1L << (DO - 345)) | (1L << (DUMPFILE - 345)) | (1L << (DUPLICATE - 345)) | (1L << (DYNAMIC - 345)) | (1L << (ENABLE - 345)) | (1L << (ENCRYPTED - 345)) | (1L << (ENCRYPTION - 345)) | (1L << (ENCRYPTION_KEY_ID - 345)) | (1L << (END - 345)) | (1L << (ENDS - 345)))) != 0) || ((((_la - 409)) & ~0x3f) == 0 && ((1L << (_la - 409)) & ((1L << (ENGINE - 409)) | (1L << (ENGINES - 409)) | (1L << (ERROR - 409)) | (1L << (ERRORS - 409)) | (1L << (ESCAPE - 409)) | (1L << (EVEN - 409)) | (1L << (EVENT - 409)) | (1L << (EVENTS - 409)) | (1L << (EVERY - 409)) | (1L << (EXCHANGE - 409)) | (1L << (EXCLUSIVE - 409)) | (1L << (EXPIRE - 409)) | (1L << (EXPORT - 409)) | (1L << (EXTENDED - 409)) | (1L << (EXTENT_SIZE - 409)) | (1L << (FAILED_LOGIN_ATTEMPTS - 409)) | (1L << (FAST - 409)) | (1L << (FAULTS - 409)) | (1L << (FIELDS - 409)) | (1L << (FILE_BLOCK_SIZE - 409)) | (1L << (FILTER - 409)) | (1L << (FIRST - 409)) | (1L << (FIXED - 409)) | (1L << (FLUSH - 409)) | (1L << (FOLLOWS - 409)) | (1L << (FOUND - 409)) | (1L << (FULL - 409)) | (1L << (FUNCTION - 409)) | (1L << (GENERAL - 409)) | (1L << (GLOBAL - 409)) | (1L << (GRANTS - 409)) | (1L << (GROUP_REPLICATION - 409)) | (1L << (HANDLER - 409)) | (1L << (HASH - 409)) | (1L << (HELP - 409)) | (1L << (HISTORY - 409)) | (1L << (HOST - 409)) | (1L << (HOSTS - 409)) | (1L << (IDENTIFIED - 409)) | (1L << (IGNORE_SERVER_IDS - 409)) | (1L << (IMPORT - 409)) | (1L << (INCREMENT - 409)) | (1L << (INDEXES - 409)) | (1L << (INITIAL_SIZE - 409)) | (1L << (INPLACE - 409)) | (1L << (INSERT_METHOD - 409)) | (1L << (INSTALL - 409)) | (1L << (INSTANCE - 409)) | (1L << (INSTANT - 409)) | (1L << (INVISIBLE - 409)) | (1L << (INVOKER - 409)) | (1L << (IO - 409)) | (1L << (IO_THREAD - 409)) | (1L << (IPC - 409)) | (1L << (ISOLATION - 409)) | (1L << (ISSUER - 409)) | (1L << (JSON - 409)) | (1L << (KEY_BLOCK_SIZE - 409)) | (1L << (LANGUAGE - 409)) | (1L << (LAST - 409)) | (1L << (LEAVES - 409)) | (1L << (LESS - 409)) | (1L << (LEVEL - 409)))) != 0) || ((((_la - 473)) & ~0x3f) == 0 && ((1L << (_la - 473)) & ((1L << (LIST - 473)) | (1L << (LOCAL - 473)) | (1L << (LOCALES - 473)) | (1L << (LOGFILE - 473)) | (1L << (LOGS - 473)) | (1L << (MASTER - 473)) | (1L << (MASTER_AUTO_POSITION - 473)) | (1L << (MASTER_CONNECT_RETRY - 473)) | (1L << (MASTER_DELAY - 473)) | (1L << (MASTER_HEARTBEAT_PERIOD - 473)) | (1L << (MASTER_HOST - 473)) | (1L << (MASTER_LOG_FILE - 473)) | (1L << (MASTER_LOG_POS - 473)) | (1L << (MASTER_PASSWORD - 473)) | (1L << (MASTER_PORT - 473)) | (1L << (MASTER_RETRY_COUNT - 473)) | (1L << (MASTER_SSL - 473)) | (1L << (MASTER_SSL_CA - 473)) | (1L << (MASTER_SSL_CAPATH - 473)) | (1L << (MASTER_SSL_CERT - 473)) | (1L << (MASTER_SSL_CIPHER - 473)) | (1L << (MASTER_SSL_CRL - 473)) | (1L << (MASTER_SSL_CRLPATH - 473)) | (1L << (MASTER_SSL_KEY - 473)) | (1L << (MASTER_TLS_VERSION - 473)) | (1L << (MASTER_USER - 473)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 473)) | (1L << (MAX_QUERIES_PER_HOUR - 473)) | (1L << (MAX_ROWS - 473)) | (1L << (MAX_SIZE - 473)) | (1L << (MAX_UPDATES_PER_HOUR - 473)) | (1L << (MAX_USER_CONNECTIONS - 473)) | (1L << (MEDIUM - 473)) | (1L << (MEMBER - 473)) | (1L << (MERGE - 473)) | (1L << (MESSAGE_TEXT - 473)) | (1L << (MID - 473)) | (1L << (MIGRATE - 473)) | (1L << (MIN_ROWS - 473)) | (1L << (MODE - 473)) | (1L << (MODIFY - 473)) | (1L << (MUTEX - 473)) | (1L << (MYSQL - 473)) | (1L << (MYSQL_ERRNO - 473)) | (1L << (NAME - 473)) | (1L << (NAMES - 473)) | (1L << (NCHAR - 473)) | (1L << (NEVER - 473)) | (1L << (NEXT - 473)) | (1L << (NO - 473)) | (1L << (NOCACHE - 473)) | (1L << (NOCOPY - 473)) | (1L << (NOCYCLE - 473)) | (1L << (NOMAXVALUE - 473)) | (1L << (NOMINVALUE - 473)) | (1L << (NOWAIT - 473)) | (1L << (NODEGROUP - 473)) | (1L << (NONE - 473)) | (1L << (ODBC - 473)) | (1L << (OFFLINE - 473)) | (1L << (OFFSET - 473)) | (1L << (OF - 473)) | (1L << (OJ - 473)) | (1L << (OLD_PASSWORD - 473)))) != 0) || ((((_la - 537)) & ~0x3f) == 0 && ((1L << (_la - 537)) & ((1L << (ONE - 537)) | (1L << (ONLINE - 537)) | (1L << (ONLY - 537)) | (1L << (OPEN - 537)) | (1L << (OPTIMIZER_COSTS - 537)) | (1L << (OPTIONS - 537)) | (1L << (OWNER - 537)) | (1L << (PACK_KEYS - 537)) | (1L << (PAGE - 537)) | (1L << (PARSER - 537)) | (1L << (PARTIAL - 537)) | (1L << (PARTITIONING - 537)) | (1L << (PARTITIONS - 537)) | (1L << (PASSWORD - 537)) | (1L << (PASSWORD_LOCK_TIME - 537)) | (1L << (PHASE - 537)) | (1L << (PLUGIN - 537)) | (1L << (PLUGIN_DIR - 537)) | (1L << (PLUGINS - 537)) | (1L << (PORT - 537)) | (1L << (PRECEDES - 537)) | (1L << (PREPARE - 537)) | (1L << (PRESERVE - 537)) | (1L << (PREV - 537)) | (1L << (PROCESSLIST - 537)) | (1L << (PROFILE - 537)) | (1L << (PROFILES - 537)) | (1L << (PROXY - 537)) | (1L << (QUERY - 537)) | (1L << (QUERY_RESPONSE_TIME - 537)) | (1L << (QUICK - 537)) | (1L << (REBUILD - 537)) | (1L << (RECOVER - 537)) | (1L << (RECURSIVE - 537)) | (1L << (REDO_BUFFER_SIZE - 537)) | (1L << (REDUNDANT - 537)) | (1L << (RELAY - 537)) | (1L << (RELAY_LOG_FILE - 537)) | (1L << (RELAY_LOG_POS - 537)) | (1L << (RELAYLOG - 537)) | (1L << (REMOVE - 537)) | (1L << (REORGANIZE - 537)) | (1L << (REPAIR - 537)) | (1L << (REPLICATE_DO_DB - 537)) | (1L << (REPLICATE_DO_TABLE - 537)) | (1L << (REPLICATE_IGNORE_DB - 537)) | (1L << (REPLICATE_IGNORE_TABLE - 537)) | (1L << (REPLICATE_REWRITE_DB - 537)) | (1L << (REPLICATE_WILD_DO_TABLE - 537)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 537)) | (1L << (REPLICATION - 537)) | (1L << (RESET - 537)) | (1L << (RESTART - 537)) | (1L << (RESUME - 537)) | (1L << (RETURNED_SQLSTATE - 537)) | (1L << (RETURNS - 537)) | (1L << (REUSE - 537)) | (1L << (ROLE - 537)) | (1L << (ROLLBACK - 537)) | (1L << (ROLLUP - 537)))) != 0) || ((((_la - 601)) & ~0x3f) == 0 && ((1L << (_la - 601)) & ((1L << (ROTATE - 601)) | (1L << (ROW - 601)) | (1L << (ROWS - 601)) | (1L << (ROW_FORMAT - 601)) | (1L << (RTREE - 601)) | (1L << (SAVEPOINT - 601)) | (1L << (SCHEDULE - 601)) | (1L << (SECURITY - 601)) | (1L << (SEQUENCE - 601)) | (1L << (SERVER - 601)) | (1L << (SESSION - 601)) | (1L << (SHARE - 601)) | (1L << (SHARED - 601)) | (1L << (SIGNED - 601)) | (1L << (SIMPLE - 601)) | (1L << (SLAVE - 601)) | (1L << (SLAVES - 601)) | (1L << (SLOW - 601)) | (1L << (SNAPSHOT - 601)) | (1L << (SOCKET - 601)) | (1L << (SOME - 601)) | (1L << (SONAME - 601)) | (1L << (SOUNDS - 601)) | (1L << (SOURCE - 601)) | (1L << (SQL_AFTER_GTIDS - 601)) | (1L << (SQL_AFTER_MTS_GAPS - 601)) | (1L << (SQL_BEFORE_GTIDS - 601)) | (1L << (SQL_BUFFER_RESULT - 601)) | (1L << (SQL_CACHE - 601)) | (1L << (SQL_NO_CACHE - 601)) | (1L << (SQL_THREAD - 601)) | (1L << (START - 601)) | (1L << (STARTS - 601)) | (1L << (STATS_AUTO_RECALC - 601)) | (1L << (STATS_PERSISTENT - 601)) | (1L << (STATS_SAMPLE_PAGES - 601)) | (1L << (STATUS - 601)) | (1L << (STOP - 601)) | (1L << (STORAGE - 601)) | (1L << (STRING - 601)) | (1L << (SUBCLASS_ORIGIN - 601)) | (1L << (SUBJECT - 601)) | (1L << (SUBPARTITION - 601)) | (1L << (SUBPARTITIONS - 601)) | (1L << (SUSPEND - 601)) | (1L << (SWAPS - 601)) | (1L << (SWITCHES - 601)) | (1L << (TABLE_NAME - 601)) | (1L << (TABLESPACE - 601)) | (1L << (TABLE_TYPE - 601)) | (1L << (TEMPORARY - 601)) | (1L << (TEMPTABLE - 601)) | (1L << (THAN - 601)) | (1L << (TRADITIONAL - 601)) | (1L << (TRANSACTION - 601)) | (1L << (TRANSACTIONAL - 601)) | (1L << (TRIGGERS - 601)) | (1L << (TRUNCATE - 601)) | (1L << (TYPES - 601)) | (1L << (UNBOUNDED - 601)) | (1L << (UNDEFINED - 601)) | (1L << (UNDOFILE - 601)) | (1L << (UNDO_BUFFER_SIZE - 601)))) != 0) || ((((_la - 665)) & ~0x3f) == 0 && ((1L << (_la - 665)) & ((1L << (UNINSTALL - 665)) | (1L << (UNKNOWN - 665)) | (1L << (UNTIL - 665)) | (1L << (UPGRADE - 665)) | (1L << (USER - 665)) | (1L << (USE_FRM - 665)) | (1L << (USER_RESOURCES - 665)) | (1L << (VALIDATION - 665)) | (1L << (VALUE - 665)) | (1L << (VARIABLES - 665)) | (1L << (VIEW - 665)) | (1L << (VIRTUAL - 665)) | (1L << (VISIBLE - 665)) | (1L << (WAIT - 665)) | (1L << (WARNINGS - 665)) | (1L << (WITHOUT - 665)) | (1L << (WORK - 665)) | (1L << (WRAPPER - 665)) | (1L << (WSREP_MEMBERSHIP - 665)) | (1L << (WSREP_STATUS - 665)) | (1L << (X509 - 665)) | (1L << (XA - 665)) | (1L << (XML - 665)) | (1L << (YES - 665)) | (1L << (EUR - 665)) | (1L << (USA - 665)) | (1L << (JIS - 665)) | (1L << (ISO - 665)) | (1L << (INTERNAL - 665)) | (1L << (QUARTER - 665)) | (1L << (MONTH - 665)) | (1L << (DAY - 665)) | (1L << (HOUR - 665)) | (1L << (MINUTE - 665)) | (1L << (WEEK - 665)) | (1L << (SECOND - 665)) | (1L << (MICROSECOND - 665)) | (1L << (USER_STATISTICS - 665)) | (1L << (CLIENT_STATISTICS - 665)) | (1L << (INDEX_STATISTICS - 665)) | (1L << (TABLE_STATISTICS - 665)) | (1L << (ADMIN - 665)) | (1L << (AUDIT_ADMIN - 665)) | (1L << (BACKUP_ADMIN - 665)) | (1L << (BINLOG_ADMIN - 665)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 665)) | (1L << (CLONE_ADMIN - 665)) | (1L << (CONNECTION_ADMIN - 665)) | (1L << (ENCRYPTION_KEY_ADMIN - 665)) | (1L << (EXECUTE - 665)) | (1L << (FILE - 665)) | (1L << (FIREWALL_ADMIN - 665)) | (1L << (FIREWALL_USER - 665)) | (1L << (GROUP_REPLICATION_ADMIN - 665)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 665)) | (1L << (INVOKE - 665)) | (1L << (LAMBDA - 665)))) != 0) || ((((_la - 729)) & ~0x3f) == 0 && ((1L << (_la - 729)) & ((1L << (NDB_STORED_USER - 729)) | (1L << (PASSWORDLESS_USER_ADMIN - 729)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 729)) | (1L << (PRIVILEGES - 729)) | (1L << (PROCESS - 729)) | (1L << (RELOAD - 729)) | (1L << (REPLICATION_APPLIER - 729)) | (1L << (REPLICATION_SLAVE_ADMIN - 729)) | (1L << (RESOURCE_GROUP_ADMIN - 729)) | (1L << (RESOURCE_GROUP_USER - 729)) | (1L << (ROLE_ADMIN - 729)) | (1L << (ROUTINE - 729)) | (1L << (S3 - 729)) | (1L << (SESSION_VARIABLES_ADMIN - 729)) | (1L << (SET_USER_ID - 729)) | (1L << (SHOW_ROUTINE - 729)) | (1L << (SHUTDOWN - 729)) | (1L << (SUPER - 729)) | (1L << (SYSTEM_VARIABLES_ADMIN - 729)) | (1L << (TABLES - 729)) | (1L << (TABLE_ENCRYPTION_ADMIN - 729)) | (1L << (VERSION_TOKEN_ADMIN - 729)) | (1L << (XA_RECOVER_ADMIN - 729)) | (1L << (ARMSCII8 - 729)) | (1L << (ASCII - 729)) | (1L << (BIG5 - 729)) | (1L << (CP1250 - 729)) | (1L << (CP1251 - 729)) | (1L << (CP1256 - 729)) | (1L << (CP1257 - 729)) | (1L << (CP850 - 729)) | (1L << (CP852 - 729)) | (1L << (CP866 - 729)) | (1L << (CP932 - 729)) | (1L << (DEC8 - 729)) | (1L << (EUCJPMS - 729)) | (1L << (EUCKR - 729)) | (1L << (GB18030 - 729)) | (1L << (GB2312 - 729)) | (1L << (GBK - 729)) | (1L << (GEOSTD8 - 729)) | (1L << (GREEK - 729)) | (1L << (HEBREW - 729)) | (1L << (HP8 - 729)) | (1L << (KEYBCS2 - 729)) | (1L << (KOI8R - 729)) | (1L << (KOI8U - 729)) | (1L << (LATIN1 - 729)) | (1L << (LATIN2 - 729)) | (1L << (LATIN5 - 729)) | (1L << (LATIN7 - 729)) | (1L << (MACCE - 729)) | (1L << (MACROMAN - 729)) | (1L << (SJIS - 729)) | (1L << (SWE7 - 729)) | (1L << (TIS620 - 729)) | (1L << (UCS2 - 729)) | (1L << (UJIS - 729)) | (1L << (UTF16 - 729)) | (1L << (UTF16LE - 729)) | (1L << (UTF32 - 729)) | (1L << (UTF8 - 729)) | (1L << (UTF8MB3 - 729)))) != 0) || ((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (UTF8MB4 - 793)) | (1L << (ARCHIVE - 793)) | (1L << (BLACKHOLE - 793)) | (1L << (CSV - 793)) | (1L << (FEDERATED - 793)) | (1L << (INNODB - 793)) | (1L << (MEMORY - 793)) | (1L << (MRG_MYISAM - 793)) | (1L << (MYISAM - 793)) | (1L << (NDB - 793)) | (1L << (NDBCLUSTER - 793)) | (1L << (PERFORMANCE_SCHEMA - 793)) | (1L << (TOKUDB - 793)) | (1L << (REPEATABLE - 793)) | (1L << (COMMITTED - 793)) | (1L << (UNCOMMITTED - 793)) | (1L << (SERIALIZABLE - 793)) | (1L << (GEOMETRYCOLLECTION - 793)) | (1L << (LINESTRING - 793)) | (1L << (MULTILINESTRING - 793)) | (1L << (MULTIPOINT - 793)) | (1L << (MULTIPOLYGON - 793)) | (1L << (POINT - 793)) | (1L << (POLYGON - 793)) | (1L << (ABS - 793)) | (1L << (ACOS - 793)) | (1L << (ADDDATE - 793)) | (1L << (ADDTIME - 793)) | (1L << (AES_DECRYPT - 793)) | (1L << (AES_ENCRYPT - 793)) | (1L << (AREA - 793)) | (1L << (ASBINARY - 793)) | (1L << (ASIN - 793)) | (1L << (ASTEXT - 793)) | (1L << (ASWKB - 793)) | (1L << (ASWKT - 793)) | (1L << (ASYMMETRIC_DECRYPT - 793)) | (1L << (ASYMMETRIC_DERIVE - 793)) | (1L << (ASYMMETRIC_ENCRYPT - 793)) | (1L << (ASYMMETRIC_SIGN - 793)) | (1L << (ASYMMETRIC_VERIFY - 793)) | (1L << (ATAN - 793)) | (1L << (ATAN2 - 793)) | (1L << (BENCHMARK - 793)) | (1L << (BIN - 793)) | (1L << (BIT_COUNT - 793)) | (1L << (BIT_LENGTH - 793)) | (1L << (BUFFER - 793)) | (1L << (CATALOG_NAME - 793)) | (1L << (CEIL - 793)) | (1L << (CEILING - 793)) | (1L << (CENTROID - 793)) | (1L << (CHARACTER_LENGTH - 793)) | (1L << (CHARSET - 793)) | (1L << (CHAR_LENGTH - 793)) | (1L << (COERCIBILITY - 793)) | (1L << (COLLATION - 793)) | (1L << (COMPRESS - 793)) | (1L << (CONCAT - 793)) | (1L << (CONCAT_WS - 793)) | (1L << (CONNECTION_ID - 793)) | (1L << (CONV - 793)))) != 0) || ((((_la - 857)) & ~0x3f) == 0 && ((1L << (_la - 857)) & ((1L << (CONVERT_TZ - 857)) | (1L << (COS - 857)) | (1L << (COT - 857)) | (1L << (CRC32 - 857)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 857)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 857)) | (1L << (CREATE_DH_PARAMETERS - 857)) | (1L << (CREATE_DIGEST - 857)) | (1L << (CROSSES - 857)) | (1L << (DATEDIFF - 857)) | (1L << (DATE_FORMAT - 857)) | (1L << (DAYNAME - 857)) | (1L << (DAYOFMONTH - 857)) | (1L << (DAYOFWEEK - 857)) | (1L << (DAYOFYEAR - 857)) | (1L << (DECODE - 857)) | (1L << (DEGREES - 857)) | (1L << (DES_DECRYPT - 857)) | (1L << (DES_ENCRYPT - 857)) | (1L << (DIMENSION - 857)) | (1L << (DISJOINT - 857)) | (1L << (ELT - 857)) | (1L << (ENCODE - 857)) | (1L << (ENCRYPT - 857)) | (1L << (ENDPOINT - 857)) | (1L << (ENGINE_ATTRIBUTE - 857)) | (1L << (ENVELOPE - 857)) | (1L << (EQUALS - 857)) | (1L << (EXP - 857)) | (1L << (EXPORT_SET - 857)) | (1L << (EXTERIORRING - 857)) | (1L << (EXTRACTVALUE - 857)) | (1L << (FIELD - 857)) | (1L << (FIND_IN_SET - 857)) | (1L << (FLOOR - 857)) | (1L << (FORMAT - 857)) | (1L << (FOUND_ROWS - 857)) | (1L << (FROM_BASE64 - 857)) | (1L << (FROM_DAYS - 857)) | (1L << (FROM_UNIXTIME - 857)) | (1L << (GEOMCOLLFROMTEXT - 857)) | (1L << (GEOMCOLLFROMWKB - 857)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 857)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 857)) | (1L << (GEOMETRYFROMTEXT - 857)) | (1L << (GEOMETRYFROMWKB - 857)) | (1L << (GEOMETRYN - 857)) | (1L << (GEOMETRYTYPE - 857)) | (1L << (GEOMFROMTEXT - 857)) | (1L << (GEOMFROMWKB - 857)) | (1L << (GET_FORMAT - 857)) | (1L << (GET_LOCK - 857)) | (1L << (GLENGTH - 857)) | (1L << (GREATEST - 857)) | (1L << (GTID_SUBSET - 857)) | (1L << (GTID_SUBTRACT - 857)) | (1L << (HEX - 857)) | (1L << (IFNULL - 857)) | (1L << (INET6_ATON - 857)) | (1L << (INET6_NTOA - 857)) | (1L << (INET_ATON - 857)) | (1L << (INET_NTOA - 857)) | (1L << (INSTR - 857)) | (1L << (INTERIORRINGN - 857)))) != 0) || ((((_la - 921)) & ~0x3f) == 0 && ((1L << (_la - 921)) & ((1L << (INTERSECTS - 921)) | (1L << (ISCLOSED - 921)) | (1L << (ISEMPTY - 921)) | (1L << (ISNULL - 921)) | (1L << (ISSIMPLE - 921)) | (1L << (IS_FREE_LOCK - 921)) | (1L << (IS_IPV4 - 921)) | (1L << (IS_IPV4_COMPAT - 921)) | (1L << (IS_IPV4_MAPPED - 921)) | (1L << (IS_IPV6 - 921)) | (1L << (IS_USED_LOCK - 921)) | (1L << (LAST_INSERT_ID - 921)) | (1L << (LCASE - 921)) | (1L << (LEAST - 921)) | (1L << (LENGTH - 921)) | (1L << (LINEFROMTEXT - 921)) | (1L << (LINEFROMWKB - 921)) | (1L << (LINESTRINGFROMTEXT - 921)) | (1L << (LINESTRINGFROMWKB - 921)) | (1L << (LN - 921)) | (1L << (LOAD_FILE - 921)) | (1L << (LOCATE - 921)) | (1L << (LOG - 921)) | (1L << (LOG10 - 921)) | (1L << (LOG2 - 921)) | (1L << (LOWER - 921)) | (1L << (LPAD - 921)) | (1L << (LTRIM - 921)) | (1L << (MAKEDATE - 921)) | (1L << (MAKETIME - 921)) | (1L << (MAKE_SET - 921)) | (1L << (MASTER_POS_WAIT - 921)) | (1L << (MBRCONTAINS - 921)) | (1L << (MBRDISJOINT - 921)) | (1L << (MBREQUAL - 921)) | (1L << (MBRINTERSECTS - 921)) | (1L << (MBROVERLAPS - 921)) | (1L << (MBRTOUCHES - 921)) | (1L << (MBRWITHIN - 921)) | (1L << (MD5 - 921)) | (1L << (MLINEFROMTEXT - 921)) | (1L << (MLINEFROMWKB - 921)) | (1L << (MONTHNAME - 921)) | (1L << (MPOINTFROMTEXT - 921)) | (1L << (MPOINTFROMWKB - 921)) | (1L << (MPOLYFROMTEXT - 921)) | (1L << (MPOLYFROMWKB - 921)) | (1L << (MULTILINESTRINGFROMTEXT - 921)) | (1L << (MULTILINESTRINGFROMWKB - 921)) | (1L << (MULTIPOINTFROMTEXT - 921)) | (1L << (MULTIPOINTFROMWKB - 921)) | (1L << (MULTIPOLYGONFROMTEXT - 921)) | (1L << (MULTIPOLYGONFROMWKB - 921)) | (1L << (NAME_CONST - 921)) | (1L << (NULLIF - 921)) | (1L << (NUMGEOMETRIES - 921)) | (1L << (NUMINTERIORRINGS - 921)) | (1L << (NUMPOINTS - 921)) | (1L << (OCT - 921)) | (1L << (OCTET_LENGTH - 921)) | (1L << (ORD - 921)) | (1L << (OVERLAPS - 921)) | (1L << (PERIOD_ADD - 921)) | (1L << (PERIOD_DIFF - 921)))) != 0) || ((((_la - 985)) & ~0x3f) == 0 && ((1L << (_la - 985)) & ((1L << (PI - 985)) | (1L << (POINTFROMTEXT - 985)) | (1L << (POINTFROMWKB - 985)) | (1L << (POINTN - 985)) | (1L << (POLYFROMTEXT - 985)) | (1L << (POLYFROMWKB - 985)) | (1L << (POLYGONFROMTEXT - 985)) | (1L << (POLYGONFROMWKB - 985)) | (1L << (POW - 985)) | (1L << (POWER - 985)) | (1L << (QUOTE - 985)) | (1L << (RADIANS - 985)) | (1L << (RAND - 985)) | (1L << (RANDOM_BYTES - 985)) | (1L << (RELEASE_LOCK - 985)) | (1L << (REVERSE - 985)) | (1L << (ROUND - 985)) | (1L << (ROW_COUNT - 985)) | (1L << (RPAD - 985)) | (1L << (RTRIM - 985)) | (1L << (SEC_TO_TIME - 985)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 985)) | (1L << (SESSION_USER - 985)) | (1L << (SHA - 985)) | (1L << (SHA1 - 985)) | (1L << (SHA2 - 985)) | (1L << (SCHEMA_NAME - 985)) | (1L << (SIGN - 985)) | (1L << (SIN - 985)) | (1L << (SLEEP - 985)) | (1L << (SOUNDEX - 985)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 985)) | (1L << (SQRT - 985)) | (1L << (SRID - 985)) | (1L << (STARTPOINT - 985)) | (1L << (STRCMP - 985)) | (1L << (STR_TO_DATE - 985)) | (1L << (ST_AREA - 985)) | (1L << (ST_ASBINARY - 985)) | (1L << (ST_ASTEXT - 985)) | (1L << (ST_ASWKB - 985)) | (1L << (ST_ASWKT - 985)) | (1L << (ST_BUFFER - 985)) | (1L << (ST_CENTROID - 985)) | (1L << (ST_CONTAINS - 985)) | (1L << (ST_CROSSES - 985)) | (1L << (ST_DIFFERENCE - 985)) | (1L << (ST_DIMENSION - 985)) | (1L << (ST_DISJOINT - 985)) | (1L << (ST_DISTANCE - 985)) | (1L << (ST_ENDPOINT - 985)) | (1L << (ST_ENVELOPE - 985)) | (1L << (ST_EQUALS - 985)) | (1L << (ST_EXTERIORRING - 985)) | (1L << (ST_GEOMCOLLFROMTEXT - 985)) | (1L << (ST_GEOMCOLLFROMTXT - 985)) | (1L << (ST_GEOMCOLLFROMWKB - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 985)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 985)) | (1L << (ST_GEOMETRYFROMTEXT - 985)) | (1L << (ST_GEOMETRYFROMWKB - 985)) | (1L << (ST_GEOMETRYN - 985)) | (1L << (ST_GEOMETRYTYPE - 985)) | (1L << (ST_GEOMFROMTEXT - 985)))) != 0) || ((((_la - 1049)) & ~0x3f) == 0 && ((1L << (_la - 1049)) & ((1L << (ST_GEOMFROMWKB - 1049)) | (1L << (ST_INTERIORRINGN - 1049)) | (1L << (ST_INTERSECTION - 1049)) | (1L << (ST_INTERSECTS - 1049)) | (1L << (ST_ISCLOSED - 1049)) | (1L << (ST_ISEMPTY - 1049)) | (1L << (ST_ISSIMPLE - 1049)) | (1L << (ST_LINEFROMTEXT - 1049)) | (1L << (ST_LINEFROMWKB - 1049)) | (1L << (ST_LINESTRINGFROMTEXT - 1049)) | (1L << (ST_LINESTRINGFROMWKB - 1049)) | (1L << (ST_NUMGEOMETRIES - 1049)) | (1L << (ST_NUMINTERIORRING - 1049)) | (1L << (ST_NUMINTERIORRINGS - 1049)) | (1L << (ST_NUMPOINTS - 1049)) | (1L << (ST_OVERLAPS - 1049)) | (1L << (ST_POINTFROMTEXT - 1049)) | (1L << (ST_POINTFROMWKB - 1049)) | (1L << (ST_POINTN - 1049)) | (1L << (ST_POLYFROMTEXT - 1049)) | (1L << (ST_POLYFROMWKB - 1049)) | (1L << (ST_POLYGONFROMTEXT - 1049)) | (1L << (ST_POLYGONFROMWKB - 1049)) | (1L << (ST_SRID - 1049)) | (1L << (ST_STARTPOINT - 1049)) | (1L << (ST_SYMDIFFERENCE - 1049)) | (1L << (ST_TOUCHES - 1049)) | (1L << (ST_UNION - 1049)) | (1L << (ST_WITHIN - 1049)) | (1L << (ST_X - 1049)) | (1L << (ST_Y - 1049)) | (1L << (SUBDATE - 1049)) | (1L << (SUBSTRING_INDEX - 1049)) | (1L << (SUBTIME - 1049)) | (1L << (SYSTEM_USER - 1049)) | (1L << (TAN - 1049)) | (1L << (TIMEDIFF - 1049)) | (1L << (TIMESTAMPADD - 1049)) | (1L << (TIMESTAMPDIFF - 1049)) | (1L << (TIME_FORMAT - 1049)) | (1L << (TIME_TO_SEC - 1049)) | (1L << (TOUCHES - 1049)) | (1L << (TO_BASE64 - 1049)) | (1L << (TO_DAYS - 1049)) | (1L << (TO_SECONDS - 1049)) | (1L << (UCASE - 1049)) | (1L << (UNCOMPRESS - 1049)) | (1L << (UNCOMPRESSED_LENGTH - 1049)) | (1L << (UNHEX - 1049)) | (1L << (UNIX_TIMESTAMP - 1049)) | (1L << (UPDATEXML - 1049)) | (1L << (UPPER - 1049)) | (1L << (UUID - 1049)) | (1L << (UUID_SHORT - 1049)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1049)) | (1L << (VERSION - 1049)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1049)) | (1L << (WEEKDAY - 1049)) | (1L << (WEEKOFYEAR - 1049)) | (1L << (WEIGHT_STRING - 1049)) | (1L << (WITHIN - 1049)) | (1L << (YEARWEEK - 1049)) | (1L << (Y_FUNCTION - 1049)) | (1L << (X_FUNCTION - 1049)))) != 0) || ((((_la - 1113)) & ~0x3f) == 0 && ((1L << (_la - 1113)) & ((1L << (VIA - 1113)) | (1L << (LASTVAL - 1113)) | (1L << (NEXTVAL - 1113)) | (1L << (SETVAL - 1113)) | (1L << (PREVIOUS - 1113)) | (1L << (PERSISTENT - 1113)) | (1L << (BINLOG_MONITOR - 1113)) | (1L << (BINLOG_REPLAY - 1113)) | (1L << (FEDERATED_ADMIN - 1113)) | (1L << (READ_ONLY_ADMIN - 1113)) | (1L << (REPLICA - 1113)) | (1L << (REPLICAS - 1113)) | (1L << (REPLICATION_MASTER_ADMIN - 1113)) | (1L << (MONITOR - 1113)) | (1L << (READ_ONLY - 1113)) | (1L << (REPLAY - 1113)) | (1L << (MOD - 1113)) | (1L << (CHARSET_REVERSE_QOUTE_STRING - 1113)) | (1L << (STRING_LITERAL - 1113)))) != 0) || _la==ID) {
{
setState(3810);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(3809);
match(AS);
}
}
setState(3812);
uid();
}
}
setState(3815);
match(SET);
setState(3816);
updatedElement();
setState(3821);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3817);
match(COMMA);
setState(3818);
updatedElement();
}
}
setState(3823);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(3826);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WHERE) {
{
setState(3824);
match(WHERE);
setState(3825);
expression(0);
}
}
setState(3829);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ORDER) {
{
setState(3828);
orderByClause();
}
}
setState(3832);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LIMIT) {
{
setState(3831);
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(MariaDBParser.UPDATE, 0); }
public TableSourcesContext tableSources() {
return getRuleContext(TableSourcesContext.class,0);
}
public TerminalNode SET() { return getToken(MariaDBParser.SET, 0); }
public List updatedElement() {
return getRuleContexts(UpdatedElementContext.class);
}
public UpdatedElementContext updatedElement(int i) {
return getRuleContext(UpdatedElementContext.class,i);
}
public TerminalNode IGNORE() { return getToken(MariaDBParser.IGNORE, 0); }
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.COMMA, i);
}
public TerminalNode WHERE() { return getToken(MariaDBParser.WHERE, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode LOW_PRIORITY() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterMultipleUpdateStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitMultipleUpdateStatement(this);
}
}
public final MultipleUpdateStatementContext multipleUpdateStatement() throws RecognitionException {
MultipleUpdateStatementContext _localctx = new MultipleUpdateStatementContext(_ctx, getState());
enterRule(_localctx, 238, RULE_multipleUpdateStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3834);
match(UPDATE);
setState(3836);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LOW_PRIORITY) {
{
setState(3835);
((MultipleUpdateStatementContext)_localctx).priority = match(LOW_PRIORITY);
}
}
setState(3839);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE) {
{
setState(3838);
match(IGNORE);
}
}
setState(3841);
tableSources();
setState(3842);
match(SET);
setState(3843);
updatedElement();
setState(3848);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(3844);
match(COMMA);
setState(3845);
updatedElement();
}
}
setState(3850);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(3853);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WHERE) {
{
setState(3851);
match(WHERE);
setState(3852);
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(MariaDBParser.ORDER, 0); }
public TerminalNode BY() { return getToken(MariaDBParser.BY, 0); }
public List orderByExpression() {
return getRuleContexts(OrderByExpressionContext.class);
}
public OrderByExpressionContext orderByExpression(int i) {
return getRuleContext(OrderByExpressionContext.class,i);
}
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterOrderByClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitOrderByClause(this);
}
}
public final OrderByClauseContext orderByClause() throws RecognitionException {
OrderByClauseContext _localctx = new OrderByClauseContext(_ctx, getState());
enterRule(_localctx, 240, RULE_orderByClause);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(3855);
match(ORDER);
setState(3856);
match(BY);
setState(3857);
orderByExpression();
setState(3862);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,555,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(3858);
match(COMMA);
setState(3859);
orderByExpression();
}
}
}
setState(3864);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,555,_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(MariaDBParser.ASC, 0); }
public TerminalNode DESC() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterOrderByExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitOrderByExpression(this);
}
}
public final OrderByExpressionContext orderByExpression() throws RecognitionException {
OrderByExpressionContext _localctx = new OrderByExpressionContext(_ctx, getState());
enterRule(_localctx, 242, RULE_orderByExpression);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3865);
expression(0);
setState(3867);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,556,_ctx) ) {
case 1:
{
setState(3866);
((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(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableSources(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableSources(this);
}
}
public final TableSourcesContext tableSources() throws RecognitionException {
TableSourcesContext _localctx = new TableSourcesContext(_ctx, getState());
enterRule(_localctx, 244, RULE_tableSources);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(3869);
tableSource();
setState(3874);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,557,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(3870);
match(COMMA);
setState(3871);
tableSource();
}
}
}
setState(3876);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,557,_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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableJson(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableJson(this);
}
}
public static class TableSourceNestedContext extends TableSourceContext {
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public TableSourceItemContext tableSourceItem() {
return getRuleContext(TableSourceItemContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableSourceNested(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableSourceBase(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableSourceBase(this);
}
}
public final TableSourceContext tableSource() throws RecognitionException {
TableSourceContext _localctx = new TableSourceContext(_ctx, getState());
enterRule(_localctx, 246, RULE_tableSource);
int _la;
try {
int _alt;
setState(3895);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,560,_ctx) ) {
case 1:
_localctx = new TableSourceBaseContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(3877);
tableSourceItem();
setState(3881);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,558,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(3878);
joinPart();
}
}
}
setState(3883);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,558,_ctx);
}
}
break;
case 2:
_localctx = new TableSourceNestedContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(3884);
match(LR_BRACKET);
setState(3885);
tableSourceItem();
setState(3889);
_errHandler.sync(this);
_la = _input.LA(1);
while (((((_la - 35)) & ~0x3f) == 0 && ((1L << (_la - 35)) & ((1L << (CROSS - 35)) | (1L << (INNER - 35)) | (1L << (JOIN - 35)) | (1L << (LEFT - 35)))) != 0) || ((((_la - 113)) & ~0x3f) == 0 && ((1L << (_la - 113)) & ((1L << (NATURAL - 113)) | (1L << (RIGHT - 113)) | (1L << (STRAIGHT_JOIN - 113)))) != 0)) {
{
{
setState(3886);
joinPart();
}
}
setState(3891);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(3892);
match(RR_BRACKET);
}
break;
case 3:
_localctx = new TableJsonContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(3894);
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(MariaDBParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode AS() { return getToken(MariaDBParser.AS, 0); }
public SubqueryTableItemContext(TableSourceItemContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterSubqueryTableItem(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(MariaDBParser.PARTITION, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.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(MariaDBParser.AS, 0); }
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.COMMA, i);
}
public AtomTableItemContext(TableSourceItemContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterAtomTableItem(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitAtomTableItem(this);
}
}
public static class TableSourcesItemContext extends TableSourceItemContext {
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public TableSourcesContext tableSources() {
return getRuleContext(TableSourcesContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public TableSourcesItemContext(TableSourceItemContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterTableSourcesItem(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitTableSourcesItem(this);
}
}
public final TableSourceItemContext tableSourceItem() throws RecognitionException {
TableSourceItemContext _localctx = new TableSourceItemContext(_ctx, getState());
enterRule(_localctx, 248, RULE_tableSourceItem);
int _la;
try {
int _alt;
setState(3937);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,568,_ctx) ) {
case 1:
_localctx = new AtomTableItemContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(3897);
tableName();
setState(3903);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITION) {
{
setState(3898);
match(PARTITION);
setState(3899);
match(LR_BRACKET);
setState(3900);
uidList();
setState(3901);
match(RR_BRACKET);
}
}
setState(3909);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,563,_ctx) ) {
case 1:
{
setState(3906);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(3905);
match(AS);
}
}
setState(3908);
((AtomTableItemContext)_localctx).alias = uid();
}
break;
}
setState(3919);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,565,_ctx) ) {
case 1:
{
setState(3911);
indexHint();
setState(3916);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,564,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(3912);
match(COMMA);
setState(3913);
indexHint();
}
}
}
setState(3918);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,564,_ctx);
}
}
break;
}
}
break;
case 2:
_localctx = new SubqueryTableItemContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(3926);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,566,_ctx) ) {
case 1:
{
setState(3921);
selectStatement();
}
break;
case 2:
{
setState(3922);
match(LR_BRACKET);
setState(3923);
((SubqueryTableItemContext)_localctx).parenthesisSubquery = selectStatement();
setState(3924);
match(RR_BRACKET);
}
break;
}
setState(3929);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(3928);
match(AS);
}
}
setState(3931);
((SubqueryTableItemContext)_localctx).alias = uid();
}
break;
case 3:
_localctx = new TableSourcesItemContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(3933);
match(LR_BRACKET);
setState(3934);
tableSources();
setState(3935);
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(MariaDBParser.LR_BRACKET, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode USE() { return getToken(MariaDBParser.USE, 0); }
public TerminalNode IGNORE() { return getToken(MariaDBParser.IGNORE, 0); }
public TerminalNode FORCE() { return getToken(MariaDBParser.FORCE, 0); }
public TerminalNode INDEX() { return getToken(MariaDBParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(MariaDBParser.KEY, 0); }
public TerminalNode FOR() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterIndexHint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitIndexHint(this);
}
}
public final IndexHintContext indexHint() throws RecognitionException {
IndexHintContext _localctx = new IndexHintContext(_ctx, getState());
enterRule(_localctx, 250, RULE_indexHint);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3939);
((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(3940);
((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(3943);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FOR) {
{
setState(3941);
match(FOR);
setState(3942);
indexHintType();
}
}
setState(3945);
match(LR_BRACKET);
setState(3946);
uidList();
setState(3947);
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(MariaDBParser.JOIN, 0); }
public TerminalNode ORDER() { return getToken(MariaDBParser.ORDER, 0); }
public TerminalNode BY() { return getToken(MariaDBParser.BY, 0); }
public TerminalNode GROUP() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterIndexHintType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitIndexHintType(this);
}
}
public final IndexHintTypeContext indexHintType() throws RecognitionException {
IndexHintTypeContext _localctx = new IndexHintTypeContext(_ctx, getState());
enterRule(_localctx, 252, RULE_indexHintType);
try {
setState(3954);
_errHandler.sync(this);
switch (_input.LA(1)) {
case JOIN:
enterOuterAlt(_localctx, 1);
{
setState(3949);
match(JOIN);
}
break;
case ORDER:
enterOuterAlt(_localctx, 2);
{
setState(3950);
match(ORDER);
setState(3951);
match(BY);
}
break;
case GROUP:
enterOuterAlt(_localctx, 3);
{
setState(3952);
match(GROUP);
setState(3953);
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(MariaDBParser.JOIN, 0); }
public TableSourceItemContext tableSourceItem() {
return getRuleContext(TableSourceItemContext.class,0);
}
public TerminalNode LATERAL() { return getToken(MariaDBParser.LATERAL, 0); }
public TerminalNode ON() { return getToken(MariaDBParser.ON, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode USING() { return getToken(MariaDBParser.USING, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode INNER() { return getToken(MariaDBParser.INNER, 0); }
public TerminalNode CROSS() { return getToken(MariaDBParser.CROSS, 0); }
public InnerJoinContext(JoinPartContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterInnerJoin(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitInnerJoin(this);
}
}
public static class NaturalJoinContext extends JoinPartContext {
public TerminalNode NATURAL() { return getToken(MariaDBParser.NATURAL, 0); }
public TerminalNode JOIN() { return getToken(MariaDBParser.JOIN, 0); }
public TableSourceItemContext tableSourceItem() {
return getRuleContext(TableSourceItemContext.class,0);
}
public TerminalNode LEFT() { return getToken(MariaDBParser.LEFT, 0); }
public TerminalNode RIGHT() { return getToken(MariaDBParser.RIGHT, 0); }
public TerminalNode OUTER() { return getToken(MariaDBParser.OUTER, 0); }
public NaturalJoinContext(JoinPartContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterNaturalJoin(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitNaturalJoin(this);
}
}
public static class OuterJoinContext extends JoinPartContext {
public TerminalNode JOIN() { return getToken(MariaDBParser.JOIN, 0); }
public TableSourceItemContext tableSourceItem() {
return getRuleContext(TableSourceItemContext.class,0);
}
public TerminalNode LEFT() { return getToken(MariaDBParser.LEFT, 0); }
public TerminalNode RIGHT() { return getToken(MariaDBParser.RIGHT, 0); }
public TerminalNode ON() { return getToken(MariaDBParser.ON, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode USING() { return getToken(MariaDBParser.USING, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public TerminalNode OUTER() { return getToken(MariaDBParser.OUTER, 0); }
public TerminalNode LATERAL() { return getToken(MariaDBParser.LATERAL, 0); }
public OuterJoinContext(JoinPartContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterOuterJoin(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitOuterJoin(this);
}
}
public static class StraightJoinContext extends JoinPartContext {
public TerminalNode STRAIGHT_JOIN() { return getToken(MariaDBParser.STRAIGHT_JOIN, 0); }
public TableSourceItemContext tableSourceItem() {
return getRuleContext(TableSourceItemContext.class,0);
}
public TerminalNode ON() { return getToken(MariaDBParser.ON, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public StraightJoinContext(JoinPartContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterStraightJoin(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitStraightJoin(this);
}
}
public final JoinPartContext joinPart() throws RecognitionException {
JoinPartContext _localctx = new JoinPartContext(_ctx, getState());
enterRule(_localctx, 254, RULE_joinPart);
int _la;
try {
setState(4006);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CROSS:
case INNER:
case JOIN:
_localctx = new InnerJoinContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(3957);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CROSS || _la==INNER) {
{
setState(3956);
_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(3959);
match(JOIN);
setState(3961);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,572,_ctx) ) {
case 1:
{
setState(3960);
match(LATERAL);
}
break;
}
setState(3963);
tableSourceItem();
setState(3971);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,573,_ctx) ) {
case 1:
{
setState(3964);
match(ON);
setState(3965);
expression(0);
}
break;
case 2:
{
setState(3966);
match(USING);
setState(3967);
match(LR_BRACKET);
setState(3968);
uidList();
setState(3969);
match(RR_BRACKET);
}
break;
}
}
break;
case STRAIGHT_JOIN:
_localctx = new StraightJoinContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(3973);
match(STRAIGHT_JOIN);
setState(3974);
tableSourceItem();
setState(3977);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,574,_ctx) ) {
case 1:
{
setState(3975);
match(ON);
setState(3976);
expression(0);
}
break;
}
}
break;
case LEFT:
case RIGHT:
_localctx = new OuterJoinContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(3979);
_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(3981);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OUTER) {
{
setState(3980);
match(OUTER);
}
}
setState(3983);
match(JOIN);
setState(3985);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,576,_ctx) ) {
case 1:
{
setState(3984);
match(LATERAL);
}
break;
}
setState(3987);
tableSourceItem();
setState(3995);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ON:
{
setState(3988);
match(ON);
setState(3989);
expression(0);
}
break;
case USING:
{
setState(3990);
match(USING);
setState(3991);
match(LR_BRACKET);
setState(3992);
uidList();
setState(3993);
match(RR_BRACKET);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case NATURAL:
_localctx = new NaturalJoinContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(3997);
match(NATURAL);
setState(4002);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LEFT || _la==RIGHT) {
{
setState(3998);
_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(4000);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OUTER) {
{
setState(3999);
match(OUTER);
}
}
}
}
setState(4004);
match(JOIN);
setState(4005);
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 QueryExpressionContext extends ParserRuleContext {
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public QuerySpecificationContext querySpecification() {
return getRuleContext(QuerySpecificationContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterQueryExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitQueryExpression(this);
}
}
public final QueryExpressionContext queryExpression() throws RecognitionException {
QueryExpressionContext _localctx = new QueryExpressionContext(_ctx, getState());
enterRule(_localctx, 256, RULE_queryExpression);
try {
setState(4016);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,581,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(4008);
match(LR_BRACKET);
setState(4009);
querySpecification();
setState(4010);
match(RR_BRACKET);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(4012);
match(LR_BRACKET);
setState(4013);
queryExpression();
setState(4014);
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(MariaDBParser.LR_BRACKET, 0); }
public QuerySpecificationNointoContext querySpecificationNointo() {
return getRuleContext(QuerySpecificationNointoContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterQueryExpressionNointo(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitQueryExpressionNointo(this);
}
}
public final QueryExpressionNointoContext queryExpressionNointo() throws RecognitionException {
QueryExpressionNointoContext _localctx = new QueryExpressionNointoContext(_ctx, getState());
enterRule(_localctx, 258, RULE_queryExpressionNointo);
try {
setState(4026);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,582,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(4018);
match(LR_BRACKET);
setState(4019);
querySpecificationNointo();
setState(4020);
match(RR_BRACKET);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(4022);
match(LR_BRACKET);
setState(4023);
queryExpressionNointo();
setState(4024);
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(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterQuerySpecification(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitQuerySpecification(this);
}
}
public final QuerySpecificationContext querySpecification() throws RecognitionException {
QuerySpecificationContext _localctx = new QuerySpecificationContext(_ctx, getState());
enterRule(_localctx, 260, RULE_querySpecification);
int _la;
try {
int _alt;
setState(4086);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,599,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(4028);
match(SELECT);
setState(4032);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,583,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(4029);
selectSpec();
}
}
}
setState(4034);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,583,_ctx);
}
setState(4035);
selectElements();
setState(4037);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INTO) {
{
setState(4036);
selectIntoExpression();
}
}
setState(4040);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,585,_ctx) ) {
case 1:
{
setState(4039);
fromClause();
}
break;
}
setState(4043);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,586,_ctx) ) {
case 1:
{
setState(4042);
groupByClause();
}
break;
}
setState(4046);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==HAVING) {
{
setState(4045);
havingClause();
}
}
setState(4049);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WINDOW) {
{
setState(4048);
windowClause();
}
}
setState(4052);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,589,_ctx) ) {
case 1:
{
setState(4051);
orderByClause();
}
break;
}
setState(4055);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,590,_ctx) ) {
case 1:
{
setState(4054);
limitClause();
}
break;
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(4057);
match(SELECT);
setState(4061);
_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(4058);
selectSpec();
}
}
}
setState(4063);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,591,_ctx);
}
setState(4064);
selectElements();
setState(4066);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,592,_ctx) ) {
case 1:
{
setState(4065);
fromClause();
}
break;
}
setState(4069);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,593,_ctx) ) {
case 1:
{
setState(4068);
groupByClause();
}
break;
}
setState(4072);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==HAVING) {
{
setState(4071);
havingClause();
}
}
setState(4075);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WINDOW) {
{
setState(4074);
windowClause();
}
}
setState(4078);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,596,_ctx) ) {
case 1:
{
setState(4077);
orderByClause();
}
break;
}
setState(4081);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,597,_ctx) ) {
case 1:
{
setState(4080);
limitClause();
}
break;
}
setState(4084);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INTO) {
{
setState(4083);
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(MariaDBParser.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 QuerySpecificationNointoContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_querySpecificationNointo; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterQuerySpecificationNointo(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitQuerySpecificationNointo(this);
}
}
public final QuerySpecificationNointoContext querySpecificationNointo() throws RecognitionException {
QuerySpecificationNointoContext _localctx = new QuerySpecificationNointoContext(_ctx, getState());
enterRule(_localctx, 262, RULE_querySpecificationNointo);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(4088);
match(SELECT);
setState(4092);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,600,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(4089);
selectSpec();
}
}
}
setState(4094);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,600,_ctx);
}
setState(4095);
selectElements();
setState(4097);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,601,_ctx) ) {
case 1:
{
setState(4096);
fromClause();
}
break;
}
setState(4100);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,602,_ctx) ) {
case 1:
{
setState(4099);
groupByClause();
}
break;
}
setState(4103);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==HAVING) {
{
setState(4102);
havingClause();
}
}
setState(4106);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WINDOW) {
{
setState(4105);
windowClause();
}
}
setState(4109);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,605,_ctx) ) {
case 1:
{
setState(4108);
orderByClause();
}
break;
}
setState(4112);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,606,_ctx) ) {
case 1:
{
setState(4111);
limitClause();
}
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(MariaDBParser.UNION, 0); }
public QueryExpressionNointoContext queryExpressionNointo() {
return getRuleContext(QueryExpressionNointoContext.class,0);
}
public TerminalNode ALL() { return getToken(MariaDBParser.ALL, 0); }
public TerminalNode DISTINCT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterUnionParenthesis(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitUnionParenthesis(this);
}
}
public final UnionParenthesisContext unionParenthesis() throws RecognitionException {
UnionParenthesisContext _localctx = new UnionParenthesisContext(_ctx, getState());
enterRule(_localctx, 264, RULE_unionParenthesis);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4114);
match(UNION);
setState(4116);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ALL || _la==DISTINCT) {
{
setState(4115);
((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(4118);
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(MariaDBParser.UNION, 0); }
public QuerySpecificationNointoContext querySpecificationNointo() {
return getRuleContext(QuerySpecificationNointoContext.class,0);
}
public QueryExpressionNointoContext queryExpressionNointo() {
return getRuleContext(QueryExpressionNointoContext.class,0);
}
public TerminalNode ALL() { return getToken(MariaDBParser.ALL, 0); }
public TerminalNode DISTINCT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterUnionStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitUnionStatement(this);
}
}
public final UnionStatementContext unionStatement() throws RecognitionException {
UnionStatementContext _localctx = new UnionStatementContext(_ctx, getState());
enterRule(_localctx, 266, RULE_unionStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4120);
match(UNION);
setState(4122);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ALL || _la==DISTINCT) {
{
setState(4121);
((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(4126);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SELECT:
{
setState(4124);
querySpecificationNointo();
}
break;
case LR_BRACKET:
{
setState(4125);
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(MariaDBParser.LATERAL, 0); }
public QuerySpecificationNointoContext querySpecificationNointo() {
return getRuleContext(QuerySpecificationNointoContext.class,0);
}
public QueryExpressionNointoContext queryExpressionNointo() {
return getRuleContext(QueryExpressionNointoContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.RR_BRACKET, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode AS() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterLateralStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitLateralStatement(this);
}
}
public final LateralStatementContext lateralStatement() throws RecognitionException {
LateralStatementContext _localctx = new LateralStatementContext(_ctx, getState());
enterRule(_localctx, 268, RULE_lateralStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4128);
match(LATERAL);
setState(4143);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,613,_ctx) ) {
case 1:
{
setState(4129);
querySpecificationNointo();
}
break;
case 2:
{
setState(4130);
queryExpressionNointo();
}
break;
case 3:
{
{
setState(4131);
match(LR_BRACKET);
setState(4134);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SELECT:
{
setState(4132);
querySpecificationNointo();
}
break;
case LR_BRACKET:
{
setState(4133);
queryExpressionNointo();
}
break;
default:
throw new NoViableAltException(this);
}
setState(4136);
match(RR_BRACKET);
setState(4141);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,612,_ctx) ) {
case 1:
{
setState(4138);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(4137);
match(AS);
}
}
setState(4140);
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(MariaDBParser.JSON_TABLE, 0); }
public List LR_BRACKET() { return getTokens(MariaDBParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MariaDBParser.LR_BRACKET, i);
}
public List STRING_LITERAL() { return getTokens(MariaDBParser.STRING_LITERAL); }
public TerminalNode STRING_LITERAL(int i) {
return getToken(MariaDBParser.STRING_LITERAL, i);
}
public TerminalNode COMMA() { return getToken(MariaDBParser.COMMA, 0); }
public TerminalNode COLUMNS() { return getToken(MariaDBParser.COLUMNS, 0); }
public JsonColumnListContext jsonColumnList() {
return getRuleContext(JsonColumnListContext.class,0);
}
public List RR_BRACKET() { return getTokens(MariaDBParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MariaDBParser.RR_BRACKET, i);
}
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode AS() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterJsonTable(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitJsonTable(this);
}
}
public final JsonTableContext jsonTable() throws RecognitionException {
JsonTableContext _localctx = new JsonTableContext(_ctx, getState());
enterRule(_localctx, 270, RULE_jsonTable);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4145);
match(JSON_TABLE);
setState(4146);
match(LR_BRACKET);
setState(4147);
match(STRING_LITERAL);
setState(4148);
match(COMMA);
setState(4149);
match(STRING_LITERAL);
setState(4150);
match(COLUMNS);
setState(4151);
match(LR_BRACKET);
setState(4152);
jsonColumnList();
setState(4153);
match(RR_BRACKET);
setState(4154);
match(RR_BRACKET);
setState(4159);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,615,_ctx) ) {
case 1:
{
setState(4156);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(4155);
match(AS);
}
}
setState(4158);
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(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterJsonColumnList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitJsonColumnList(this);
}
}
public final JsonColumnListContext jsonColumnList() throws RecognitionException {
JsonColumnListContext _localctx = new JsonColumnListContext(_ctx, getState());
enterRule(_localctx, 272, RULE_jsonColumnList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4161);
jsonColumn();
setState(4166);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(4162);
match(COMMA);
setState(4163);
jsonColumn();
}
}
setState(4168);
_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(MariaDBParser.FOR, 0); }
public TerminalNode ORDINALITY() { return getToken(MariaDBParser.ORDINALITY, 0); }
public DataTypeContext dataType() {
return getRuleContext(DataTypeContext.class,0);
}
public TerminalNode PATH() { return getToken(MariaDBParser.PATH, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode EXISTS() { return getToken(MariaDBParser.EXISTS, 0); }
public JsonOnEmptyContext jsonOnEmpty() {
return getRuleContext(JsonOnEmptyContext.class,0);
}
public JsonOnErrorContext jsonOnError() {
return getRuleContext(JsonOnErrorContext.class,0);
}
public TerminalNode NESTED() { return getToken(MariaDBParser.NESTED, 0); }
public TerminalNode COLUMNS() { return getToken(MariaDBParser.COLUMNS, 0); }
public TerminalNode LR_BRACKET() { return getToken(MariaDBParser.LR_BRACKET, 0); }
public JsonColumnListContext jsonColumnList() {
return getRuleContext(JsonColumnListContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterJsonColumn(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitJsonColumn(this);
}
}
public final JsonColumnContext jsonColumn() throws RecognitionException {
JsonColumnContext _localctx = new JsonColumnContext(_ctx, getState());
enterRule(_localctx, 274, RULE_jsonColumn);
int _la;
try {
setState(4198);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,622,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(4169);
fullColumnName();
setState(4186);
_errHandler.sync(this);
switch (_input.LA(1)) {
case FOR:
{
setState(4170);
match(FOR);
setState(4171);
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:
{
setState(4172);
dataType();
setState(4184);
_errHandler.sync(this);
switch (_input.LA(1)) {
case PATH:
{
setState(4173);
match(PATH);
setState(4174);
match(STRING_LITERAL);
setState(4176);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,617,_ctx) ) {
case 1:
{
setState(4175);
jsonOnEmpty();
}
break;
}
setState(4179);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT || _la==NULL_LITERAL || _la==ERROR) {
{
setState(4178);
jsonOnError();
}
}
}
break;
case EXISTS:
{
setState(4181);
match(EXISTS);
setState(4182);
match(PATH);
setState(4183);
match(STRING_LITERAL);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(4188);
match(NESTED);
setState(4190);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PATH) {
{
setState(4189);
match(PATH);
}
}
setState(4192);
match(STRING_LITERAL);
setState(4193);
match(COLUMNS);
setState(4194);
match(LR_BRACKET);
setState(4195);
jsonColumnList();
setState(4196);
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(MariaDBParser.ON, 0); }
public TerminalNode EMPTY() { return getToken(MariaDBParser.EMPTY, 0); }
public TerminalNode NULL_LITERAL() { return getToken(MariaDBParser.NULL_LITERAL, 0); }
public TerminalNode ERROR() { return getToken(MariaDBParser.ERROR, 0); }
public TerminalNode DEFAULT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterJsonOnEmpty(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitJsonOnEmpty(this);
}
}
public final JsonOnEmptyContext jsonOnEmpty() throws RecognitionException {
JsonOnEmptyContext _localctx = new JsonOnEmptyContext(_ctx, getState());
enterRule(_localctx, 276, RULE_jsonOnEmpty);
try {
enterOuterAlt(_localctx, 1);
{
setState(4204);
_errHandler.sync(this);
switch (_input.LA(1)) {
case NULL_LITERAL:
{
setState(4200);
match(NULL_LITERAL);
}
break;
case ERROR:
{
setState(4201);
match(ERROR);
}
break;
case DEFAULT:
{
setState(4202);
match(DEFAULT);
setState(4203);
defaultValue();
}
break;
default:
throw new NoViableAltException(this);
}
setState(4206);
match(ON);
setState(4207);
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(MariaDBParser.ON, 0); }
public List ERROR() { return getTokens(MariaDBParser.ERROR); }
public TerminalNode ERROR(int i) {
return getToken(MariaDBParser.ERROR, i);
}
public TerminalNode NULL_LITERAL() { return getToken(MariaDBParser.NULL_LITERAL, 0); }
public TerminalNode DEFAULT() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterJsonOnError(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitJsonOnError(this);
}
}
public final JsonOnErrorContext jsonOnError() throws RecognitionException {
JsonOnErrorContext _localctx = new JsonOnErrorContext(_ctx, getState());
enterRule(_localctx, 278, RULE_jsonOnError);
try {
enterOuterAlt(_localctx, 1);
{
setState(4213);
_errHandler.sync(this);
switch (_input.LA(1)) {
case NULL_LITERAL:
{
setState(4209);
match(NULL_LITERAL);
}
break;
case ERROR:
{
setState(4210);
match(ERROR);
}
break;
case DEFAULT:
{
setState(4211);
match(DEFAULT);
setState(4212);
defaultValue();
}
break;
default:
throw new NoViableAltException(this);
}
setState(4215);
match(ON);
setState(4216);
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(MariaDBParser.ALL, 0); }
public TerminalNode DISTINCT() { return getToken(MariaDBParser.DISTINCT, 0); }
public TerminalNode DISTINCTROW() { return getToken(MariaDBParser.DISTINCTROW, 0); }
public TerminalNode HIGH_PRIORITY() { return getToken(MariaDBParser.HIGH_PRIORITY, 0); }
public TerminalNode STRAIGHT_JOIN() { return getToken(MariaDBParser.STRAIGHT_JOIN, 0); }
public TerminalNode SQL_SMALL_RESULT() { return getToken(MariaDBParser.SQL_SMALL_RESULT, 0); }
public TerminalNode SQL_BIG_RESULT() { return getToken(MariaDBParser.SQL_BIG_RESULT, 0); }
public TerminalNode SQL_BUFFER_RESULT() { return getToken(MariaDBParser.SQL_BUFFER_RESULT, 0); }
public TerminalNode SQL_CACHE() { return getToken(MariaDBParser.SQL_CACHE, 0); }
public TerminalNode SQL_NO_CACHE() { return getToken(MariaDBParser.SQL_NO_CACHE, 0); }
public TerminalNode SQL_CALC_FOUND_ROWS() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterSelectSpec(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitSelectSpec(this);
}
}
public final SelectSpecContext selectSpec() throws RecognitionException {
SelectSpecContext _localctx = new SelectSpecContext(_ctx, getState());
enterRule(_localctx, 280, RULE_selectSpec);
int _la;
try {
setState(4226);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ALL:
case DISTINCT:
case DISTINCTROW:
enterOuterAlt(_localctx, 1);
{
setState(4218);
_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(4219);
match(HIGH_PRIORITY);
}
break;
case STRAIGHT_JOIN:
enterOuterAlt(_localctx, 3);
{
setState(4220);
match(STRAIGHT_JOIN);
}
break;
case SQL_SMALL_RESULT:
enterOuterAlt(_localctx, 4);
{
setState(4221);
match(SQL_SMALL_RESULT);
}
break;
case SQL_BIG_RESULT:
enterOuterAlt(_localctx, 5);
{
setState(4222);
match(SQL_BIG_RESULT);
}
break;
case SQL_BUFFER_RESULT:
enterOuterAlt(_localctx, 6);
{
setState(4223);
match(SQL_BUFFER_RESULT);
}
break;
case SQL_CACHE:
case SQL_NO_CACHE:
enterOuterAlt(_localctx, 7);
{
setState(4224);
_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(4225);
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(MariaDBParser.STAR, 0); }
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterSelectElements(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitSelectElements(this);
}
}
public final SelectElementsContext selectElements() throws RecognitionException {
SelectElementsContext _localctx = new SelectElementsContext(_ctx, getState());
enterRule(_localctx, 282, RULE_selectElements);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(4230);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,626,_ctx) ) {
case 1:
{
setState(4228);
((SelectElementsContext)_localctx).star = match(STAR);
}
break;
case 2:
{
setState(4229);
selectElement();
}
break;
}
setState(4236);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,627,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(4232);
match(COMMA);
setState(4233);
selectElement();
}
}
}
setState(4238);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,627,_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(MariaDBParser.LOCAL_ID, 0); }
public TerminalNode VAR_ASSIGN() { return getToken(MariaDBParser.VAR_ASSIGN, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode AS() { return getToken(MariaDBParser.AS, 0); }
public SelectExpressionElementContext(SelectElementContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterSelectExpressionElement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(MariaDBParser.AS, 0); }
public SelectFunctionElementContext(SelectElementContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterSelectFunctionElement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitSelectFunctionElement(this);
}
}
public static class SelectStarElementContext extends SelectElementContext {
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public TerminalNode DOT() { return getToken(MariaDBParser.DOT, 0); }
public TerminalNode STAR() { return getToken(MariaDBParser.STAR, 0); }
public SelectStarElementContext(SelectElementContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterSelectStarElement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)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(MariaDBParser.AS, 0); }
public SelectColumnElementContext(SelectElementContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterSelectColumnElement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitSelectColumnElement(this);
}
}
public final SelectElementContext selectElement() throws RecognitionException {
SelectElementContext _localctx = new SelectElementContext(_ctx, getState());
enterRule(_localctx, 284, RULE_selectElement);
int _la;
try {
setState(4268);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,635,_ctx) ) {
case 1:
_localctx = new SelectStarElementContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(4239);
fullId();
setState(4240);
match(DOT);
setState(4241);
match(STAR);
}
break;
case 2:
_localctx = new SelectColumnElementContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(4243);
fullColumnName();
setState(4248);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,629,_ctx) ) {
case 1:
{
setState(4245);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(4244);
match(AS);
}
}
setState(4247);
uid();
}
break;
}
}
break;
case 3:
_localctx = new SelectFunctionElementContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(4250);
functionCall();
setState(4255);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,631,_ctx) ) {
case 1:
{
setState(4252);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(4251);
match(AS);
}
}
setState(4254);
uid();
}
break;
}
}
break;
case 4:
_localctx = new SelectExpressionElementContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(4259);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,632,_ctx) ) {
case 1:
{
setState(4257);
match(LOCAL_ID);
setState(4258);
match(VAR_ASSIGN);
}
break;
}
setState(4261);
expression(0);
setState(4266);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,634,_ctx) ) {
case 1:
{
setState(4263);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(4262);
match(AS);
}
}
setState(4265);
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(MariaDBParser.INTO, 0); }
public List assignmentField() {
return getRuleContexts(AssignmentFieldContext.class);
}
public AssignmentFieldContext assignmentField(int i) {
return getRuleContext(AssignmentFieldContext.class,i);
}
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.COMMA, i);
}
public SelectIntoVariablesContext(SelectIntoExpressionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterSelectIntoVariables(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitSelectIntoVariables(this);
}
}
public static class SelectIntoTextFileContext extends SelectIntoExpressionContext {
public Token filename;
public CharsetNameContext charset;
public Token fieldsFormat;
public TerminalNode INTO() { return getToken(MariaDBParser.INTO, 0); }
public TerminalNode OUTFILE() { return getToken(MariaDBParser.OUTFILE, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode CHARACTER() { return getToken(MariaDBParser.CHARACTER, 0); }
public TerminalNode SET() { return getToken(MariaDBParser.SET, 0); }
public TerminalNode LINES() { return getToken(MariaDBParser.LINES, 0); }
public CharsetNameContext charsetName() {
return getRuleContext(CharsetNameContext.class,0);
}
public TerminalNode FIELDS() { return getToken(MariaDBParser.FIELDS, 0); }
public TerminalNode COLUMNS() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterSelectIntoTextFile(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitSelectIntoTextFile(this);
}
}
public static class SelectIntoDumpFileContext extends SelectIntoExpressionContext {
public TerminalNode INTO() { return getToken(MariaDBParser.INTO, 0); }
public TerminalNode DUMPFILE() { return getToken(MariaDBParser.DUMPFILE, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public SelectIntoDumpFileContext(SelectIntoExpressionContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterSelectIntoDumpFile(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitSelectIntoDumpFile(this);
}
}
public final SelectIntoExpressionContext selectIntoExpression() throws RecognitionException {
SelectIntoExpressionContext _localctx = new SelectIntoExpressionContext(_ctx, getState());
enterRule(_localctx, 286, RULE_selectIntoExpression);
int _la;
try {
setState(4306);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,642,_ctx) ) {
case 1:
_localctx = new SelectIntoVariablesContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(4270);
match(INTO);
setState(4271);
assignmentField();
setState(4276);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(4272);
match(COMMA);
setState(4273);
assignmentField();
}
}
setState(4278);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case 2:
_localctx = new SelectIntoDumpFileContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(4279);
match(INTO);
setState(4280);
match(DUMPFILE);
setState(4281);
match(STRING_LITERAL);
}
break;
case 3:
_localctx = new SelectIntoTextFileContext(_localctx);
enterOuterAlt(_localctx, 3);
{
{
setState(4282);
match(INTO);
setState(4283);
match(OUTFILE);
setState(4284);
((SelectIntoTextFileContext)_localctx).filename = match(STRING_LITERAL);
setState(4288);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CHARACTER) {
{
setState(4285);
match(CHARACTER);
setState(4286);
match(SET);
setState(4287);
((SelectIntoTextFileContext)_localctx).charset = charsetName();
}
}
setState(4296);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,639,_ctx) ) {
case 1:
{
setState(4290);
((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(4292);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(4291);
selectFieldsInto();
}
}
setState(4294);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==ENCLOSED || _la==ESCAPED || _la==OPTIONALLY || _la==TERMINATED );
}
break;
}
setState(4304);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LINES) {
{
setState(4298);
match(LINES);
setState(4300);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(4299);
selectLinesInto();
}
}
setState(4302);
_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(MariaDBParser.TERMINATED, 0); }
public TerminalNode BY() { return getToken(MariaDBParser.BY, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode ENCLOSED() { return getToken(MariaDBParser.ENCLOSED, 0); }
public TerminalNode OPTIONALLY() { return getToken(MariaDBParser.OPTIONALLY, 0); }
public TerminalNode ESCAPED() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterSelectFieldsInto(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitSelectFieldsInto(this);
}
}
public final SelectFieldsIntoContext selectFieldsInto() throws RecognitionException {
SelectFieldsIntoContext _localctx = new SelectFieldsIntoContext(_ctx, getState());
enterRule(_localctx, 288, RULE_selectFieldsInto);
int _la;
try {
setState(4320);
_errHandler.sync(this);
switch (_input.LA(1)) {
case TERMINATED:
enterOuterAlt(_localctx, 1);
{
setState(4308);
match(TERMINATED);
setState(4309);
match(BY);
setState(4310);
((SelectFieldsIntoContext)_localctx).terminationField = match(STRING_LITERAL);
}
break;
case ENCLOSED:
case OPTIONALLY:
enterOuterAlt(_localctx, 2);
{
setState(4312);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OPTIONALLY) {
{
setState(4311);
match(OPTIONALLY);
}
}
setState(4314);
match(ENCLOSED);
setState(4315);
match(BY);
setState(4316);
((SelectFieldsIntoContext)_localctx).enclosion = match(STRING_LITERAL);
}
break;
case ESCAPED:
enterOuterAlt(_localctx, 3);
{
setState(4317);
match(ESCAPED);
setState(4318);
match(BY);
setState(4319);
((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(MariaDBParser.STARTING, 0); }
public TerminalNode BY() { return getToken(MariaDBParser.BY, 0); }
public TerminalNode STRING_LITERAL() { return getToken(MariaDBParser.STRING_LITERAL, 0); }
public TerminalNode TERMINATED() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterSelectLinesInto(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitSelectLinesInto(this);
}
}
public final SelectLinesIntoContext selectLinesInto() throws RecognitionException {
SelectLinesIntoContext _localctx = new SelectLinesIntoContext(_ctx, getState());
enterRule(_localctx, 290, RULE_selectLinesInto);
try {
setState(4328);
_errHandler.sync(this);
switch (_input.LA(1)) {
case STARTING:
enterOuterAlt(_localctx, 1);
{
setState(4322);
match(STARTING);
setState(4323);
match(BY);
setState(4324);
((SelectLinesIntoContext)_localctx).starting = match(STRING_LITERAL);
}
break;
case TERMINATED:
enterOuterAlt(_localctx, 2);
{
setState(4325);
match(TERMINATED);
setState(4326);
match(BY);
setState(4327);
((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(MariaDBParser.FROM, 0); }
public TableSourcesContext tableSources() {
return getRuleContext(TableSourcesContext.class,0);
}
public TerminalNode WHERE() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterFromClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitFromClause(this);
}
}
public final FromClauseContext fromClause() throws RecognitionException {
FromClauseContext _localctx = new FromClauseContext(_ctx, getState());
enterRule(_localctx, 292, RULE_fromClause);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4332);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FROM) {
{
setState(4330);
match(FROM);
setState(4331);
tableSources();
}
}
setState(4336);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WHERE) {
{
setState(4334);
match(WHERE);
setState(4335);
((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(MariaDBParser.GROUP, 0); }
public TerminalNode BY() { return getToken(MariaDBParser.BY, 0); }
public List groupByItem() {
return getRuleContexts(GroupByItemContext.class);
}
public GroupByItemContext groupByItem(int i) {
return getRuleContext(GroupByItemContext.class,i);
}
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.COMMA, i);
}
public TerminalNode WITH() { return getToken(MariaDBParser.WITH, 0); }
public TerminalNode ROLLUP() { return getToken(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterGroupByClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitGroupByClause(this);
}
}
public final GroupByClauseContext groupByClause() throws RecognitionException {
GroupByClauseContext _localctx = new GroupByClauseContext(_ctx, getState());
enterRule(_localctx, 294, RULE_groupByClause);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(4338);
match(GROUP);
setState(4339);
match(BY);
setState(4340);
groupByItem();
setState(4345);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,648,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(4341);
match(COMMA);
setState(4342);
groupByItem();
}
}
}
setState(4347);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,648,_ctx);
}
setState(4350);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,649,_ctx) ) {
case 1:
{
setState(4348);
match(WITH);
setState(4349);
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(MariaDBParser.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 MariaDBParserListener ) ((MariaDBParserListener)listener).enterHavingClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitHavingClause(this);
}
}
public final HavingClauseContext havingClause() throws RecognitionException {
HavingClauseContext _localctx = new HavingClauseContext(_ctx, getState());
enterRule(_localctx, 296, RULE_havingClause);
try {
enterOuterAlt(_localctx, 1);
{
setState(4352);
match(HAVING);
setState(4353);
((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(MariaDBParser.WINDOW, 0); }
public List windowName() {
return getRuleContexts(WindowNameContext.class);
}
public WindowNameContext windowName(int i) {
return getRuleContext(WindowNameContext.class,i);
}
public List AS() { return getTokens(MariaDBParser.AS); }
public TerminalNode AS(int i) {
return getToken(MariaDBParser.AS, i);
}
public List LR_BRACKET() { return getTokens(MariaDBParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(MariaDBParser.LR_BRACKET, i);
}
public List windowSpec() {
return getRuleContexts(WindowSpecContext.class);
}
public WindowSpecContext windowSpec(int i) {
return getRuleContext(WindowSpecContext.class,i);
}
public List RR_BRACKET() { return getTokens(MariaDBParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(MariaDBParser.RR_BRACKET, i);
}
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.COMMA, i);
}
public WindowClauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_windowClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterWindowClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitWindowClause(this);
}
}
public final WindowClauseContext windowClause() throws RecognitionException {
WindowClauseContext _localctx = new WindowClauseContext(_ctx, getState());
enterRule(_localctx, 298, RULE_windowClause);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(4355);
match(WINDOW);
setState(4356);
windowName();
setState(4357);
match(AS);
setState(4358);
match(LR_BRACKET);
setState(4359);
windowSpec();
setState(4360);
match(RR_BRACKET);
setState(4370);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,650,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(4361);
match(COMMA);
setState(4362);
windowName();
setState(4363);
match(AS);
setState(4364);
match(LR_BRACKET);
setState(4365);
windowSpec();
setState(4366);
match(RR_BRACKET);
}
}
}
setState(4372);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,650,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class GroupByItemContext extends ParserRuleContext {
public Token order;
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode ASC() { return getToken(MariaDBParser.ASC, 0); }
public TerminalNode DESC() { return getToken(MariaDBParser.DESC, 0); }
public GroupByItemContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_groupByItem; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterGroupByItem(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitGroupByItem(this);
}
}
public final GroupByItemContext groupByItem() throws RecognitionException {
GroupByItemContext _localctx = new GroupByItemContext(_ctx, getState());
enterRule(_localctx, 300, RULE_groupByItem);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4373);
expression(0);
setState(4375);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,651,_ctx) ) {
case 1:
{
setState(4374);
((GroupByItemContext)_localctx).order = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==ASC || _la==DESC) ) {
((GroupByItemContext)_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 LimitClauseContext extends ParserRuleContext {
public LimitClauseAtomContext offset;
public LimitClauseAtomContext limit;
public TerminalNode LIMIT() { return getToken(MariaDBParser.LIMIT, 0); }
public TerminalNode OFFSET() { return getToken(MariaDBParser.OFFSET, 0); }
public List limitClauseAtom() {
return getRuleContexts(LimitClauseAtomContext.class);
}
public LimitClauseAtomContext limitClauseAtom(int i) {
return getRuleContext(LimitClauseAtomContext.class,i);
}
public TerminalNode COMMA() { return getToken(MariaDBParser.COMMA, 0); }
public LimitClauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_limitClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterLimitClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitLimitClause(this);
}
}
public final LimitClauseContext limitClause() throws RecognitionException {
LimitClauseContext _localctx = new LimitClauseContext(_ctx, getState());
enterRule(_localctx, 302, RULE_limitClause);
try {
enterOuterAlt(_localctx, 1);
{
setState(4377);
match(LIMIT);
setState(4388);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,653,_ctx) ) {
case 1:
{
setState(4381);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,652,_ctx) ) {
case 1:
{
setState(4378);
((LimitClauseContext)_localctx).offset = limitClauseAtom();
setState(4379);
match(COMMA);
}
break;
}
setState(4383);
((LimitClauseContext)_localctx).limit = limitClauseAtom();
}
break;
case 2:
{
setState(4384);
((LimitClauseContext)_localctx).limit = limitClauseAtom();
setState(4385);
match(OFFSET);
setState(4386);
((LimitClauseContext)_localctx).offset = limitClauseAtom();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class LimitClauseAtomContext extends ParserRuleContext {
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public MysqlVariableContext mysqlVariable() {
return getRuleContext(MysqlVariableContext.class,0);
}
public SimpleIdContext simpleId() {
return getRuleContext(SimpleIdContext.class,0);
}
public LimitClauseAtomContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_limitClauseAtom; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterLimitClauseAtom(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitLimitClauseAtom(this);
}
}
public final LimitClauseAtomContext limitClauseAtom() throws RecognitionException {
LimitClauseAtomContext _localctx = new LimitClauseAtomContext(_ctx, getState());
enterRule(_localctx, 304, RULE_limitClauseAtom);
try {
setState(4393);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ZERO_DECIMAL:
case ONE_DECIMAL:
case TWO_DECIMAL:
case DECIMAL_LITERAL:
case REAL_LITERAL:
enterOuterAlt(_localctx, 1);
{
setState(4390);
decimalLiteral();
}
break;
case LOCAL_ID:
case GLOBAL_ID:
enterOuterAlt(_localctx, 2);
{
setState(4391);
mysqlVariable();
}
break;
case ATTRIBUTE:
case BODY:
case BUCKETS:
case CONDITION:
case CURRENT:
case CURRENT_ROLE:
case CURRENT_USER:
case DATABASE:
case DEFAULT:
case DIAGNOSTICS:
case EMPTY:
case EXCEPT:
case GROUP:
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 PACKAGE:
case REPLACE:
case RIGHT:
case SCHEMA:
case SKIP_:
case STACKED:
case STATEMENT:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
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 LOCALES:
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 QUERY_RESPONSE_TIME:
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 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 SLAVES:
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 TYPES:
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 WSREP_MEMBERSHIP:
case WSREP_STATUS:
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 ADMIN:
case AUDIT_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_USER:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
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 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_BYTES:
case RELEASE_LOCK:
case REVERSE:
case ROUND:
case ROW_COUNT:
case RPAD:
case RTRIM:
case SEC_TO_TIME:
case SECONDARY_ENGINE_ATTRIBUTE:
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 TAN:
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 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 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 REPLICAS:
case REPLICATION_MASTER_ADMIN:
case MONITOR:
case READ_ONLY:
case REPLAY:
case MOD:
case ID:
enterOuterAlt(_localctx, 3);
{
setState(4392);
simpleId();
}
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 StartTransactionContext extends ParserRuleContext {
public TerminalNode START() { return getToken(MariaDBParser.START, 0); }
public TerminalNode TRANSACTION() { return getToken(MariaDBParser.TRANSACTION, 0); }
public List transactionMode() {
return getRuleContexts(TransactionModeContext.class);
}
public TransactionModeContext transactionMode(int i) {
return getRuleContext(TransactionModeContext.class,i);
}
public List COMMA() { return getTokens(MariaDBParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(MariaDBParser.COMMA, i);
}
public StartTransactionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_startTransaction; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterStartTransaction(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitStartTransaction(this);
}
}
public final StartTransactionContext startTransaction() throws RecognitionException {
StartTransactionContext _localctx = new StartTransactionContext(_ctx, getState());
enterRule(_localctx, 306, RULE_startTransaction);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4395);
match(START);
setState(4396);
match(TRANSACTION);
setState(4405);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==READ || _la==WITH) {
{
setState(4397);
transactionMode();
setState(4402);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(4398);
match(COMMA);
setState(4399);
transactionMode();
}
}
setState(4404);
_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 BeginWorkContext extends ParserRuleContext {
public TerminalNode BEGIN() { return getToken(MariaDBParser.BEGIN, 0); }
public TerminalNode WORK() { return getToken(MariaDBParser.WORK, 0); }
public BeginWorkContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_beginWork; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).enterBeginWork(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MariaDBParserListener ) ((MariaDBParserListener)listener).exitBeginWork(this);
}
}
public final BeginWorkContext beginWork() throws RecognitionException {
BeginWorkContext _localctx = new BeginWorkContext(_ctx, getState());
enterRule(_localctx, 308, RULE_beginWork);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4407);
match(BEGIN);
setState(4409);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WORK) {
{
setState(4408);
match(WORK);
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CommitWorkContext extends ParserRuleContext {
public Token nochain;
public Token norelease;
public TerminalNode COMMIT() { return getToken(MariaDBParser.COMMIT, 0); }
public TerminalNode WORK() { return getToken(MariaDBParser.WORK, 0); }
public TerminalNode AND() { return getToken(MariaDBParser.AND, 0); }
public TerminalNode CHAIN() { return getToken(MariaDBParser.CHAIN, 0); }
public TerminalNode RELEASE() { return getToken(MariaDBParser.RELEASE, 0); }
public List