fun.langel.cql.antlr4.CqlParser Maven / Gradle / Ivy
The newest version!
// Generated from /Users/guhan/workspace/opensource/cave/cave-components/cave-sql/antlr4/CqlParser.g4 by ANTLR 4.10.1
package fun.langel.cql.antlr4;
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 CqlParser 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,
BEFORE=14, BETWEEN=15, BOTH=16, BUCKETS=17, BY=18, CALL=19, CASCADE=20,
CASE=21, CAST=22, CHANGE=23, CHARACTER=24, CHECK=25, COLLATE=26, COLUMN=27,
CONDITION=28, CONSTRAINT=29, CONTINUE=30, CONVERT=31, CREATE=32, CROSS=33,
CURRENT=34, CURRENT_USER=35, CURSOR=36, DATABASE=37, DATABASES=38, DECLARE=39,
DEFAULT=40, DELAYED=41, DELETE=42, DESC=43, DESCRIBE=44, DETERMINISTIC=45,
DIAGNOSTICS=46, DISTINCT=47, DISTINCTROW=48, DROP=49, EACH=50, ELSE=51,
ELSEIF=52, EMPTY=53, ENCLOSED=54, ESCAPED=55, EXCEPT=56, EXISTS=57, C_EXISTS=58,
C_SCRIPT=59, C_KEYVALUE=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,
LEADING=94, LEAVE=95, LEFT=96, LIKE=97, LIMIT=98, LINEAR=99, LINES=100,
LOAD=101, LOCK=102, LOOP=103, LOW_PRIORITY=104, MASTER_BIND=105, MASTER_SSL_VERIFY_SERVER_CERT=106,
MATCH=107, MAXVALUE=108, MODIFIES=109, NATURAL=110, NOT=111, NO_WRITE_TO_BINLOG=112,
NULL_LITERAL=113, NUMBER=114, ON=115, OPTIMIZE=116, OPTION=117, OPTIONAL=118,
OPTIONALLY=119, OR=120, ORDER=121, OUT=122, OVER=123, OUTER=124, OUTFILE=125,
PARTITION=126, PRIMARY=127, PROCEDURE=128, PURGE=129, RANGE=130, READ=131,
READS=132, REFERENCES=133, REGEXP=134, RELEASE=135, RENAME=136, REPEAT=137,
REPLACE=138, REQUIRE=139, RESIGNAL=140, RESTRICT=141, RETAIN=142, RETURN=143,
REVOKE=144, RIGHT=145, RLIKE=146, SCHEMA=147, SCHEMAS=148, SELECT=149,
SET=150, SEPARATOR=151, SHOW=152, SIGNAL=153, SPATIAL=154, SQL=155, SQLEXCEPTION=156,
SQLSTATE=157, SQLWARNING=158, SQL_BIG_RESULT=159, SQL_CALC_FOUND_ROWS=160,
SQL_SMALL_RESULT=161, SSL=162, STACKED=163, STARTING=164, STRAIGHT_JOIN=165,
TABLE=166, TERMINATED=167, THEN=168, TO=169, TRAILING=170, TRIGGER=171,
TRUE=172, UNDO=173, UNION=174, UNIQUE=175, UNLOCK=176, UNSIGNED=177, UPDATE=178,
USAGE=179, USE=180, USING=181, VALUES=182, WHEN=183, WHERE=184, WHILE=185,
WITH=186, WRITE=187, XOR=188, ZEROFILL=189, TINYINT=190, SMALLINT=191,
MEDIUMINT=192, MIDDLEINT=193, INT=194, INT1=195, INT2=196, INT3=197, INT4=198,
INT8=199, INTEGER=200, BIGINT=201, REAL=202, DOUBLE=203, PRECISION=204,
FLOAT=205, FLOAT4=206, FLOAT8=207, DECIMAL=208, DEC=209, NUMERIC=210,
DATE=211, TIME=212, TIMESTAMP=213, DATETIME=214, YEAR=215, CHAR=216, VARCHAR=217,
NVARCHAR=218, NATIONAL=219, BINARY=220, VARBINARY=221, TINYBLOB=222, BLOB=223,
MEDIUMBLOB=224, LONG=225, LONGBLOB=226, TINYTEXT=227, TEXT=228, MEDIUMTEXT=229,
LONGTEXT=230, ENUM=231, VARYING=232, SERIAL=233, YEAR_MONTH=234, DAY_HOUR=235,
DAY_MINUTE=236, DAY_SECOND=237, HOUR_MINUTE=238, HOUR_SECOND=239, MINUTE_SECOND=240,
SECOND_MICROSECOND=241, MINUTE_MICROSECOND=242, HOUR_MICROSECOND=243,
DAY_MICROSECOND=244, JSON_ARRAY=245, JSON_OBJECT=246, JSON_QUOTE=247,
JSON_CONTAINS=248, JSON_CONTAINS_PATH=249, JSON_EXTRACT=250, JSON_KEYS=251,
JSON_OVERLAPS=252, JSON_SEARCH=253, JSON_VALUE=254, JSON_ARRAY_APPEND=255,
JSON_ARRAY_INSERT=256, JSON_INSERT=257, JSON_MERGE=258, JSON_MERGE_PATCH=259,
JSON_MERGE_PRESERVE=260, JSON_REMOVE=261, JSON_REPLACE=262, JSON_SET=263,
JSON_UNQUOTE=264, JSON_DEPTH=265, JSON_LENGTH=266, JSON_TYPE=267, JSON_VALID=268,
JSON_TABLE=269, JSON_SCHEMA_VALID=270, JSON_SCHEMA_VALIDATION_REPORT=271,
JSON_PRETTY=272, JSON_STORAGE_FREE=273, JSON_STORAGE_SIZE=274, JSON_ARRAYAGG=275,
JSON_OBJECTAGG=276, AVG=277, BIT_AND=278, BIT_OR=279, BIT_XOR=280, COUNT=281,
CUME_DIST=282, DENSE_RANK=283, FIRST_VALUE=284, GROUP_CONCAT=285, LAG=286,
LAST_VALUE=287, LEAD=288, MAX=289, MIN=290, NTILE=291, NTH_VALUE=292,
PERCENT_RANK=293, RANK=294, ROW_NUMBER=295, STD=296, STDDEV=297, STDDEV_POP=298,
STDDEV_SAMP=299, SUM=300, VAR_POP=301, VAR_SAMP=302, VARIANCE=303, CURRENT_DATE=304,
CURRENT_TIME=305, CURRENT_TIMESTAMP=306, LOCALTIME=307, CURDATE=308, CURTIME=309,
DATE_ADD=310, DATE_SUB=311, EXTRACT=312, LOCALTIMESTAMP=313, NOW=314,
POSITION=315, SUBSTR=316, SUBSTRING=317, SYSDATE=318, TRIM=319, UTC_DATE=320,
UTC_TIME=321, UTC_TIMESTAMP=322, ACCOUNT=323, ACTION=324, AFTER=325, AGGREGATE=326,
ALGORITHM=327, ANY=328, AT=329, AUTHORS=330, AUTOCOMMIT=331, AUTOEXTEND_SIZE=332,
AUTO_INCREMENT=333, AVG_ROW_LENGTH=334, BEGIN=335, BINLOG=336, BIT=337,
BLOCK=338, BOOL=339, BOOLEAN=340, BTREE=341, CACHE=342, CASCADED=343,
CHAIN=344, CHANGED=345, CHANNEL=346, CHECKSUM=347, PAGE_CHECKSUM=348,
CIPHER=349, CLASS_ORIGIN=350, CLIENT=351, CLOSE=352, CLUSTERING=353, COALESCE=354,
CODE=355, COLUMNS=356, COLUMN_FORMAT=357, COLUMN_NAME=358, COMMENT=359,
COMMIT=360, COMPACT=361, COMPLETION=362, COMPRESSED=363, COMPRESSION=364,
CONCURRENT=365, CONNECT=366, CONNECTION=367, CONSISTENT=368, CONSTRAINT_CATALOG=369,
CONSTRAINT_SCHEMA=370, CONSTRAINT_NAME=371, CONTAINS=372, CONTEXT=373,
CONTRIBUTORS=374, COPY=375, CPU=376, CURSOR_NAME=377, DATA=378, DATAFILE=379,
DEALLOCATE=380, DEFAULT_AUTH=381, DEFINER=382, DELAY_KEY_WRITE=383, DES_KEY_FILE=384,
DIRECTORY=385, DISABLE=386, DISCARD=387, DISK=388, DO=389, DUMPFILE=390,
DUPLICATE=391, DYNAMIC=392, ENABLE=393, ENCRYPTION=394, END=395, ENDS=396,
ENGINE=397, ENGINES=398, ERROR=399, ERRORS=400, ESCAPE=401, EVEN=402,
EVENT=403, EVENTS=404, EVERY=405, EXCHANGE=406, EXCLUSIVE=407, EXPIRE=408,
EXPORT=409, EXTENDED=410, EXTENT_SIZE=411, FAST=412, FAULTS=413, FIELDS=414,
FILE_BLOCK_SIZE=415, FILTER=416, FIRST=417, FIXED=418, FLUSH=419, FOLLOWING=420,
FOLLOWS=421, FOUND=422, FULL=423, FUNCTION=424, GENERAL=425, GLOBAL=426,
GRANTS=427, GROUP_REPLICATION=428, HANDLER=429, HASH=430, HELP=431, HOST=432,
HOSTS=433, IDENTIFIED=434, IGNORE_SERVER_IDS=435, IMPORT=436, INDEXES=437,
INITIAL_SIZE=438, INPLACE=439, INSERT_METHOD=440, INSTALL=441, INSTANCE=442,
INSTANT=443, INVISIBLE=444, INVOKER=445, IO=446, IO_THREAD=447, IPC=448,
ISOLATION=449, ISSUER=450, JSON=451, KEY_BLOCK_SIZE=452, LANGUAGE=453,
LAST=454, LEAVES=455, LESS=456, LEVEL=457, LIST=458, LOCAL=459, LOGFILE=460,
LOGS=461, MASTER=462, MASTER_AUTO_POSITION=463, MASTER_CONNECT_RETRY=464,
MASTER_DELAY=465, MASTER_HEARTBEAT_PERIOD=466, MASTER_HOST=467, MASTER_LOG_FILE=468,
MASTER_LOG_POS=469, MASTER_PASSWORD=470, MASTER_PORT=471, MASTER_RETRY_COUNT=472,
MASTER_SSL=473, MASTER_SSL_CA=474, MASTER_SSL_CAPATH=475, MASTER_SSL_CERT=476,
MASTER_SSL_CIPHER=477, MASTER_SSL_CRL=478, MASTER_SSL_CRLPATH=479, MASTER_SSL_KEY=480,
MASTER_TLS_VERSION=481, MASTER_USER=482, MAX_CONNECTIONS_PER_HOUR=483,
MAX_QUERIES_PER_HOUR=484, MAX_ROWS=485, MAX_SIZE=486, MAX_UPDATES_PER_HOUR=487,
MAX_USER_CONNECTIONS=488, MEDIUM=489, MEMBER=490, MERGE=491, MESSAGE_TEXT=492,
MID=493, MIGRATE=494, MIN_ROWS=495, MODE=496, MODIFY=497, MUTEX=498, MYSQL=499,
MYSQL_ERRNO=500, NAME=501, NAMES=502, NCHAR=503, NEVER=504, NEXT=505,
NO=506, NOCOPY=507, NOWAIT=508, NODEGROUP=509, NONE=510, ODBC=511, OFFLINE=512,
OFFSET=513, OF=514, OJ=515, OLD_PASSWORD=516, ONE=517, ONLINE=518, ONLY=519,
OPEN=520, OPTIMIZER_COSTS=521, OPTIONS=522, OWNER=523, PACK_KEYS=524,
PAGE=525, PARSER=526, PARTIAL=527, PARTITIONING=528, PARTITIONS=529, PASSWORD=530,
PHASE=531, PLUGIN=532, PLUGIN_DIR=533, PLUGINS=534, PORT=535, PRECEDES=536,
PRECEDING=537, PREPARE=538, PRESERVE=539, PREV=540, PROCESSLIST=541, PROFILE=542,
PROFILES=543, PROXY=544, QUERY=545, QUICK=546, REBUILD=547, RECOVER=548,
RECURSIVE=549, REDO_BUFFER_SIZE=550, REDUNDANT=551, RELAY=552, RELAY_LOG_FILE=553,
RELAY_LOG_POS=554, RELAYLOG=555, REMOVE=556, REORGANIZE=557, REPAIR=558,
REPLICATE_DO_DB=559, REPLICATE_DO_TABLE=560, REPLICATE_IGNORE_DB=561,
REPLICATE_IGNORE_TABLE=562, REPLICATE_REWRITE_DB=563, REPLICATE_WILD_DO_TABLE=564,
REPLICATE_WILD_IGNORE_TABLE=565, REPLICATION=566, RESET=567, RESUME=568,
RETURNED_SQLSTATE=569, RETURNING=570, RETURNS=571, ROLE=572, ROLLBACK=573,
ROLLUP=574, ROTATE=575, ROW=576, ROWS=577, ROW_FORMAT=578, RTREE=579,
SAVEPOINT=580, SCHEDULE=581, SECURITY=582, SERVER=583, SESSION=584, SHARE=585,
SHARED=586, SIGNED=587, SIMPLE=588, SLAVE=589, SLOW=590, SNAPSHOT=591,
SOCKET=592, SOME=593, SONAME=594, SOUNDS=595, SOURCE=596, SQL_AFTER_GTIDS=597,
SQL_AFTER_MTS_GAPS=598, SQL_BEFORE_GTIDS=599, SQL_BUFFER_RESULT=600, SQL_CACHE=601,
SQL_NO_CACHE=602, SQL_THREAD=603, START=604, STARTS=605, STATS_AUTO_RECALC=606,
STATS_PERSISTENT=607, STATS_SAMPLE_PAGES=608, STATUS=609, STOP=610, STORAGE=611,
STORED=612, STRING=613, SUBCLASS_ORIGIN=614, SUBJECT=615, SUBPARTITION=616,
SUBPARTITIONS=617, SUSPEND=618, SWAPS=619, SWITCHES=620, TABLE_NAME=621,
TABLESPACE=622, TABLE_TYPE=623, TEMPORARY=624, TEMPTABLE=625, THAN=626,
TRADITIONAL=627, TRANSACTION=628, TRANSACTIONAL=629, TRIGGERS=630, TRUNCATE=631,
UNBOUNDED=632, UNDEFINED=633, UNDOFILE=634, UNDO_BUFFER_SIZE=635, UNINSTALL=636,
UNKNOWN=637, UNTIL=638, UPGRADE=639, USER=640, USE_FRM=641, USER_RESOURCES=642,
VALIDATION=643, VALUE=644, VARIABLES=645, VIEW=646, VIRTUAL=647, VISIBLE=648,
WAIT=649, WARNINGS=650, WINDOW=651, WITHOUT=652, WORK=653, WRAPPER=654,
X509=655, XA=656, XML=657, YES=658, EUR=659, USA=660, JIS=661, ISO=662,
INTERNAL=663, QUARTER=664, MONTH=665, DAY=666, HOUR=667, MINUTE=668, WEEK=669,
SECOND=670, MICROSECOND=671, TABLES=672, ROUTINE=673, EXECUTE=674, FILE=675,
PROCESS=676, RELOAD=677, SHUTDOWN=678, SUPER=679, PRIVILEGES=680, APPLICATION_PASSWORD_ADMIN=681,
AUDIT_ADMIN=682, BACKUP_ADMIN=683, BINLOG_ADMIN=684, BINLOG_ENCRYPTION_ADMIN=685,
CLONE_ADMIN=686, CONNECTION_ADMIN=687, ENCRYPTION_KEY_ADMIN=688, FIREWALL_ADMIN=689,
FIREWALL_USER=690, FLUSH_OPTIMIZER_COSTS=691, FLUSH_STATUS=692, FLUSH_TABLES=693,
FLUSH_USER_RESOURCES=694, ADMIN=695, GROUP_REPLICATION_ADMIN=696, INNODB_REDO_LOG_ARCHIVE=697,
INNODB_REDO_LOG_ENABLE=698, NDB_STORED_USER=699, PERSIST_RO_VARIABLES_ADMIN=700,
REPLICATION_APPLIER=701, REPLICATION_SLAVE_ADMIN=702, RESOURCE_GROUP_ADMIN=703,
RESOURCE_GROUP_USER=704, ROLE_ADMIN=705, SERVICE_CONNECTION_ADMIN=706,
SESSION_VARIABLES_ADMIN=707, SET_USER_ID=708, SHOW_ROUTINE=709, SYSTEM_VARIABLES_ADMIN=710,
TABLE_ENCRYPTION_ADMIN=711, VERSION_TOKEN_ADMIN=712, XA_RECOVER_ADMIN=713,
ARMSCII8=714, ASCII=715, BIG5=716, CP1250=717, CP1251=718, CP1256=719,
CP1257=720, CP850=721, CP852=722, CP866=723, CP932=724, DEC8=725, EUCJPMS=726,
EUCKR=727, GB18030=728, GB2312=729, GBK=730, GEOSTD8=731, GREEK=732, HEBREW=733,
HP8=734, KEYBCS2=735, KOI8R=736, KOI8U=737, LATIN1=738, LATIN2=739, LATIN5=740,
LATIN7=741, MACCE=742, MACROMAN=743, SJIS=744, SWE7=745, TIS620=746, UCS2=747,
UJIS=748, UTF16=749, UTF16LE=750, UTF32=751, UTF8=752, UTF8MB3=753, UTF8MB4=754,
ARCHIVE=755, BLACKHOLE=756, CSV=757, FEDERATED=758, INNODB=759, MEMORY=760,
MRG_MYISAM=761, MYISAM=762, NDB=763, NDBCLUSTER=764, PERFORMANCE_SCHEMA=765,
TOKUDB=766, REPEATABLE=767, COMMITTED=768, UNCOMMITTED=769, SERIALIZABLE=770,
GEOMETRYCOLLECTION=771, GEOMCOLLECTION=772, GEOMETRY=773, LINESTRING=774,
MULTILINESTRING=775, MULTIPOINT=776, MULTIPOLYGON=777, POINT=778, POLYGON=779,
ABS=780, ACOS=781, ADDDATE=782, ADDTIME=783, AES_DECRYPT=784, AES_ENCRYPT=785,
AREA=786, ASBINARY=787, ASIN=788, ASTEXT=789, ASWKB=790, ASWKT=791, ASYMMETRIC_DECRYPT=792,
ASYMMETRIC_DERIVE=793, ASYMMETRIC_ENCRYPT=794, ASYMMETRIC_SIGN=795, ASYMMETRIC_VERIFY=796,
ATAN=797, ATAN2=798, BENCHMARK=799, BIN=800, BIT_COUNT=801, BIT_LENGTH=802,
BUFFER=803, CATALOG_NAME=804, CEIL=805, CEILING=806, CENTROID=807, CHARACTER_LENGTH=808,
CHARSET=809, CHAR_LENGTH=810, COERCIBILITY=811, COLLATION=812, COMPRESS=813,
CONCAT=814, CONCAT_WS=815, CONNECTION_ID=816, CONV=817, CONVERT_TZ=818,
COS=819, COT=820, CRC32=821, CREATE_ASYMMETRIC_PRIV_KEY=822, CREATE_ASYMMETRIC_PUB_KEY=823,
CREATE_DH_PARAMETERS=824, CREATE_DIGEST=825, CROSSES=826, DATEDIFF=827,
DATE_FORMAT=828, DAYNAME=829, DAYOFMONTH=830, DAYOFWEEK=831, DAYOFYEAR=832,
DECODE=833, DEGREES=834, DES_DECRYPT=835, DES_ENCRYPT=836, DIMENSION=837,
DISJOINT=838, ELT=839, ENCODE=840, ENCRYPT=841, ENDPOINT=842, ENGINE_ATTRIBUTE=843,
ENVELOPE=844, EQUALS=845, EXP=846, EXPORT_SET=847, EXTERIORRING=848, EXTRACTVALUE=849,
FIELD=850, FIND_IN_SET=851, FLOOR=852, FORMAT=853, FOUND_ROWS=854, FROM_BASE64=855,
FROM_DAYS=856, FROM_UNIXTIME=857, GEOMCOLLFROMTEXT=858, GEOMCOLLFROMWKB=859,
GEOMETRYCOLLECTIONFROMTEXT=860, GEOMETRYCOLLECTIONFROMWKB=861, GEOMETRYFROMTEXT=862,
GEOMETRYFROMWKB=863, GEOMETRYN=864, GEOMETRYTYPE=865, GEOMFROMTEXT=866,
GEOMFROMWKB=867, GET_FORMAT=868, GET_LOCK=869, GLENGTH=870, GREATEST=871,
GTID_SUBSET=872, GTID_SUBTRACT=873, HEX=874, IFNULL=875, INET6_ATON=876,
INET6_NTOA=877, INET_ATON=878, INET_NTOA=879, INSTR=880, INTERIORRINGN=881,
INTERSECTS=882, ISCLOSED=883, ISEMPTY=884, ISNULL=885, ISSIMPLE=886, IS_FREE_LOCK=887,
IS_IPV4=888, IS_IPV4_COMPAT=889, IS_IPV4_MAPPED=890, IS_IPV6=891, IS_USED_LOCK=892,
LAST_INSERT_ID=893, LCASE=894, LEAST=895, LENGTH=896, LINEFROMTEXT=897,
LINEFROMWKB=898, LINESTRINGFROMTEXT=899, LINESTRINGFROMWKB=900, LN=901,
LOAD_FILE=902, LOCATE=903, LOG=904, LOG10=905, LOG2=906, LOWER=907, LPAD=908,
LTRIM=909, MAKEDATE=910, MAKETIME=911, MAKE_SET=912, MASTER_POS_WAIT=913,
MBRCONTAINS=914, MBRDISJOINT=915, MBREQUAL=916, MBRINTERSECTS=917, MBROVERLAPS=918,
MBRTOUCHES=919, MBRWITHIN=920, MD5=921, MLINEFROMTEXT=922, MLINEFROMWKB=923,
MONTHNAME=924, MPOINTFROMTEXT=925, MPOINTFROMWKB=926, MPOLYFROMTEXT=927,
MPOLYFROMWKB=928, MULTILINESTRINGFROMTEXT=929, MULTILINESTRINGFROMWKB=930,
MULTIPOINTFROMTEXT=931, MULTIPOINTFROMWKB=932, MULTIPOLYGONFROMTEXT=933,
MULTIPOLYGONFROMWKB=934, NAME_CONST=935, NULLIF=936, NUMGEOMETRIES=937,
NUMINTERIORRINGS=938, NUMPOINTS=939, OCT=940, OCTET_LENGTH=941, ORD=942,
OVERLAPS=943, PERIOD_ADD=944, PERIOD_DIFF=945, PI=946, POINTFROMTEXT=947,
POINTFROMWKB=948, POINTN=949, POLYFROMTEXT=950, POLYFROMWKB=951, POLYGONFROMTEXT=952,
POLYGONFROMWKB=953, POW=954, POWER=955, QUOTE=956, RADIANS=957, RAND=958,
RANDOM_BYTES=959, RELEASE_LOCK=960, REVERSE=961, ROUND=962, ROW_COUNT=963,
RPAD=964, RTRIM=965, SEC_TO_TIME=966, SECONDARY_ENGINE_ATTRIBUTE=967,
SESSION_USER=968, SHA=969, SHA1=970, SHA2=971, SCHEMA_NAME=972, SIGN=973,
SIN=974, SLEEP=975, SOUNDEX=976, SQL_THREAD_WAIT_AFTER_GTIDS=977, SQRT=978,
SRID=979, STARTPOINT=980, STRCMP=981, STR_TO_DATE=982, ST_AREA=983, ST_ASBINARY=984,
ST_ASTEXT=985, ST_ASWKB=986, ST_ASWKT=987, ST_BUFFER=988, ST_CENTROID=989,
ST_CONTAINS=990, ST_CROSSES=991, ST_DIFFERENCE=992, ST_DIMENSION=993,
ST_DISJOINT=994, ST_DISTANCE=995, ST_ENDPOINT=996, ST_ENVELOPE=997, ST_EQUALS=998,
ST_EXTERIORRING=999, ST_GEOMCOLLFROMTEXT=1000, ST_GEOMCOLLFROMTXT=1001,
ST_GEOMCOLLFROMWKB=1002, ST_GEOMETRYCOLLECTIONFROMTEXT=1003, ST_GEOMETRYCOLLECTIONFROMWKB=1004,
ST_GEOMETRYFROMTEXT=1005, ST_GEOMETRYFROMWKB=1006, ST_GEOMETRYN=1007,
ST_GEOMETRYTYPE=1008, ST_GEOMFROMTEXT=1009, ST_GEOMFROMWKB=1010, ST_INTERIORRINGN=1011,
ST_INTERSECTION=1012, ST_INTERSECTS=1013, ST_ISCLOSED=1014, ST_ISEMPTY=1015,
ST_ISSIMPLE=1016, ST_LINEFROMTEXT=1017, ST_LINEFROMWKB=1018, ST_LINESTRINGFROMTEXT=1019,
ST_LINESTRINGFROMWKB=1020, ST_NUMGEOMETRIES=1021, ST_NUMINTERIORRING=1022,
ST_NUMINTERIORRINGS=1023, ST_NUMPOINTS=1024, ST_OVERLAPS=1025, ST_POINTFROMTEXT=1026,
ST_POINTFROMWKB=1027, ST_POINTN=1028, ST_POLYFROMTEXT=1029, ST_POLYFROMWKB=1030,
ST_POLYGONFROMTEXT=1031, ST_POLYGONFROMWKB=1032, ST_SRID=1033, ST_STARTPOINT=1034,
ST_SYMDIFFERENCE=1035, ST_TOUCHES=1036, ST_UNION=1037, ST_WITHIN=1038,
ST_X=1039, ST_Y=1040, SUBDATE=1041, SUBSTRING_INDEX=1042, SUBTIME=1043,
SYSTEM_USER=1044, TAN=1045, TIMEDIFF=1046, TIMESTAMPADD=1047, TIMESTAMPDIFF=1048,
TIME_FORMAT=1049, TIME_TO_SEC=1050, TOUCHES=1051, TO_BASE64=1052, TO_DAYS=1053,
TO_SECONDS=1054, UCASE=1055, UNCOMPRESS=1056, UNCOMPRESSED_LENGTH=1057,
UNHEX=1058, UNIX_TIMESTAMP=1059, UPDATEXML=1060, UPPER=1061, UUID=1062,
UUID_SHORT=1063, VALIDATE_PASSWORD_STRENGTH=1064, VERSION=1065, WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS=1066,
WEEKDAY=1067, WEEKOFYEAR=1068, WEIGHT_STRING=1069, WITHIN=1070, YEARWEEK=1071,
Y_FUNCTION=1072, X_FUNCTION=1073, VIA=1074, LASTVAL=1075, NEXTVAL=1076,
SETVAL=1077, PREVIOUS=1078, PERSISTENT=1079, BINLOG_MONITOR=1080, BINLOG_REPLAY=1081,
FEDERATED_ADMIN=1082, READ_ONLY_ADMIN=1083, REPLICA=1084, REPLICATION_MASTER_ADMIN=1085,
VAR_ASSIGN=1086, PLUS_ASSIGN=1087, MINUS_ASSIGN=1088, MULT_ASSIGN=1089,
DIV_ASSIGN=1090, MOD_ASSIGN=1091, AND_ASSIGN=1092, XOR_ASSIGN=1093, OR_ASSIGN=1094,
STAR=1095, DIVIDE=1096, MODULE=1097, PLUS=1098, MINUS=1099, DIV=1100,
MOD=1101, EQUAL_SYMBOL=1102, GREATER_SYMBOL=1103, LESS_SYMBOL=1104, EXCLAMATION_SYMBOL=1105,
BIT_NOT_OP=1106, BIT_OR_OP=1107, BIT_AND_OP=1108, BIT_XOR_OP=1109, DOT=1110,
LR_BRACKET=1111, RR_BRACKET=1112, COMMA=1113, SEMI=1114, AT_SIGN=1115,
ZERO_DECIMAL=1116, ONE_DECIMAL=1117, TWO_DECIMAL=1118, SINGLE_QUOTE_SYMB=1119,
DOUBLE_QUOTE_SYMB=1120, REVERSE_QUOTE_SYMB=1121, COLON_SYMB=1122, CHARSET_REVERSE_QOUTE_STRING=1123,
FILESIZE_LITERAL=1124, START_NATIONAL_STRING_LITERAL=1125, STRING_LITERAL=1126,
DECIMAL_LITERAL=1127, HEXADECIMAL_LITERAL=1128, REAL_LITERAL=1129, NULL_SPEC_LITERAL=1130,
BIT_STRING=1131, STRING_CHARSET_NAME=1132, DOT_ID=1133, ID=1134, REVERSE_QUOTE_ID=1135,
STRING_USER_NAME=1136, IP_ADDRESS=1137, STRING_USER_NAME_MARIADB=1138,
LOCAL_ID=1139, GLOBAL_ID=1140, ERROR_RECONGNIGION=1141, ENCRYPTED=1142,
ENCRYPTION_KEY_ID=1143;
public static final int
RULE_root = 0, RULE_sqlStatements = 1, RULE_sqlStatement = 2, RULE_emptyStatement_ = 3,
RULE_ddlStatement = 4, RULE_dmlStatement = 5, RULE_transactionStatement = 6,
RULE_replicationStatement = 7, RULE_preparedStatement = 8, RULE_compoundStatement = 9,
RULE_administrationStatement = 10, RULE_utilityStatement = 11, RULE_createDatabase = 12,
RULE_createEvent = 13, RULE_createIndex = 14, RULE_createLogfileGroup = 15,
RULE_createProcedure = 16, RULE_createFunction = 17, RULE_createRole = 18,
RULE_createServer = 19, RULE_createTable = 20, RULE_createTablespaceInnodb = 21,
RULE_createTablespaceNdb = 22, RULE_createTrigger = 23, RULE_withClause = 24,
RULE_commonTableExpressions = 25, RULE_cteName = 26, RULE_cteColumnName = 27,
RULE_createView = 28, RULE_createDatabaseOption = 29, RULE_charSet = 30,
RULE_ownerStatement = 31, RULE_scheduleExpression = 32, RULE_timestampValue = 33,
RULE_intervalExpr = 34, RULE_intervalType = 35, RULE_enableType = 36,
RULE_indexType = 37, RULE_indexOption = 38, RULE_procedureParameter = 39,
RULE_functionParameter = 40, RULE_routineOption = 41, RULE_serverOption = 42,
RULE_createDefinitions = 43, RULE_createDefinition = 44, RULE_columnDefinition = 45,
RULE_columnConstraint = 46, RULE_tableConstraint = 47, RULE_referenceDefinition = 48,
RULE_referenceAction = 49, RULE_referenceControlType = 50, RULE_indexColumnDefinition = 51,
RULE_tableOption = 52, RULE_tableType = 53, RULE_tablespaceStorage = 54,
RULE_partitionDefinitions = 55, RULE_partitionFunctionDefinition = 56,
RULE_subpartitionFunctionDefinition = 57, RULE_partitionDefinition = 58,
RULE_partitionDefinerAtom = 59, RULE_partitionDefinerVector = 60, RULE_subpartitionDefinition = 61,
RULE_partitionOption = 62, RULE_alterDatabase = 63, RULE_alterEvent = 64,
RULE_alterFunction = 65, RULE_alterInstance = 66, RULE_alterLogfileGroup = 67,
RULE_alterProcedure = 68, RULE_alterServer = 69, RULE_alterTable = 70,
RULE_alterTablespace = 71, RULE_alterView = 72, RULE_alterSpecification = 73,
RULE_dropDatabase = 74, RULE_dropEvent = 75, RULE_dropIndex = 76, RULE_dropLogfileGroup = 77,
RULE_dropProcedure = 78, RULE_dropFunction = 79, RULE_dropServer = 80,
RULE_dropTable = 81, RULE_dropTablespace = 82, RULE_dropTrigger = 83,
RULE_dropView = 84, RULE_dropRole = 85, RULE_setRole = 86, RULE_renameTable = 87,
RULE_renameTableClause = 88, RULE_truncateTable = 89, RULE_callStatement = 90,
RULE_deleteStatement = 91, RULE_doStatement = 92, RULE_handlerStatement = 93,
RULE_insertStatement = 94, RULE_loadDataStatement = 95, RULE_loadXmlStatement = 96,
RULE_replaceStatement = 97, RULE_selectStatement = 98, RULE_updateStatement = 99,
RULE_insertStatementValue = 100, RULE_updatedElement = 101, RULE_assignmentField = 102,
RULE_lockClause = 103, RULE_singleDeleteStatement = 104, RULE_multipleDeleteStatement = 105,
RULE_handlerOpenStatement = 106, RULE_handlerReadIndexStatement = 107,
RULE_handlerReadStatement = 108, RULE_handlerCloseStatement = 109, RULE_singleUpdateStatement = 110,
RULE_multipleUpdateStatement = 111, RULE_orderByClause = 112, RULE_orderByExpression = 113,
RULE_tableSources = 114, RULE_tableSource = 115, RULE_tableSourceItem = 116,
RULE_indexHint = 117, RULE_indexHintType = 118, RULE_joinPart = 119, RULE_queryExpression = 120,
RULE_queryExpressionNointo = 121, RULE_querySpecification = 122, RULE_querySpecificationNointo = 123,
RULE_unionParenthesis = 124, RULE_unionStatement = 125, RULE_selectSpec = 126,
RULE_selectElements = 127, RULE_selectElement = 128, RULE_selectIntoExpression = 129,
RULE_selectFieldsInto = 130, RULE_selectLinesInto = 131, RULE_fromClause = 132,
RULE_groupByClause = 133, RULE_havingClause = 134, RULE_windowClause = 135,
RULE_groupByItem = 136, RULE_limitClause = 137, RULE_limitClauseAtom = 138,
RULE_startTransaction = 139, RULE_beginWork = 140, RULE_commitWork = 141,
RULE_rollbackWork = 142, RULE_savepointStatement = 143, RULE_rollbackStatement = 144,
RULE_releaseStatement = 145, RULE_lockTables = 146, RULE_unlockTables = 147,
RULE_setAutocommitStatement = 148, RULE_setTransactionStatement = 149,
RULE_transactionMode = 150, RULE_lockTableElement = 151, RULE_lockAction = 152,
RULE_transactionOption = 153, RULE_transactionLevel = 154, RULE_changeMaster = 155,
RULE_changeReplicationFilter = 156, RULE_purgeBinaryLogs = 157, RULE_resetMaster = 158,
RULE_resetSlave = 159, RULE_startSlave = 160, RULE_stopSlave = 161, RULE_startGroupReplication = 162,
RULE_stopGroupReplication = 163, RULE_masterOption = 164, RULE_stringMasterOption = 165,
RULE_decimalMasterOption = 166, RULE_boolMasterOption = 167, RULE_channelOption = 168,
RULE_replicationFilter = 169, RULE_tablePair = 170, RULE_threadType = 171,
RULE_untilOption = 172, RULE_connectionOption = 173, RULE_gtuidSet = 174,
RULE_xaStartTransaction = 175, RULE_xaEndTransaction = 176, RULE_xaPrepareStatement = 177,
RULE_xaCommitWork = 178, RULE_xaRollbackWork = 179, RULE_xaRecoverWork = 180,
RULE_prepareStatement = 181, RULE_executeStatement = 182, RULE_deallocatePrepare = 183,
RULE_routineBody = 184, RULE_blockStatement = 185, RULE_caseStatement = 186,
RULE_ifStatement = 187, RULE_iterateStatement = 188, RULE_leaveStatement = 189,
RULE_loopStatement = 190, RULE_repeatStatement = 191, RULE_returnStatement = 192,
RULE_whileStatement = 193, RULE_cursorStatement = 194, RULE_declareVariable = 195,
RULE_declareCondition = 196, RULE_declareCursor = 197, RULE_declareHandler = 198,
RULE_handlerConditionValue = 199, RULE_procedureSqlStatement = 200, RULE_caseAlternative = 201,
RULE_elifAlternative = 202, RULE_alterUser = 203, RULE_createUser = 204,
RULE_dropUser = 205, RULE_grantStatement = 206, RULE_roleOption = 207,
RULE_grantProxy = 208, RULE_renameUser = 209, RULE_revokeStatement = 210,
RULE_revokeProxy = 211, RULE_setPasswordStatement = 212, RULE_userSpecification = 213,
RULE_userAuthOption = 214, RULE_tlsOption = 215, RULE_userResourceOption = 216,
RULE_userPasswordOption = 217, RULE_userLockOption = 218, RULE_privelegeClause = 219,
RULE_privilege = 220, RULE_privilegeLevel = 221, RULE_renameUserClause = 222,
RULE_analyzeTable = 223, RULE_checkTable = 224, RULE_checksumTable = 225,
RULE_optimizeTable = 226, RULE_repairTable = 227, RULE_checkTableOption = 228,
RULE_createUdfunction = 229, RULE_installPlugin = 230, RULE_uninstallPlugin = 231,
RULE_setStatement = 232, RULE_showStatement = 233, RULE_variableClause = 234,
RULE_showCommonEntity = 235, RULE_showFilter = 236, RULE_showGlobalInfoClause = 237,
RULE_showSchemaEntity = 238, RULE_showProfileType = 239, RULE_binlogStatement = 240,
RULE_cacheIndexStatement = 241, RULE_flushStatement = 242, RULE_killStatement = 243,
RULE_loadIndexIntoCache = 244, RULE_resetStatement = 245, RULE_shutdownStatement = 246,
RULE_tableIndexes = 247, RULE_flushOption = 248, RULE_flushTableOption = 249,
RULE_loadedTableIndexes = 250, RULE_simpleDescribeStatement = 251, RULE_fullDescribeStatement = 252,
RULE_helpStatement = 253, RULE_useStatement = 254, RULE_signalStatement = 255,
RULE_resignalStatement = 256, RULE_signalConditionInformation = 257, RULE_diagnosticsStatement = 258,
RULE_diagnosticsConditionInformationName = 259, RULE_describeObjectClause = 260,
RULE_fullId = 261, RULE_tableName = 262, RULE_roleName = 263, RULE_fullColumnName = 264,
RULE_indexColumnName = 265, RULE_userName = 266, RULE_mysqlVariable = 267,
RULE_charsetName = 268, RULE_collationName = 269, RULE_engineName = 270,
RULE_uuidSet = 271, RULE_xid = 272, RULE_xuidStringId = 273, RULE_authPlugin = 274,
RULE_uid = 275, RULE_simpleId = 276, RULE_dottedId = 277, RULE_decimalLiteral = 278,
RULE_fileSizeLiteral = 279, RULE_stringLiteral = 280, RULE_booleanLiteral = 281,
RULE_hexadecimalLiteral = 282, RULE_nullNotnull = 283, RULE_constant = 284,
RULE_dataType = 285, RULE_collectionOptions = 286, RULE_convertedDataType = 287,
RULE_lengthOneDimension = 288, RULE_lengthTwoDimension = 289, RULE_lengthTwoOptionalDimension = 290,
RULE_uidList = 291, RULE_tables = 292, RULE_indexColumnNames = 293, RULE_expressions = 294,
RULE_expressionsWithDefaults = 295, RULE_constants = 296, RULE_simpleStrings = 297,
RULE_userVariables = 298, RULE_defaultValue = 299, RULE_currentTimestamp = 300,
RULE_expressionOrDefault = 301, RULE_ifExists = 302, RULE_ifNotExists = 303,
RULE_functionCall = 304, RULE_specificFunction = 305, RULE_caseFuncAlternative = 306,
RULE_levelsInWeightString = 307, RULE_levelInWeightListElement = 308,
RULE_aggregateWindowedFunction = 309, RULE_nonAggregateWindowedFunction = 310,
RULE_overClause = 311, RULE_windowSpec = 312, RULE_windowName = 313, RULE_frameClause = 314,
RULE_frameUnits = 315, RULE_frameExtent = 316, RULE_frameBetween = 317,
RULE_frameRange = 318, RULE_partitionClause = 319, RULE_scalarFunctionName = 320,
RULE_passwordFunctionClause = 321, RULE_functionArgs = 322, RULE_functionArg = 323,
RULE_expression = 324, RULE_predicate = 325, RULE_expressionAtom = 326,
RULE_cqlWhereFunction = 327, RULE_unaryOperator = 328, RULE_comparisonOperator = 329,
RULE_logicalOperator = 330, RULE_bitOperator = 331, RULE_mathOperator = 332,
RULE_jsonOperator = 333, RULE_charsetNameBase = 334, RULE_transactionLevelBase = 335,
RULE_privilegesBase = 336, RULE_intervalTypeBase = 337, RULE_dataTypeBase = 338,
RULE_keywordsCanBeId = 339, RULE_functionNameBase = 340;
private static String[] makeRuleNames() {
return new String[] {
"root", "sqlStatements", "sqlStatement", "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", "createDatabaseOption", "charSet",
"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", "alterSpecification", "dropDatabase", "dropEvent", "dropIndex",
"dropLogfileGroup", "dropProcedure", "dropFunction", "dropServer", "dropTable",
"dropTablespace", "dropTrigger", "dropView", "dropRole", "setRole", "renameTable",
"renameTableClause", "truncateTable", "callStatement", "deleteStatement",
"doStatement", "handlerStatement", "insertStatement", "loadDataStatement",
"loadXmlStatement", "replaceStatement", "selectStatement", "updateStatement",
"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", "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",
"tlsOption", "userResourceOption", "userPasswordOption", "userLockOption",
"privelegeClause", "privilege", "privilegeLevel", "renameUserClause",
"analyzeTable", "checkTable", "checksumTable", "optimizeTable", "repairTable",
"checkTableOption", "createUdfunction", "installPlugin", "uninstallPlugin",
"setStatement", "showStatement", "variableClause", "showCommonEntity",
"showFilter", "showGlobalInfoClause", "showSchemaEntity", "showProfileType",
"binlogStatement", "cacheIndexStatement", "flushStatement", "killStatement",
"loadIndexIntoCache", "resetStatement", "shutdownStatement", "tableIndexes",
"flushOption", "flushTableOption", "loadedTableIndexes", "simpleDescribeStatement",
"fullDescribeStatement", "helpStatement", "useStatement", "signalStatement",
"resignalStatement", "signalConditionInformation", "diagnosticsStatement",
"diagnosticsConditionInformationName", "describeObjectClause", "fullId",
"tableName", "roleName", "fullColumnName", "indexColumnName", "userName",
"mysqlVariable", "charsetName", "collationName", "engineName", "uuidSet",
"xid", "xuidStringId", "authPlugin", "uid", "simpleId", "dottedId", "decimalLiteral",
"fileSizeLiteral", "stringLiteral", "booleanLiteral", "hexadecimalLiteral",
"nullNotnull", "constant", "dataType", "collectionOptions", "convertedDataType",
"lengthOneDimension", "lengthTwoDimension", "lengthTwoOptionalDimension",
"uidList", "tables", "indexColumnNames", "expressions", "expressionsWithDefaults",
"constants", "simpleStrings", "userVariables", "defaultValue", "currentTimestamp",
"expressionOrDefault", "ifExists", "ifNotExists", "functionCall", "specificFunction",
"caseFuncAlternative", "levelsInWeightString", "levelInWeightListElement",
"aggregateWindowedFunction", "nonAggregateWindowedFunction", "overClause",
"windowSpec", "windowName", "frameClause", "frameUnits", "frameExtent",
"frameBetween", "frameRange", "partitionClause", "scalarFunctionName",
"passwordFunctionClause", "functionArgs", "functionArg", "expression",
"predicate", "expressionAtom", "cqlWhereFunction", "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'", "'BEFORE'", "'BETWEEN'",
"'BOTH'", "'BUCKETS'", "'BY'", "'CALL'", "'CASCADE'", "'CASE'", "'CAST'",
"'CHANGE'", "'CHARACTER'", "'CHECK'", "'COLLATE'", "'COLUMN'", "'CONDITION'",
"'CONSTRAINT'", "'CONTINUE'", "'CONVERT'", "'CREATE'", "'CROSS'", "'CURRENT'",
"'CURRENT_USER'", "'CURSOR'", "'DATABASE'", "'DATABASES'", "'DECLARE'",
"'DEFAULT'", "'DELAYED'", "'DELETE'", "'DESC'", "'DESCRIBE'", "'DETERMINISTIC'",
"'DIAGNOSTICS'", "'DISTINCT'", "'DISTINCTROW'", "'DROP'", "'EACH'", "'ELSE'",
"'ELSEIF'", "'EMPTY'", "'ENCLOSED'", "'ESCAPED'", "'EXCEPT'", "'EXISTS'",
"'C_EXISTS'", "'C_SCRIPT'", "'C_KEYVALUE'", "'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'", "'LEADING'", "'LEAVE'", "'LEFT'", "'LIKE'",
"'LIMIT'", "'LINEAR'", "'LINES'", "'LOAD'", "'LOCK'", "'LOOP'", "'LOW_PRIORITY'",
"'MASTER_BIND'", "'MASTER_SSL_VERIFY_SERVER_CERT'", "'MATCH'", "'MAXVALUE'",
"'MODIFIES'", "'NATURAL'", "'NOT'", "'NO_WRITE_TO_BINLOG'", "'NULL'",
"'NUMBER'", "'ON'", "'OPTIMIZE'", "'OPTION'", "'OPTIONAL'", "'OPTIONALLY'",
"'OR'", "'ORDER'", "'OUT'", "'OVER'", "'OUTER'", "'OUTFILE'", "'PARTITION'",
"'PRIMARY'", "'PROCEDURE'", "'PURGE'", "'RANGE'", "'READ'", "'READS'",
"'REFERENCES'", "'REGEXP'", "'RELEASE'", "'RENAME'", "'REPEAT'", "'REPLACE'",
"'REQUIRE'", "'RESIGNAL'", "'RESTRICT'", "'RETAIN'", "'RETURN'", "'REVOKE'",
"'RIGHT'", "'RLIKE'", "'SCHEMA'", "'SCHEMAS'", "'SELECT'", "'SET'", "'SEPARATOR'",
"'SHOW'", "'SIGNAL'", "'SPATIAL'", "'SQL'", "'SQLEXCEPTION'", "'SQLSTATE'",
"'SQLWARNING'", "'SQL_BIG_RESULT'", "'SQL_CALC_FOUND_ROWS'", "'SQL_SMALL_RESULT'",
"'SSL'", "'STACKED'", "'STARTING'", "'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_OBJECT'", "'JSON_QUOTE'",
"'JSON_CONTAINS'", "'JSON_CONTAINS_PATH'", "'JSON_EXTRACT'", "'JSON_KEYS'",
"'JSON_OVERLAPS'", "'JSON_SEARCH'", "'JSON_VALUE'", "'JSON_ARRAY_APPEND'",
"'JSON_ARRAY_INSERT'", "'JSON_INSERT'", "'JSON_MERGE'", "'JSON_MERGE_PATCH'",
"'JSON_MERGE_PRESERVE'", "'JSON_REMOVE'", "'JSON_REPLACE'", "'JSON_SET'",
"'JSON_UNQUOTE'", "'JSON_DEPTH'", "'JSON_LENGTH'", "'JSON_TYPE'", "'JSON_VALID'",
"'JSON_TABLE'", "'JSON_SCHEMA_VALID'", "'JSON_SCHEMA_VALIDATION_REPORT'",
"'JSON_PRETTY'", "'JSON_STORAGE_FREE'", "'JSON_STORAGE_SIZE'", "'JSON_ARRAYAGG'",
"'JSON_OBJECTAGG'", "'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'", "'CURSOR_NAME'",
"'DATA'", "'DATAFILE'", "'DEALLOCATE'", "'DEFAULT_AUTH'", "'DEFINER'",
"'DELAY_KEY_WRITE'", "'DES_KEY_FILE'", "'DIRECTORY'", "'DISABLE'", "'DISCARD'",
"'DISK'", "'DO'", "'DUMPFILE'", "'DUPLICATE'", "'DYNAMIC'", "'ENABLE'",
"'ENCRYPTION'", "'END'", "'ENDS'", "'ENGINE'", "'ENGINES'", "'ERROR'",
"'ERRORS'", "'ESCAPE'", "'EVEN'", "'EVENT'", "'EVENTS'", "'EVERY'", "'EXCHANGE'",
"'EXCLUSIVE'", "'EXPIRE'", "'EXPORT'", "'EXTENDED'", "'EXTENT_SIZE'",
"'FAST'", "'FAULTS'", "'FIELDS'", "'FILE_BLOCK_SIZE'", "'FILTER'", "'FIRST'",
"'FIXED'", "'FLUSH'", "'FOLLOWING'", "'FOLLOWS'", "'FOUND'", "'FULL'",
"'FUNCTION'", "'GENERAL'", "'GLOBAL'", "'GRANTS'", "'GROUP_REPLICATION'",
"'HANDLER'", "'HASH'", "'HELP'", "'HOST'", "'HOSTS'", "'IDENTIFIED'",
"'IGNORE_SERVER_IDS'", "'IMPORT'", "'INDEXES'", "'INITIAL_SIZE'", "'INPLACE'",
"'INSERT_METHOD'", "'INSTALL'", "'INSTANCE'", "'INSTANT'", "'INVISIBLE'",
"'INVOKER'", "'IO'", "'IO_THREAD'", "'IPC'", "'ISOLATION'", "'ISSUER'",
"'JSON'", "'KEY_BLOCK_SIZE'", "'LANGUAGE'", "'LAST'", "'LEAVES'", "'LESS'",
"'LEVEL'", "'LIST'", "'LOCAL'", "'LOGFILE'", "'LOGS'", "'MASTER'", "'MASTER_AUTO_POSITION'",
"'MASTER_CONNECT_RETRY'", "'MASTER_DELAY'", "'MASTER_HEARTBEAT_PERIOD'",
"'MASTER_HOST'", "'MASTER_LOG_FILE'", "'MASTER_LOG_POS'", "'MASTER_PASSWORD'",
"'MASTER_PORT'", "'MASTER_RETRY_COUNT'", "'MASTER_SSL'", "'MASTER_SSL_CA'",
"'MASTER_SSL_CAPATH'", "'MASTER_SSL_CERT'", "'MASTER_SSL_CIPHER'", "'MASTER_SSL_CRL'",
"'MASTER_SSL_CRLPATH'", "'MASTER_SSL_KEY'", "'MASTER_TLS_VERSION'", "'MASTER_USER'",
"'MAX_CONNECTIONS_PER_HOUR'", "'MAX_QUERIES_PER_HOUR'", "'MAX_ROWS'",
"'MAX_SIZE'", "'MAX_UPDATES_PER_HOUR'", "'MAX_USER_CONNECTIONS'", "'MEDIUM'",
"'MEMBER'", "'MERGE'", "'MESSAGE_TEXT'", "'MID'", "'MIGRATE'", "'MIN_ROWS'",
"'MODE'", "'MODIFY'", "'MUTEX'", "'MYSQL'", "'MYSQL_ERRNO'", "'NAME'",
"'NAMES'", "'NCHAR'", "'NEVER'", "'NEXT'", "'NO'", "'NOCOPY'", "'NOWAIT'",
"'NODEGROUP'", "'NONE'", "'ODBC'", "'OFFLINE'", "'OFFSET'", "'OF'", "'OJ'",
"'OLD_PASSWORD'", "'ONE'", "'ONLINE'", "'ONLY'", "'OPEN'", "'OPTIMIZER_COSTS'",
"'OPTIONS'", "'OWNER'", "'PACK_KEYS'", "'PAGE'", "'PARSER'", "'PARTIAL'",
"'PARTITIONING'", "'PARTITIONS'", "'PASSWORD'", "'PHASE'", "'PLUGIN'",
"'PLUGIN_DIR'", "'PLUGINS'", "'PORT'", "'PRECEDES'", "'PRECEDING'", "'PREPARE'",
"'PRESERVE'", "'PREV'", "'PROCESSLIST'", "'PROFILE'", "'PROFILES'", "'PROXY'",
"'QUERY'", "'QUICK'", "'REBUILD'", "'RECOVER'", "'RECURSIVE'", "'REDO_BUFFER_SIZE'",
"'REDUNDANT'", "'RELAY'", "'RELAY_LOG_FILE'", "'RELAY_LOG_POS'", "'RELAYLOG'",
"'REMOVE'", "'REORGANIZE'", "'REPAIR'", "'REPLICATE_DO_DB'", "'REPLICATE_DO_TABLE'",
"'REPLICATE_IGNORE_DB'", "'REPLICATE_IGNORE_TABLE'", "'REPLICATE_REWRITE_DB'",
"'REPLICATE_WILD_DO_TABLE'", "'REPLICATE_WILD_IGNORE_TABLE'", "'REPLICATION'",
"'RESET'", "'RESUME'", "'RETURNED_SQLSTATE'", "'RETURNING'", "'RETURNS'",
"'ROLE'", "'ROLLBACK'", "'ROLLUP'", "'ROTATE'", "'ROW'", "'ROWS'", "'ROW_FORMAT'",
"'RTREE'", "'SAVEPOINT'", "'SCHEDULE'", "'SECURITY'", "'SERVER'", "'SESSION'",
"'SHARE'", "'SHARED'", "'SIGNED'", "'SIMPLE'", "'SLAVE'", "'SLOW'", "'SNAPSHOT'",
"'SOCKET'", "'SOME'", "'SONAME'", "'SOUNDS'", "'SOURCE'", "'SQL_AFTER_GTIDS'",
"'SQL_AFTER_MTS_GAPS'", "'SQL_BEFORE_GTIDS'", "'SQL_BUFFER_RESULT'",
"'SQL_CACHE'", "'SQL_NO_CACHE'", "'SQL_THREAD'", "'START'", "'STARTS'",
"'STATS_AUTO_RECALC'", "'STATS_PERSISTENT'", "'STATS_SAMPLE_PAGES'",
"'STATUS'", "'STOP'", "'STORAGE'", "'STORED'", "'STRING'", "'SUBCLASS_ORIGIN'",
"'SUBJECT'", "'SUBPARTITION'", "'SUBPARTITIONS'", "'SUSPEND'", "'SWAPS'",
"'SWITCHES'", "'TABLE_NAME'", "'TABLESPACE'", "'TABLE_TYPE'", "'TEMPORARY'",
"'TEMPTABLE'", "'THAN'", "'TRADITIONAL'", "'TRANSACTION'", "'TRANSACTIONAL'",
"'TRIGGERS'", "'TRUNCATE'", "'UNBOUNDED'", "'UNDEFINED'", "'UNDOFILE'",
"'UNDO_BUFFER_SIZE'", "'UNINSTALL'", "'UNKNOWN'", "'UNTIL'", "'UPGRADE'",
"'USER'", "'USE_FRM'", "'USER_RESOURCES'", "'VALIDATION'", "'VALUE'",
"'VARIABLES'", "'VIEW'", "'VIRTUAL'", "'VISIBLE'", "'WAIT'", "'WARNINGS'",
"'WINDOW'", "'WITHOUT'", "'WORK'", "'WRAPPER'", "'X509'", "'XA'", "'XML'",
"'YES'", "'EUR'", "'USA'", "'JIS'", "'ISO'", "'INTERNAL'", "'QUARTER'",
"'MONTH'", "'DAY'", "'HOUR'", "'MINUTE'", "'WEEK'", "'SECOND'", "'MICROSECOND'",
"'TABLES'", "'ROUTINE'", "'EXECUTE'", "'FILE'", "'PROCESS'", "'RELOAD'",
"'SHUTDOWN'", "'SUPER'", "'PRIVILEGES'", "'APPLICATION_PASSWORD_ADMIN'",
"'AUDIT_ADMIN'", "'BACKUP_ADMIN'", "'BINLOG_ADMIN'", "'BINLOG_ENCRYPTION_ADMIN'",
"'CLONE_ADMIN'", "'CONNECTION_ADMIN'", "'ENCRYPTION_KEY_ADMIN'", "'FIREWALL_ADMIN'",
"'FIREWALL_USER'", "'FLUSH_OPTIMIZER_COSTS'", "'FLUSH_STATUS'", "'FLUSH_TABLES'",
"'FLUSH_USER_RESOURCES'", "'ADMIN'", "'GROUP_REPLICATION_ADMIN'", "'INNODB_REDO_LOG_ARCHIVE'",
"'INNODB_REDO_LOG_ENABLE'", "'NDB_STORED_USER'", "'PERSIST_RO_VARIABLES_ADMIN'",
"'REPLICATION_APPLIER'", "'REPLICATION_SLAVE_ADMIN'", "'RESOURCE_GROUP_ADMIN'",
"'RESOURCE_GROUP_USER'", "'ROLE_ADMIN'", "'SERVICE_CONNECTION_ADMIN'",
null, "'SET_USER_ID'", "'SHOW_ROUTINE'", "'SYSTEM_VARIABLES_ADMIN'",
"'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'",
"'REPLICATION_MASTER_ADMIN'", "':='", "'+='", "'-='", "'*='", "'/='",
"'%='", "'&='", "'^='", "'|='", "'*'", "'/'", "'%'", "'+'", "'-'", "'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",
"BEFORE", "BETWEEN", "BOTH", "BUCKETS", "BY", "CALL", "CASCADE", "CASE",
"CAST", "CHANGE", "CHARACTER", "CHECK", "COLLATE", "COLUMN", "CONDITION",
"CONSTRAINT", "CONTINUE", "CONVERT", "CREATE", "CROSS", "CURRENT", "CURRENT_USER",
"CURSOR", "DATABASE", "DATABASES", "DECLARE", "DEFAULT", "DELAYED", "DELETE",
"DESC", "DESCRIBE", "DETERMINISTIC", "DIAGNOSTICS", "DISTINCT", "DISTINCTROW",
"DROP", "EACH", "ELSE", "ELSEIF", "EMPTY", "ENCLOSED", "ESCAPED", "EXCEPT",
"EXISTS", "C_EXISTS", "C_SCRIPT", "C_KEYVALUE", "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", "LEADING",
"LEAVE", "LEFT", "LIKE", "LIMIT", "LINEAR", "LINES", "LOAD", "LOCK",
"LOOP", "LOW_PRIORITY", "MASTER_BIND", "MASTER_SSL_VERIFY_SERVER_CERT",
"MATCH", "MAXVALUE", "MODIFIES", "NATURAL", "NOT", "NO_WRITE_TO_BINLOG",
"NULL_LITERAL", "NUMBER", "ON", "OPTIMIZE", "OPTION", "OPTIONAL", "OPTIONALLY",
"OR", "ORDER", "OUT", "OVER", "OUTER", "OUTFILE", "PARTITION", "PRIMARY",
"PROCEDURE", "PURGE", "RANGE", "READ", "READS", "REFERENCES", "REGEXP",
"RELEASE", "RENAME", "REPEAT", "REPLACE", "REQUIRE", "RESIGNAL", "RESTRICT",
"RETAIN", "RETURN", "REVOKE", "RIGHT", "RLIKE", "SCHEMA", "SCHEMAS",
"SELECT", "SET", "SEPARATOR", "SHOW", "SIGNAL", "SPATIAL", "SQL", "SQLEXCEPTION",
"SQLSTATE", "SQLWARNING", "SQL_BIG_RESULT", "SQL_CALC_FOUND_ROWS", "SQL_SMALL_RESULT",
"SSL", "STACKED", "STARTING", "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_OBJECT", "JSON_QUOTE", "JSON_CONTAINS",
"JSON_CONTAINS_PATH", "JSON_EXTRACT", "JSON_KEYS", "JSON_OVERLAPS", "JSON_SEARCH",
"JSON_VALUE", "JSON_ARRAY_APPEND", "JSON_ARRAY_INSERT", "JSON_INSERT",
"JSON_MERGE", "JSON_MERGE_PATCH", "JSON_MERGE_PRESERVE", "JSON_REMOVE",
"JSON_REPLACE", "JSON_SET", "JSON_UNQUOTE", "JSON_DEPTH", "JSON_LENGTH",
"JSON_TYPE", "JSON_VALID", "JSON_TABLE", "JSON_SCHEMA_VALID", "JSON_SCHEMA_VALIDATION_REPORT",
"JSON_PRETTY", "JSON_STORAGE_FREE", "JSON_STORAGE_SIZE", "JSON_ARRAYAGG",
"JSON_OBJECTAGG", "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", "CURSOR_NAME", "DATA", "DATAFILE", "DEALLOCATE", "DEFAULT_AUTH",
"DEFINER", "DELAY_KEY_WRITE", "DES_KEY_FILE", "DIRECTORY", "DISABLE",
"DISCARD", "DISK", "DO", "DUMPFILE", "DUPLICATE", "DYNAMIC", "ENABLE",
"ENCRYPTION", "END", "ENDS", "ENGINE", "ENGINES", "ERROR", "ERRORS",
"ESCAPE", "EVEN", "EVENT", "EVENTS", "EVERY", "EXCHANGE", "EXCLUSIVE",
"EXPIRE", "EXPORT", "EXTENDED", "EXTENT_SIZE", "FAST", "FAULTS", "FIELDS",
"FILE_BLOCK_SIZE", "FILTER", "FIRST", "FIXED", "FLUSH", "FOLLOWING",
"FOLLOWS", "FOUND", "FULL", "FUNCTION", "GENERAL", "GLOBAL", "GRANTS",
"GROUP_REPLICATION", "HANDLER", "HASH", "HELP", "HOST", "HOSTS", "IDENTIFIED",
"IGNORE_SERVER_IDS", "IMPORT", "INDEXES", "INITIAL_SIZE", "INPLACE",
"INSERT_METHOD", "INSTALL", "INSTANCE", "INSTANT", "INVISIBLE", "INVOKER",
"IO", "IO_THREAD", "IPC", "ISOLATION", "ISSUER", "JSON", "KEY_BLOCK_SIZE",
"LANGUAGE", "LAST", "LEAVES", "LESS", "LEVEL", "LIST", "LOCAL", "LOGFILE",
"LOGS", "MASTER", "MASTER_AUTO_POSITION", "MASTER_CONNECT_RETRY", "MASTER_DELAY",
"MASTER_HEARTBEAT_PERIOD", "MASTER_HOST", "MASTER_LOG_FILE", "MASTER_LOG_POS",
"MASTER_PASSWORD", "MASTER_PORT", "MASTER_RETRY_COUNT", "MASTER_SSL",
"MASTER_SSL_CA", "MASTER_SSL_CAPATH", "MASTER_SSL_CERT", "MASTER_SSL_CIPHER",
"MASTER_SSL_CRL", "MASTER_SSL_CRLPATH", "MASTER_SSL_KEY", "MASTER_TLS_VERSION",
"MASTER_USER", "MAX_CONNECTIONS_PER_HOUR", "MAX_QUERIES_PER_HOUR", "MAX_ROWS",
"MAX_SIZE", "MAX_UPDATES_PER_HOUR", "MAX_USER_CONNECTIONS", "MEDIUM",
"MEMBER", "MERGE", "MESSAGE_TEXT", "MID", "MIGRATE", "MIN_ROWS", "MODE",
"MODIFY", "MUTEX", "MYSQL", "MYSQL_ERRNO", "NAME", "NAMES", "NCHAR",
"NEVER", "NEXT", "NO", "NOCOPY", "NOWAIT", "NODEGROUP", "NONE", "ODBC",
"OFFLINE", "OFFSET", "OF", "OJ", "OLD_PASSWORD", "ONE", "ONLINE", "ONLY",
"OPEN", "OPTIMIZER_COSTS", "OPTIONS", "OWNER", "PACK_KEYS", "PAGE", "PARSER",
"PARTIAL", "PARTITIONING", "PARTITIONS", "PASSWORD", "PHASE", "PLUGIN",
"PLUGIN_DIR", "PLUGINS", "PORT", "PRECEDES", "PRECEDING", "PREPARE",
"PRESERVE", "PREV", "PROCESSLIST", "PROFILE", "PROFILES", "PROXY", "QUERY",
"QUICK", "REBUILD", "RECOVER", "RECURSIVE", "REDO_BUFFER_SIZE", "REDUNDANT",
"RELAY", "RELAY_LOG_FILE", "RELAY_LOG_POS", "RELAYLOG", "REMOVE", "REORGANIZE",
"REPAIR", "REPLICATE_DO_DB", "REPLICATE_DO_TABLE", "REPLICATE_IGNORE_DB",
"REPLICATE_IGNORE_TABLE", "REPLICATE_REWRITE_DB", "REPLICATE_WILD_DO_TABLE",
"REPLICATE_WILD_IGNORE_TABLE", "REPLICATION", "RESET", "RESUME", "RETURNED_SQLSTATE",
"RETURNING", "RETURNS", "ROLE", "ROLLBACK", "ROLLUP", "ROTATE", "ROW",
"ROWS", "ROW_FORMAT", "RTREE", "SAVEPOINT", "SCHEDULE", "SECURITY", "SERVER",
"SESSION", "SHARE", "SHARED", "SIGNED", "SIMPLE", "SLAVE", "SLOW", "SNAPSHOT",
"SOCKET", "SOME", "SONAME", "SOUNDS", "SOURCE", "SQL_AFTER_GTIDS", "SQL_AFTER_MTS_GAPS",
"SQL_BEFORE_GTIDS", "SQL_BUFFER_RESULT", "SQL_CACHE", "SQL_NO_CACHE",
"SQL_THREAD", "START", "STARTS", "STATS_AUTO_RECALC", "STATS_PERSISTENT",
"STATS_SAMPLE_PAGES", "STATUS", "STOP", "STORAGE", "STORED", "STRING",
"SUBCLASS_ORIGIN", "SUBJECT", "SUBPARTITION", "SUBPARTITIONS", "SUSPEND",
"SWAPS", "SWITCHES", "TABLE_NAME", "TABLESPACE", "TABLE_TYPE", "TEMPORARY",
"TEMPTABLE", "THAN", "TRADITIONAL", "TRANSACTION", "TRANSACTIONAL", "TRIGGERS",
"TRUNCATE", "UNBOUNDED", "UNDEFINED", "UNDOFILE", "UNDO_BUFFER_SIZE",
"UNINSTALL", "UNKNOWN", "UNTIL", "UPGRADE", "USER", "USE_FRM", "USER_RESOURCES",
"VALIDATION", "VALUE", "VARIABLES", "VIEW", "VIRTUAL", "VISIBLE", "WAIT",
"WARNINGS", "WINDOW", "WITHOUT", "WORK", "WRAPPER", "X509", "XA", "XML",
"YES", "EUR", "USA", "JIS", "ISO", "INTERNAL", "QUARTER", "MONTH", "DAY",
"HOUR", "MINUTE", "WEEK", "SECOND", "MICROSECOND", "TABLES", "ROUTINE",
"EXECUTE", "FILE", "PROCESS", "RELOAD", "SHUTDOWN", "SUPER", "PRIVILEGES",
"APPLICATION_PASSWORD_ADMIN", "AUDIT_ADMIN", "BACKUP_ADMIN", "BINLOG_ADMIN",
"BINLOG_ENCRYPTION_ADMIN", "CLONE_ADMIN", "CONNECTION_ADMIN", "ENCRYPTION_KEY_ADMIN",
"FIREWALL_ADMIN", "FIREWALL_USER", "FLUSH_OPTIMIZER_COSTS", "FLUSH_STATUS",
"FLUSH_TABLES", "FLUSH_USER_RESOURCES", "ADMIN", "GROUP_REPLICATION_ADMIN",
"INNODB_REDO_LOG_ARCHIVE", "INNODB_REDO_LOG_ENABLE", "NDB_STORED_USER",
"PERSIST_RO_VARIABLES_ADMIN", "REPLICATION_APPLIER", "REPLICATION_SLAVE_ADMIN",
"RESOURCE_GROUP_ADMIN", "RESOURCE_GROUP_USER", "ROLE_ADMIN", "SERVICE_CONNECTION_ADMIN",
"SESSION_VARIABLES_ADMIN", "SET_USER_ID", "SHOW_ROUTINE", "SYSTEM_VARIABLES_ADMIN",
"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", "REPLICATION_MASTER_ADMIN", "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", "STRING_USER_NAME", "IP_ADDRESS", "STRING_USER_NAME_MARIADB",
"LOCAL_ID", "GLOBAL_ID", "ERROR_RECONGNIGION", "ENCRYPTED", "ENCRYPTION_KEY_ID"
};
}
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 "CqlParser.g4"; }
@Override
public String[] getRuleNames() { return ruleNames; }
@Override
public String getSerializedATN() { return _serializedATN; }
@Override
public ATN getATN() { return _ATN; }
public CqlParser(TokenStream input) {
super(input);
_interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
}
public static class RootContext extends ParserRuleContext {
public TerminalNode EOF() { return getToken(CqlParser.EOF, 0); }
public SqlStatementsContext sqlStatements() {
return getRuleContext(SqlStatementsContext.class,0);
}
public List MINUS() { return getTokens(CqlParser.MINUS); }
public TerminalNode MINUS(int i) {
return getToken(CqlParser.MINUS, i);
}
public RootContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_root; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitRoot(this);
else return visitor.visitChildren(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(683);
_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 - 135)) & ~0x3f) == 0 && ((1L << (_la - 135)) & ((1L << (RELEASE - 135)) | (1L << (RENAME - 135)) | (1L << (REPLACE - 135)) | (1L << (RESIGNAL - 135)) | (1L << (REVOKE - 135)) | (1L << (SELECT - 135)) | (1L << (SET - 135)) | (1L << (SHOW - 135)) | (1L << (SIGNAL - 135)) | (1L << (UNLOCK - 135)) | (1L << (UPDATE - 135)) | (1L << (USE - 135)))) != 0) || ((((_la - 335)) & ~0x3f) == 0 && ((1L << (_la - 335)) & ((1L << (BEGIN - 335)) | (1L << (BINLOG - 335)) | (1L << (CACHE - 335)) | (1L << (CHECKSUM - 335)) | (1L << (COMMIT - 335)) | (1L << (DEALLOCATE - 335)) | (1L << (DO - 335)))) != 0) || ((((_la - 419)) & ~0x3f) == 0 && ((1L << (_la - 419)) & ((1L << (FLUSH - 419)) | (1L << (HANDLER - 419)) | (1L << (HELP - 419)) | (1L << (INSTALL - 419)))) != 0) || ((((_la - 538)) & ~0x3f) == 0 && ((1L << (_la - 538)) & ((1L << (PREPARE - 538)) | (1L << (REPAIR - 538)) | (1L << (RESET - 538)) | (1L << (ROLLBACK - 538)) | (1L << (SAVEPOINT - 538)))) != 0) || ((((_la - 604)) & ~0x3f) == 0 && ((1L << (_la - 604)) & ((1L << (START - 604)) | (1L << (STOP - 604)) | (1L << (TRUNCATE - 604)) | (1L << (UNINSTALL - 604)) | (1L << (XA - 604)))) != 0) || _la==EXECUTE || _la==SHUTDOWN || _la==LR_BRACKET || _la==SEMI) {
{
setState(682);
sqlStatements();
}
}
setState(687);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MINUS) {
{
setState(685);
match(MINUS);
setState(686);
match(MINUS);
}
}
setState(689);
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(CqlParser.SEMI); }
public TerminalNode SEMI(int i) {
return getToken(CqlParser.SEMI, i);
}
public List MINUS() { return getTokens(CqlParser.MINUS); }
public TerminalNode MINUS(int i) {
return getToken(CqlParser.MINUS, i);
}
public SqlStatementsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_sqlStatements; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitSqlStatements(this);
else return visitor.visitChildren(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(702);
_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(700);
_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 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(691);
sqlStatement();
setState(694);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MINUS) {
{
setState(692);
match(MINUS);
setState(693);
match(MINUS);
}
}
setState(697);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,3,_ctx) ) {
case 1:
{
setState(696);
match(SEMI);
}
break;
}
}
break;
case SEMI:
{
setState(699);
emptyStatement_();
}
break;
default:
throw new NoViableAltException(this);
}
}
}
setState(704);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,5,_ctx);
}
setState(714);
_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 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(705);
sqlStatement();
setState(711);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,7,_ctx) ) {
case 1:
{
setState(708);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MINUS) {
{
setState(706);
match(MINUS);
setState(707);
match(MINUS);
}
}
setState(710);
match(SEMI);
}
break;
}
}
break;
case SEMI:
{
setState(713);
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 SqlStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_sqlStatement; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitSqlStatement(this);
else return visitor.visitChildren(this);
}
}
public final SqlStatementContext sqlStatement() throws RecognitionException {
SqlStatementContext _localctx = new SqlStatementContext(_ctx, getState());
enterRule(_localctx, 4, RULE_sqlStatement);
try {
setState(723);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,9,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(716);
ddlStatement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(717);
dmlStatement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(718);
transactionStatement();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(719);
replicationStatement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(720);
preparedStatement();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(721);
administrationStatement();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(722);
utilityStatement();
}
break;
}
}
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(CqlParser.SEMI, 0); }
public EmptyStatement_Context(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_emptyStatement_; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitEmptyStatement_(this);
else return visitor.visitChildren(this);
}
}
public final EmptyStatement_Context emptyStatement_() throws RecognitionException {
EmptyStatement_Context _localctx = new EmptyStatement_Context(_ctx, getState());
enterRule(_localctx, 6, RULE_emptyStatement_);
try {
enterOuterAlt(_localctx, 1);
{
setState(725);
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 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 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 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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitDdlStatement(this);
else return visitor.visitChildren(this);
}
}
public final DdlStatementContext ddlStatement() throws RecognitionException {
DdlStatementContext _localctx = new DdlStatementContext(_ctx, getState());
enterRule(_localctx, 8, RULE_ddlStatement);
try {
setState(765);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,10,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(727);
createDatabase();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(728);
createEvent();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(729);
createIndex();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(730);
createLogfileGroup();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(731);
createProcedure();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(732);
createFunction();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(733);
createServer();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(734);
createTable();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(735);
createTablespaceInnodb();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(736);
createTablespaceNdb();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(737);
createTrigger();
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(738);
createView();
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(739);
createRole();
}
break;
case 14:
enterOuterAlt(_localctx, 14);
{
setState(740);
alterDatabase();
}
break;
case 15:
enterOuterAlt(_localctx, 15);
{
setState(741);
alterEvent();
}
break;
case 16:
enterOuterAlt(_localctx, 16);
{
setState(742);
alterFunction();
}
break;
case 17:
enterOuterAlt(_localctx, 17);
{
setState(743);
alterInstance();
}
break;
case 18:
enterOuterAlt(_localctx, 18);
{
setState(744);
alterLogfileGroup();
}
break;
case 19:
enterOuterAlt(_localctx, 19);
{
setState(745);
alterProcedure();
}
break;
case 20:
enterOuterAlt(_localctx, 20);
{
setState(746);
alterServer();
}
break;
case 21:
enterOuterAlt(_localctx, 21);
{
setState(747);
alterTable();
}
break;
case 22:
enterOuterAlt(_localctx, 22);
{
setState(748);
alterTablespace();
}
break;
case 23:
enterOuterAlt(_localctx, 23);
{
setState(749);
alterView();
}
break;
case 24:
enterOuterAlt(_localctx, 24);
{
setState(750);
dropDatabase();
}
break;
case 25:
enterOuterAlt(_localctx, 25);
{
setState(751);
dropEvent();
}
break;
case 26:
enterOuterAlt(_localctx, 26);
{
setState(752);
dropIndex();
}
break;
case 27:
enterOuterAlt(_localctx, 27);
{
setState(753);
dropLogfileGroup();
}
break;
case 28:
enterOuterAlt(_localctx, 28);
{
setState(754);
dropProcedure();
}
break;
case 29:
enterOuterAlt(_localctx, 29);
{
setState(755);
dropFunction();
}
break;
case 30:
enterOuterAlt(_localctx, 30);
{
setState(756);
dropServer();
}
break;
case 31:
enterOuterAlt(_localctx, 31);
{
setState(757);
dropTable();
}
break;
case 32:
enterOuterAlt(_localctx, 32);
{
setState(758);
dropTablespace();
}
break;
case 33:
enterOuterAlt(_localctx, 33);
{
setState(759);
dropTrigger();
}
break;
case 34:
enterOuterAlt(_localctx, 34);
{
setState(760);
dropView();
}
break;
case 35:
enterOuterAlt(_localctx, 35);
{
setState(761);
dropRole();
}
break;
case 36:
enterOuterAlt(_localctx, 36);
{
setState(762);
setRole();
}
break;
case 37:
enterOuterAlt(_localctx, 37);
{
setState(763);
renameTable();
}
break;
case 38:
enterOuterAlt(_localctx, 38);
{
setState(764);
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 DmlStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dmlStatement; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitDmlStatement(this);
else return visitor.visitChildren(this);
}
}
public final DmlStatementContext dmlStatement() throws RecognitionException {
DmlStatementContext _localctx = new DmlStatementContext(_ctx, getState());
enterRule(_localctx, 10, RULE_dmlStatement);
try {
setState(777);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,11,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(767);
selectStatement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(768);
insertStatement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(769);
updateStatement();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(770);
deleteStatement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(771);
replaceStatement();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(772);
callStatement();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(773);
loadDataStatement();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(774);
loadXmlStatement();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(775);
doStatement();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(776);
handlerStatement();
}
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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTransactionStatement(this);
else return visitor.visitChildren(this);
}
}
public final TransactionStatementContext transactionStatement() throws RecognitionException {
TransactionStatementContext _localctx = new TransactionStatementContext(_ctx, getState());
enterRule(_localctx, 12, RULE_transactionStatement);
try {
setState(788);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,12,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(779);
startTransaction();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(780);
beginWork();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(781);
commitWork();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(782);
rollbackWork();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(783);
savepointStatement();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(784);
rollbackStatement();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(785);
releaseStatement();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(786);
lockTables();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(787);
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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitReplicationStatement(this);
else return visitor.visitChildren(this);
}
}
public final ReplicationStatementContext replicationStatement() throws RecognitionException {
ReplicationStatementContext _localctx = new ReplicationStatementContext(_ctx, getState());
enterRule(_localctx, 14, RULE_replicationStatement);
try {
setState(805);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,13,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(790);
changeMaster();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(791);
changeReplicationFilter();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(792);
purgeBinaryLogs();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(793);
resetMaster();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(794);
resetSlave();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(795);
startSlave();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(796);
stopSlave();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(797);
startGroupReplication();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(798);
stopGroupReplication();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(799);
xaStartTransaction();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(800);
xaEndTransaction();
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(801);
xaPrepareStatement();
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(802);
xaCommitWork();
}
break;
case 14:
enterOuterAlt(_localctx, 14);
{
setState(803);
xaRollbackWork();
}
break;
case 15:
enterOuterAlt(_localctx, 15);
{
setState(804);
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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPreparedStatement(this);
else return visitor.visitChildren(this);
}
}
public final PreparedStatementContext preparedStatement() throws RecognitionException {
PreparedStatementContext _localctx = new PreparedStatementContext(_ctx, getState());
enterRule(_localctx, 16, RULE_preparedStatement);
try {
setState(810);
_errHandler.sync(this);
switch (_input.LA(1)) {
case PREPARE:
enterOuterAlt(_localctx, 1);
{
setState(807);
prepareStatement();
}
break;
case EXECUTE:
enterOuterAlt(_localctx, 2);
{
setState(808);
executeStatement();
}
break;
case DROP:
case DEALLOCATE:
enterOuterAlt(_localctx, 3);
{
setState(809);
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 CompoundStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_compoundStatement; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCompoundStatement(this);
else return visitor.visitChildren(this);
}
}
public final CompoundStatementContext compoundStatement() throws RecognitionException {
CompoundStatementContext _localctx = new CompoundStatementContext(_ctx, getState());
enterRule(_localctx, 18, RULE_compoundStatement);
try {
setState(822);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,15,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(812);
blockStatement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(813);
caseStatement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(814);
ifStatement();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(815);
leaveStatement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(816);
loopStatement();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(817);
repeatStatement();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(818);
whileStatement();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(819);
iterateStatement();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(820);
returnStatement();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(821);
cursorStatement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AdministrationStatementContext extends ParserRuleContext {
public AlterUserContext alterUser() {
return getRuleContext(AlterUserContext.class,0);
}
public CreateUserContext createUser() {
return getRuleContext(CreateUserContext.class,0);
}
public DropUserContext dropUser() {
return getRuleContext(DropUserContext.class,0);
}
public GrantStatementContext grantStatement() {
return getRuleContext(GrantStatementContext.class,0);
}
public GrantProxyContext grantProxy() {
return getRuleContext(GrantProxyContext.class,0);
}
public RenameUserContext renameUser() {
return getRuleContext(RenameUserContext.class,0);
}
public RevokeStatementContext revokeStatement() {
return getRuleContext(RevokeStatementContext.class,0);
}
public RevokeProxyContext revokeProxy() {
return getRuleContext(RevokeProxyContext.class,0);
}
public AnalyzeTableContext analyzeTable() {
return getRuleContext(AnalyzeTableContext.class,0);
}
public CheckTableContext checkTable() {
return getRuleContext(CheckTableContext.class,0);
}
public ChecksumTableContext checksumTable() {
return getRuleContext(ChecksumTableContext.class,0);
}
public OptimizeTableContext optimizeTable() {
return getRuleContext(OptimizeTableContext.class,0);
}
public RepairTableContext repairTable() {
return getRuleContext(RepairTableContext.class,0);
}
public CreateUdfunctionContext createUdfunction() {
return getRuleContext(CreateUdfunctionContext.class,0);
}
public InstallPluginContext installPlugin() {
return getRuleContext(InstallPluginContext.class,0);
}
public UninstallPluginContext uninstallPlugin() {
return getRuleContext(UninstallPluginContext.class,0);
}
public SetStatementContext setStatement() {
return getRuleContext(SetStatementContext.class,0);
}
public ShowStatementContext showStatement() {
return getRuleContext(ShowStatementContext.class,0);
}
public BinlogStatementContext binlogStatement() {
return getRuleContext(BinlogStatementContext.class,0);
}
public CacheIndexStatementContext cacheIndexStatement() {
return getRuleContext(CacheIndexStatementContext.class,0);
}
public FlushStatementContext flushStatement() {
return getRuleContext(FlushStatementContext.class,0);
}
public KillStatementContext killStatement() {
return getRuleContext(KillStatementContext.class,0);
}
public LoadIndexIntoCacheContext loadIndexIntoCache() {
return getRuleContext(LoadIndexIntoCacheContext.class,0);
}
public ResetStatementContext resetStatement() {
return getRuleContext(ResetStatementContext.class,0);
}
public ShutdownStatementContext shutdownStatement() {
return getRuleContext(ShutdownStatementContext.class,0);
}
public AdministrationStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_administrationStatement; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitAdministrationStatement(this);
else return visitor.visitChildren(this);
}
}
public final AdministrationStatementContext administrationStatement() throws RecognitionException {
AdministrationStatementContext _localctx = new AdministrationStatementContext(_ctx, getState());
enterRule(_localctx, 20, RULE_administrationStatement);
try {
setState(849);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,16,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(824);
alterUser();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(825);
createUser();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(826);
dropUser();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(827);
grantStatement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(828);
grantProxy();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(829);
renameUser();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(830);
revokeStatement();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(831);
revokeProxy();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(832);
analyzeTable();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(833);
checkTable();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(834);
checksumTable();
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(835);
optimizeTable();
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(836);
repairTable();
}
break;
case 14:
enterOuterAlt(_localctx, 14);
{
setState(837);
createUdfunction();
}
break;
case 15:
enterOuterAlt(_localctx, 15);
{
setState(838);
installPlugin();
}
break;
case 16:
enterOuterAlt(_localctx, 16);
{
setState(839);
uninstallPlugin();
}
break;
case 17:
enterOuterAlt(_localctx, 17);
{
setState(840);
setStatement();
}
break;
case 18:
enterOuterAlt(_localctx, 18);
{
setState(841);
showStatement();
}
break;
case 19:
enterOuterAlt(_localctx, 19);
{
setState(842);
binlogStatement();
}
break;
case 20:
enterOuterAlt(_localctx, 20);
{
setState(843);
cacheIndexStatement();
}
break;
case 21:
enterOuterAlt(_localctx, 21);
{
setState(844);
flushStatement();
}
break;
case 22:
enterOuterAlt(_localctx, 22);
{
setState(845);
killStatement();
}
break;
case 23:
enterOuterAlt(_localctx, 23);
{
setState(846);
loadIndexIntoCache();
}
break;
case 24:
enterOuterAlt(_localctx, 24);
{
setState(847);
resetStatement();
}
break;
case 25:
enterOuterAlt(_localctx, 25);
{
setState(848);
shutdownStatement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class UtilityStatementContext extends ParserRuleContext {
public SimpleDescribeStatementContext simpleDescribeStatement() {
return getRuleContext(SimpleDescribeStatementContext.class,0);
}
public FullDescribeStatementContext fullDescribeStatement() {
return getRuleContext(FullDescribeStatementContext.class,0);
}
public HelpStatementContext helpStatement() {
return getRuleContext(HelpStatementContext.class,0);
}
public UseStatementContext useStatement() {
return getRuleContext(UseStatementContext.class,0);
}
public SignalStatementContext signalStatement() {
return getRuleContext(SignalStatementContext.class,0);
}
public ResignalStatementContext resignalStatement() {
return getRuleContext(ResignalStatementContext.class,0);
}
public DiagnosticsStatementContext diagnosticsStatement() {
return getRuleContext(DiagnosticsStatementContext.class,0);
}
public UtilityStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_utilityStatement; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitUtilityStatement(this);
else return visitor.visitChildren(this);
}
}
public final UtilityStatementContext utilityStatement() throws RecognitionException {
UtilityStatementContext _localctx = new UtilityStatementContext(_ctx, getState());
enterRule(_localctx, 22, RULE_utilityStatement);
try {
setState(858);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,17,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(851);
simpleDescribeStatement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(852);
fullDescribeStatement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(853);
helpStatement();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(854);
useStatement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(855);
signalStatement();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(856);
resignalStatement();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(857);
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(CqlParser.CREATE, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode DATABASE() { return getToken(CqlParser.DATABASE, 0); }
public TerminalNode SCHEMA() { return getToken(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCreateDatabase(this);
else return visitor.visitChildren(this);
}
}
public final CreateDatabaseContext createDatabase() throws RecognitionException {
CreateDatabaseContext _localctx = new CreateDatabaseContext(_ctx, getState());
enterRule(_localctx, 24, RULE_createDatabase);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(860);
match(CREATE);
setState(861);
((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(863);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(862);
ifNotExists();
}
}
setState(865);
uid();
setState(869);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << CHARACTER) | (1L << COLLATE) | (1L << DEFAULT))) != 0) || _la==CHAR || _la==CHARSET) {
{
{
setState(866);
createDatabaseOption();
}
}
setState(871);
_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(CqlParser.CREATE, 0); }
public TerminalNode EVENT() { return getToken(CqlParser.EVENT, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public List ON() { return getTokens(CqlParser.ON); }
public TerminalNode ON(int i) {
return getToken(CqlParser.ON, i);
}
public TerminalNode SCHEDULE() { return getToken(CqlParser.SCHEDULE, 0); }
public ScheduleExpressionContext scheduleExpression() {
return getRuleContext(ScheduleExpressionContext.class,0);
}
public TerminalNode DO() { return getToken(CqlParser.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(CqlParser.COMPLETION, 0); }
public TerminalNode PRESERVE() { return getToken(CqlParser.PRESERVE, 0); }
public EnableTypeContext enableType() {
return getRuleContext(EnableTypeContext.class,0);
}
public TerminalNode COMMENT() { return getToken(CqlParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(CqlParser.STRING_LITERAL, 0); }
public TerminalNode NOT() { return getToken(CqlParser.NOT, 0); }
public CreateEventContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createEvent; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCreateEvent(this);
else return visitor.visitChildren(this);
}
}
public final CreateEventContext createEvent() throws RecognitionException {
CreateEventContext _localctx = new CreateEventContext(_ctx, getState());
enterRule(_localctx, 26, RULE_createEvent);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(872);
match(CREATE);
setState(874);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(873);
ownerStatement();
}
}
setState(876);
match(EVENT);
setState(878);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(877);
ifNotExists();
}
}
setState(880);
fullId();
setState(881);
match(ON);
setState(882);
match(SCHEDULE);
setState(883);
scheduleExpression();
setState(890);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ON) {
{
setState(884);
match(ON);
setState(885);
match(COMPLETION);
setState(887);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOT) {
{
setState(886);
match(NOT);
}
}
setState(889);
match(PRESERVE);
}
}
setState(893);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DISABLE || _la==ENABLE) {
{
setState(892);
enableType();
}
}
setState(897);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMENT) {
{
setState(895);
match(COMMENT);
setState(896);
match(STRING_LITERAL);
}
}
setState(899);
match(DO);
setState(900);
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(CqlParser.CREATE, 0); }
public TerminalNode INDEX() { return getToken(CqlParser.INDEX, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode ON() { return getToken(CqlParser.ON, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode OR() { return getToken(CqlParser.OR, 0); }
public TerminalNode REPLACE() { return getToken(CqlParser.REPLACE, 0); }
public TerminalNode IF() { return getToken(CqlParser.IF, 0); }
public TerminalNode NOT() { return getToken(CqlParser.NOT, 0); }
public TerminalNode EXISTS() { return getToken(CqlParser.EXISTS, 0); }
public IndexTypeContext indexType() {
return getRuleContext(IndexTypeContext.class,0);
}
public TerminalNode WAIT() { return getToken(CqlParser.WAIT, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode NOWAIT() { return getToken(CqlParser.NOWAIT, 0); }
public List indexOption() {
return getRuleContexts(IndexOptionContext.class);
}
public IndexOptionContext indexOption(int i) {
return getRuleContext(IndexOptionContext.class,i);
}
public List ALGORITHM() { return getTokens(CqlParser.ALGORITHM); }
public TerminalNode ALGORITHM(int i) {
return getToken(CqlParser.ALGORITHM, i);
}
public List LOCK() { return getTokens(CqlParser.LOCK); }
public TerminalNode LOCK(int i) {
return getToken(CqlParser.LOCK, i);
}
public TerminalNode ONLINE() { return getToken(CqlParser.ONLINE, 0); }
public TerminalNode OFFLINE() { return getToken(CqlParser.OFFLINE, 0); }
public TerminalNode UNIQUE() { return getToken(CqlParser.UNIQUE, 0); }
public TerminalNode FULLTEXT() { return getToken(CqlParser.FULLTEXT, 0); }
public TerminalNode SPATIAL() { return getToken(CqlParser.SPATIAL, 0); }
public List DEFAULT() { return getTokens(CqlParser.DEFAULT); }
public TerminalNode DEFAULT(int i) {
return getToken(CqlParser.DEFAULT, i);
}
public List INPLACE() { return getTokens(CqlParser.INPLACE); }
public TerminalNode INPLACE(int i) {
return getToken(CqlParser.INPLACE, i);
}
public List COPY() { return getTokens(CqlParser.COPY); }
public TerminalNode COPY(int i) {
return getToken(CqlParser.COPY, i);
}
public List NOCOPY() { return getTokens(CqlParser.NOCOPY); }
public TerminalNode NOCOPY(int i) {
return getToken(CqlParser.NOCOPY, i);
}
public List INSTANT() { return getTokens(CqlParser.INSTANT); }
public TerminalNode INSTANT(int i) {
return getToken(CqlParser.INSTANT, i);
}
public List NONE() { return getTokens(CqlParser.NONE); }
public TerminalNode NONE(int i) {
return getToken(CqlParser.NONE, i);
}
public List SHARED() { return getTokens(CqlParser.SHARED); }
public TerminalNode SHARED(int i) {
return getToken(CqlParser.SHARED, i);
}
public List EXCLUSIVE() { return getTokens(CqlParser.EXCLUSIVE); }
public TerminalNode EXCLUSIVE(int i) {
return getToken(CqlParser.EXCLUSIVE, i);
}
public List EQUAL_SYMBOL() { return getTokens(CqlParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(CqlParser.EQUAL_SYMBOL, i);
}
public CreateIndexContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createIndex; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCreateIndex(this);
else return visitor.visitChildren(this);
}
}
public final CreateIndexContext createIndex() throws RecognitionException {
CreateIndexContext _localctx = new CreateIndexContext(_ctx, getState());
enterRule(_localctx, 28, RULE_createIndex);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(902);
match(CREATE);
setState(905);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(903);
match(OR);
setState(904);
match(REPLACE);
}
}
setState(908);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OFFLINE || _la==ONLINE) {
{
setState(907);
((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(911);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FULLTEXT || _la==SPATIAL || _la==UNIQUE) {
{
setState(910);
((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(913);
match(INDEX);
setState(917);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(914);
match(IF);
setState(915);
match(NOT);
setState(916);
match(EXISTS);
}
}
setState(919);
uid();
setState(921);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==USING) {
{
setState(920);
indexType();
}
}
setState(923);
match(ON);
setState(924);
tableName();
setState(925);
indexColumnNames();
setState(929);
_errHandler.sync(this);
switch (_input.LA(1)) {
case WAIT:
{
setState(926);
match(WAIT);
setState(927);
decimalLiteral();
}
break;
case NOWAIT:
{
setState(928);
match(NOWAIT);
}
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 IGNORED:
case INSERT:
case KILL:
case LOAD:
case LOCK:
case NOT:
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 USING:
case WITH:
case ALGORITHM:
case BEGIN:
case BINLOG:
case CACHE:
case CHECKSUM:
case CLUSTERING:
case COMMENT:
case COMMIT:
case DEALLOCATE:
case DO:
case FLUSH:
case HANDLER:
case HELP:
case INSTALL:
case INVISIBLE:
case KEY_BLOCK_SIZE:
case PREPARE:
case REPAIR:
case RESET:
case ROLLBACK:
case SAVEPOINT:
case START:
case STOP:
case TRUNCATE:
case UNINSTALL:
case VISIBLE:
case XA:
case EXECUTE:
case SHUTDOWN:
case ENGINE_ATTRIBUTE:
case SECONDARY_ENGINE_ATTRIBUTE:
case MINUS:
case LR_BRACKET:
case SEMI:
break;
default:
break;
}
setState(934);
_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(931);
indexOption();
}
}
setState(936);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(949);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,36,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
setState(947);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ALGORITHM:
{
setState(937);
match(ALGORITHM);
setState(939);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(938);
match(EQUAL_SYMBOL);
}
}
setState(941);
((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(942);
match(LOCK);
setState(944);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(943);
match(EQUAL_SYMBOL);
}
}
setState(946);
((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(951);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,36,_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(CqlParser.CREATE, 0); }
public TerminalNode LOGFILE() { return getToken(CqlParser.LOGFILE, 0); }
public TerminalNode GROUP() { return getToken(CqlParser.GROUP, 0); }
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public TerminalNode ADD() { return getToken(CqlParser.ADD, 0); }
public TerminalNode UNDOFILE() { return getToken(CqlParser.UNDOFILE, 0); }
public TerminalNode ENGINE() { return getToken(CqlParser.ENGINE, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public List STRING_LITERAL() { return getTokens(CqlParser.STRING_LITERAL); }
public TerminalNode STRING_LITERAL(int i) {
return getToken(CqlParser.STRING_LITERAL, i);
}
public TerminalNode INITIAL_SIZE() { return getToken(CqlParser.INITIAL_SIZE, 0); }
public TerminalNode UNDO_BUFFER_SIZE() { return getToken(CqlParser.UNDO_BUFFER_SIZE, 0); }
public TerminalNode REDO_BUFFER_SIZE() { return getToken(CqlParser.REDO_BUFFER_SIZE, 0); }
public TerminalNode NODEGROUP() { return getToken(CqlParser.NODEGROUP, 0); }
public TerminalNode WAIT() { return getToken(CqlParser.WAIT, 0); }
public TerminalNode COMMENT() { return getToken(CqlParser.COMMENT, 0); }
public List EQUAL_SYMBOL() { return getTokens(CqlParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCreateLogfileGroup(this);
else return visitor.visitChildren(this);
}
}
public final CreateLogfileGroupContext createLogfileGroup() throws RecognitionException {
CreateLogfileGroupContext _localctx = new CreateLogfileGroupContext(_ctx, getState());
enterRule(_localctx, 30, RULE_createLogfileGroup);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(952);
match(CREATE);
setState(953);
match(LOGFILE);
setState(954);
match(GROUP);
setState(955);
uid();
setState(956);
match(ADD);
setState(957);
match(UNDOFILE);
setState(958);
((CreateLogfileGroupContext)_localctx).undoFile = match(STRING_LITERAL);
setState(964);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INITIAL_SIZE) {
{
setState(959);
match(INITIAL_SIZE);
setState(961);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(960);
match(EQUAL_SYMBOL);
}
}
setState(963);
((CreateLogfileGroupContext)_localctx).initSize = fileSizeLiteral();
}
}
setState(971);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==UNDO_BUFFER_SIZE) {
{
setState(966);
match(UNDO_BUFFER_SIZE);
setState(968);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(967);
match(EQUAL_SYMBOL);
}
}
setState(970);
((CreateLogfileGroupContext)_localctx).undoSize = fileSizeLiteral();
}
}
setState(978);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==REDO_BUFFER_SIZE) {
{
setState(973);
match(REDO_BUFFER_SIZE);
setState(975);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(974);
match(EQUAL_SYMBOL);
}
}
setState(977);
((CreateLogfileGroupContext)_localctx).redoSize = fileSizeLiteral();
}
}
setState(985);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NODEGROUP) {
{
setState(980);
match(NODEGROUP);
setState(982);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(981);
match(EQUAL_SYMBOL);
}
}
setState(984);
uid();
}
}
setState(988);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WAIT) {
{
setState(987);
match(WAIT);
}
}
setState(995);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMENT) {
{
setState(990);
match(COMMENT);
setState(992);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(991);
match(EQUAL_SYMBOL);
}
}
setState(994);
((CreateLogfileGroupContext)_localctx).comment = match(STRING_LITERAL);
}
}
setState(997);
match(ENGINE);
setState(999);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(998);
match(EQUAL_SYMBOL);
}
}
setState(1001);
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(CqlParser.CREATE, 0); }
public TerminalNode PROCEDURE() { return getToken(CqlParser.PROCEDURE, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(CqlParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(CqlParser.RR_BRACKET, 0); }
public RoutineBodyContext routineBody() {
return getRuleContext(RoutineBodyContext.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(CqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCreateProcedure(this);
else return visitor.visitChildren(this);
}
}
public final CreateProcedureContext createProcedure() throws RecognitionException {
CreateProcedureContext _localctx = new CreateProcedureContext(_ctx, getState());
enterRule(_localctx, 32, RULE_createProcedure);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(1003);
match(CREATE);
setState(1005);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(1004);
ownerStatement();
}
}
setState(1007);
match(PROCEDURE);
setState(1008);
fullId();
setState(1009);
match(LR_BRACKET);
setState(1011);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 34)) & ~0x3f) == 0 && ((1L << (_la - 34)) & ((1L << (CURRENT - 34)) | (1L << (DATABASE - 34)) | (1L << (DIAGNOSTICS - 34)) | (1L << (EXCEPT - 34)) | (1L << (GROUP - 34)) | (1L << (IGNORED - 34)) | (1L << (IN - 34)) | (1L << (INOUT - 34)) | (1L << (LEFT - 34)))) != 0) || ((((_la - 114)) & ~0x3f) == 0 && ((1L << (_la - 114)) & ((1L << (NUMBER - 114)) | (1L << (OPTIONAL - 114)) | (1L << (ORDER - 114)) | (1L << (OUT - 114)) | (1L << (RIGHT - 114)) | (1L << (SCHEMA - 114)) | (1L << (STACKED - 114)))) != 0) || ((((_la - 211)) & ~0x3f) == 0 && ((1L << (_la - 211)) & ((1L << (DATE - 211)) | (1L << (TIME - 211)) | (1L << (TIMESTAMP - 211)) | (1L << (DATETIME - 211)) | (1L << (YEAR - 211)) | (1L << (BINARY - 211)) | (1L << (TEXT - 211)) | (1L << (ENUM - 211)) | (1L << (SERIAL - 211)) | (1L << (JSON_ARRAY - 211)) | (1L << (JSON_OBJECT - 211)) | (1L << (JSON_QUOTE - 211)) | (1L << (JSON_CONTAINS - 211)) | (1L << (JSON_CONTAINS_PATH - 211)) | (1L << (JSON_EXTRACT - 211)) | (1L << (JSON_KEYS - 211)) | (1L << (JSON_OVERLAPS - 211)) | (1L << (JSON_SEARCH - 211)) | (1L << (JSON_VALUE - 211)) | (1L << (JSON_ARRAY_APPEND - 211)) | (1L << (JSON_ARRAY_INSERT - 211)) | (1L << (JSON_INSERT - 211)) | (1L << (JSON_MERGE - 211)) | (1L << (JSON_MERGE_PATCH - 211)) | (1L << (JSON_MERGE_PRESERVE - 211)) | (1L << (JSON_REMOVE - 211)) | (1L << (JSON_REPLACE - 211)) | (1L << (JSON_SET - 211)) | (1L << (JSON_UNQUOTE - 211)) | (1L << (JSON_DEPTH - 211)) | (1L << (JSON_LENGTH - 211)) | (1L << (JSON_TYPE - 211)) | (1L << (JSON_VALID - 211)) | (1L << (JSON_TABLE - 211)) | (1L << (JSON_SCHEMA_VALID - 211)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 211)) | (1L << (JSON_PRETTY - 211)) | (1L << (JSON_STORAGE_FREE - 211)) | (1L << (JSON_STORAGE_SIZE - 211)))) != 0) || ((((_la - 275)) & ~0x3f) == 0 && ((1L << (_la - 275)) & ((1L << (JSON_ARRAYAGG - 275)) | (1L << (JSON_OBJECTAGG - 275)) | (1L << (AVG - 275)) | (1L << (BIT_AND - 275)) | (1L << (BIT_OR - 275)) | (1L << (BIT_XOR - 275)) | (1L << (COUNT - 275)) | (1L << (CUME_DIST - 275)) | (1L << (DENSE_RANK - 275)) | (1L << (FIRST_VALUE - 275)) | (1L << (GROUP_CONCAT - 275)) | (1L << (LAG - 275)) | (1L << (LAST_VALUE - 275)) | (1L << (LEAD - 275)) | (1L << (MAX - 275)) | (1L << (MIN - 275)) | (1L << (NTILE - 275)) | (1L << (NTH_VALUE - 275)) | (1L << (PERCENT_RANK - 275)) | (1L << (RANK - 275)) | (1L << (ROW_NUMBER - 275)) | (1L << (STD - 275)) | (1L << (STDDEV - 275)) | (1L << (STDDEV_POP - 275)) | (1L << (STDDEV_SAMP - 275)) | (1L << (SUM - 275)) | (1L << (VAR_POP - 275)) | (1L << (VAR_SAMP - 275)) | (1L << (VARIANCE - 275)) | (1L << (POSITION - 275)) | (1L << (ACCOUNT - 275)) | (1L << (ACTION - 275)) | (1L << (AFTER - 275)) | (1L << (AGGREGATE - 275)) | (1L << (ALGORITHM - 275)) | (1L << (ANY - 275)) | (1L << (AT - 275)) | (1L << (AUTHORS - 275)) | (1L << (AUTOCOMMIT - 275)) | (1L << (AUTOEXTEND_SIZE - 275)) | (1L << (AUTO_INCREMENT - 275)) | (1L << (AVG_ROW_LENGTH - 275)) | (1L << (BEGIN - 275)) | (1L << (BINLOG - 275)) | (1L << (BIT - 275)) | (1L << (BLOCK - 275)))) != 0) || ((((_la - 339)) & ~0x3f) == 0 && ((1L << (_la - 339)) & ((1L << (BOOL - 339)) | (1L << (BOOLEAN - 339)) | (1L << (BTREE - 339)) | (1L << (CACHE - 339)) | (1L << (CASCADED - 339)) | (1L << (CHAIN - 339)) | (1L << (CHANGED - 339)) | (1L << (CHANNEL - 339)) | (1L << (CHECKSUM - 339)) | (1L << (PAGE_CHECKSUM - 339)) | (1L << (CIPHER - 339)) | (1L << (CLASS_ORIGIN - 339)) | (1L << (CLIENT - 339)) | (1L << (CLOSE - 339)) | (1L << (CLUSTERING - 339)) | (1L << (COALESCE - 339)) | (1L << (CODE - 339)) | (1L << (COLUMNS - 339)) | (1L << (COLUMN_FORMAT - 339)) | (1L << (COLUMN_NAME - 339)) | (1L << (COMMENT - 339)) | (1L << (COMMIT - 339)) | (1L << (COMPACT - 339)) | (1L << (COMPLETION - 339)) | (1L << (COMPRESSED - 339)) | (1L << (COMPRESSION - 339)) | (1L << (CONCURRENT - 339)) | (1L << (CONNECT - 339)) | (1L << (CONNECTION - 339)) | (1L << (CONSISTENT - 339)) | (1L << (CONSTRAINT_CATALOG - 339)) | (1L << (CONSTRAINT_SCHEMA - 339)) | (1L << (CONSTRAINT_NAME - 339)) | (1L << (CONTAINS - 339)) | (1L << (CONTEXT - 339)) | (1L << (CONTRIBUTORS - 339)) | (1L << (COPY - 339)) | (1L << (CPU - 339)) | (1L << (CURSOR_NAME - 339)) | (1L << (DATA - 339)) | (1L << (DATAFILE - 339)) | (1L << (DEALLOCATE - 339)) | (1L << (DEFAULT_AUTH - 339)) | (1L << (DEFINER - 339)) | (1L << (DELAY_KEY_WRITE - 339)) | (1L << (DES_KEY_FILE - 339)) | (1L << (DIRECTORY - 339)) | (1L << (DISABLE - 339)) | (1L << (DISCARD - 339)) | (1L << (DISK - 339)) | (1L << (DO - 339)) | (1L << (DUMPFILE - 339)) | (1L << (DUPLICATE - 339)) | (1L << (DYNAMIC - 339)) | (1L << (ENABLE - 339)) | (1L << (ENCRYPTION - 339)) | (1L << (END - 339)) | (1L << (ENDS - 339)) | (1L << (ENGINE - 339)) | (1L << (ENGINES - 339)) | (1L << (ERROR - 339)) | (1L << (ERRORS - 339)) | (1L << (ESCAPE - 339)) | (1L << (EVEN - 339)))) != 0) || ((((_la - 403)) & ~0x3f) == 0 && ((1L << (_la - 403)) & ((1L << (EVENT - 403)) | (1L << (EVENTS - 403)) | (1L << (EVERY - 403)) | (1L << (EXCHANGE - 403)) | (1L << (EXCLUSIVE - 403)) | (1L << (EXPIRE - 403)) | (1L << (EXPORT - 403)) | (1L << (EXTENDED - 403)) | (1L << (EXTENT_SIZE - 403)) | (1L << (FAST - 403)) | (1L << (FAULTS - 403)) | (1L << (FIELDS - 403)) | (1L << (FILE_BLOCK_SIZE - 403)) | (1L << (FILTER - 403)) | (1L << (FIRST - 403)) | (1L << (FIXED - 403)) | (1L << (FLUSH - 403)) | (1L << (FOLLOWS - 403)) | (1L << (FOUND - 403)) | (1L << (FULL - 403)) | (1L << (FUNCTION - 403)) | (1L << (GENERAL - 403)) | (1L << (GLOBAL - 403)) | (1L << (GRANTS - 403)) | (1L << (GROUP_REPLICATION - 403)) | (1L << (HANDLER - 403)) | (1L << (HASH - 403)) | (1L << (HELP - 403)) | (1L << (HOST - 403)) | (1L << (HOSTS - 403)) | (1L << (IDENTIFIED - 403)) | (1L << (IGNORE_SERVER_IDS - 403)) | (1L << (IMPORT - 403)) | (1L << (INDEXES - 403)) | (1L << (INITIAL_SIZE - 403)) | (1L << (INPLACE - 403)) | (1L << (INSERT_METHOD - 403)) | (1L << (INSTALL - 403)) | (1L << (INSTANCE - 403)) | (1L << (INSTANT - 403)) | (1L << (INVISIBLE - 403)) | (1L << (INVOKER - 403)) | (1L << (IO - 403)) | (1L << (IO_THREAD - 403)) | (1L << (IPC - 403)) | (1L << (ISOLATION - 403)) | (1L << (ISSUER - 403)) | (1L << (JSON - 403)) | (1L << (KEY_BLOCK_SIZE - 403)) | (1L << (LANGUAGE - 403)) | (1L << (LAST - 403)) | (1L << (LEAVES - 403)) | (1L << (LESS - 403)) | (1L << (LEVEL - 403)) | (1L << (LIST - 403)) | (1L << (LOCAL - 403)) | (1L << (LOGFILE - 403)) | (1L << (LOGS - 403)) | (1L << (MASTER - 403)) | (1L << (MASTER_AUTO_POSITION - 403)) | (1L << (MASTER_CONNECT_RETRY - 403)) | (1L << (MASTER_DELAY - 403)) | (1L << (MASTER_HEARTBEAT_PERIOD - 403)))) != 0) || ((((_la - 467)) & ~0x3f) == 0 && ((1L << (_la - 467)) & ((1L << (MASTER_HOST - 467)) | (1L << (MASTER_LOG_FILE - 467)) | (1L << (MASTER_LOG_POS - 467)) | (1L << (MASTER_PASSWORD - 467)) | (1L << (MASTER_PORT - 467)) | (1L << (MASTER_RETRY_COUNT - 467)) | (1L << (MASTER_SSL - 467)) | (1L << (MASTER_SSL_CA - 467)) | (1L << (MASTER_SSL_CAPATH - 467)) | (1L << (MASTER_SSL_CERT - 467)) | (1L << (MASTER_SSL_CIPHER - 467)) | (1L << (MASTER_SSL_CRL - 467)) | (1L << (MASTER_SSL_CRLPATH - 467)) | (1L << (MASTER_SSL_KEY - 467)) | (1L << (MASTER_TLS_VERSION - 467)) | (1L << (MASTER_USER - 467)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 467)) | (1L << (MAX_QUERIES_PER_HOUR - 467)) | (1L << (MAX_ROWS - 467)) | (1L << (MAX_SIZE - 467)) | (1L << (MAX_UPDATES_PER_HOUR - 467)) | (1L << (MAX_USER_CONNECTIONS - 467)) | (1L << (MEDIUM - 467)) | (1L << (MEMBER - 467)) | (1L << (MERGE - 467)) | (1L << (MESSAGE_TEXT - 467)) | (1L << (MID - 467)) | (1L << (MIGRATE - 467)) | (1L << (MIN_ROWS - 467)) | (1L << (MODE - 467)) | (1L << (MODIFY - 467)) | (1L << (MUTEX - 467)) | (1L << (MYSQL - 467)) | (1L << (MYSQL_ERRNO - 467)) | (1L << (NAME - 467)) | (1L << (NAMES - 467)) | (1L << (NCHAR - 467)) | (1L << (NEVER - 467)) | (1L << (NEXT - 467)) | (1L << (NO - 467)) | (1L << (NOCOPY - 467)) | (1L << (NOWAIT - 467)) | (1L << (NODEGROUP - 467)) | (1L << (NONE - 467)) | (1L << (ODBC - 467)) | (1L << (OFFLINE - 467)) | (1L << (OFFSET - 467)) | (1L << (OF - 467)) | (1L << (OJ - 467)) | (1L << (OLD_PASSWORD - 467)) | (1L << (ONE - 467)) | (1L << (ONLINE - 467)) | (1L << (ONLY - 467)) | (1L << (OPEN - 467)) | (1L << (OPTIMIZER_COSTS - 467)) | (1L << (OPTIONS - 467)) | (1L << (OWNER - 467)) | (1L << (PACK_KEYS - 467)) | (1L << (PAGE - 467)) | (1L << (PARSER - 467)) | (1L << (PARTIAL - 467)) | (1L << (PARTITIONING - 467)) | (1L << (PARTITIONS - 467)) | (1L << (PASSWORD - 467)))) != 0) || ((((_la - 531)) & ~0x3f) == 0 && ((1L << (_la - 531)) & ((1L << (PHASE - 531)) | (1L << (PLUGIN - 531)) | (1L << (PLUGIN_DIR - 531)) | (1L << (PLUGINS - 531)) | (1L << (PORT - 531)) | (1L << (PRECEDES - 531)) | (1L << (PREPARE - 531)) | (1L << (PRESERVE - 531)) | (1L << (PREV - 531)) | (1L << (PROCESSLIST - 531)) | (1L << (PROFILE - 531)) | (1L << (PROFILES - 531)) | (1L << (PROXY - 531)) | (1L << (QUERY - 531)) | (1L << (QUICK - 531)) | (1L << (REBUILD - 531)) | (1L << (RECOVER - 531)) | (1L << (RECURSIVE - 531)) | (1L << (REDO_BUFFER_SIZE - 531)) | (1L << (REDUNDANT - 531)) | (1L << (RELAY - 531)) | (1L << (RELAY_LOG_FILE - 531)) | (1L << (RELAY_LOG_POS - 531)) | (1L << (RELAYLOG - 531)) | (1L << (REMOVE - 531)) | (1L << (REORGANIZE - 531)) | (1L << (REPAIR - 531)) | (1L << (REPLICATE_DO_DB - 531)) | (1L << (REPLICATE_DO_TABLE - 531)) | (1L << (REPLICATE_IGNORE_DB - 531)) | (1L << (REPLICATE_IGNORE_TABLE - 531)) | (1L << (REPLICATE_REWRITE_DB - 531)) | (1L << (REPLICATE_WILD_DO_TABLE - 531)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 531)) | (1L << (REPLICATION - 531)) | (1L << (RESET - 531)) | (1L << (RESUME - 531)) | (1L << (RETURNED_SQLSTATE - 531)) | (1L << (RETURNS - 531)) | (1L << (ROLE - 531)) | (1L << (ROLLBACK - 531)) | (1L << (ROLLUP - 531)) | (1L << (ROTATE - 531)) | (1L << (ROW - 531)) | (1L << (ROWS - 531)) | (1L << (ROW_FORMAT - 531)) | (1L << (RTREE - 531)) | (1L << (SAVEPOINT - 531)) | (1L << (SCHEDULE - 531)) | (1L << (SECURITY - 531)) | (1L << (SERVER - 531)) | (1L << (SESSION - 531)) | (1L << (SHARE - 531)) | (1L << (SHARED - 531)) | (1L << (SIGNED - 531)) | (1L << (SIMPLE - 531)) | (1L << (SLAVE - 531)) | (1L << (SLOW - 531)) | (1L << (SNAPSHOT - 531)) | (1L << (SOCKET - 531)) | (1L << (SOME - 531)) | (1L << (SONAME - 531)))) != 0) || ((((_la - 595)) & ~0x3f) == 0 && ((1L << (_la - 595)) & ((1L << (SOUNDS - 595)) | (1L << (SOURCE - 595)) | (1L << (SQL_AFTER_GTIDS - 595)) | (1L << (SQL_AFTER_MTS_GAPS - 595)) | (1L << (SQL_BEFORE_GTIDS - 595)) | (1L << (SQL_BUFFER_RESULT - 595)) | (1L << (SQL_CACHE - 595)) | (1L << (SQL_NO_CACHE - 595)) | (1L << (SQL_THREAD - 595)) | (1L << (START - 595)) | (1L << (STARTS - 595)) | (1L << (STATS_AUTO_RECALC - 595)) | (1L << (STATS_PERSISTENT - 595)) | (1L << (STATS_SAMPLE_PAGES - 595)) | (1L << (STATUS - 595)) | (1L << (STOP - 595)) | (1L << (STORAGE - 595)) | (1L << (STRING - 595)) | (1L << (SUBCLASS_ORIGIN - 595)) | (1L << (SUBJECT - 595)) | (1L << (SUBPARTITION - 595)) | (1L << (SUBPARTITIONS - 595)) | (1L << (SUSPEND - 595)) | (1L << (SWAPS - 595)) | (1L << (SWITCHES - 595)) | (1L << (TABLE_NAME - 595)) | (1L << (TABLESPACE - 595)) | (1L << (TEMPORARY - 595)) | (1L << (TEMPTABLE - 595)) | (1L << (THAN - 595)) | (1L << (TRADITIONAL - 595)) | (1L << (TRANSACTION - 595)) | (1L << (TRANSACTIONAL - 595)) | (1L << (TRIGGERS - 595)) | (1L << (TRUNCATE - 595)) | (1L << (UNDEFINED - 595)) | (1L << (UNDOFILE - 595)) | (1L << (UNDO_BUFFER_SIZE - 595)) | (1L << (UNINSTALL - 595)) | (1L << (UNKNOWN - 595)) | (1L << (UNTIL - 595)) | (1L << (UPGRADE - 595)) | (1L << (USER - 595)) | (1L << (USE_FRM - 595)) | (1L << (USER_RESOURCES - 595)) | (1L << (VALIDATION - 595)) | (1L << (VALUE - 595)) | (1L << (VARIABLES - 595)) | (1L << (VIEW - 595)) | (1L << (VISIBLE - 595)) | (1L << (WAIT - 595)) | (1L << (WARNINGS - 595)) | (1L << (WITHOUT - 595)) | (1L << (WORK - 595)) | (1L << (WRAPPER - 595)) | (1L << (X509 - 595)) | (1L << (XA - 595)) | (1L << (XML - 595)))) != 0) || ((((_la - 659)) & ~0x3f) == 0 && ((1L << (_la - 659)) & ((1L << (EUR - 659)) | (1L << (USA - 659)) | (1L << (JIS - 659)) | (1L << (ISO - 659)) | (1L << (INTERNAL - 659)) | (1L << (QUARTER - 659)) | (1L << (MONTH - 659)) | (1L << (DAY - 659)) | (1L << (HOUR - 659)) | (1L << (MINUTE - 659)) | (1L << (WEEK - 659)) | (1L << (SECOND - 659)) | (1L << (MICROSECOND - 659)) | (1L << (TABLES - 659)) | (1L << (ROUTINE - 659)) | (1L << (EXECUTE - 659)) | (1L << (FILE - 659)) | (1L << (PROCESS - 659)) | (1L << (RELOAD - 659)) | (1L << (SHUTDOWN - 659)) | (1L << (SUPER - 659)) | (1L << (PRIVILEGES - 659)) | (1L << (AUDIT_ADMIN - 659)) | (1L << (BACKUP_ADMIN - 659)) | (1L << (BINLOG_ADMIN - 659)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 659)) | (1L << (CLONE_ADMIN - 659)) | (1L << (CONNECTION_ADMIN - 659)) | (1L << (ENCRYPTION_KEY_ADMIN - 659)) | (1L << (FIREWALL_ADMIN - 659)) | (1L << (FIREWALL_USER - 659)) | (1L << (ADMIN - 659)) | (1L << (GROUP_REPLICATION_ADMIN - 659)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 659)) | (1L << (NDB_STORED_USER - 659)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 659)) | (1L << (REPLICATION_APPLIER - 659)) | (1L << (REPLICATION_SLAVE_ADMIN - 659)) | (1L << (RESOURCE_GROUP_ADMIN - 659)) | (1L << (RESOURCE_GROUP_USER - 659)) | (1L << (ROLE_ADMIN - 659)) | (1L << (SESSION_VARIABLES_ADMIN - 659)) | (1L << (SET_USER_ID - 659)) | (1L << (SHOW_ROUTINE - 659)) | (1L << (SYSTEM_VARIABLES_ADMIN - 659)) | (1L << (TABLE_ENCRYPTION_ADMIN - 659)) | (1L << (VERSION_TOKEN_ADMIN - 659)) | (1L << (XA_RECOVER_ADMIN - 659)) | (1L << (ARMSCII8 - 659)) | (1L << (ASCII - 659)) | (1L << (BIG5 - 659)) | (1L << (CP1250 - 659)) | (1L << (CP1251 - 659)) | (1L << (CP1256 - 659)) | (1L << (CP1257 - 659)) | (1L << (CP850 - 659)) | (1L << (CP852 - 659)))) != 0) || ((((_la - 723)) & ~0x3f) == 0 && ((1L << (_la - 723)) & ((1L << (CP866 - 723)) | (1L << (CP932 - 723)) | (1L << (DEC8 - 723)) | (1L << (EUCJPMS - 723)) | (1L << (EUCKR - 723)) | (1L << (GB18030 - 723)) | (1L << (GB2312 - 723)) | (1L << (GBK - 723)) | (1L << (GEOSTD8 - 723)) | (1L << (GREEK - 723)) | (1L << (HEBREW - 723)) | (1L << (HP8 - 723)) | (1L << (KEYBCS2 - 723)) | (1L << (KOI8R - 723)) | (1L << (KOI8U - 723)) | (1L << (LATIN1 - 723)) | (1L << (LATIN2 - 723)) | (1L << (LATIN5 - 723)) | (1L << (LATIN7 - 723)) | (1L << (MACCE - 723)) | (1L << (MACROMAN - 723)) | (1L << (SJIS - 723)) | (1L << (SWE7 - 723)) | (1L << (TIS620 - 723)) | (1L << (UCS2 - 723)) | (1L << (UJIS - 723)) | (1L << (UTF16 - 723)) | (1L << (UTF16LE - 723)) | (1L << (UTF32 - 723)) | (1L << (UTF8 - 723)) | (1L << (UTF8MB3 - 723)) | (1L << (UTF8MB4 - 723)) | (1L << (ARCHIVE - 723)) | (1L << (BLACKHOLE - 723)) | (1L << (CSV - 723)) | (1L << (FEDERATED - 723)) | (1L << (INNODB - 723)) | (1L << (MEMORY - 723)) | (1L << (MRG_MYISAM - 723)) | (1L << (MYISAM - 723)) | (1L << (NDB - 723)) | (1L << (NDBCLUSTER - 723)) | (1L << (PERFORMANCE_SCHEMA - 723)) | (1L << (TOKUDB - 723)) | (1L << (REPEATABLE - 723)) | (1L << (COMMITTED - 723)) | (1L << (UNCOMMITTED - 723)) | (1L << (SERIALIZABLE - 723)) | (1L << (GEOMETRYCOLLECTION - 723)) | (1L << (LINESTRING - 723)) | (1L << (MULTILINESTRING - 723)) | (1L << (MULTIPOINT - 723)) | (1L << (MULTIPOLYGON - 723)) | (1L << (POINT - 723)) | (1L << (POLYGON - 723)) | (1L << (ABS - 723)) | (1L << (ACOS - 723)) | (1L << (ADDDATE - 723)) | (1L << (ADDTIME - 723)) | (1L << (AES_DECRYPT - 723)) | (1L << (AES_ENCRYPT - 723)) | (1L << (AREA - 723)))) != 0) || ((((_la - 787)) & ~0x3f) == 0 && ((1L << (_la - 787)) & ((1L << (ASBINARY - 787)) | (1L << (ASIN - 787)) | (1L << (ASTEXT - 787)) | (1L << (ASWKB - 787)) | (1L << (ASWKT - 787)) | (1L << (ASYMMETRIC_DECRYPT - 787)) | (1L << (ASYMMETRIC_DERIVE - 787)) | (1L << (ASYMMETRIC_ENCRYPT - 787)) | (1L << (ASYMMETRIC_SIGN - 787)) | (1L << (ASYMMETRIC_VERIFY - 787)) | (1L << (ATAN - 787)) | (1L << (ATAN2 - 787)) | (1L << (BENCHMARK - 787)) | (1L << (BIN - 787)) | (1L << (BIT_COUNT - 787)) | (1L << (BIT_LENGTH - 787)) | (1L << (BUFFER - 787)) | (1L << (CATALOG_NAME - 787)) | (1L << (CEIL - 787)) | (1L << (CEILING - 787)) | (1L << (CENTROID - 787)) | (1L << (CHARACTER_LENGTH - 787)) | (1L << (CHARSET - 787)) | (1L << (CHAR_LENGTH - 787)) | (1L << (COERCIBILITY - 787)) | (1L << (COLLATION - 787)) | (1L << (COMPRESS - 787)) | (1L << (CONCAT - 787)) | (1L << (CONCAT_WS - 787)) | (1L << (CONNECTION_ID - 787)) | (1L << (CONV - 787)) | (1L << (CONVERT_TZ - 787)) | (1L << (COS - 787)) | (1L << (COT - 787)) | (1L << (CRC32 - 787)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 787)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 787)) | (1L << (CREATE_DH_PARAMETERS - 787)) | (1L << (CREATE_DIGEST - 787)) | (1L << (CROSSES - 787)) | (1L << (DATEDIFF - 787)) | (1L << (DATE_FORMAT - 787)) | (1L << (DAYNAME - 787)) | (1L << (DAYOFMONTH - 787)) | (1L << (DAYOFWEEK - 787)) | (1L << (DAYOFYEAR - 787)) | (1L << (DECODE - 787)) | (1L << (DEGREES - 787)) | (1L << (DES_DECRYPT - 787)) | (1L << (DES_ENCRYPT - 787)) | (1L << (DIMENSION - 787)) | (1L << (DISJOINT - 787)) | (1L << (ELT - 787)) | (1L << (ENCODE - 787)) | (1L << (ENCRYPT - 787)) | (1L << (ENDPOINT - 787)) | (1L << (ENGINE_ATTRIBUTE - 787)) | (1L << (ENVELOPE - 787)) | (1L << (EQUALS - 787)) | (1L << (EXP - 787)) | (1L << (EXPORT_SET - 787)) | (1L << (EXTERIORRING - 787)) | (1L << (EXTRACTVALUE - 787)) | (1L << (FIELD - 787)))) != 0) || ((((_la - 851)) & ~0x3f) == 0 && ((1L << (_la - 851)) & ((1L << (FIND_IN_SET - 851)) | (1L << (FLOOR - 851)) | (1L << (FORMAT - 851)) | (1L << (FOUND_ROWS - 851)) | (1L << (FROM_BASE64 - 851)) | (1L << (FROM_DAYS - 851)) | (1L << (FROM_UNIXTIME - 851)) | (1L << (GEOMCOLLFROMTEXT - 851)) | (1L << (GEOMCOLLFROMWKB - 851)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 851)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 851)) | (1L << (GEOMETRYFROMTEXT - 851)) | (1L << (GEOMETRYFROMWKB - 851)) | (1L << (GEOMETRYN - 851)) | (1L << (GEOMETRYTYPE - 851)) | (1L << (GEOMFROMTEXT - 851)) | (1L << (GEOMFROMWKB - 851)) | (1L << (GET_FORMAT - 851)) | (1L << (GET_LOCK - 851)) | (1L << (GLENGTH - 851)) | (1L << (GREATEST - 851)) | (1L << (GTID_SUBSET - 851)) | (1L << (GTID_SUBTRACT - 851)) | (1L << (HEX - 851)) | (1L << (IFNULL - 851)) | (1L << (INET6_ATON - 851)) | (1L << (INET6_NTOA - 851)) | (1L << (INET_ATON - 851)) | (1L << (INET_NTOA - 851)) | (1L << (INSTR - 851)) | (1L << (INTERIORRINGN - 851)) | (1L << (INTERSECTS - 851)) | (1L << (ISCLOSED - 851)) | (1L << (ISEMPTY - 851)) | (1L << (ISNULL - 851)) | (1L << (ISSIMPLE - 851)) | (1L << (IS_FREE_LOCK - 851)) | (1L << (IS_IPV4 - 851)) | (1L << (IS_IPV4_COMPAT - 851)) | (1L << (IS_IPV4_MAPPED - 851)) | (1L << (IS_IPV6 - 851)) | (1L << (IS_USED_LOCK - 851)) | (1L << (LAST_INSERT_ID - 851)) | (1L << (LCASE - 851)) | (1L << (LEAST - 851)) | (1L << (LENGTH - 851)) | (1L << (LINEFROMTEXT - 851)) | (1L << (LINEFROMWKB - 851)) | (1L << (LINESTRINGFROMTEXT - 851)) | (1L << (LINESTRINGFROMWKB - 851)) | (1L << (LN - 851)) | (1L << (LOAD_FILE - 851)) | (1L << (LOCATE - 851)) | (1L << (LOG - 851)) | (1L << (LOG10 - 851)) | (1L << (LOG2 - 851)) | (1L << (LOWER - 851)) | (1L << (LPAD - 851)) | (1L << (LTRIM - 851)) | (1L << (MAKEDATE - 851)) | (1L << (MAKETIME - 851)) | (1L << (MAKE_SET - 851)) | (1L << (MASTER_POS_WAIT - 851)) | (1L << (MBRCONTAINS - 851)))) != 0) || ((((_la - 915)) & ~0x3f) == 0 && ((1L << (_la - 915)) & ((1L << (MBRDISJOINT - 915)) | (1L << (MBREQUAL - 915)) | (1L << (MBRINTERSECTS - 915)) | (1L << (MBROVERLAPS - 915)) | (1L << (MBRTOUCHES - 915)) | (1L << (MBRWITHIN - 915)) | (1L << (MD5 - 915)) | (1L << (MLINEFROMTEXT - 915)) | (1L << (MLINEFROMWKB - 915)) | (1L << (MONTHNAME - 915)) | (1L << (MPOINTFROMTEXT - 915)) | (1L << (MPOINTFROMWKB - 915)) | (1L << (MPOLYFROMTEXT - 915)) | (1L << (MPOLYFROMWKB - 915)) | (1L << (MULTILINESTRINGFROMTEXT - 915)) | (1L << (MULTILINESTRINGFROMWKB - 915)) | (1L << (MULTIPOINTFROMTEXT - 915)) | (1L << (MULTIPOINTFROMWKB - 915)) | (1L << (MULTIPOLYGONFROMTEXT - 915)) | (1L << (MULTIPOLYGONFROMWKB - 915)) | (1L << (NAME_CONST - 915)) | (1L << (NULLIF - 915)) | (1L << (NUMGEOMETRIES - 915)) | (1L << (NUMINTERIORRINGS - 915)) | (1L << (NUMPOINTS - 915)) | (1L << (OCT - 915)) | (1L << (OCTET_LENGTH - 915)) | (1L << (ORD - 915)) | (1L << (OVERLAPS - 915)) | (1L << (PERIOD_ADD - 915)) | (1L << (PERIOD_DIFF - 915)) | (1L << (PI - 915)) | (1L << (POINTFROMTEXT - 915)) | (1L << (POINTFROMWKB - 915)) | (1L << (POINTN - 915)) | (1L << (POLYFROMTEXT - 915)) | (1L << (POLYFROMWKB - 915)) | (1L << (POLYGONFROMTEXT - 915)) | (1L << (POLYGONFROMWKB - 915)) | (1L << (POW - 915)) | (1L << (POWER - 915)) | (1L << (QUOTE - 915)) | (1L << (RADIANS - 915)) | (1L << (RAND - 915)) | (1L << (RANDOM_BYTES - 915)) | (1L << (RELEASE_LOCK - 915)) | (1L << (REVERSE - 915)) | (1L << (ROUND - 915)) | (1L << (ROW_COUNT - 915)) | (1L << (RPAD - 915)) | (1L << (RTRIM - 915)) | (1L << (SEC_TO_TIME - 915)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 915)) | (1L << (SESSION_USER - 915)) | (1L << (SHA - 915)) | (1L << (SHA1 - 915)) | (1L << (SHA2 - 915)) | (1L << (SCHEMA_NAME - 915)) | (1L << (SIGN - 915)) | (1L << (SIN - 915)) | (1L << (SLEEP - 915)) | (1L << (SOUNDEX - 915)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 915)) | (1L << (SQRT - 915)))) != 0) || ((((_la - 979)) & ~0x3f) == 0 && ((1L << (_la - 979)) & ((1L << (SRID - 979)) | (1L << (STARTPOINT - 979)) | (1L << (STRCMP - 979)) | (1L << (STR_TO_DATE - 979)) | (1L << (ST_AREA - 979)) | (1L << (ST_ASBINARY - 979)) | (1L << (ST_ASTEXT - 979)) | (1L << (ST_ASWKB - 979)) | (1L << (ST_ASWKT - 979)) | (1L << (ST_BUFFER - 979)) | (1L << (ST_CENTROID - 979)) | (1L << (ST_CONTAINS - 979)) | (1L << (ST_CROSSES - 979)) | (1L << (ST_DIFFERENCE - 979)) | (1L << (ST_DIMENSION - 979)) | (1L << (ST_DISJOINT - 979)) | (1L << (ST_DISTANCE - 979)) | (1L << (ST_ENDPOINT - 979)) | (1L << (ST_ENVELOPE - 979)) | (1L << (ST_EQUALS - 979)) | (1L << (ST_EXTERIORRING - 979)) | (1L << (ST_GEOMCOLLFROMTEXT - 979)) | (1L << (ST_GEOMCOLLFROMTXT - 979)) | (1L << (ST_GEOMCOLLFROMWKB - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 979)) | (1L << (ST_GEOMETRYFROMTEXT - 979)) | (1L << (ST_GEOMETRYFROMWKB - 979)) | (1L << (ST_GEOMETRYN - 979)) | (1L << (ST_GEOMETRYTYPE - 979)) | (1L << (ST_GEOMFROMTEXT - 979)) | (1L << (ST_GEOMFROMWKB - 979)) | (1L << (ST_INTERIORRINGN - 979)) | (1L << (ST_INTERSECTION - 979)) | (1L << (ST_INTERSECTS - 979)) | (1L << (ST_ISCLOSED - 979)) | (1L << (ST_ISEMPTY - 979)) | (1L << (ST_ISSIMPLE - 979)) | (1L << (ST_LINEFROMTEXT - 979)) | (1L << (ST_LINEFROMWKB - 979)) | (1L << (ST_LINESTRINGFROMTEXT - 979)) | (1L << (ST_LINESTRINGFROMWKB - 979)) | (1L << (ST_NUMGEOMETRIES - 979)) | (1L << (ST_NUMINTERIORRING - 979)) | (1L << (ST_NUMINTERIORRINGS - 979)) | (1L << (ST_NUMPOINTS - 979)) | (1L << (ST_OVERLAPS - 979)) | (1L << (ST_POINTFROMTEXT - 979)) | (1L << (ST_POINTFROMWKB - 979)) | (1L << (ST_POINTN - 979)) | (1L << (ST_POLYFROMTEXT - 979)) | (1L << (ST_POLYFROMWKB - 979)) | (1L << (ST_POLYGONFROMTEXT - 979)) | (1L << (ST_POLYGONFROMWKB - 979)) | (1L << (ST_SRID - 979)) | (1L << (ST_STARTPOINT - 979)) | (1L << (ST_SYMDIFFERENCE - 979)) | (1L << (ST_TOUCHES - 979)) | (1L << (ST_UNION - 979)) | (1L << (ST_WITHIN - 979)) | (1L << (ST_X - 979)) | (1L << (ST_Y - 979)) | (1L << (SUBDATE - 979)) | (1L << (SUBSTRING_INDEX - 979)))) != 0) || ((((_la - 1043)) & ~0x3f) == 0 && ((1L << (_la - 1043)) & ((1L << (SUBTIME - 1043)) | (1L << (SYSTEM_USER - 1043)) | (1L << (TAN - 1043)) | (1L << (TIMEDIFF - 1043)) | (1L << (TIMESTAMPADD - 1043)) | (1L << (TIMESTAMPDIFF - 1043)) | (1L << (TIME_FORMAT - 1043)) | (1L << (TIME_TO_SEC - 1043)) | (1L << (TOUCHES - 1043)) | (1L << (TO_BASE64 - 1043)) | (1L << (TO_DAYS - 1043)) | (1L << (TO_SECONDS - 1043)) | (1L << (UCASE - 1043)) | (1L << (UNCOMPRESS - 1043)) | (1L << (UNCOMPRESSED_LENGTH - 1043)) | (1L << (UNHEX - 1043)) | (1L << (UNIX_TIMESTAMP - 1043)) | (1L << (UPDATEXML - 1043)) | (1L << (UPPER - 1043)) | (1L << (UUID - 1043)) | (1L << (UUID_SHORT - 1043)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1043)) | (1L << (VERSION - 1043)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1043)) | (1L << (WEEKDAY - 1043)) | (1L << (WEEKOFYEAR - 1043)) | (1L << (WEIGHT_STRING - 1043)) | (1L << (WITHIN - 1043)) | (1L << (YEARWEEK - 1043)) | (1L << (Y_FUNCTION - 1043)) | (1L << (X_FUNCTION - 1043)) | (1L << (VIA - 1043)) | (1L << (LASTVAL - 1043)) | (1L << (NEXTVAL - 1043)) | (1L << (SETVAL - 1043)) | (1L << (PREVIOUS - 1043)) | (1L << (PERSISTENT - 1043)) | (1L << (BINLOG_MONITOR - 1043)) | (1L << (BINLOG_REPLAY - 1043)) | (1L << (FEDERATED_ADMIN - 1043)) | (1L << (READ_ONLY_ADMIN - 1043)) | (1L << (REPLICA - 1043)) | (1L << (REPLICATION_MASTER_ADMIN - 1043)) | (1L << (MOD - 1043)))) != 0) || ((((_la - 1123)) & ~0x3f) == 0 && ((1L << (_la - 1123)) & ((1L << (CHARSET_REVERSE_QOUTE_STRING - 1123)) | (1L << (STRING_LITERAL - 1123)) | (1L << (ID - 1123)) | (1L << (REVERSE_QUOTE_ID - 1123)) | (1L << (ENCRYPTED - 1123)) | (1L << (ENCRYPTION_KEY_ID - 1123)))) != 0)) {
{
setState(1010);
procedureParameter();
}
}
setState(1017);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1013);
match(COMMA);
setState(1014);
procedureParameter();
}
}
setState(1019);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1020);
match(RR_BRACKET);
setState(1024);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,52,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(1021);
routineOption();
}
}
}
setState(1026);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,52,_ctx);
}
setState(1027);
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(CqlParser.CREATE, 0); }
public TerminalNode FUNCTION() { return getToken(CqlParser.FUNCTION, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(CqlParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(CqlParser.RR_BRACKET, 0); }
public TerminalNode RETURNS() { return getToken(CqlParser.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 OwnerStatementContext ownerStatement() {
return getRuleContext(OwnerStatementContext.class,0);
}
public List functionParameter() {
return getRuleContexts(FunctionParameterContext.class);
}
public FunctionParameterContext functionParameter(int i) {
return getRuleContext(FunctionParameterContext.class,i);
}
public List COMMA() { return getTokens(CqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCreateFunction(this);
else return visitor.visitChildren(this);
}
}
public final CreateFunctionContext createFunction() throws RecognitionException {
CreateFunctionContext _localctx = new CreateFunctionContext(_ctx, getState());
enterRule(_localctx, 34, RULE_createFunction);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(1029);
match(CREATE);
setState(1031);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(1030);
ownerStatement();
}
}
setState(1033);
match(FUNCTION);
setState(1034);
fullId();
setState(1035);
match(LR_BRACKET);
setState(1037);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 34)) & ~0x3f) == 0 && ((1L << (_la - 34)) & ((1L << (CURRENT - 34)) | (1L << (DATABASE - 34)) | (1L << (DIAGNOSTICS - 34)) | (1L << (EXCEPT - 34)) | (1L << (GROUP - 34)) | (1L << (IGNORED - 34)) | (1L << (LEFT - 34)))) != 0) || ((((_la - 114)) & ~0x3f) == 0 && ((1L << (_la - 114)) & ((1L << (NUMBER - 114)) | (1L << (OPTIONAL - 114)) | (1L << (ORDER - 114)) | (1L << (RIGHT - 114)) | (1L << (SCHEMA - 114)) | (1L << (STACKED - 114)))) != 0) || ((((_la - 211)) & ~0x3f) == 0 && ((1L << (_la - 211)) & ((1L << (DATE - 211)) | (1L << (TIME - 211)) | (1L << (TIMESTAMP - 211)) | (1L << (DATETIME - 211)) | (1L << (YEAR - 211)) | (1L << (BINARY - 211)) | (1L << (TEXT - 211)) | (1L << (ENUM - 211)) | (1L << (SERIAL - 211)) | (1L << (JSON_ARRAY - 211)) | (1L << (JSON_OBJECT - 211)) | (1L << (JSON_QUOTE - 211)) | (1L << (JSON_CONTAINS - 211)) | (1L << (JSON_CONTAINS_PATH - 211)) | (1L << (JSON_EXTRACT - 211)) | (1L << (JSON_KEYS - 211)) | (1L << (JSON_OVERLAPS - 211)) | (1L << (JSON_SEARCH - 211)) | (1L << (JSON_VALUE - 211)) | (1L << (JSON_ARRAY_APPEND - 211)) | (1L << (JSON_ARRAY_INSERT - 211)) | (1L << (JSON_INSERT - 211)) | (1L << (JSON_MERGE - 211)) | (1L << (JSON_MERGE_PATCH - 211)) | (1L << (JSON_MERGE_PRESERVE - 211)) | (1L << (JSON_REMOVE - 211)) | (1L << (JSON_REPLACE - 211)) | (1L << (JSON_SET - 211)) | (1L << (JSON_UNQUOTE - 211)) | (1L << (JSON_DEPTH - 211)) | (1L << (JSON_LENGTH - 211)) | (1L << (JSON_TYPE - 211)) | (1L << (JSON_VALID - 211)) | (1L << (JSON_TABLE - 211)) | (1L << (JSON_SCHEMA_VALID - 211)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 211)) | (1L << (JSON_PRETTY - 211)) | (1L << (JSON_STORAGE_FREE - 211)) | (1L << (JSON_STORAGE_SIZE - 211)))) != 0) || ((((_la - 275)) & ~0x3f) == 0 && ((1L << (_la - 275)) & ((1L << (JSON_ARRAYAGG - 275)) | (1L << (JSON_OBJECTAGG - 275)) | (1L << (AVG - 275)) | (1L << (BIT_AND - 275)) | (1L << (BIT_OR - 275)) | (1L << (BIT_XOR - 275)) | (1L << (COUNT - 275)) | (1L << (CUME_DIST - 275)) | (1L << (DENSE_RANK - 275)) | (1L << (FIRST_VALUE - 275)) | (1L << (GROUP_CONCAT - 275)) | (1L << (LAG - 275)) | (1L << (LAST_VALUE - 275)) | (1L << (LEAD - 275)) | (1L << (MAX - 275)) | (1L << (MIN - 275)) | (1L << (NTILE - 275)) | (1L << (NTH_VALUE - 275)) | (1L << (PERCENT_RANK - 275)) | (1L << (RANK - 275)) | (1L << (ROW_NUMBER - 275)) | (1L << (STD - 275)) | (1L << (STDDEV - 275)) | (1L << (STDDEV_POP - 275)) | (1L << (STDDEV_SAMP - 275)) | (1L << (SUM - 275)) | (1L << (VAR_POP - 275)) | (1L << (VAR_SAMP - 275)) | (1L << (VARIANCE - 275)) | (1L << (POSITION - 275)) | (1L << (ACCOUNT - 275)) | (1L << (ACTION - 275)) | (1L << (AFTER - 275)) | (1L << (AGGREGATE - 275)) | (1L << (ALGORITHM - 275)) | (1L << (ANY - 275)) | (1L << (AT - 275)) | (1L << (AUTHORS - 275)) | (1L << (AUTOCOMMIT - 275)) | (1L << (AUTOEXTEND_SIZE - 275)) | (1L << (AUTO_INCREMENT - 275)) | (1L << (AVG_ROW_LENGTH - 275)) | (1L << (BEGIN - 275)) | (1L << (BINLOG - 275)) | (1L << (BIT - 275)) | (1L << (BLOCK - 275)))) != 0) || ((((_la - 339)) & ~0x3f) == 0 && ((1L << (_la - 339)) & ((1L << (BOOL - 339)) | (1L << (BOOLEAN - 339)) | (1L << (BTREE - 339)) | (1L << (CACHE - 339)) | (1L << (CASCADED - 339)) | (1L << (CHAIN - 339)) | (1L << (CHANGED - 339)) | (1L << (CHANNEL - 339)) | (1L << (CHECKSUM - 339)) | (1L << (PAGE_CHECKSUM - 339)) | (1L << (CIPHER - 339)) | (1L << (CLASS_ORIGIN - 339)) | (1L << (CLIENT - 339)) | (1L << (CLOSE - 339)) | (1L << (CLUSTERING - 339)) | (1L << (COALESCE - 339)) | (1L << (CODE - 339)) | (1L << (COLUMNS - 339)) | (1L << (COLUMN_FORMAT - 339)) | (1L << (COLUMN_NAME - 339)) | (1L << (COMMENT - 339)) | (1L << (COMMIT - 339)) | (1L << (COMPACT - 339)) | (1L << (COMPLETION - 339)) | (1L << (COMPRESSED - 339)) | (1L << (COMPRESSION - 339)) | (1L << (CONCURRENT - 339)) | (1L << (CONNECT - 339)) | (1L << (CONNECTION - 339)) | (1L << (CONSISTENT - 339)) | (1L << (CONSTRAINT_CATALOG - 339)) | (1L << (CONSTRAINT_SCHEMA - 339)) | (1L << (CONSTRAINT_NAME - 339)) | (1L << (CONTAINS - 339)) | (1L << (CONTEXT - 339)) | (1L << (CONTRIBUTORS - 339)) | (1L << (COPY - 339)) | (1L << (CPU - 339)) | (1L << (CURSOR_NAME - 339)) | (1L << (DATA - 339)) | (1L << (DATAFILE - 339)) | (1L << (DEALLOCATE - 339)) | (1L << (DEFAULT_AUTH - 339)) | (1L << (DEFINER - 339)) | (1L << (DELAY_KEY_WRITE - 339)) | (1L << (DES_KEY_FILE - 339)) | (1L << (DIRECTORY - 339)) | (1L << (DISABLE - 339)) | (1L << (DISCARD - 339)) | (1L << (DISK - 339)) | (1L << (DO - 339)) | (1L << (DUMPFILE - 339)) | (1L << (DUPLICATE - 339)) | (1L << (DYNAMIC - 339)) | (1L << (ENABLE - 339)) | (1L << (ENCRYPTION - 339)) | (1L << (END - 339)) | (1L << (ENDS - 339)) | (1L << (ENGINE - 339)) | (1L << (ENGINES - 339)) | (1L << (ERROR - 339)) | (1L << (ERRORS - 339)) | (1L << (ESCAPE - 339)) | (1L << (EVEN - 339)))) != 0) || ((((_la - 403)) & ~0x3f) == 0 && ((1L << (_la - 403)) & ((1L << (EVENT - 403)) | (1L << (EVENTS - 403)) | (1L << (EVERY - 403)) | (1L << (EXCHANGE - 403)) | (1L << (EXCLUSIVE - 403)) | (1L << (EXPIRE - 403)) | (1L << (EXPORT - 403)) | (1L << (EXTENDED - 403)) | (1L << (EXTENT_SIZE - 403)) | (1L << (FAST - 403)) | (1L << (FAULTS - 403)) | (1L << (FIELDS - 403)) | (1L << (FILE_BLOCK_SIZE - 403)) | (1L << (FILTER - 403)) | (1L << (FIRST - 403)) | (1L << (FIXED - 403)) | (1L << (FLUSH - 403)) | (1L << (FOLLOWS - 403)) | (1L << (FOUND - 403)) | (1L << (FULL - 403)) | (1L << (FUNCTION - 403)) | (1L << (GENERAL - 403)) | (1L << (GLOBAL - 403)) | (1L << (GRANTS - 403)) | (1L << (GROUP_REPLICATION - 403)) | (1L << (HANDLER - 403)) | (1L << (HASH - 403)) | (1L << (HELP - 403)) | (1L << (HOST - 403)) | (1L << (HOSTS - 403)) | (1L << (IDENTIFIED - 403)) | (1L << (IGNORE_SERVER_IDS - 403)) | (1L << (IMPORT - 403)) | (1L << (INDEXES - 403)) | (1L << (INITIAL_SIZE - 403)) | (1L << (INPLACE - 403)) | (1L << (INSERT_METHOD - 403)) | (1L << (INSTALL - 403)) | (1L << (INSTANCE - 403)) | (1L << (INSTANT - 403)) | (1L << (INVISIBLE - 403)) | (1L << (INVOKER - 403)) | (1L << (IO - 403)) | (1L << (IO_THREAD - 403)) | (1L << (IPC - 403)) | (1L << (ISOLATION - 403)) | (1L << (ISSUER - 403)) | (1L << (JSON - 403)) | (1L << (KEY_BLOCK_SIZE - 403)) | (1L << (LANGUAGE - 403)) | (1L << (LAST - 403)) | (1L << (LEAVES - 403)) | (1L << (LESS - 403)) | (1L << (LEVEL - 403)) | (1L << (LIST - 403)) | (1L << (LOCAL - 403)) | (1L << (LOGFILE - 403)) | (1L << (LOGS - 403)) | (1L << (MASTER - 403)) | (1L << (MASTER_AUTO_POSITION - 403)) | (1L << (MASTER_CONNECT_RETRY - 403)) | (1L << (MASTER_DELAY - 403)) | (1L << (MASTER_HEARTBEAT_PERIOD - 403)))) != 0) || ((((_la - 467)) & ~0x3f) == 0 && ((1L << (_la - 467)) & ((1L << (MASTER_HOST - 467)) | (1L << (MASTER_LOG_FILE - 467)) | (1L << (MASTER_LOG_POS - 467)) | (1L << (MASTER_PASSWORD - 467)) | (1L << (MASTER_PORT - 467)) | (1L << (MASTER_RETRY_COUNT - 467)) | (1L << (MASTER_SSL - 467)) | (1L << (MASTER_SSL_CA - 467)) | (1L << (MASTER_SSL_CAPATH - 467)) | (1L << (MASTER_SSL_CERT - 467)) | (1L << (MASTER_SSL_CIPHER - 467)) | (1L << (MASTER_SSL_CRL - 467)) | (1L << (MASTER_SSL_CRLPATH - 467)) | (1L << (MASTER_SSL_KEY - 467)) | (1L << (MASTER_TLS_VERSION - 467)) | (1L << (MASTER_USER - 467)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 467)) | (1L << (MAX_QUERIES_PER_HOUR - 467)) | (1L << (MAX_ROWS - 467)) | (1L << (MAX_SIZE - 467)) | (1L << (MAX_UPDATES_PER_HOUR - 467)) | (1L << (MAX_USER_CONNECTIONS - 467)) | (1L << (MEDIUM - 467)) | (1L << (MEMBER - 467)) | (1L << (MERGE - 467)) | (1L << (MESSAGE_TEXT - 467)) | (1L << (MID - 467)) | (1L << (MIGRATE - 467)) | (1L << (MIN_ROWS - 467)) | (1L << (MODE - 467)) | (1L << (MODIFY - 467)) | (1L << (MUTEX - 467)) | (1L << (MYSQL - 467)) | (1L << (MYSQL_ERRNO - 467)) | (1L << (NAME - 467)) | (1L << (NAMES - 467)) | (1L << (NCHAR - 467)) | (1L << (NEVER - 467)) | (1L << (NEXT - 467)) | (1L << (NO - 467)) | (1L << (NOCOPY - 467)) | (1L << (NOWAIT - 467)) | (1L << (NODEGROUP - 467)) | (1L << (NONE - 467)) | (1L << (ODBC - 467)) | (1L << (OFFLINE - 467)) | (1L << (OFFSET - 467)) | (1L << (OF - 467)) | (1L << (OJ - 467)) | (1L << (OLD_PASSWORD - 467)) | (1L << (ONE - 467)) | (1L << (ONLINE - 467)) | (1L << (ONLY - 467)) | (1L << (OPEN - 467)) | (1L << (OPTIMIZER_COSTS - 467)) | (1L << (OPTIONS - 467)) | (1L << (OWNER - 467)) | (1L << (PACK_KEYS - 467)) | (1L << (PAGE - 467)) | (1L << (PARSER - 467)) | (1L << (PARTIAL - 467)) | (1L << (PARTITIONING - 467)) | (1L << (PARTITIONS - 467)) | (1L << (PASSWORD - 467)))) != 0) || ((((_la - 531)) & ~0x3f) == 0 && ((1L << (_la - 531)) & ((1L << (PHASE - 531)) | (1L << (PLUGIN - 531)) | (1L << (PLUGIN_DIR - 531)) | (1L << (PLUGINS - 531)) | (1L << (PORT - 531)) | (1L << (PRECEDES - 531)) | (1L << (PREPARE - 531)) | (1L << (PRESERVE - 531)) | (1L << (PREV - 531)) | (1L << (PROCESSLIST - 531)) | (1L << (PROFILE - 531)) | (1L << (PROFILES - 531)) | (1L << (PROXY - 531)) | (1L << (QUERY - 531)) | (1L << (QUICK - 531)) | (1L << (REBUILD - 531)) | (1L << (RECOVER - 531)) | (1L << (RECURSIVE - 531)) | (1L << (REDO_BUFFER_SIZE - 531)) | (1L << (REDUNDANT - 531)) | (1L << (RELAY - 531)) | (1L << (RELAY_LOG_FILE - 531)) | (1L << (RELAY_LOG_POS - 531)) | (1L << (RELAYLOG - 531)) | (1L << (REMOVE - 531)) | (1L << (REORGANIZE - 531)) | (1L << (REPAIR - 531)) | (1L << (REPLICATE_DO_DB - 531)) | (1L << (REPLICATE_DO_TABLE - 531)) | (1L << (REPLICATE_IGNORE_DB - 531)) | (1L << (REPLICATE_IGNORE_TABLE - 531)) | (1L << (REPLICATE_REWRITE_DB - 531)) | (1L << (REPLICATE_WILD_DO_TABLE - 531)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 531)) | (1L << (REPLICATION - 531)) | (1L << (RESET - 531)) | (1L << (RESUME - 531)) | (1L << (RETURNED_SQLSTATE - 531)) | (1L << (RETURNS - 531)) | (1L << (ROLE - 531)) | (1L << (ROLLBACK - 531)) | (1L << (ROLLUP - 531)) | (1L << (ROTATE - 531)) | (1L << (ROW - 531)) | (1L << (ROWS - 531)) | (1L << (ROW_FORMAT - 531)) | (1L << (RTREE - 531)) | (1L << (SAVEPOINT - 531)) | (1L << (SCHEDULE - 531)) | (1L << (SECURITY - 531)) | (1L << (SERVER - 531)) | (1L << (SESSION - 531)) | (1L << (SHARE - 531)) | (1L << (SHARED - 531)) | (1L << (SIGNED - 531)) | (1L << (SIMPLE - 531)) | (1L << (SLAVE - 531)) | (1L << (SLOW - 531)) | (1L << (SNAPSHOT - 531)) | (1L << (SOCKET - 531)) | (1L << (SOME - 531)) | (1L << (SONAME - 531)))) != 0) || ((((_la - 595)) & ~0x3f) == 0 && ((1L << (_la - 595)) & ((1L << (SOUNDS - 595)) | (1L << (SOURCE - 595)) | (1L << (SQL_AFTER_GTIDS - 595)) | (1L << (SQL_AFTER_MTS_GAPS - 595)) | (1L << (SQL_BEFORE_GTIDS - 595)) | (1L << (SQL_BUFFER_RESULT - 595)) | (1L << (SQL_CACHE - 595)) | (1L << (SQL_NO_CACHE - 595)) | (1L << (SQL_THREAD - 595)) | (1L << (START - 595)) | (1L << (STARTS - 595)) | (1L << (STATS_AUTO_RECALC - 595)) | (1L << (STATS_PERSISTENT - 595)) | (1L << (STATS_SAMPLE_PAGES - 595)) | (1L << (STATUS - 595)) | (1L << (STOP - 595)) | (1L << (STORAGE - 595)) | (1L << (STRING - 595)) | (1L << (SUBCLASS_ORIGIN - 595)) | (1L << (SUBJECT - 595)) | (1L << (SUBPARTITION - 595)) | (1L << (SUBPARTITIONS - 595)) | (1L << (SUSPEND - 595)) | (1L << (SWAPS - 595)) | (1L << (SWITCHES - 595)) | (1L << (TABLE_NAME - 595)) | (1L << (TABLESPACE - 595)) | (1L << (TEMPORARY - 595)) | (1L << (TEMPTABLE - 595)) | (1L << (THAN - 595)) | (1L << (TRADITIONAL - 595)) | (1L << (TRANSACTION - 595)) | (1L << (TRANSACTIONAL - 595)) | (1L << (TRIGGERS - 595)) | (1L << (TRUNCATE - 595)) | (1L << (UNDEFINED - 595)) | (1L << (UNDOFILE - 595)) | (1L << (UNDO_BUFFER_SIZE - 595)) | (1L << (UNINSTALL - 595)) | (1L << (UNKNOWN - 595)) | (1L << (UNTIL - 595)) | (1L << (UPGRADE - 595)) | (1L << (USER - 595)) | (1L << (USE_FRM - 595)) | (1L << (USER_RESOURCES - 595)) | (1L << (VALIDATION - 595)) | (1L << (VALUE - 595)) | (1L << (VARIABLES - 595)) | (1L << (VIEW - 595)) | (1L << (VISIBLE - 595)) | (1L << (WAIT - 595)) | (1L << (WARNINGS - 595)) | (1L << (WITHOUT - 595)) | (1L << (WORK - 595)) | (1L << (WRAPPER - 595)) | (1L << (X509 - 595)) | (1L << (XA - 595)) | (1L << (XML - 595)))) != 0) || ((((_la - 659)) & ~0x3f) == 0 && ((1L << (_la - 659)) & ((1L << (EUR - 659)) | (1L << (USA - 659)) | (1L << (JIS - 659)) | (1L << (ISO - 659)) | (1L << (INTERNAL - 659)) | (1L << (QUARTER - 659)) | (1L << (MONTH - 659)) | (1L << (DAY - 659)) | (1L << (HOUR - 659)) | (1L << (MINUTE - 659)) | (1L << (WEEK - 659)) | (1L << (SECOND - 659)) | (1L << (MICROSECOND - 659)) | (1L << (TABLES - 659)) | (1L << (ROUTINE - 659)) | (1L << (EXECUTE - 659)) | (1L << (FILE - 659)) | (1L << (PROCESS - 659)) | (1L << (RELOAD - 659)) | (1L << (SHUTDOWN - 659)) | (1L << (SUPER - 659)) | (1L << (PRIVILEGES - 659)) | (1L << (AUDIT_ADMIN - 659)) | (1L << (BACKUP_ADMIN - 659)) | (1L << (BINLOG_ADMIN - 659)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 659)) | (1L << (CLONE_ADMIN - 659)) | (1L << (CONNECTION_ADMIN - 659)) | (1L << (ENCRYPTION_KEY_ADMIN - 659)) | (1L << (FIREWALL_ADMIN - 659)) | (1L << (FIREWALL_USER - 659)) | (1L << (ADMIN - 659)) | (1L << (GROUP_REPLICATION_ADMIN - 659)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 659)) | (1L << (NDB_STORED_USER - 659)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 659)) | (1L << (REPLICATION_APPLIER - 659)) | (1L << (REPLICATION_SLAVE_ADMIN - 659)) | (1L << (RESOURCE_GROUP_ADMIN - 659)) | (1L << (RESOURCE_GROUP_USER - 659)) | (1L << (ROLE_ADMIN - 659)) | (1L << (SESSION_VARIABLES_ADMIN - 659)) | (1L << (SET_USER_ID - 659)) | (1L << (SHOW_ROUTINE - 659)) | (1L << (SYSTEM_VARIABLES_ADMIN - 659)) | (1L << (TABLE_ENCRYPTION_ADMIN - 659)) | (1L << (VERSION_TOKEN_ADMIN - 659)) | (1L << (XA_RECOVER_ADMIN - 659)) | (1L << (ARMSCII8 - 659)) | (1L << (ASCII - 659)) | (1L << (BIG5 - 659)) | (1L << (CP1250 - 659)) | (1L << (CP1251 - 659)) | (1L << (CP1256 - 659)) | (1L << (CP1257 - 659)) | (1L << (CP850 - 659)) | (1L << (CP852 - 659)))) != 0) || ((((_la - 723)) & ~0x3f) == 0 && ((1L << (_la - 723)) & ((1L << (CP866 - 723)) | (1L << (CP932 - 723)) | (1L << (DEC8 - 723)) | (1L << (EUCJPMS - 723)) | (1L << (EUCKR - 723)) | (1L << (GB18030 - 723)) | (1L << (GB2312 - 723)) | (1L << (GBK - 723)) | (1L << (GEOSTD8 - 723)) | (1L << (GREEK - 723)) | (1L << (HEBREW - 723)) | (1L << (HP8 - 723)) | (1L << (KEYBCS2 - 723)) | (1L << (KOI8R - 723)) | (1L << (KOI8U - 723)) | (1L << (LATIN1 - 723)) | (1L << (LATIN2 - 723)) | (1L << (LATIN5 - 723)) | (1L << (LATIN7 - 723)) | (1L << (MACCE - 723)) | (1L << (MACROMAN - 723)) | (1L << (SJIS - 723)) | (1L << (SWE7 - 723)) | (1L << (TIS620 - 723)) | (1L << (UCS2 - 723)) | (1L << (UJIS - 723)) | (1L << (UTF16 - 723)) | (1L << (UTF16LE - 723)) | (1L << (UTF32 - 723)) | (1L << (UTF8 - 723)) | (1L << (UTF8MB3 - 723)) | (1L << (UTF8MB4 - 723)) | (1L << (ARCHIVE - 723)) | (1L << (BLACKHOLE - 723)) | (1L << (CSV - 723)) | (1L << (FEDERATED - 723)) | (1L << (INNODB - 723)) | (1L << (MEMORY - 723)) | (1L << (MRG_MYISAM - 723)) | (1L << (MYISAM - 723)) | (1L << (NDB - 723)) | (1L << (NDBCLUSTER - 723)) | (1L << (PERFORMANCE_SCHEMA - 723)) | (1L << (TOKUDB - 723)) | (1L << (REPEATABLE - 723)) | (1L << (COMMITTED - 723)) | (1L << (UNCOMMITTED - 723)) | (1L << (SERIALIZABLE - 723)) | (1L << (GEOMETRYCOLLECTION - 723)) | (1L << (LINESTRING - 723)) | (1L << (MULTILINESTRING - 723)) | (1L << (MULTIPOINT - 723)) | (1L << (MULTIPOLYGON - 723)) | (1L << (POINT - 723)) | (1L << (POLYGON - 723)) | (1L << (ABS - 723)) | (1L << (ACOS - 723)) | (1L << (ADDDATE - 723)) | (1L << (ADDTIME - 723)) | (1L << (AES_DECRYPT - 723)) | (1L << (AES_ENCRYPT - 723)) | (1L << (AREA - 723)))) != 0) || ((((_la - 787)) & ~0x3f) == 0 && ((1L << (_la - 787)) & ((1L << (ASBINARY - 787)) | (1L << (ASIN - 787)) | (1L << (ASTEXT - 787)) | (1L << (ASWKB - 787)) | (1L << (ASWKT - 787)) | (1L << (ASYMMETRIC_DECRYPT - 787)) | (1L << (ASYMMETRIC_DERIVE - 787)) | (1L << (ASYMMETRIC_ENCRYPT - 787)) | (1L << (ASYMMETRIC_SIGN - 787)) | (1L << (ASYMMETRIC_VERIFY - 787)) | (1L << (ATAN - 787)) | (1L << (ATAN2 - 787)) | (1L << (BENCHMARK - 787)) | (1L << (BIN - 787)) | (1L << (BIT_COUNT - 787)) | (1L << (BIT_LENGTH - 787)) | (1L << (BUFFER - 787)) | (1L << (CATALOG_NAME - 787)) | (1L << (CEIL - 787)) | (1L << (CEILING - 787)) | (1L << (CENTROID - 787)) | (1L << (CHARACTER_LENGTH - 787)) | (1L << (CHARSET - 787)) | (1L << (CHAR_LENGTH - 787)) | (1L << (COERCIBILITY - 787)) | (1L << (COLLATION - 787)) | (1L << (COMPRESS - 787)) | (1L << (CONCAT - 787)) | (1L << (CONCAT_WS - 787)) | (1L << (CONNECTION_ID - 787)) | (1L << (CONV - 787)) | (1L << (CONVERT_TZ - 787)) | (1L << (COS - 787)) | (1L << (COT - 787)) | (1L << (CRC32 - 787)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 787)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 787)) | (1L << (CREATE_DH_PARAMETERS - 787)) | (1L << (CREATE_DIGEST - 787)) | (1L << (CROSSES - 787)) | (1L << (DATEDIFF - 787)) | (1L << (DATE_FORMAT - 787)) | (1L << (DAYNAME - 787)) | (1L << (DAYOFMONTH - 787)) | (1L << (DAYOFWEEK - 787)) | (1L << (DAYOFYEAR - 787)) | (1L << (DECODE - 787)) | (1L << (DEGREES - 787)) | (1L << (DES_DECRYPT - 787)) | (1L << (DES_ENCRYPT - 787)) | (1L << (DIMENSION - 787)) | (1L << (DISJOINT - 787)) | (1L << (ELT - 787)) | (1L << (ENCODE - 787)) | (1L << (ENCRYPT - 787)) | (1L << (ENDPOINT - 787)) | (1L << (ENGINE_ATTRIBUTE - 787)) | (1L << (ENVELOPE - 787)) | (1L << (EQUALS - 787)) | (1L << (EXP - 787)) | (1L << (EXPORT_SET - 787)) | (1L << (EXTERIORRING - 787)) | (1L << (EXTRACTVALUE - 787)) | (1L << (FIELD - 787)))) != 0) || ((((_la - 851)) & ~0x3f) == 0 && ((1L << (_la - 851)) & ((1L << (FIND_IN_SET - 851)) | (1L << (FLOOR - 851)) | (1L << (FORMAT - 851)) | (1L << (FOUND_ROWS - 851)) | (1L << (FROM_BASE64 - 851)) | (1L << (FROM_DAYS - 851)) | (1L << (FROM_UNIXTIME - 851)) | (1L << (GEOMCOLLFROMTEXT - 851)) | (1L << (GEOMCOLLFROMWKB - 851)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 851)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 851)) | (1L << (GEOMETRYFROMTEXT - 851)) | (1L << (GEOMETRYFROMWKB - 851)) | (1L << (GEOMETRYN - 851)) | (1L << (GEOMETRYTYPE - 851)) | (1L << (GEOMFROMTEXT - 851)) | (1L << (GEOMFROMWKB - 851)) | (1L << (GET_FORMAT - 851)) | (1L << (GET_LOCK - 851)) | (1L << (GLENGTH - 851)) | (1L << (GREATEST - 851)) | (1L << (GTID_SUBSET - 851)) | (1L << (GTID_SUBTRACT - 851)) | (1L << (HEX - 851)) | (1L << (IFNULL - 851)) | (1L << (INET6_ATON - 851)) | (1L << (INET6_NTOA - 851)) | (1L << (INET_ATON - 851)) | (1L << (INET_NTOA - 851)) | (1L << (INSTR - 851)) | (1L << (INTERIORRINGN - 851)) | (1L << (INTERSECTS - 851)) | (1L << (ISCLOSED - 851)) | (1L << (ISEMPTY - 851)) | (1L << (ISNULL - 851)) | (1L << (ISSIMPLE - 851)) | (1L << (IS_FREE_LOCK - 851)) | (1L << (IS_IPV4 - 851)) | (1L << (IS_IPV4_COMPAT - 851)) | (1L << (IS_IPV4_MAPPED - 851)) | (1L << (IS_IPV6 - 851)) | (1L << (IS_USED_LOCK - 851)) | (1L << (LAST_INSERT_ID - 851)) | (1L << (LCASE - 851)) | (1L << (LEAST - 851)) | (1L << (LENGTH - 851)) | (1L << (LINEFROMTEXT - 851)) | (1L << (LINEFROMWKB - 851)) | (1L << (LINESTRINGFROMTEXT - 851)) | (1L << (LINESTRINGFROMWKB - 851)) | (1L << (LN - 851)) | (1L << (LOAD_FILE - 851)) | (1L << (LOCATE - 851)) | (1L << (LOG - 851)) | (1L << (LOG10 - 851)) | (1L << (LOG2 - 851)) | (1L << (LOWER - 851)) | (1L << (LPAD - 851)) | (1L << (LTRIM - 851)) | (1L << (MAKEDATE - 851)) | (1L << (MAKETIME - 851)) | (1L << (MAKE_SET - 851)) | (1L << (MASTER_POS_WAIT - 851)) | (1L << (MBRCONTAINS - 851)))) != 0) || ((((_la - 915)) & ~0x3f) == 0 && ((1L << (_la - 915)) & ((1L << (MBRDISJOINT - 915)) | (1L << (MBREQUAL - 915)) | (1L << (MBRINTERSECTS - 915)) | (1L << (MBROVERLAPS - 915)) | (1L << (MBRTOUCHES - 915)) | (1L << (MBRWITHIN - 915)) | (1L << (MD5 - 915)) | (1L << (MLINEFROMTEXT - 915)) | (1L << (MLINEFROMWKB - 915)) | (1L << (MONTHNAME - 915)) | (1L << (MPOINTFROMTEXT - 915)) | (1L << (MPOINTFROMWKB - 915)) | (1L << (MPOLYFROMTEXT - 915)) | (1L << (MPOLYFROMWKB - 915)) | (1L << (MULTILINESTRINGFROMTEXT - 915)) | (1L << (MULTILINESTRINGFROMWKB - 915)) | (1L << (MULTIPOINTFROMTEXT - 915)) | (1L << (MULTIPOINTFROMWKB - 915)) | (1L << (MULTIPOLYGONFROMTEXT - 915)) | (1L << (MULTIPOLYGONFROMWKB - 915)) | (1L << (NAME_CONST - 915)) | (1L << (NULLIF - 915)) | (1L << (NUMGEOMETRIES - 915)) | (1L << (NUMINTERIORRINGS - 915)) | (1L << (NUMPOINTS - 915)) | (1L << (OCT - 915)) | (1L << (OCTET_LENGTH - 915)) | (1L << (ORD - 915)) | (1L << (OVERLAPS - 915)) | (1L << (PERIOD_ADD - 915)) | (1L << (PERIOD_DIFF - 915)) | (1L << (PI - 915)) | (1L << (POINTFROMTEXT - 915)) | (1L << (POINTFROMWKB - 915)) | (1L << (POINTN - 915)) | (1L << (POLYFROMTEXT - 915)) | (1L << (POLYFROMWKB - 915)) | (1L << (POLYGONFROMTEXT - 915)) | (1L << (POLYGONFROMWKB - 915)) | (1L << (POW - 915)) | (1L << (POWER - 915)) | (1L << (QUOTE - 915)) | (1L << (RADIANS - 915)) | (1L << (RAND - 915)) | (1L << (RANDOM_BYTES - 915)) | (1L << (RELEASE_LOCK - 915)) | (1L << (REVERSE - 915)) | (1L << (ROUND - 915)) | (1L << (ROW_COUNT - 915)) | (1L << (RPAD - 915)) | (1L << (RTRIM - 915)) | (1L << (SEC_TO_TIME - 915)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 915)) | (1L << (SESSION_USER - 915)) | (1L << (SHA - 915)) | (1L << (SHA1 - 915)) | (1L << (SHA2 - 915)) | (1L << (SCHEMA_NAME - 915)) | (1L << (SIGN - 915)) | (1L << (SIN - 915)) | (1L << (SLEEP - 915)) | (1L << (SOUNDEX - 915)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 915)) | (1L << (SQRT - 915)))) != 0) || ((((_la - 979)) & ~0x3f) == 0 && ((1L << (_la - 979)) & ((1L << (SRID - 979)) | (1L << (STARTPOINT - 979)) | (1L << (STRCMP - 979)) | (1L << (STR_TO_DATE - 979)) | (1L << (ST_AREA - 979)) | (1L << (ST_ASBINARY - 979)) | (1L << (ST_ASTEXT - 979)) | (1L << (ST_ASWKB - 979)) | (1L << (ST_ASWKT - 979)) | (1L << (ST_BUFFER - 979)) | (1L << (ST_CENTROID - 979)) | (1L << (ST_CONTAINS - 979)) | (1L << (ST_CROSSES - 979)) | (1L << (ST_DIFFERENCE - 979)) | (1L << (ST_DIMENSION - 979)) | (1L << (ST_DISJOINT - 979)) | (1L << (ST_DISTANCE - 979)) | (1L << (ST_ENDPOINT - 979)) | (1L << (ST_ENVELOPE - 979)) | (1L << (ST_EQUALS - 979)) | (1L << (ST_EXTERIORRING - 979)) | (1L << (ST_GEOMCOLLFROMTEXT - 979)) | (1L << (ST_GEOMCOLLFROMTXT - 979)) | (1L << (ST_GEOMCOLLFROMWKB - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 979)) | (1L << (ST_GEOMETRYFROMTEXT - 979)) | (1L << (ST_GEOMETRYFROMWKB - 979)) | (1L << (ST_GEOMETRYN - 979)) | (1L << (ST_GEOMETRYTYPE - 979)) | (1L << (ST_GEOMFROMTEXT - 979)) | (1L << (ST_GEOMFROMWKB - 979)) | (1L << (ST_INTERIORRINGN - 979)) | (1L << (ST_INTERSECTION - 979)) | (1L << (ST_INTERSECTS - 979)) | (1L << (ST_ISCLOSED - 979)) | (1L << (ST_ISEMPTY - 979)) | (1L << (ST_ISSIMPLE - 979)) | (1L << (ST_LINEFROMTEXT - 979)) | (1L << (ST_LINEFROMWKB - 979)) | (1L << (ST_LINESTRINGFROMTEXT - 979)) | (1L << (ST_LINESTRINGFROMWKB - 979)) | (1L << (ST_NUMGEOMETRIES - 979)) | (1L << (ST_NUMINTERIORRING - 979)) | (1L << (ST_NUMINTERIORRINGS - 979)) | (1L << (ST_NUMPOINTS - 979)) | (1L << (ST_OVERLAPS - 979)) | (1L << (ST_POINTFROMTEXT - 979)) | (1L << (ST_POINTFROMWKB - 979)) | (1L << (ST_POINTN - 979)) | (1L << (ST_POLYFROMTEXT - 979)) | (1L << (ST_POLYFROMWKB - 979)) | (1L << (ST_POLYGONFROMTEXT - 979)) | (1L << (ST_POLYGONFROMWKB - 979)) | (1L << (ST_SRID - 979)) | (1L << (ST_STARTPOINT - 979)) | (1L << (ST_SYMDIFFERENCE - 979)) | (1L << (ST_TOUCHES - 979)) | (1L << (ST_UNION - 979)) | (1L << (ST_WITHIN - 979)) | (1L << (ST_X - 979)) | (1L << (ST_Y - 979)) | (1L << (SUBDATE - 979)) | (1L << (SUBSTRING_INDEX - 979)))) != 0) || ((((_la - 1043)) & ~0x3f) == 0 && ((1L << (_la - 1043)) & ((1L << (SUBTIME - 1043)) | (1L << (SYSTEM_USER - 1043)) | (1L << (TAN - 1043)) | (1L << (TIMEDIFF - 1043)) | (1L << (TIMESTAMPADD - 1043)) | (1L << (TIMESTAMPDIFF - 1043)) | (1L << (TIME_FORMAT - 1043)) | (1L << (TIME_TO_SEC - 1043)) | (1L << (TOUCHES - 1043)) | (1L << (TO_BASE64 - 1043)) | (1L << (TO_DAYS - 1043)) | (1L << (TO_SECONDS - 1043)) | (1L << (UCASE - 1043)) | (1L << (UNCOMPRESS - 1043)) | (1L << (UNCOMPRESSED_LENGTH - 1043)) | (1L << (UNHEX - 1043)) | (1L << (UNIX_TIMESTAMP - 1043)) | (1L << (UPDATEXML - 1043)) | (1L << (UPPER - 1043)) | (1L << (UUID - 1043)) | (1L << (UUID_SHORT - 1043)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1043)) | (1L << (VERSION - 1043)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1043)) | (1L << (WEEKDAY - 1043)) | (1L << (WEEKOFYEAR - 1043)) | (1L << (WEIGHT_STRING - 1043)) | (1L << (WITHIN - 1043)) | (1L << (YEARWEEK - 1043)) | (1L << (Y_FUNCTION - 1043)) | (1L << (X_FUNCTION - 1043)) | (1L << (VIA - 1043)) | (1L << (LASTVAL - 1043)) | (1L << (NEXTVAL - 1043)) | (1L << (SETVAL - 1043)) | (1L << (PREVIOUS - 1043)) | (1L << (PERSISTENT - 1043)) | (1L << (BINLOG_MONITOR - 1043)) | (1L << (BINLOG_REPLAY - 1043)) | (1L << (FEDERATED_ADMIN - 1043)) | (1L << (READ_ONLY_ADMIN - 1043)) | (1L << (REPLICA - 1043)) | (1L << (REPLICATION_MASTER_ADMIN - 1043)) | (1L << (MOD - 1043)))) != 0) || ((((_la - 1123)) & ~0x3f) == 0 && ((1L << (_la - 1123)) & ((1L << (CHARSET_REVERSE_QOUTE_STRING - 1123)) | (1L << (STRING_LITERAL - 1123)) | (1L << (ID - 1123)) | (1L << (REVERSE_QUOTE_ID - 1123)) | (1L << (ENCRYPTED - 1123)) | (1L << (ENCRYPTION_KEY_ID - 1123)))) != 0)) {
{
setState(1036);
functionParameter();
}
}
setState(1043);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1039);
match(COMMA);
setState(1040);
functionParameter();
}
}
setState(1045);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1046);
match(RR_BRACKET);
setState(1047);
match(RETURNS);
setState(1048);
dataType();
setState(1052);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,56,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(1049);
routineOption();
}
}
}
setState(1054);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,56,_ctx);
}
setState(1057);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ALTER:
case ANALYZE:
case CALL:
case CHANGE:
case CHECK:
case CREATE:
case CURRENT:
case DATABASE:
case DELETE:
case DESC:
case DESCRIBE:
case DIAGNOSTICS:
case DROP:
case EXCEPT:
case EXPLAIN:
case GET:
case GRANT:
case GROUP:
case IGNORED:
case INSERT:
case KILL:
case LEFT:
case LOAD:
case LOCK:
case NUMBER:
case OPTIMIZE:
case OPTIONAL:
case ORDER:
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 STACKED:
case UNLOCK:
case UPDATE:
case USE:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
case BINARY:
case TEXT:
case ENUM:
case SERIAL:
case JSON_ARRAY:
case JSON_OBJECT:
case JSON_QUOTE:
case JSON_CONTAINS:
case JSON_CONTAINS_PATH:
case JSON_EXTRACT:
case JSON_KEYS:
case JSON_OVERLAPS:
case JSON_SEARCH:
case JSON_VALUE:
case JSON_ARRAY_APPEND:
case JSON_ARRAY_INSERT:
case JSON_INSERT:
case JSON_MERGE:
case JSON_MERGE_PATCH:
case JSON_MERGE_PRESERVE:
case JSON_REMOVE:
case JSON_REPLACE:
case JSON_SET:
case JSON_UNQUOTE:
case JSON_DEPTH:
case JSON_LENGTH:
case JSON_TYPE:
case JSON_VALID:
case JSON_TABLE:
case JSON_SCHEMA_VALID:
case JSON_SCHEMA_VALIDATION_REPORT:
case JSON_PRETTY:
case JSON_STORAGE_FREE:
case JSON_STORAGE_SIZE:
case JSON_ARRAYAGG:
case JSON_OBJECTAGG:
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 POSITION:
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 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 ENCRYPTION:
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 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 HOST:
case HOSTS:
case IDENTIFIED:
case IGNORE_SERVER_IDS:
case IMPORT:
case INDEXES:
case INITIAL_SIZE:
case INPLACE:
case INSERT_METHOD:
case INSTALL:
case INSTANCE:
case INSTANT:
case INVISIBLE:
case INVOKER:
case IO:
case IO_THREAD:
case IPC:
case ISOLATION:
case ISSUER:
case JSON:
case KEY_BLOCK_SIZE:
case LANGUAGE:
case LAST:
case LEAVES:
case LESS:
case LEVEL:
case LIST:
case LOCAL:
case LOGFILE:
case LOGS:
case MASTER:
case MASTER_AUTO_POSITION:
case MASTER_CONNECT_RETRY:
case MASTER_DELAY:
case MASTER_HEARTBEAT_PERIOD:
case MASTER_HOST:
case MASTER_LOG_FILE:
case MASTER_LOG_POS:
case MASTER_PASSWORD:
case MASTER_PORT:
case MASTER_RETRY_COUNT:
case MASTER_SSL:
case MASTER_SSL_CA:
case MASTER_SSL_CAPATH:
case MASTER_SSL_CERT:
case MASTER_SSL_CIPHER:
case MASTER_SSL_CRL:
case MASTER_SSL_CRLPATH:
case MASTER_SSL_KEY:
case MASTER_TLS_VERSION:
case MASTER_USER:
case MAX_CONNECTIONS_PER_HOUR:
case MAX_QUERIES_PER_HOUR:
case MAX_ROWS:
case MAX_SIZE:
case MAX_UPDATES_PER_HOUR:
case MAX_USER_CONNECTIONS:
case MEDIUM:
case MEMBER:
case MERGE:
case MESSAGE_TEXT:
case MID:
case MIGRATE:
case MIN_ROWS:
case MODE:
case MODIFY:
case MUTEX:
case MYSQL:
case MYSQL_ERRNO:
case NAME:
case NAMES:
case NCHAR:
case NEVER:
case NEXT:
case NO:
case NOCOPY:
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 PHASE:
case PLUGIN:
case PLUGIN_DIR:
case PLUGINS:
case PORT:
case PRECEDES:
case PREPARE:
case PRESERVE:
case PREV:
case PROCESSLIST:
case PROFILE:
case PROFILES:
case PROXY:
case QUERY:
case QUICK:
case REBUILD:
case RECOVER:
case RECURSIVE:
case REDO_BUFFER_SIZE:
case REDUNDANT:
case RELAY:
case RELAY_LOG_FILE:
case RELAY_LOG_POS:
case RELAYLOG:
case REMOVE:
case REORGANIZE:
case REPAIR:
case REPLICATE_DO_DB:
case REPLICATE_DO_TABLE:
case REPLICATE_IGNORE_DB:
case REPLICATE_IGNORE_TABLE:
case REPLICATE_REWRITE_DB:
case REPLICATE_WILD_DO_TABLE:
case REPLICATE_WILD_IGNORE_TABLE:
case REPLICATION:
case RESET:
case RESUME:
case RETURNED_SQLSTATE:
case RETURNS:
case ROLE:
case ROLLBACK:
case ROLLUP:
case ROTATE:
case ROW:
case ROWS:
case ROW_FORMAT:
case RTREE:
case SAVEPOINT:
case SCHEDULE:
case SECURITY:
case SERVER:
case SESSION:
case SHARE:
case SHARED:
case SIGNED:
case SIMPLE:
case SLAVE:
case SLOW:
case SNAPSHOT:
case SOCKET:
case SOME:
case SONAME:
case SOUNDS:
case SOURCE:
case SQL_AFTER_GTIDS:
case SQL_AFTER_MTS_GAPS:
case SQL_BEFORE_GTIDS:
case SQL_BUFFER_RESULT:
case SQL_CACHE:
case SQL_NO_CACHE:
case SQL_THREAD:
case START:
case STARTS:
case STATS_AUTO_RECALC:
case STATS_PERSISTENT:
case STATS_SAMPLE_PAGES:
case STATUS:
case STOP:
case STORAGE:
case STRING:
case SUBCLASS_ORIGIN:
case SUBJECT:
case SUBPARTITION:
case SUBPARTITIONS:
case SUSPEND:
case SWAPS:
case SWITCHES:
case TABLE_NAME:
case TABLESPACE:
case TEMPORARY:
case TEMPTABLE:
case THAN:
case TRADITIONAL:
case TRANSACTION:
case TRANSACTIONAL:
case TRIGGERS:
case TRUNCATE:
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 VISIBLE:
case WAIT:
case WARNINGS:
case WITHOUT:
case WORK:
case WRAPPER:
case X509:
case XA:
case XML:
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 TABLES:
case ROUTINE:
case EXECUTE:
case FILE:
case PROCESS:
case RELOAD:
case SHUTDOWN:
case SUPER:
case PRIVILEGES:
case AUDIT_ADMIN:
case BACKUP_ADMIN:
case BINLOG_ADMIN:
case BINLOG_ENCRYPTION_ADMIN:
case CLONE_ADMIN:
case CONNECTION_ADMIN:
case ENCRYPTION_KEY_ADMIN:
case FIREWALL_ADMIN:
case FIREWALL_USER:
case ADMIN:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
case NDB_STORED_USER:
case PERSIST_RO_VARIABLES_ADMIN:
case REPLICATION_APPLIER:
case REPLICATION_SLAVE_ADMIN:
case RESOURCE_GROUP_ADMIN:
case RESOURCE_GROUP_USER:
case ROLE_ADMIN:
case SESSION_VARIABLES_ADMIN:
case SET_USER_ID:
case SHOW_ROUTINE:
case SYSTEM_VARIABLES_ADMIN:
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 REPLICATION_MASTER_ADMIN:
case MOD:
case LR_BRACKET:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
case REVERSE_QUOTE_ID:
case ENCRYPTED:
case ENCRYPTION_KEY_ID:
{
setState(1055);
routineBody();
}
break;
case RETURN:
{
setState(1056);
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(CqlParser.CREATE, 0); }
public TerminalNode ROLE() { return getToken(CqlParser.ROLE, 0); }
public List roleName() {
return getRuleContexts(RoleNameContext.class);
}
public RoleNameContext roleName(int i) {
return getRuleContext(RoleNameContext.class,i);
}
public TerminalNode IF() { return getToken(CqlParser.IF, 0); }
public TerminalNode NOT() { return getToken(CqlParser.NOT, 0); }
public TerminalNode EXISTS() { return getToken(CqlParser.EXISTS, 0); }
public List COMMA() { return getTokens(CqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(CqlParser.COMMA, i);
}
public CreateRoleContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createRole; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCreateRole(this);
else return visitor.visitChildren(this);
}
}
public final CreateRoleContext createRole() throws RecognitionException {
CreateRoleContext _localctx = new CreateRoleContext(_ctx, getState());
enterRule(_localctx, 36, RULE_createRole);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1059);
match(CREATE);
setState(1060);
match(ROLE);
setState(1064);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(1061);
match(IF);
setState(1062);
match(NOT);
setState(1063);
match(EXISTS);
}
}
setState(1066);
roleName();
setState(1071);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1067);
match(COMMA);
setState(1068);
roleName();
}
}
setState(1073);
_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(CqlParser.CREATE, 0); }
public TerminalNode SERVER() { return getToken(CqlParser.SERVER, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode FOREIGN() { return getToken(CqlParser.FOREIGN, 0); }
public TerminalNode DATA() { return getToken(CqlParser.DATA, 0); }
public TerminalNode WRAPPER() { return getToken(CqlParser.WRAPPER, 0); }
public TerminalNode OPTIONS() { return getToken(CqlParser.OPTIONS, 0); }
public TerminalNode LR_BRACKET() { return getToken(CqlParser.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(CqlParser.RR_BRACKET, 0); }
public TerminalNode MYSQL() { return getToken(CqlParser.MYSQL, 0); }
public TerminalNode STRING_LITERAL() { return getToken(CqlParser.STRING_LITERAL, 0); }
public List COMMA() { return getTokens(CqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(CqlParser.COMMA, i);
}
public CreateServerContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createServer; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCreateServer(this);
else return visitor.visitChildren(this);
}
}
public final CreateServerContext createServer() throws RecognitionException {
CreateServerContext _localctx = new CreateServerContext(_ctx, getState());
enterRule(_localctx, 38, RULE_createServer);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1074);
match(CREATE);
setState(1075);
match(SERVER);
setState(1076);
uid();
setState(1077);
match(FOREIGN);
setState(1078);
match(DATA);
setState(1079);
match(WRAPPER);
setState(1080);
((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(1081);
match(OPTIONS);
setState(1082);
match(LR_BRACKET);
setState(1083);
serverOption();
setState(1088);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1084);
match(COMMA);
setState(1085);
serverOption();
}
}
setState(1090);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1091);
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(CqlParser.CREATE, 0); }
public TerminalNode TABLE() { return getToken(CqlParser.TABLE, 0); }
public List tableName() {
return getRuleContexts(TableNameContext.class);
}
public TableNameContext tableName(int i) {
return getRuleContext(TableNameContext.class,i);
}
public TerminalNode LIKE() { return getToken(CqlParser.LIKE, 0); }
public TerminalNode LR_BRACKET() { return getToken(CqlParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(CqlParser.RR_BRACKET, 0); }
public TerminalNode OR() { return getToken(CqlParser.OR, 0); }
public TerminalNode REPLACE() { return getToken(CqlParser.REPLACE, 0); }
public TerminalNode TEMPORARY() { return getToken(CqlParser.TEMPORARY, 0); }
public IfNotExistsContext ifNotExists() {
return getRuleContext(IfNotExistsContext.class,0);
}
public CopyCreateTableContext(CreateTableContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCopyCreateTable(this);
else return visitor.visitChildren(this);
}
}
public static class ColumnCreateTableContext extends CreateTableContext {
public TerminalNode CREATE() { return getToken(CqlParser.CREATE, 0); }
public TerminalNode TABLE() { return getToken(CqlParser.TABLE, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public CreateDefinitionsContext createDefinitions() {
return getRuleContext(CreateDefinitionsContext.class,0);
}
public TerminalNode OR() { return getToken(CqlParser.OR, 0); }
public TerminalNode REPLACE() { return getToken(CqlParser.REPLACE, 0); }
public TerminalNode TEMPORARY() { return getToken(CqlParser.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(CqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(CqlParser.COMMA, i);
}
public ColumnCreateTableContext(CreateTableContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitColumnCreateTable(this);
else return visitor.visitChildren(this);
}
}
public static class QueryCreateTableContext extends CreateTableContext {
public Token keyViolate;
public TerminalNode CREATE() { return getToken(CqlParser.CREATE, 0); }
public TerminalNode TABLE() { return getToken(CqlParser.TABLE, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public SelectStatementContext selectStatement() {
return getRuleContext(SelectStatementContext.class,0);
}
public TerminalNode OR() { return getToken(CqlParser.OR, 0); }
public List REPLACE() { return getTokens(CqlParser.REPLACE); }
public TerminalNode REPLACE(int i) {
return getToken(CqlParser.REPLACE, i);
}
public TerminalNode TEMPORARY() { return getToken(CqlParser.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(CqlParser.AS, 0); }
public TerminalNode IGNORE() { return getToken(CqlParser.IGNORE, 0); }
public List COMMA() { return getTokens(CqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(CqlParser.COMMA, i);
}
public QueryCreateTableContext(CreateTableContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitQueryCreateTable(this);
else return visitor.visitChildren(this);
}
}
public final CreateTableContext createTable() throws RecognitionException {
CreateTableContext _localctx = new CreateTableContext(_ctx, getState());
enterRule(_localctx, 40, RULE_createTable);
int _la;
try {
int _alt;
setState(1183);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,82,_ctx) ) {
case 1:
_localctx = new CopyCreateTableContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1093);
match(CREATE);
setState(1096);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1094);
match(OR);
setState(1095);
match(REPLACE);
}
}
setState(1099);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==TEMPORARY) {
{
setState(1098);
match(TEMPORARY);
}
}
setState(1101);
match(TABLE);
setState(1103);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(1102);
ifNotExists();
}
}
setState(1105);
tableName();
setState(1113);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LIKE:
{
setState(1106);
match(LIKE);
setState(1107);
tableName();
}
break;
case LR_BRACKET:
{
setState(1108);
match(LR_BRACKET);
setState(1109);
match(LIKE);
setState(1110);
((CopyCreateTableContext)_localctx).parenthesisTable = tableName();
setState(1111);
match(RR_BRACKET);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 2:
_localctx = new QueryCreateTableContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1115);
match(CREATE);
setState(1118);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1116);
match(OR);
setState(1117);
match(REPLACE);
}
}
setState(1121);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==TEMPORARY) {
{
setState(1120);
match(TEMPORARY);
}
}
setState(1123);
match(TABLE);
setState(1125);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(1124);
ifNotExists();
}
}
setState(1127);
tableName();
setState(1129);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,68,_ctx) ) {
case 1:
{
setState(1128);
createDefinitions();
}
break;
}
setState(1141);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 24)) & ~0x3f) == 0 && ((1L << (_la - 24)) & ((1L << (CHARACTER - 24)) | (1L << (COLLATE - 24)) | (1L << (DEFAULT - 24)) | (1L << (INDEX - 24)))) != 0) || _la==UNION || _la==CHAR || ((((_la - 333)) & ~0x3f) == 0 && ((1L << (_la - 333)) & ((1L << (AUTO_INCREMENT - 333)) | (1L << (AVG_ROW_LENGTH - 333)) | (1L << (CHECKSUM - 333)) | (1L << (PAGE_CHECKSUM - 333)) | (1L << (COMMENT - 333)) | (1L << (COMPRESSION - 333)) | (1L << (CONNECTION - 333)) | (1L << (DATA - 333)) | (1L << (DELAY_KEY_WRITE - 333)) | (1L << (ENCRYPTION - 333)))) != 0) || ((((_la - 397)) & ~0x3f) == 0 && ((1L << (_la - 397)) & ((1L << (ENGINE - 397)) | (1L << (INSERT_METHOD - 397)) | (1L << (KEY_BLOCK_SIZE - 397)))) != 0) || ((((_la - 485)) & ~0x3f) == 0 && ((1L << (_la - 485)) & ((1L << (MAX_ROWS - 485)) | (1L << (MIN_ROWS - 485)) | (1L << (PACK_KEYS - 485)) | (1L << (PASSWORD - 485)))) != 0) || ((((_la - 578)) & ~0x3f) == 0 && ((1L << (_la - 578)) & ((1L << (ROW_FORMAT - 578)) | (1L << (STATS_AUTO_RECALC - 578)) | (1L << (STATS_PERSISTENT - 578)) | (1L << (STATS_SAMPLE_PAGES - 578)) | (1L << (STORAGE - 578)) | (1L << (TABLESPACE - 578)) | (1L << (TABLE_TYPE - 578)))) != 0) || _la==CHARSET) {
{
setState(1131);
tableOption();
setState(1138);
_errHandler.sync(this);
_la = _input.LA(1);
while (((((_la - 24)) & ~0x3f) == 0 && ((1L << (_la - 24)) & ((1L << (CHARACTER - 24)) | (1L << (COLLATE - 24)) | (1L << (DEFAULT - 24)) | (1L << (INDEX - 24)))) != 0) || _la==UNION || _la==CHAR || ((((_la - 333)) & ~0x3f) == 0 && ((1L << (_la - 333)) & ((1L << (AUTO_INCREMENT - 333)) | (1L << (AVG_ROW_LENGTH - 333)) | (1L << (CHECKSUM - 333)) | (1L << (PAGE_CHECKSUM - 333)) | (1L << (COMMENT - 333)) | (1L << (COMPRESSION - 333)) | (1L << (CONNECTION - 333)) | (1L << (DATA - 333)) | (1L << (DELAY_KEY_WRITE - 333)) | (1L << (ENCRYPTION - 333)))) != 0) || ((((_la - 397)) & ~0x3f) == 0 && ((1L << (_la - 397)) & ((1L << (ENGINE - 397)) | (1L << (INSERT_METHOD - 397)) | (1L << (KEY_BLOCK_SIZE - 397)))) != 0) || ((((_la - 485)) & ~0x3f) == 0 && ((1L << (_la - 485)) & ((1L << (MAX_ROWS - 485)) | (1L << (MIN_ROWS - 485)) | (1L << (PACK_KEYS - 485)) | (1L << (PASSWORD - 485)))) != 0) || ((((_la - 578)) & ~0x3f) == 0 && ((1L << (_la - 578)) & ((1L << (ROW_FORMAT - 578)) | (1L << (STATS_AUTO_RECALC - 578)) | (1L << (STATS_PERSISTENT - 578)) | (1L << (STATS_SAMPLE_PAGES - 578)) | (1L << (STORAGE - 578)) | (1L << (TABLESPACE - 578)) | (1L << (TABLE_TYPE - 578)))) != 0) || _la==CHARSET || _la==COMMA) {
{
{
setState(1133);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1132);
match(COMMA);
}
}
setState(1135);
tableOption();
}
}
setState(1140);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
setState(1144);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITION) {
{
setState(1143);
partitionDefinitions();
}
}
setState(1147);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE || _la==REPLACE) {
{
setState(1146);
((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(1150);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(1149);
match(AS);
}
}
setState(1152);
selectStatement();
}
break;
case 3:
_localctx = new ColumnCreateTableContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(1154);
match(CREATE);
setState(1157);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1155);
match(OR);
setState(1156);
match(REPLACE);
}
}
setState(1160);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==TEMPORARY) {
{
setState(1159);
match(TEMPORARY);
}
}
setState(1162);
match(TABLE);
setState(1164);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(1163);
ifNotExists();
}
}
setState(1166);
tableName();
setState(1167);
createDefinitions();
setState(1178);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,80,_ctx) ) {
case 1:
{
setState(1168);
tableOption();
setState(1175);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,79,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(1170);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1169);
match(COMMA);
}
}
setState(1172);
tableOption();
}
}
}
setState(1177);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,79,_ctx);
}
}
break;
}
setState(1181);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITION) {
{
setState(1180);
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(CqlParser.CREATE, 0); }
public TerminalNode TABLESPACE() { return getToken(CqlParser.TABLESPACE, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode ADD() { return getToken(CqlParser.ADD, 0); }
public TerminalNode DATAFILE() { return getToken(CqlParser.DATAFILE, 0); }
public TerminalNode STRING_LITERAL() { return getToken(CqlParser.STRING_LITERAL, 0); }
public TerminalNode FILE_BLOCK_SIZE() { return getToken(CqlParser.FILE_BLOCK_SIZE, 0); }
public List EQUAL_SYMBOL() { return getTokens(CqlParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(CqlParser.EQUAL_SYMBOL, i);
}
public TerminalNode ENGINE() { return getToken(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCreateTablespaceInnodb(this);
else return visitor.visitChildren(this);
}
}
public final CreateTablespaceInnodbContext createTablespaceInnodb() throws RecognitionException {
CreateTablespaceInnodbContext _localctx = new CreateTablespaceInnodbContext(_ctx, getState());
enterRule(_localctx, 42, RULE_createTablespaceInnodb);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1185);
match(CREATE);
setState(1186);
match(TABLESPACE);
setState(1187);
uid();
setState(1188);
match(ADD);
setState(1189);
match(DATAFILE);
setState(1190);
((CreateTablespaceInnodbContext)_localctx).datafile = match(STRING_LITERAL);
setState(1194);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FILE_BLOCK_SIZE) {
{
setState(1191);
match(FILE_BLOCK_SIZE);
setState(1192);
match(EQUAL_SYMBOL);
setState(1193);
((CreateTablespaceInnodbContext)_localctx).fileBlockSize = fileSizeLiteral();
}
}
setState(1201);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ENGINE) {
{
setState(1196);
match(ENGINE);
setState(1198);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1197);
match(EQUAL_SYMBOL);
}
}
setState(1200);
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(CqlParser.CREATE, 0); }
public TerminalNode TABLESPACE() { return getToken(CqlParser.TABLESPACE, 0); }
public List uid() {
return getRuleContexts(UidContext.class);
}
public UidContext uid(int i) {
return getRuleContext(UidContext.class,i);
}
public TerminalNode ADD() { return getToken(CqlParser.ADD, 0); }
public TerminalNode DATAFILE() { return getToken(CqlParser.DATAFILE, 0); }
public TerminalNode USE() { return getToken(CqlParser.USE, 0); }
public TerminalNode LOGFILE() { return getToken(CqlParser.LOGFILE, 0); }
public TerminalNode GROUP() { return getToken(CqlParser.GROUP, 0); }
public TerminalNode ENGINE() { return getToken(CqlParser.ENGINE, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public List STRING_LITERAL() { return getTokens(CqlParser.STRING_LITERAL); }
public TerminalNode STRING_LITERAL(int i) {
return getToken(CqlParser.STRING_LITERAL, i);
}
public TerminalNode EXTENT_SIZE() { return getToken(CqlParser.EXTENT_SIZE, 0); }
public TerminalNode INITIAL_SIZE() { return getToken(CqlParser.INITIAL_SIZE, 0); }
public TerminalNode AUTOEXTEND_SIZE() { return getToken(CqlParser.AUTOEXTEND_SIZE, 0); }
public TerminalNode MAX_SIZE() { return getToken(CqlParser.MAX_SIZE, 0); }
public TerminalNode NODEGROUP() { return getToken(CqlParser.NODEGROUP, 0); }
public TerminalNode WAIT() { return getToken(CqlParser.WAIT, 0); }
public TerminalNode COMMENT() { return getToken(CqlParser.COMMENT, 0); }
public List EQUAL_SYMBOL() { return getTokens(CqlParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCreateTablespaceNdb(this);
else return visitor.visitChildren(this);
}
}
public final CreateTablespaceNdbContext createTablespaceNdb() throws RecognitionException {
CreateTablespaceNdbContext _localctx = new CreateTablespaceNdbContext(_ctx, getState());
enterRule(_localctx, 44, RULE_createTablespaceNdb);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1203);
match(CREATE);
setState(1204);
match(TABLESPACE);
setState(1205);
uid();
setState(1206);
match(ADD);
setState(1207);
match(DATAFILE);
setState(1208);
((CreateTablespaceNdbContext)_localctx).datafile = match(STRING_LITERAL);
setState(1209);
match(USE);
setState(1210);
match(LOGFILE);
setState(1211);
match(GROUP);
setState(1212);
uid();
setState(1218);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EXTENT_SIZE) {
{
setState(1213);
match(EXTENT_SIZE);
setState(1215);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1214);
match(EQUAL_SYMBOL);
}
}
setState(1217);
((CreateTablespaceNdbContext)_localctx).extentSize = fileSizeLiteral();
}
}
setState(1225);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INITIAL_SIZE) {
{
setState(1220);
match(INITIAL_SIZE);
setState(1222);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1221);
match(EQUAL_SYMBOL);
}
}
setState(1224);
((CreateTablespaceNdbContext)_localctx).initialSize = fileSizeLiteral();
}
}
setState(1232);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AUTOEXTEND_SIZE) {
{
setState(1227);
match(AUTOEXTEND_SIZE);
setState(1229);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1228);
match(EQUAL_SYMBOL);
}
}
setState(1231);
((CreateTablespaceNdbContext)_localctx).autoextendSize = fileSizeLiteral();
}
}
setState(1239);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MAX_SIZE) {
{
setState(1234);
match(MAX_SIZE);
setState(1236);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1235);
match(EQUAL_SYMBOL);
}
}
setState(1238);
((CreateTablespaceNdbContext)_localctx).maxSize = fileSizeLiteral();
}
}
setState(1246);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NODEGROUP) {
{
setState(1241);
match(NODEGROUP);
setState(1243);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1242);
match(EQUAL_SYMBOL);
}
}
setState(1245);
uid();
}
}
setState(1249);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WAIT) {
{
setState(1248);
match(WAIT);
}
}
setState(1256);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMENT) {
{
setState(1251);
match(COMMENT);
setState(1253);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1252);
match(EQUAL_SYMBOL);
}
}
setState(1255);
((CreateTablespaceNdbContext)_localctx).comment = match(STRING_LITERAL);
}
}
setState(1258);
match(ENGINE);
setState(1260);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1259);
match(EQUAL_SYMBOL);
}
}
setState(1262);
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(CqlParser.CREATE, 0); }
public TerminalNode TRIGGER() { return getToken(CqlParser.TRIGGER, 0); }
public TerminalNode ON() { return getToken(CqlParser.ON, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode FOR() { return getToken(CqlParser.FOR, 0); }
public TerminalNode EACH() { return getToken(CqlParser.EACH, 0); }
public TerminalNode ROW() { return getToken(CqlParser.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(CqlParser.BEFORE, 0); }
public TerminalNode AFTER() { return getToken(CqlParser.AFTER, 0); }
public TerminalNode INSERT() { return getToken(CqlParser.INSERT, 0); }
public TerminalNode UPDATE() { return getToken(CqlParser.UPDATE, 0); }
public TerminalNode DELETE() { return getToken(CqlParser.DELETE, 0); }
public TerminalNode OR() { return getToken(CqlParser.OR, 0); }
public TerminalNode REPLACE() { return getToken(CqlParser.REPLACE, 0); }
public OwnerStatementContext ownerStatement() {
return getRuleContext(OwnerStatementContext.class,0);
}
public TerminalNode FOLLOWS() { return getToken(CqlParser.FOLLOWS, 0); }
public TerminalNode PRECEDES() { return getToken(CqlParser.PRECEDES, 0); }
public CreateTriggerContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createTrigger; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCreateTrigger(this);
else return visitor.visitChildren(this);
}
}
public final CreateTriggerContext createTrigger() throws RecognitionException {
CreateTriggerContext _localctx = new CreateTriggerContext(_ctx, getState());
enterRule(_localctx, 46, RULE_createTrigger);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1264);
match(CREATE);
setState(1267);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1265);
match(OR);
setState(1266);
match(REPLACE);
}
}
setState(1270);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(1269);
ownerStatement();
}
}
setState(1272);
match(TRIGGER);
setState(1273);
((CreateTriggerContext)_localctx).thisTrigger = fullId();
setState(1274);
((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(1275);
((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(1276);
match(ON);
setState(1277);
tableName();
setState(1278);
match(FOR);
setState(1279);
match(EACH);
setState(1280);
match(ROW);
setState(1283);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,102,_ctx) ) {
case 1:
{
setState(1281);
((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(1282);
((CreateTriggerContext)_localctx).otherTrigger = fullId();
}
break;
}
setState(1285);
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(CqlParser.WITH, 0); }
public CommonTableExpressionsContext commonTableExpressions() {
return getRuleContext(CommonTableExpressionsContext.class,0);
}
public TerminalNode RECURSIVE() { return getToken(CqlParser.RECURSIVE, 0); }
public WithClauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_withClause; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitWithClause(this);
else return visitor.visitChildren(this);
}
}
public final WithClauseContext withClause() throws RecognitionException {
WithClauseContext _localctx = new WithClauseContext(_ctx, getState());
enterRule(_localctx, 48, RULE_withClause);
try {
enterOuterAlt(_localctx, 1);
{
setState(1287);
match(WITH);
setState(1289);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,103,_ctx) ) {
case 1:
{
setState(1288);
match(RECURSIVE);
}
break;
}
setState(1291);
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(CqlParser.AS, 0); }
public List LR_BRACKET() { return getTokens(CqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(CqlParser.LR_BRACKET, i);
}
public DmlStatementContext dmlStatement() {
return getRuleContext(DmlStatementContext.class,0);
}
public List RR_BRACKET() { return getTokens(CqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(CqlParser.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(CqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCommonTableExpressions(this);
else return visitor.visitChildren(this);
}
}
public final CommonTableExpressionsContext commonTableExpressions() throws RecognitionException {
CommonTableExpressionsContext _localctx = new CommonTableExpressionsContext(_ctx, getState());
enterRule(_localctx, 50, RULE_commonTableExpressions);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1293);
cteName();
setState(1305);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(1294);
match(LR_BRACKET);
setState(1295);
cteColumnName();
setState(1300);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1296);
match(COMMA);
setState(1297);
cteColumnName();
}
}
setState(1302);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1303);
match(RR_BRACKET);
}
}
setState(1307);
match(AS);
setState(1308);
match(LR_BRACKET);
setState(1309);
dmlStatement();
setState(1310);
match(RR_BRACKET);
setState(1313);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1311);
match(COMMA);
setState(1312);
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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCteName(this);
else return visitor.visitChildren(this);
}
}
public final CteNameContext cteName() throws RecognitionException {
CteNameContext _localctx = new CteNameContext(_ctx, getState());
enterRule(_localctx, 52, RULE_cteName);
try {
enterOuterAlt(_localctx, 1);
{
setState(1315);
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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCteColumnName(this);
else return visitor.visitChildren(this);
}
}
public final CteColumnNameContext cteColumnName() throws RecognitionException {
CteColumnNameContext _localctx = new CteColumnNameContext(_ctx, getState());
enterRule(_localctx, 54, RULE_cteColumnName);
try {
enterOuterAlt(_localctx, 1);
{
setState(1317);
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(CqlParser.CREATE, 0); }
public TerminalNode VIEW() { return getToken(CqlParser.VIEW, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public TerminalNode AS() { return getToken(CqlParser.AS, 0); }
public SelectStatementContext selectStatement() {
return getRuleContext(SelectStatementContext.class,0);
}
public TerminalNode OR() { return getToken(CqlParser.OR, 0); }
public TerminalNode REPLACE() { return getToken(CqlParser.REPLACE, 0); }
public TerminalNode ALGORITHM() { return getToken(CqlParser.ALGORITHM, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public OwnerStatementContext ownerStatement() {
return getRuleContext(OwnerStatementContext.class,0);
}
public TerminalNode SQL() { return getToken(CqlParser.SQL, 0); }
public TerminalNode SECURITY() { return getToken(CqlParser.SECURITY, 0); }
public TerminalNode LR_BRACKET() { return getToken(CqlParser.LR_BRACKET, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(CqlParser.RR_BRACKET, 0); }
public WithClauseContext withClause() {
return getRuleContext(WithClauseContext.class,0);
}
public TerminalNode WITH() { return getToken(CqlParser.WITH, 0); }
public TerminalNode CHECK() { return getToken(CqlParser.CHECK, 0); }
public TerminalNode OPTION() { return getToken(CqlParser.OPTION, 0); }
public TerminalNode UNDEFINED() { return getToken(CqlParser.UNDEFINED, 0); }
public TerminalNode MERGE() { return getToken(CqlParser.MERGE, 0); }
public TerminalNode TEMPTABLE() { return getToken(CqlParser.TEMPTABLE, 0); }
public TerminalNode DEFINER() { return getToken(CqlParser.DEFINER, 0); }
public TerminalNode INVOKER() { return getToken(CqlParser.INVOKER, 0); }
public TerminalNode CASCADED() { return getToken(CqlParser.CASCADED, 0); }
public TerminalNode LOCAL() { return getToken(CqlParser.LOCAL, 0); }
public CreateViewContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createView; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCreateView(this);
else return visitor.visitChildren(this);
}
}
public final CreateViewContext createView() throws RecognitionException {
CreateViewContext _localctx = new CreateViewContext(_ctx, getState());
enterRule(_localctx, 56, RULE_createView);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1319);
match(CREATE);
setState(1322);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OR) {
{
setState(1320);
match(OR);
setState(1321);
match(REPLACE);
}
}
setState(1327);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ALGORITHM) {
{
setState(1324);
match(ALGORITHM);
setState(1325);
match(EQUAL_SYMBOL);
setState(1326);
((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(1330);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(1329);
ownerStatement();
}
}
setState(1335);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==SQL) {
{
setState(1332);
match(SQL);
setState(1333);
match(SECURITY);
setState(1334);
((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(1337);
match(VIEW);
setState(1338);
fullId();
setState(1343);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(1339);
match(LR_BRACKET);
setState(1340);
uidList();
setState(1341);
match(RR_BRACKET);
}
}
setState(1345);
match(AS);
setState(1347);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WITH) {
{
setState(1346);
withClause();
}
}
setState(1349);
selectStatement();
setState(1356);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WITH) {
{
setState(1350);
match(WITH);
setState(1352);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CASCADED || _la==LOCAL) {
{
setState(1351);
((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(1354);
match(CHECK);
setState(1355);
match(OPTION);
}
}
}
}
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(CqlParser.DEFAULT); }
public TerminalNode DEFAULT(int i) {
return getToken(CqlParser.DEFAULT, i);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TerminalNode COLLATE() { return getToken(CqlParser.COLLATE, 0); }
public CollationNameContext collationName() {
return getRuleContext(CollationNameContext.class,0);
}
public CreateDatabaseOptionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createDatabaseOption; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCreateDatabaseOption(this);
else return visitor.visitChildren(this);
}
}
public final CreateDatabaseOptionContext createDatabaseOption() throws RecognitionException {
CreateDatabaseOptionContext _localctx = new CreateDatabaseOptionContext(_ctx, getState());
enterRule(_localctx, 58, RULE_createDatabaseOption);
int _la;
try {
setState(1377);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,120,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1359);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
setState(1358);
match(DEFAULT);
}
}
setState(1361);
charSet();
setState(1363);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1362);
match(EQUAL_SYMBOL);
}
}
setState(1367);
_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(1365);
charsetName();
}
break;
case DEFAULT:
{
setState(1366);
match(DEFAULT);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1370);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
setState(1369);
match(DEFAULT);
}
}
setState(1372);
match(COLLATE);
setState(1374);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1373);
match(EQUAL_SYMBOL);
}
}
setState(1376);
collationName();
}
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(CqlParser.CHARACTER, 0); }
public TerminalNode SET() { return getToken(CqlParser.SET, 0); }
public TerminalNode CHARSET() { return getToken(CqlParser.CHARSET, 0); }
public TerminalNode CHAR() { return getToken(CqlParser.CHAR, 0); }
public CharSetContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_charSet; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCharSet(this);
else return visitor.visitChildren(this);
}
}
public final CharSetContext charSet() throws RecognitionException {
CharSetContext _localctx = new CharSetContext(_ctx, getState());
enterRule(_localctx, 60, RULE_charSet);
try {
setState(1384);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CHARACTER:
enterOuterAlt(_localctx, 1);
{
setState(1379);
match(CHARACTER);
setState(1380);
match(SET);
}
break;
case CHARSET:
enterOuterAlt(_localctx, 2);
{
setState(1381);
match(CHARSET);
}
break;
case CHAR:
enterOuterAlt(_localctx, 3);
{
setState(1382);
match(CHAR);
setState(1383);
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 OwnerStatementContext extends ParserRuleContext {
public TerminalNode DEFINER() { return getToken(CqlParser.DEFINER, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public UserNameContext userName() {
return getRuleContext(UserNameContext.class,0);
}
public TerminalNode CURRENT_USER() { return getToken(CqlParser.CURRENT_USER, 0); }
public TerminalNode LR_BRACKET() { return getToken(CqlParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(CqlParser.RR_BRACKET, 0); }
public OwnerStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_ownerStatement; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitOwnerStatement(this);
else return visitor.visitChildren(this);
}
}
public final OwnerStatementContext ownerStatement() throws RecognitionException {
OwnerStatementContext _localctx = new OwnerStatementContext(_ctx, getState());
enterRule(_localctx, 62, RULE_ownerStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1386);
match(DEFINER);
setState(1387);
match(EQUAL_SYMBOL);
setState(1394);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CURRENT:
case DIAGNOSTICS:
case EXCEPT:
case GROUP:
case IGNORED:
case NUMBER:
case OPTIONAL:
case ORDER:
case STACKED:
case SERIAL:
case AVG:
case BIT_AND:
case BIT_OR:
case BIT_XOR:
case COUNT:
case GROUP_CONCAT:
case MAX:
case MIN:
case STD:
case STDDEV:
case STDDEV_POP:
case STDDEV_SAMP:
case SUM:
case VAR_POP:
case VAR_SAMP:
case VARIANCE:
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 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 ENCRYPTION:
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 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 HOST:
case HOSTS:
case IDENTIFIED:
case IGNORE_SERVER_IDS:
case IMPORT:
case INDEXES:
case INITIAL_SIZE:
case INPLACE:
case INSERT_METHOD:
case INSTALL:
case INSTANCE:
case INSTANT:
case INVOKER:
case IO:
case IO_THREAD:
case IPC:
case ISOLATION:
case ISSUER:
case JSON:
case KEY_BLOCK_SIZE:
case LANGUAGE:
case LAST:
case LEAVES:
case LESS:
case LEVEL:
case LIST:
case LOCAL:
case LOGFILE:
case LOGS:
case MASTER:
case MASTER_AUTO_POSITION:
case MASTER_CONNECT_RETRY:
case MASTER_DELAY:
case MASTER_HEARTBEAT_PERIOD:
case MASTER_HOST:
case MASTER_LOG_FILE:
case MASTER_LOG_POS:
case MASTER_PASSWORD:
case MASTER_PORT:
case MASTER_RETRY_COUNT:
case MASTER_SSL:
case MASTER_SSL_CA:
case MASTER_SSL_CAPATH:
case MASTER_SSL_CERT:
case MASTER_SSL_CIPHER:
case MASTER_SSL_CRL:
case MASTER_SSL_CRLPATH:
case MASTER_SSL_KEY:
case MASTER_TLS_VERSION:
case MASTER_USER:
case MAX_CONNECTIONS_PER_HOUR:
case MAX_QUERIES_PER_HOUR:
case MAX_ROWS:
case MAX_SIZE:
case MAX_UPDATES_PER_HOUR:
case MAX_USER_CONNECTIONS:
case MEDIUM:
case MEMBER:
case MERGE:
case MESSAGE_TEXT:
case MID:
case MIGRATE:
case MIN_ROWS:
case MODE:
case MODIFY:
case MUTEX:
case MYSQL:
case MYSQL_ERRNO:
case NAME:
case NAMES:
case NCHAR:
case NEVER:
case NEXT:
case NO:
case NOCOPY:
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 PHASE:
case PLUGIN:
case PLUGIN_DIR:
case PLUGINS:
case PORT:
case PRECEDES:
case PREPARE:
case PRESERVE:
case PREV:
case PROCESSLIST:
case PROFILE:
case PROFILES:
case PROXY:
case QUERY:
case QUICK:
case REBUILD:
case RECOVER:
case RECURSIVE:
case REDO_BUFFER_SIZE:
case REDUNDANT:
case RELAY:
case RELAY_LOG_FILE:
case RELAY_LOG_POS:
case RELAYLOG:
case REMOVE:
case REORGANIZE:
case REPAIR:
case REPLICATE_DO_DB:
case REPLICATE_DO_TABLE:
case REPLICATE_IGNORE_DB:
case REPLICATE_IGNORE_TABLE:
case REPLICATE_REWRITE_DB:
case REPLICATE_WILD_DO_TABLE:
case REPLICATE_WILD_IGNORE_TABLE:
case REPLICATION:
case RESET:
case RESUME:
case RETURNED_SQLSTATE:
case RETURNS:
case ROLE:
case ROLLBACK:
case ROLLUP:
case ROTATE:
case ROW:
case ROWS:
case ROW_FORMAT:
case RTREE:
case SAVEPOINT:
case SCHEDULE:
case SECURITY:
case SERVER:
case SESSION:
case SHARE:
case SHARED:
case SIGNED:
case SIMPLE:
case SLAVE:
case SLOW:
case SNAPSHOT:
case SOCKET:
case SOME:
case SONAME:
case SOUNDS:
case SOURCE:
case SQL_AFTER_GTIDS:
case SQL_AFTER_MTS_GAPS:
case SQL_BEFORE_GTIDS:
case SQL_BUFFER_RESULT:
case SQL_CACHE:
case SQL_NO_CACHE:
case SQL_THREAD:
case START:
case STARTS:
case STATS_AUTO_RECALC:
case STATS_PERSISTENT:
case STATS_SAMPLE_PAGES:
case STATUS:
case STOP:
case STORAGE:
case STRING:
case SUBCLASS_ORIGIN:
case SUBJECT:
case SUBPARTITION:
case SUBPARTITIONS:
case SUSPEND:
case SWAPS:
case SWITCHES:
case TABLE_NAME:
case TABLESPACE:
case TEMPORARY:
case TEMPTABLE:
case THAN:
case TRADITIONAL:
case TRANSACTION:
case TRANSACTIONAL:
case TRIGGERS:
case TRUNCATE:
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 WAIT:
case WARNINGS:
case WITHOUT:
case WORK:
case WRAPPER:
case X509:
case XA:
case XML:
case EUR:
case USA:
case JIS:
case ISO:
case INTERNAL:
case AUDIT_ADMIN:
case BACKUP_ADMIN:
case BINLOG_ADMIN:
case BINLOG_ENCRYPTION_ADMIN:
case CLONE_ADMIN:
case CONNECTION_ADMIN:
case ENCRYPTION_KEY_ADMIN:
case FIREWALL_ADMIN:
case FIREWALL_USER:
case ADMIN:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
case NDB_STORED_USER:
case PERSIST_RO_VARIABLES_ADMIN:
case REPLICATION_APPLIER:
case REPLICATION_SLAVE_ADMIN:
case RESOURCE_GROUP_ADMIN:
case RESOURCE_GROUP_USER:
case ROLE_ADMIN:
case SESSION_VARIABLES_ADMIN:
case SET_USER_ID:
case SHOW_ROUTINE:
case SYSTEM_VARIABLES_ADMIN:
case TABLE_ENCRYPTION_ADMIN:
case VERSION_TOKEN_ADMIN:
case XA_RECOVER_ADMIN:
case MEMORY:
case CATALOG_NAME:
case ENGINE_ATTRIBUTE:
case SECONDARY_ENGINE_ATTRIBUTE:
case SCHEMA_NAME:
case VIA:
case LASTVAL:
case NEXTVAL:
case SETVAL:
case PREVIOUS:
case PERSISTENT:
case BINLOG_MONITOR:
case BINLOG_REPLAY:
case FEDERATED_ADMIN:
case READ_ONLY_ADMIN:
case REPLICA:
case REPLICATION_MASTER_ADMIN:
case STRING_LITERAL:
case ID:
case STRING_USER_NAME:
case STRING_USER_NAME_MARIADB:
case ENCRYPTED:
case ENCRYPTION_KEY_ID:
{
setState(1388);
userName();
}
break;
case CURRENT_USER:
{
setState(1389);
match(CURRENT_USER);
setState(1392);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(1390);
match(LR_BRACKET);
setState(1391);
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 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(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPreciseSchedule(this);
else return visitor.visitChildren(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(CqlParser.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(CqlParser.STARTS, 0); }
public TerminalNode ENDS() { return getToken(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitIntervalSchedule(this);
else return visitor.visitChildren(this);
}
}
public final ScheduleExpressionContext scheduleExpression() throws RecognitionException {
ScheduleExpressionContext _localctx = new ScheduleExpressionContext(_ctx, getState());
enterRule(_localctx, 64, RULE_scheduleExpression);
int _la;
try {
setState(1430);
_errHandler.sync(this);
switch (_input.LA(1)) {
case AT:
_localctx = new PreciseScheduleContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1396);
match(AT);
setState(1397);
timestampValue();
setState(1401);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==PLUS) {
{
{
setState(1398);
intervalExpr();
}
}
setState(1403);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case EVERY:
_localctx = new IntervalScheduleContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1404);
match(EVERY);
setState(1407);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,125,_ctx) ) {
case 1:
{
setState(1405);
decimalLiteral();
}
break;
case 2:
{
setState(1406);
expression(0);
}
break;
}
setState(1409);
intervalType();
setState(1418);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==STARTS) {
{
setState(1410);
match(STARTS);
setState(1411);
((IntervalScheduleContext)_localctx).startTimestamp = timestampValue();
setState(1415);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==PLUS) {
{
{
setState(1412);
((IntervalScheduleContext)_localctx).intervalExpr = intervalExpr();
((IntervalScheduleContext)_localctx).startIntervals.add(((IntervalScheduleContext)_localctx).intervalExpr);
}
}
setState(1417);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
setState(1428);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ENDS) {
{
setState(1420);
match(ENDS);
setState(1421);
((IntervalScheduleContext)_localctx).endTimestamp = timestampValue();
setState(1425);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==PLUS) {
{
{
setState(1422);
((IntervalScheduleContext)_localctx).intervalExpr = intervalExpr();
((IntervalScheduleContext)_localctx).endIntervals.add(((IntervalScheduleContext)_localctx).intervalExpr);
}
}
setState(1427);
_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(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTimestampValue(this);
else return visitor.visitChildren(this);
}
}
public final TimestampValueContext timestampValue() throws RecognitionException {
TimestampValueContext _localctx = new TimestampValueContext(_ctx, getState());
enterRule(_localctx, 66, RULE_timestampValue);
try {
setState(1436);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,131,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1432);
match(CURRENT_TIMESTAMP);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1433);
stringLiteral();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1434);
decimalLiteral();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1435);
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(CqlParser.PLUS, 0); }
public TerminalNode INTERVAL() { return getToken(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitIntervalExpr(this);
else return visitor.visitChildren(this);
}
}
public final IntervalExprContext intervalExpr() throws RecognitionException {
IntervalExprContext _localctx = new IntervalExprContext(_ctx, getState());
enterRule(_localctx, 68, RULE_intervalExpr);
try {
enterOuterAlt(_localctx, 1);
{
setState(1438);
match(PLUS);
setState(1439);
match(INTERVAL);
setState(1442);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,132,_ctx) ) {
case 1:
{
setState(1440);
decimalLiteral();
}
break;
case 2:
{
setState(1441);
expression(0);
}
break;
}
setState(1444);
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(CqlParser.YEAR, 0); }
public TerminalNode YEAR_MONTH() { return getToken(CqlParser.YEAR_MONTH, 0); }
public TerminalNode DAY_HOUR() { return getToken(CqlParser.DAY_HOUR, 0); }
public TerminalNode DAY_MINUTE() { return getToken(CqlParser.DAY_MINUTE, 0); }
public TerminalNode DAY_SECOND() { return getToken(CqlParser.DAY_SECOND, 0); }
public TerminalNode HOUR_MINUTE() { return getToken(CqlParser.HOUR_MINUTE, 0); }
public TerminalNode HOUR_SECOND() { return getToken(CqlParser.HOUR_SECOND, 0); }
public TerminalNode MINUTE_SECOND() { return getToken(CqlParser.MINUTE_SECOND, 0); }
public TerminalNode SECOND_MICROSECOND() { return getToken(CqlParser.SECOND_MICROSECOND, 0); }
public TerminalNode MINUTE_MICROSECOND() { return getToken(CqlParser.MINUTE_MICROSECOND, 0); }
public TerminalNode HOUR_MICROSECOND() { return getToken(CqlParser.HOUR_MICROSECOND, 0); }
public TerminalNode DAY_MICROSECOND() { return getToken(CqlParser.DAY_MICROSECOND, 0); }
public IntervalTypeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_intervalType; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitIntervalType(this);
else return visitor.visitChildren(this);
}
}
public final IntervalTypeContext intervalType() throws RecognitionException {
IntervalTypeContext _localctx = new IntervalTypeContext(_ctx, getState());
enterRule(_localctx, 70, RULE_intervalType);
try {
setState(1459);
_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(1446);
intervalTypeBase();
}
break;
case YEAR:
enterOuterAlt(_localctx, 2);
{
setState(1447);
match(YEAR);
}
break;
case YEAR_MONTH:
enterOuterAlt(_localctx, 3);
{
setState(1448);
match(YEAR_MONTH);
}
break;
case DAY_HOUR:
enterOuterAlt(_localctx, 4);
{
setState(1449);
match(DAY_HOUR);
}
break;
case DAY_MINUTE:
enterOuterAlt(_localctx, 5);
{
setState(1450);
match(DAY_MINUTE);
}
break;
case DAY_SECOND:
enterOuterAlt(_localctx, 6);
{
setState(1451);
match(DAY_SECOND);
}
break;
case HOUR_MINUTE:
enterOuterAlt(_localctx, 7);
{
setState(1452);
match(HOUR_MINUTE);
}
break;
case HOUR_SECOND:
enterOuterAlt(_localctx, 8);
{
setState(1453);
match(HOUR_SECOND);
}
break;
case MINUTE_SECOND:
enterOuterAlt(_localctx, 9);
{
setState(1454);
match(MINUTE_SECOND);
}
break;
case SECOND_MICROSECOND:
enterOuterAlt(_localctx, 10);
{
setState(1455);
match(SECOND_MICROSECOND);
}
break;
case MINUTE_MICROSECOND:
enterOuterAlt(_localctx, 11);
{
setState(1456);
match(MINUTE_MICROSECOND);
}
break;
case HOUR_MICROSECOND:
enterOuterAlt(_localctx, 12);
{
setState(1457);
match(HOUR_MICROSECOND);
}
break;
case DAY_MICROSECOND:
enterOuterAlt(_localctx, 13);
{
setState(1458);
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(CqlParser.ENABLE, 0); }
public TerminalNode DISABLE() { return getToken(CqlParser.DISABLE, 0); }
public TerminalNode ON() { return getToken(CqlParser.ON, 0); }
public TerminalNode SLAVE() { return getToken(CqlParser.SLAVE, 0); }
public EnableTypeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_enableType; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitEnableType(this);
else return visitor.visitChildren(this);
}
}
public final EnableTypeContext enableType() throws RecognitionException {
EnableTypeContext _localctx = new EnableTypeContext(_ctx, getState());
enterRule(_localctx, 72, RULE_enableType);
try {
setState(1466);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,134,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1461);
match(ENABLE);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1462);
match(DISABLE);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1463);
match(DISABLE);
setState(1464);
match(ON);
setState(1465);
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(CqlParser.USING, 0); }
public TerminalNode BTREE() { return getToken(CqlParser.BTREE, 0); }
public TerminalNode HASH() { return getToken(CqlParser.HASH, 0); }
public TerminalNode RTREE() { return getToken(CqlParser.RTREE, 0); }
public IndexTypeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_indexType; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitIndexType(this);
else return visitor.visitChildren(this);
}
}
public final IndexTypeContext indexType() throws RecognitionException {
IndexTypeContext _localctx = new IndexTypeContext(_ctx, getState());
enterRule(_localctx, 74, RULE_indexType);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1468);
match(USING);
setState(1469);
_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(CqlParser.KEY_BLOCK_SIZE, 0); }
public FileSizeLiteralContext fileSizeLiteral() {
return getRuleContext(FileSizeLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public IndexTypeContext indexType() {
return getRuleContext(IndexTypeContext.class,0);
}
public TerminalNode WITH() { return getToken(CqlParser.WITH, 0); }
public TerminalNode PARSER() { return getToken(CqlParser.PARSER, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode COMMENT() { return getToken(CqlParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(CqlParser.STRING_LITERAL, 0); }
public TerminalNode VISIBLE() { return getToken(CqlParser.VISIBLE, 0); }
public TerminalNode INVISIBLE() { return getToken(CqlParser.INVISIBLE, 0); }
public TerminalNode ENGINE_ATTRIBUTE() { return getToken(CqlParser.ENGINE_ATTRIBUTE, 0); }
public TerminalNode SECONDARY_ENGINE_ATTRIBUTE() { return getToken(CqlParser.SECONDARY_ENGINE_ATTRIBUTE, 0); }
public TerminalNode CLUSTERING() { return getToken(CqlParser.CLUSTERING, 0); }
public TerminalNode YES() { return getToken(CqlParser.YES, 0); }
public TerminalNode NO() { return getToken(CqlParser.NO, 0); }
public TerminalNode IGNORED() { return getToken(CqlParser.IGNORED, 0); }
public TerminalNode NOT() { return getToken(CqlParser.NOT, 0); }
public IndexOptionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_indexOption; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitIndexOption(this);
else return visitor.visitChildren(this);
}
}
public final IndexOptionContext indexOption() throws RecognitionException {
IndexOptionContext _localctx = new IndexOptionContext(_ctx, getState());
enterRule(_localctx, 76, RULE_indexOption);
int _la;
try {
setState(1501);
_errHandler.sync(this);
switch (_input.LA(1)) {
case KEY_BLOCK_SIZE:
enterOuterAlt(_localctx, 1);
{
setState(1471);
match(KEY_BLOCK_SIZE);
setState(1473);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1472);
match(EQUAL_SYMBOL);
}
}
setState(1475);
fileSizeLiteral();
}
break;
case USING:
enterOuterAlt(_localctx, 2);
{
setState(1476);
indexType();
}
break;
case WITH:
enterOuterAlt(_localctx, 3);
{
setState(1477);
match(WITH);
setState(1478);
match(PARSER);
setState(1479);
uid();
}
break;
case COMMENT:
enterOuterAlt(_localctx, 4);
{
setState(1480);
match(COMMENT);
setState(1481);
match(STRING_LITERAL);
}
break;
case INVISIBLE:
case VISIBLE:
enterOuterAlt(_localctx, 5);
{
setState(1482);
_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(1483);
match(ENGINE_ATTRIBUTE);
setState(1485);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1484);
match(EQUAL_SYMBOL);
}
}
setState(1487);
match(STRING_LITERAL);
}
break;
case SECONDARY_ENGINE_ATTRIBUTE:
enterOuterAlt(_localctx, 7);
{
setState(1488);
match(SECONDARY_ENGINE_ATTRIBUTE);
setState(1490);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1489);
match(EQUAL_SYMBOL);
}
}
setState(1492);
match(STRING_LITERAL);
}
break;
case CLUSTERING:
enterOuterAlt(_localctx, 8);
{
setState(1493);
match(CLUSTERING);
setState(1494);
match(EQUAL_SYMBOL);
setState(1495);
_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(1499);
_errHandler.sync(this);
switch (_input.LA(1)) {
case IGNORED:
{
setState(1496);
match(IGNORED);
}
break;
case NOT:
{
setState(1497);
match(NOT);
setState(1498);
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(CqlParser.IN, 0); }
public TerminalNode OUT() { return getToken(CqlParser.OUT, 0); }
public TerminalNode INOUT() { return getToken(CqlParser.INOUT, 0); }
public ProcedureParameterContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_procedureParameter; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitProcedureParameter(this);
else return visitor.visitChildren(this);
}
}
public final ProcedureParameterContext procedureParameter() throws RecognitionException {
ProcedureParameterContext _localctx = new ProcedureParameterContext(_ctx, getState());
enterRule(_localctx, 78, RULE_procedureParameter);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1504);
_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(1503);
((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(1506);
uid();
setState(1507);
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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitFunctionParameter(this);
else return visitor.visitChildren(this);
}
}
public final FunctionParameterContext functionParameter() throws RecognitionException {
FunctionParameterContext _localctx = new FunctionParameterContext(_ctx, getState());
enterRule(_localctx, 80, RULE_functionParameter);
try {
enterOuterAlt(_localctx, 1);
{
setState(1509);
uid();
setState(1510);
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(CqlParser.DETERMINISTIC, 0); }
public TerminalNode NOT() { return getToken(CqlParser.NOT, 0); }
public RoutineBehaviorContext(RoutineOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitRoutineBehavior(this);
else return visitor.visitChildren(this);
}
}
public static class RoutineLanguageContext extends RoutineOptionContext {
public TerminalNode LANGUAGE() { return getToken(CqlParser.LANGUAGE, 0); }
public TerminalNode SQL() { return getToken(CqlParser.SQL, 0); }
public RoutineLanguageContext(RoutineOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitRoutineLanguage(this);
else return visitor.visitChildren(this);
}
}
public static class RoutineCommentContext extends RoutineOptionContext {
public TerminalNode COMMENT() { return getToken(CqlParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(CqlParser.STRING_LITERAL, 0); }
public RoutineCommentContext(RoutineOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitRoutineComment(this);
else return visitor.visitChildren(this);
}
}
public static class RoutineSecurityContext extends RoutineOptionContext {
public Token context;
public TerminalNode SQL() { return getToken(CqlParser.SQL, 0); }
public TerminalNode SECURITY() { return getToken(CqlParser.SECURITY, 0); }
public TerminalNode DEFINER() { return getToken(CqlParser.DEFINER, 0); }
public TerminalNode INVOKER() { return getToken(CqlParser.INVOKER, 0); }
public RoutineSecurityContext(RoutineOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitRoutineSecurity(this);
else return visitor.visitChildren(this);
}
}
public static class RoutineDataContext extends RoutineOptionContext {
public TerminalNode CONTAINS() { return getToken(CqlParser.CONTAINS, 0); }
public TerminalNode SQL() { return getToken(CqlParser.SQL, 0); }
public TerminalNode NO() { return getToken(CqlParser.NO, 0); }
public TerminalNode READS() { return getToken(CqlParser.READS, 0); }
public TerminalNode DATA() { return getToken(CqlParser.DATA, 0); }
public TerminalNode MODIFIES() { return getToken(CqlParser.MODIFIES, 0); }
public RoutineDataContext(RoutineOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitRoutineData(this);
else return visitor.visitChildren(this);
}
}
public final RoutineOptionContext routineOption() throws RecognitionException {
RoutineOptionContext _localctx = new RoutineOptionContext(_ctx, getState());
enterRule(_localctx, 82, RULE_routineOption);
int _la;
try {
setState(1535);
_errHandler.sync(this);
switch (_input.LA(1)) {
case COMMENT:
_localctx = new RoutineCommentContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1512);
match(COMMENT);
setState(1513);
match(STRING_LITERAL);
}
break;
case LANGUAGE:
_localctx = new RoutineLanguageContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1514);
match(LANGUAGE);
setState(1515);
match(SQL);
}
break;
case DETERMINISTIC:
case NOT:
_localctx = new RoutineBehaviorContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(1517);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOT) {
{
setState(1516);
match(NOT);
}
}
setState(1519);
match(DETERMINISTIC);
}
break;
case MODIFIES:
case READS:
case CONTAINS:
case NO:
_localctx = new RoutineDataContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(1530);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CONTAINS:
{
setState(1520);
match(CONTAINS);
setState(1521);
match(SQL);
}
break;
case NO:
{
setState(1522);
match(NO);
setState(1523);
match(SQL);
}
break;
case READS:
{
setState(1524);
match(READS);
setState(1525);
match(SQL);
setState(1526);
match(DATA);
}
break;
case MODIFIES:
{
setState(1527);
match(MODIFIES);
setState(1528);
match(SQL);
setState(1529);
match(DATA);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case SQL:
_localctx = new RoutineSecurityContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(1532);
match(SQL);
setState(1533);
match(SECURITY);
setState(1534);
((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(CqlParser.HOST, 0); }
public TerminalNode STRING_LITERAL() { return getToken(CqlParser.STRING_LITERAL, 0); }
public TerminalNode DATABASE() { return getToken(CqlParser.DATABASE, 0); }
public TerminalNode USER() { return getToken(CqlParser.USER, 0); }
public TerminalNode PASSWORD() { return getToken(CqlParser.PASSWORD, 0); }
public TerminalNode SOCKET() { return getToken(CqlParser.SOCKET, 0); }
public TerminalNode OWNER() { return getToken(CqlParser.OWNER, 0); }
public TerminalNode PORT() { return getToken(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitServerOption(this);
else return visitor.visitChildren(this);
}
}
public final ServerOptionContext serverOption() throws RecognitionException {
ServerOptionContext _localctx = new ServerOptionContext(_ctx, getState());
enterRule(_localctx, 84, RULE_serverOption);
try {
setState(1551);
_errHandler.sync(this);
switch (_input.LA(1)) {
case HOST:
enterOuterAlt(_localctx, 1);
{
setState(1537);
match(HOST);
setState(1538);
match(STRING_LITERAL);
}
break;
case DATABASE:
enterOuterAlt(_localctx, 2);
{
setState(1539);
match(DATABASE);
setState(1540);
match(STRING_LITERAL);
}
break;
case USER:
enterOuterAlt(_localctx, 3);
{
setState(1541);
match(USER);
setState(1542);
match(STRING_LITERAL);
}
break;
case PASSWORD:
enterOuterAlt(_localctx, 4);
{
setState(1543);
match(PASSWORD);
setState(1544);
match(STRING_LITERAL);
}
break;
case SOCKET:
enterOuterAlt(_localctx, 5);
{
setState(1545);
match(SOCKET);
setState(1546);
match(STRING_LITERAL);
}
break;
case OWNER:
enterOuterAlt(_localctx, 6);
{
setState(1547);
match(OWNER);
setState(1548);
match(STRING_LITERAL);
}
break;
case PORT:
enterOuterAlt(_localctx, 7);
{
setState(1549);
match(PORT);
setState(1550);
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(CqlParser.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(CqlParser.RR_BRACKET, 0); }
public List COMMA() { return getTokens(CqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(CqlParser.COMMA, i);
}
public CreateDefinitionsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createDefinitions; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCreateDefinitions(this);
else return visitor.visitChildren(this);
}
}
public final CreateDefinitionsContext createDefinitions() throws RecognitionException {
CreateDefinitionsContext _localctx = new CreateDefinitionsContext(_ctx, getState());
enterRule(_localctx, 86, RULE_createDefinitions);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1553);
match(LR_BRACKET);
setState(1554);
createDefinition();
setState(1559);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1555);
match(COMMA);
setState(1556);
createDefinition();
}
}
setState(1561);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1562);
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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitColumnDeclaration(this);
else return visitor.visitChildren(this);
}
}
public static class ConstraintDeclarationContext extends CreateDefinitionContext {
public TableConstraintContext tableConstraint() {
return getRuleContext(TableConstraintContext.class,0);
}
public ConstraintDeclarationContext(CreateDefinitionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitConstraintDeclaration(this);
else return visitor.visitChildren(this);
}
}
public static class IndexDeclarationContext extends CreateDefinitionContext {
public IndexColumnDefinitionContext indexColumnDefinition() {
return getRuleContext(IndexColumnDefinitionContext.class,0);
}
public IndexDeclarationContext(CreateDefinitionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitIndexDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final CreateDefinitionContext createDefinition() throws RecognitionException {
CreateDefinitionContext _localctx = new CreateDefinitionContext(_ctx, getState());
enterRule(_localctx, 88, RULE_createDefinition);
try {
setState(1569);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CURRENT:
case DATABASE:
case DIAGNOSTICS:
case EXCEPT:
case GROUP:
case IGNORED:
case LEFT:
case NUMBER:
case OPTIONAL:
case ORDER:
case RIGHT:
case SCHEMA:
case STACKED:
case DATE:
case TIME:
case TIMESTAMP:
case DATETIME:
case YEAR:
case BINARY:
case TEXT:
case ENUM:
case SERIAL:
case JSON_ARRAY:
case JSON_OBJECT:
case JSON_QUOTE:
case JSON_CONTAINS:
case JSON_CONTAINS_PATH:
case JSON_EXTRACT:
case JSON_KEYS:
case JSON_OVERLAPS:
case JSON_SEARCH:
case JSON_VALUE:
case JSON_ARRAY_APPEND:
case JSON_ARRAY_INSERT:
case JSON_INSERT:
case JSON_MERGE:
case JSON_MERGE_PATCH:
case JSON_MERGE_PRESERVE:
case JSON_REMOVE:
case JSON_REPLACE:
case JSON_SET:
case JSON_UNQUOTE:
case JSON_DEPTH:
case JSON_LENGTH:
case JSON_TYPE:
case JSON_VALID:
case JSON_TABLE:
case JSON_SCHEMA_VALID:
case JSON_SCHEMA_VALIDATION_REPORT:
case JSON_PRETTY:
case JSON_STORAGE_FREE:
case JSON_STORAGE_SIZE:
case JSON_ARRAYAGG:
case JSON_OBJECTAGG:
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 POSITION:
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 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 ENCRYPTION:
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 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 HOST:
case HOSTS:
case IDENTIFIED:
case IGNORE_SERVER_IDS:
case IMPORT:
case INDEXES:
case INITIAL_SIZE:
case INPLACE:
case INSERT_METHOD:
case INSTALL:
case INSTANCE:
case INSTANT:
case INVISIBLE:
case INVOKER:
case IO:
case IO_THREAD:
case IPC:
case ISOLATION:
case ISSUER:
case JSON:
case KEY_BLOCK_SIZE:
case LANGUAGE:
case LAST:
case LEAVES:
case LESS:
case LEVEL:
case LIST:
case LOCAL:
case LOGFILE:
case LOGS:
case MASTER:
case MASTER_AUTO_POSITION:
case MASTER_CONNECT_RETRY:
case MASTER_DELAY:
case MASTER_HEARTBEAT_PERIOD:
case MASTER_HOST:
case MASTER_LOG_FILE:
case MASTER_LOG_POS:
case MASTER_PASSWORD:
case MASTER_PORT:
case MASTER_RETRY_COUNT:
case MASTER_SSL:
case MASTER_SSL_CA:
case MASTER_SSL_CAPATH:
case MASTER_SSL_CERT:
case MASTER_SSL_CIPHER:
case MASTER_SSL_CRL:
case MASTER_SSL_CRLPATH:
case MASTER_SSL_KEY:
case MASTER_TLS_VERSION:
case MASTER_USER:
case MAX_CONNECTIONS_PER_HOUR:
case MAX_QUERIES_PER_HOUR:
case MAX_ROWS:
case MAX_SIZE:
case MAX_UPDATES_PER_HOUR:
case MAX_USER_CONNECTIONS:
case MEDIUM:
case MEMBER:
case MERGE:
case MESSAGE_TEXT:
case MID:
case MIGRATE:
case MIN_ROWS:
case MODE:
case MODIFY:
case MUTEX:
case MYSQL:
case MYSQL_ERRNO:
case NAME:
case NAMES:
case NCHAR:
case NEVER:
case NEXT:
case NO:
case NOCOPY:
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 PHASE:
case PLUGIN:
case PLUGIN_DIR:
case PLUGINS:
case PORT:
case PRECEDES:
case PREPARE:
case PRESERVE:
case PREV:
case PROCESSLIST:
case PROFILE:
case PROFILES:
case PROXY:
case QUERY:
case QUICK:
case REBUILD:
case RECOVER:
case RECURSIVE:
case REDO_BUFFER_SIZE:
case REDUNDANT:
case RELAY:
case RELAY_LOG_FILE:
case RELAY_LOG_POS:
case RELAYLOG:
case REMOVE:
case REORGANIZE:
case REPAIR:
case REPLICATE_DO_DB:
case REPLICATE_DO_TABLE:
case REPLICATE_IGNORE_DB:
case REPLICATE_IGNORE_TABLE:
case REPLICATE_REWRITE_DB:
case REPLICATE_WILD_DO_TABLE:
case REPLICATE_WILD_IGNORE_TABLE:
case REPLICATION:
case RESET:
case RESUME:
case RETURNED_SQLSTATE:
case RETURNS:
case ROLE:
case ROLLBACK:
case ROLLUP:
case ROTATE:
case ROW:
case ROWS:
case ROW_FORMAT:
case RTREE:
case SAVEPOINT:
case SCHEDULE:
case SECURITY:
case SERVER:
case SESSION:
case SHARE:
case SHARED:
case SIGNED:
case SIMPLE:
case SLAVE:
case SLOW:
case SNAPSHOT:
case SOCKET:
case SOME:
case SONAME:
case SOUNDS:
case SOURCE:
case SQL_AFTER_GTIDS:
case SQL_AFTER_MTS_GAPS:
case SQL_BEFORE_GTIDS:
case SQL_BUFFER_RESULT:
case SQL_CACHE:
case SQL_NO_CACHE:
case SQL_THREAD:
case START:
case STARTS:
case STATS_AUTO_RECALC:
case STATS_PERSISTENT:
case STATS_SAMPLE_PAGES:
case STATUS:
case STOP:
case STORAGE:
case STRING:
case SUBCLASS_ORIGIN:
case SUBJECT:
case SUBPARTITION:
case SUBPARTITIONS:
case SUSPEND:
case SWAPS:
case SWITCHES:
case TABLE_NAME:
case TABLESPACE:
case TEMPORARY:
case TEMPTABLE:
case THAN:
case TRADITIONAL:
case TRANSACTION:
case TRANSACTIONAL:
case TRIGGERS:
case TRUNCATE:
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 VISIBLE:
case WAIT:
case WARNINGS:
case WITHOUT:
case WORK:
case WRAPPER:
case X509:
case XA:
case XML:
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 TABLES:
case ROUTINE:
case EXECUTE:
case FILE:
case PROCESS:
case RELOAD:
case SHUTDOWN:
case SUPER:
case PRIVILEGES:
case AUDIT_ADMIN:
case BACKUP_ADMIN:
case BINLOG_ADMIN:
case BINLOG_ENCRYPTION_ADMIN:
case CLONE_ADMIN:
case CONNECTION_ADMIN:
case ENCRYPTION_KEY_ADMIN:
case FIREWALL_ADMIN:
case FIREWALL_USER:
case ADMIN:
case GROUP_REPLICATION_ADMIN:
case INNODB_REDO_LOG_ARCHIVE:
case NDB_STORED_USER:
case PERSIST_RO_VARIABLES_ADMIN:
case REPLICATION_APPLIER:
case REPLICATION_SLAVE_ADMIN:
case RESOURCE_GROUP_ADMIN:
case RESOURCE_GROUP_USER:
case ROLE_ADMIN:
case SESSION_VARIABLES_ADMIN:
case SET_USER_ID:
case SHOW_ROUTINE:
case SYSTEM_VARIABLES_ADMIN:
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 REPLICATION_MASTER_ADMIN:
case MOD:
case CHARSET_REVERSE_QOUTE_STRING:
case STRING_LITERAL:
case ID:
case REVERSE_QUOTE_ID:
case ENCRYPTED:
case ENCRYPTION_KEY_ID:
_localctx = new ColumnDeclarationContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1564);
uid();
setState(1565);
columnDefinition();
}
break;
case CHECK:
case CONSTRAINT:
case FOREIGN:
case PRIMARY:
case UNIQUE:
_localctx = new ConstraintDeclarationContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1567);
tableConstraint();
}
break;
case FULLTEXT:
case INDEX:
case KEY:
case SPATIAL:
_localctx = new IndexDeclarationContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(1568);
indexColumnDefinition();
}
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 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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitColumnDefinition(this);
else return visitor.visitChildren(this);
}
}
public final ColumnDefinitionContext columnDefinition() throws RecognitionException {
ColumnDefinitionContext _localctx = new ColumnDefinitionContext(_ctx, getState());
enterRule(_localctx, 90, RULE_columnDefinition);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(1571);
dataType();
setState(1575);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,147,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(1572);
columnConstraint();
}
}
}
setState(1577);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,147,_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(CqlParser.STORAGE, 0); }
public TerminalNode DISK() { return getToken(CqlParser.DISK, 0); }
public TerminalNode MEMORY() { return getToken(CqlParser.MEMORY, 0); }
public TerminalNode DEFAULT() { return getToken(CqlParser.DEFAULT, 0); }
public StorageColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitStorageColumnConstraint(this);
else return visitor.visitChildren(this);
}
}
public static class VisibilityColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode VISIBLE() { return getToken(CqlParser.VISIBLE, 0); }
public TerminalNode INVISIBLE() { return getToken(CqlParser.INVISIBLE, 0); }
public VisibilityColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitVisibilityColumnConstraint(this);
else return visitor.visitChildren(this);
}
}
public static class AutoIncrementColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode AUTO_INCREMENT() { return getToken(CqlParser.AUTO_INCREMENT, 0); }
public TerminalNode ON() { return getToken(CqlParser.ON, 0); }
public TerminalNode UPDATE() { return getToken(CqlParser.UPDATE, 0); }
public CurrentTimestampContext currentTimestamp() {
return getRuleContext(CurrentTimestampContext.class,0);
}
public AutoIncrementColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitAutoIncrementColumnConstraint(this);
else return visitor.visitChildren(this);
}
}
public static class CommentColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode COMMENT() { return getToken(CqlParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(CqlParser.STRING_LITERAL, 0); }
public CommentColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCommentColumnConstraint(this);
else return visitor.visitChildren(this);
}
}
public static class UniqueKeyColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode UNIQUE() { return getToken(CqlParser.UNIQUE, 0); }
public TerminalNode KEY() { return getToken(CqlParser.KEY, 0); }
public UniqueKeyColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitUniqueKeyColumnConstraint(this);
else return visitor.visitChildren(this);
}
}
public static class SerialDefaultColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode SERIAL() { return getToken(CqlParser.SERIAL, 0); }
public TerminalNode DEFAULT() { return getToken(CqlParser.DEFAULT, 0); }
public TerminalNode VALUE() { return getToken(CqlParser.VALUE, 0); }
public SerialDefaultColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitSerialDefaultColumnConstraint(this);
else return visitor.visitChildren(this);
}
}
public static class GeneratedColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode AS() { return getToken(CqlParser.AS, 0); }
public TerminalNode LR_BRACKET() { return getToken(CqlParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(CqlParser.RR_BRACKET, 0); }
public TerminalNode GENERATED() { return getToken(CqlParser.GENERATED, 0); }
public TerminalNode ALWAYS() { return getToken(CqlParser.ALWAYS, 0); }
public TerminalNode VIRTUAL() { return getToken(CqlParser.VIRTUAL, 0); }
public TerminalNode STORED() { return getToken(CqlParser.STORED, 0); }
public GeneratedColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitGeneratedColumnConstraint(this);
else return visitor.visitChildren(this);
}
}
public static class FormatColumnConstraintContext extends ColumnConstraintContext {
public Token colformat;
public TerminalNode COLUMN_FORMAT() { return getToken(CqlParser.COLUMN_FORMAT, 0); }
public TerminalNode FIXED() { return getToken(CqlParser.FIXED, 0); }
public TerminalNode DYNAMIC() { return getToken(CqlParser.DYNAMIC, 0); }
public TerminalNode DEFAULT() { return getToken(CqlParser.DEFAULT, 0); }
public FormatColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitFormatColumnConstraint(this);
else return visitor.visitChildren(this);
}
}
public static class CollateColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode COLLATE() { return getToken(CqlParser.COLLATE, 0); }
public CollationNameContext collationName() {
return getRuleContext(CollationNameContext.class,0);
}
public CollateColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCollateColumnConstraint(this);
else return visitor.visitChildren(this);
}
}
public static class PrimaryKeyColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode KEY() { return getToken(CqlParser.KEY, 0); }
public TerminalNode PRIMARY() { return getToken(CqlParser.PRIMARY, 0); }
public PrimaryKeyColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPrimaryKeyColumnConstraint(this);
else return visitor.visitChildren(this);
}
}
public static class CheckColumnConstraintContext extends ColumnConstraintContext {
public UidContext name;
public TerminalNode CHECK() { return getToken(CqlParser.CHECK, 0); }
public TerminalNode LR_BRACKET() { return getToken(CqlParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(CqlParser.RR_BRACKET, 0); }
public TerminalNode CONSTRAINT() { return getToken(CqlParser.CONSTRAINT, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public CheckColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCheckColumnConstraint(this);
else return visitor.visitChildren(this);
}
}
public static class NullColumnConstraintContext extends ColumnConstraintContext {
public NullNotnullContext nullNotnull() {
return getRuleContext(NullNotnullContext.class,0);
}
public NullColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitNullColumnConstraint(this);
else return visitor.visitChildren(this);
}
}
public static class DefaultColumnConstraintContext extends ColumnConstraintContext {
public TerminalNode DEFAULT() { return getToken(CqlParser.DEFAULT, 0); }
public DefaultValueContext defaultValue() {
return getRuleContext(DefaultValueContext.class,0);
}
public DefaultColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitDefaultColumnConstraint(this);
else return visitor.visitChildren(this);
}
}
public static class ReferenceColumnConstraintContext extends ColumnConstraintContext {
public ReferenceDefinitionContext referenceDefinition() {
return getRuleContext(ReferenceDefinitionContext.class,0);
}
public ReferenceColumnConstraintContext(ColumnConstraintContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitReferenceColumnConstraint(this);
else return visitor.visitChildren(this);
}
}
public final ColumnConstraintContext columnConstraint() throws RecognitionException {
ColumnConstraintContext _localctx = new ColumnConstraintContext(_ctx, getState());
enterRule(_localctx, 92, RULE_columnConstraint);
int _la;
try {
setState(1631);
_errHandler.sync(this);
switch (_input.LA(1)) {
case NOT:
case NULL_LITERAL:
case NULL_SPEC_LITERAL:
_localctx = new NullColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1578);
nullNotnull();
}
break;
case DEFAULT:
_localctx = new DefaultColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1579);
match(DEFAULT);
setState(1580);
defaultValue();
}
break;
case VISIBLE:
_localctx = new VisibilityColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(1581);
match(VISIBLE);
}
break;
case INVISIBLE:
_localctx = new VisibilityColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(1582);
match(INVISIBLE);
}
break;
case ON:
case AUTO_INCREMENT:
_localctx = new AutoIncrementColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(1587);
_errHandler.sync(this);
switch (_input.LA(1)) {
case AUTO_INCREMENT:
{
setState(1583);
match(AUTO_INCREMENT);
}
break;
case ON:
{
setState(1584);
match(ON);
setState(1585);
match(UPDATE);
setState(1586);
currentTimestamp();
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case KEY:
case PRIMARY:
_localctx = new PrimaryKeyColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 6);
{
setState(1590);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PRIMARY) {
{
setState(1589);
match(PRIMARY);
}
}
setState(1592);
match(KEY);
}
break;
case UNIQUE:
_localctx = new UniqueKeyColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 7);
{
setState(1593);
match(UNIQUE);
setState(1595);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,150,_ctx) ) {
case 1:
{
setState(1594);
match(KEY);
}
break;
}
}
break;
case COMMENT:
_localctx = new CommentColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 8);
{
setState(1597);
match(COMMENT);
setState(1598);
match(STRING_LITERAL);
}
break;
case COLUMN_FORMAT:
_localctx = new FormatColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 9);
{
setState(1599);
match(COLUMN_FORMAT);
setState(1600);
((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(1601);
match(STORAGE);
setState(1602);
((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(1603);
referenceDefinition();
}
break;
case COLLATE:
_localctx = new CollateColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 12);
{
setState(1604);
match(COLLATE);
setState(1605);
collationName();
}
break;
case AS:
case GENERATED:
_localctx = new GeneratedColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 13);
{
setState(1608);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==GENERATED) {
{
setState(1606);
match(GENERATED);
setState(1607);
match(ALWAYS);
}
}
setState(1610);
match(AS);
setState(1611);
match(LR_BRACKET);
setState(1612);
expression(0);
setState(1613);
match(RR_BRACKET);
setState(1615);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==STORED || _la==VIRTUAL) {
{
setState(1614);
_la = _input.LA(1);
if ( !(_la==STORED || _la==VIRTUAL) ) {
_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(1617);
match(SERIAL);
setState(1618);
match(DEFAULT);
setState(1619);
match(VALUE);
}
break;
case CHECK:
case CONSTRAINT:
_localctx = new CheckColumnConstraintContext(_localctx);
enterOuterAlt(_localctx, 15);
{
setState(1624);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(1620);
match(CONSTRAINT);
setState(1622);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 34)) & ~0x3f) == 0 && ((1L << (_la - 34)) & ((1L << (CURRENT - 34)) | (1L << (DATABASE - 34)) | (1L << (DIAGNOSTICS - 34)) | (1L << (EXCEPT - 34)) | (1L << (GROUP - 34)) | (1L << (IGNORED - 34)) | (1L << (LEFT - 34)))) != 0) || ((((_la - 114)) & ~0x3f) == 0 && ((1L << (_la - 114)) & ((1L << (NUMBER - 114)) | (1L << (OPTIONAL - 114)) | (1L << (ORDER - 114)) | (1L << (RIGHT - 114)) | (1L << (SCHEMA - 114)) | (1L << (STACKED - 114)))) != 0) || ((((_la - 211)) & ~0x3f) == 0 && ((1L << (_la - 211)) & ((1L << (DATE - 211)) | (1L << (TIME - 211)) | (1L << (TIMESTAMP - 211)) | (1L << (DATETIME - 211)) | (1L << (YEAR - 211)) | (1L << (BINARY - 211)) | (1L << (TEXT - 211)) | (1L << (ENUM - 211)) | (1L << (SERIAL - 211)) | (1L << (JSON_ARRAY - 211)) | (1L << (JSON_OBJECT - 211)) | (1L << (JSON_QUOTE - 211)) | (1L << (JSON_CONTAINS - 211)) | (1L << (JSON_CONTAINS_PATH - 211)) | (1L << (JSON_EXTRACT - 211)) | (1L << (JSON_KEYS - 211)) | (1L << (JSON_OVERLAPS - 211)) | (1L << (JSON_SEARCH - 211)) | (1L << (JSON_VALUE - 211)) | (1L << (JSON_ARRAY_APPEND - 211)) | (1L << (JSON_ARRAY_INSERT - 211)) | (1L << (JSON_INSERT - 211)) | (1L << (JSON_MERGE - 211)) | (1L << (JSON_MERGE_PATCH - 211)) | (1L << (JSON_MERGE_PRESERVE - 211)) | (1L << (JSON_REMOVE - 211)) | (1L << (JSON_REPLACE - 211)) | (1L << (JSON_SET - 211)) | (1L << (JSON_UNQUOTE - 211)) | (1L << (JSON_DEPTH - 211)) | (1L << (JSON_LENGTH - 211)) | (1L << (JSON_TYPE - 211)) | (1L << (JSON_VALID - 211)) | (1L << (JSON_TABLE - 211)) | (1L << (JSON_SCHEMA_VALID - 211)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 211)) | (1L << (JSON_PRETTY - 211)) | (1L << (JSON_STORAGE_FREE - 211)) | (1L << (JSON_STORAGE_SIZE - 211)))) != 0) || ((((_la - 275)) & ~0x3f) == 0 && ((1L << (_la - 275)) & ((1L << (JSON_ARRAYAGG - 275)) | (1L << (JSON_OBJECTAGG - 275)) | (1L << (AVG - 275)) | (1L << (BIT_AND - 275)) | (1L << (BIT_OR - 275)) | (1L << (BIT_XOR - 275)) | (1L << (COUNT - 275)) | (1L << (CUME_DIST - 275)) | (1L << (DENSE_RANK - 275)) | (1L << (FIRST_VALUE - 275)) | (1L << (GROUP_CONCAT - 275)) | (1L << (LAG - 275)) | (1L << (LAST_VALUE - 275)) | (1L << (LEAD - 275)) | (1L << (MAX - 275)) | (1L << (MIN - 275)) | (1L << (NTILE - 275)) | (1L << (NTH_VALUE - 275)) | (1L << (PERCENT_RANK - 275)) | (1L << (RANK - 275)) | (1L << (ROW_NUMBER - 275)) | (1L << (STD - 275)) | (1L << (STDDEV - 275)) | (1L << (STDDEV_POP - 275)) | (1L << (STDDEV_SAMP - 275)) | (1L << (SUM - 275)) | (1L << (VAR_POP - 275)) | (1L << (VAR_SAMP - 275)) | (1L << (VARIANCE - 275)) | (1L << (POSITION - 275)) | (1L << (ACCOUNT - 275)) | (1L << (ACTION - 275)) | (1L << (AFTER - 275)) | (1L << (AGGREGATE - 275)) | (1L << (ALGORITHM - 275)) | (1L << (ANY - 275)) | (1L << (AT - 275)) | (1L << (AUTHORS - 275)) | (1L << (AUTOCOMMIT - 275)) | (1L << (AUTOEXTEND_SIZE - 275)) | (1L << (AUTO_INCREMENT - 275)) | (1L << (AVG_ROW_LENGTH - 275)) | (1L << (BEGIN - 275)) | (1L << (BINLOG - 275)) | (1L << (BIT - 275)) | (1L << (BLOCK - 275)))) != 0) || ((((_la - 339)) & ~0x3f) == 0 && ((1L << (_la - 339)) & ((1L << (BOOL - 339)) | (1L << (BOOLEAN - 339)) | (1L << (BTREE - 339)) | (1L << (CACHE - 339)) | (1L << (CASCADED - 339)) | (1L << (CHAIN - 339)) | (1L << (CHANGED - 339)) | (1L << (CHANNEL - 339)) | (1L << (CHECKSUM - 339)) | (1L << (PAGE_CHECKSUM - 339)) | (1L << (CIPHER - 339)) | (1L << (CLASS_ORIGIN - 339)) | (1L << (CLIENT - 339)) | (1L << (CLOSE - 339)) | (1L << (CLUSTERING - 339)) | (1L << (COALESCE - 339)) | (1L << (CODE - 339)) | (1L << (COLUMNS - 339)) | (1L << (COLUMN_FORMAT - 339)) | (1L << (COLUMN_NAME - 339)) | (1L << (COMMENT - 339)) | (1L << (COMMIT - 339)) | (1L << (COMPACT - 339)) | (1L << (COMPLETION - 339)) | (1L << (COMPRESSED - 339)) | (1L << (COMPRESSION - 339)) | (1L << (CONCURRENT - 339)) | (1L << (CONNECT - 339)) | (1L << (CONNECTION - 339)) | (1L << (CONSISTENT - 339)) | (1L << (CONSTRAINT_CATALOG - 339)) | (1L << (CONSTRAINT_SCHEMA - 339)) | (1L << (CONSTRAINT_NAME - 339)) | (1L << (CONTAINS - 339)) | (1L << (CONTEXT - 339)) | (1L << (CONTRIBUTORS - 339)) | (1L << (COPY - 339)) | (1L << (CPU - 339)) | (1L << (CURSOR_NAME - 339)) | (1L << (DATA - 339)) | (1L << (DATAFILE - 339)) | (1L << (DEALLOCATE - 339)) | (1L << (DEFAULT_AUTH - 339)) | (1L << (DEFINER - 339)) | (1L << (DELAY_KEY_WRITE - 339)) | (1L << (DES_KEY_FILE - 339)) | (1L << (DIRECTORY - 339)) | (1L << (DISABLE - 339)) | (1L << (DISCARD - 339)) | (1L << (DISK - 339)) | (1L << (DO - 339)) | (1L << (DUMPFILE - 339)) | (1L << (DUPLICATE - 339)) | (1L << (DYNAMIC - 339)) | (1L << (ENABLE - 339)) | (1L << (ENCRYPTION - 339)) | (1L << (END - 339)) | (1L << (ENDS - 339)) | (1L << (ENGINE - 339)) | (1L << (ENGINES - 339)) | (1L << (ERROR - 339)) | (1L << (ERRORS - 339)) | (1L << (ESCAPE - 339)) | (1L << (EVEN - 339)))) != 0) || ((((_la - 403)) & ~0x3f) == 0 && ((1L << (_la - 403)) & ((1L << (EVENT - 403)) | (1L << (EVENTS - 403)) | (1L << (EVERY - 403)) | (1L << (EXCHANGE - 403)) | (1L << (EXCLUSIVE - 403)) | (1L << (EXPIRE - 403)) | (1L << (EXPORT - 403)) | (1L << (EXTENDED - 403)) | (1L << (EXTENT_SIZE - 403)) | (1L << (FAST - 403)) | (1L << (FAULTS - 403)) | (1L << (FIELDS - 403)) | (1L << (FILE_BLOCK_SIZE - 403)) | (1L << (FILTER - 403)) | (1L << (FIRST - 403)) | (1L << (FIXED - 403)) | (1L << (FLUSH - 403)) | (1L << (FOLLOWS - 403)) | (1L << (FOUND - 403)) | (1L << (FULL - 403)) | (1L << (FUNCTION - 403)) | (1L << (GENERAL - 403)) | (1L << (GLOBAL - 403)) | (1L << (GRANTS - 403)) | (1L << (GROUP_REPLICATION - 403)) | (1L << (HANDLER - 403)) | (1L << (HASH - 403)) | (1L << (HELP - 403)) | (1L << (HOST - 403)) | (1L << (HOSTS - 403)) | (1L << (IDENTIFIED - 403)) | (1L << (IGNORE_SERVER_IDS - 403)) | (1L << (IMPORT - 403)) | (1L << (INDEXES - 403)) | (1L << (INITIAL_SIZE - 403)) | (1L << (INPLACE - 403)) | (1L << (INSERT_METHOD - 403)) | (1L << (INSTALL - 403)) | (1L << (INSTANCE - 403)) | (1L << (INSTANT - 403)) | (1L << (INVISIBLE - 403)) | (1L << (INVOKER - 403)) | (1L << (IO - 403)) | (1L << (IO_THREAD - 403)) | (1L << (IPC - 403)) | (1L << (ISOLATION - 403)) | (1L << (ISSUER - 403)) | (1L << (JSON - 403)) | (1L << (KEY_BLOCK_SIZE - 403)) | (1L << (LANGUAGE - 403)) | (1L << (LAST - 403)) | (1L << (LEAVES - 403)) | (1L << (LESS - 403)) | (1L << (LEVEL - 403)) | (1L << (LIST - 403)) | (1L << (LOCAL - 403)) | (1L << (LOGFILE - 403)) | (1L << (LOGS - 403)) | (1L << (MASTER - 403)) | (1L << (MASTER_AUTO_POSITION - 403)) | (1L << (MASTER_CONNECT_RETRY - 403)) | (1L << (MASTER_DELAY - 403)) | (1L << (MASTER_HEARTBEAT_PERIOD - 403)))) != 0) || ((((_la - 467)) & ~0x3f) == 0 && ((1L << (_la - 467)) & ((1L << (MASTER_HOST - 467)) | (1L << (MASTER_LOG_FILE - 467)) | (1L << (MASTER_LOG_POS - 467)) | (1L << (MASTER_PASSWORD - 467)) | (1L << (MASTER_PORT - 467)) | (1L << (MASTER_RETRY_COUNT - 467)) | (1L << (MASTER_SSL - 467)) | (1L << (MASTER_SSL_CA - 467)) | (1L << (MASTER_SSL_CAPATH - 467)) | (1L << (MASTER_SSL_CERT - 467)) | (1L << (MASTER_SSL_CIPHER - 467)) | (1L << (MASTER_SSL_CRL - 467)) | (1L << (MASTER_SSL_CRLPATH - 467)) | (1L << (MASTER_SSL_KEY - 467)) | (1L << (MASTER_TLS_VERSION - 467)) | (1L << (MASTER_USER - 467)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 467)) | (1L << (MAX_QUERIES_PER_HOUR - 467)) | (1L << (MAX_ROWS - 467)) | (1L << (MAX_SIZE - 467)) | (1L << (MAX_UPDATES_PER_HOUR - 467)) | (1L << (MAX_USER_CONNECTIONS - 467)) | (1L << (MEDIUM - 467)) | (1L << (MEMBER - 467)) | (1L << (MERGE - 467)) | (1L << (MESSAGE_TEXT - 467)) | (1L << (MID - 467)) | (1L << (MIGRATE - 467)) | (1L << (MIN_ROWS - 467)) | (1L << (MODE - 467)) | (1L << (MODIFY - 467)) | (1L << (MUTEX - 467)) | (1L << (MYSQL - 467)) | (1L << (MYSQL_ERRNO - 467)) | (1L << (NAME - 467)) | (1L << (NAMES - 467)) | (1L << (NCHAR - 467)) | (1L << (NEVER - 467)) | (1L << (NEXT - 467)) | (1L << (NO - 467)) | (1L << (NOCOPY - 467)) | (1L << (NOWAIT - 467)) | (1L << (NODEGROUP - 467)) | (1L << (NONE - 467)) | (1L << (ODBC - 467)) | (1L << (OFFLINE - 467)) | (1L << (OFFSET - 467)) | (1L << (OF - 467)) | (1L << (OJ - 467)) | (1L << (OLD_PASSWORD - 467)) | (1L << (ONE - 467)) | (1L << (ONLINE - 467)) | (1L << (ONLY - 467)) | (1L << (OPEN - 467)) | (1L << (OPTIMIZER_COSTS - 467)) | (1L << (OPTIONS - 467)) | (1L << (OWNER - 467)) | (1L << (PACK_KEYS - 467)) | (1L << (PAGE - 467)) | (1L << (PARSER - 467)) | (1L << (PARTIAL - 467)) | (1L << (PARTITIONING - 467)) | (1L << (PARTITIONS - 467)) | (1L << (PASSWORD - 467)))) != 0) || ((((_la - 531)) & ~0x3f) == 0 && ((1L << (_la - 531)) & ((1L << (PHASE - 531)) | (1L << (PLUGIN - 531)) | (1L << (PLUGIN_DIR - 531)) | (1L << (PLUGINS - 531)) | (1L << (PORT - 531)) | (1L << (PRECEDES - 531)) | (1L << (PREPARE - 531)) | (1L << (PRESERVE - 531)) | (1L << (PREV - 531)) | (1L << (PROCESSLIST - 531)) | (1L << (PROFILE - 531)) | (1L << (PROFILES - 531)) | (1L << (PROXY - 531)) | (1L << (QUERY - 531)) | (1L << (QUICK - 531)) | (1L << (REBUILD - 531)) | (1L << (RECOVER - 531)) | (1L << (RECURSIVE - 531)) | (1L << (REDO_BUFFER_SIZE - 531)) | (1L << (REDUNDANT - 531)) | (1L << (RELAY - 531)) | (1L << (RELAY_LOG_FILE - 531)) | (1L << (RELAY_LOG_POS - 531)) | (1L << (RELAYLOG - 531)) | (1L << (REMOVE - 531)) | (1L << (REORGANIZE - 531)) | (1L << (REPAIR - 531)) | (1L << (REPLICATE_DO_DB - 531)) | (1L << (REPLICATE_DO_TABLE - 531)) | (1L << (REPLICATE_IGNORE_DB - 531)) | (1L << (REPLICATE_IGNORE_TABLE - 531)) | (1L << (REPLICATE_REWRITE_DB - 531)) | (1L << (REPLICATE_WILD_DO_TABLE - 531)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 531)) | (1L << (REPLICATION - 531)) | (1L << (RESET - 531)) | (1L << (RESUME - 531)) | (1L << (RETURNED_SQLSTATE - 531)) | (1L << (RETURNS - 531)) | (1L << (ROLE - 531)) | (1L << (ROLLBACK - 531)) | (1L << (ROLLUP - 531)) | (1L << (ROTATE - 531)) | (1L << (ROW - 531)) | (1L << (ROWS - 531)) | (1L << (ROW_FORMAT - 531)) | (1L << (RTREE - 531)) | (1L << (SAVEPOINT - 531)) | (1L << (SCHEDULE - 531)) | (1L << (SECURITY - 531)) | (1L << (SERVER - 531)) | (1L << (SESSION - 531)) | (1L << (SHARE - 531)) | (1L << (SHARED - 531)) | (1L << (SIGNED - 531)) | (1L << (SIMPLE - 531)) | (1L << (SLAVE - 531)) | (1L << (SLOW - 531)) | (1L << (SNAPSHOT - 531)) | (1L << (SOCKET - 531)) | (1L << (SOME - 531)) | (1L << (SONAME - 531)))) != 0) || ((((_la - 595)) & ~0x3f) == 0 && ((1L << (_la - 595)) & ((1L << (SOUNDS - 595)) | (1L << (SOURCE - 595)) | (1L << (SQL_AFTER_GTIDS - 595)) | (1L << (SQL_AFTER_MTS_GAPS - 595)) | (1L << (SQL_BEFORE_GTIDS - 595)) | (1L << (SQL_BUFFER_RESULT - 595)) | (1L << (SQL_CACHE - 595)) | (1L << (SQL_NO_CACHE - 595)) | (1L << (SQL_THREAD - 595)) | (1L << (START - 595)) | (1L << (STARTS - 595)) | (1L << (STATS_AUTO_RECALC - 595)) | (1L << (STATS_PERSISTENT - 595)) | (1L << (STATS_SAMPLE_PAGES - 595)) | (1L << (STATUS - 595)) | (1L << (STOP - 595)) | (1L << (STORAGE - 595)) | (1L << (STRING - 595)) | (1L << (SUBCLASS_ORIGIN - 595)) | (1L << (SUBJECT - 595)) | (1L << (SUBPARTITION - 595)) | (1L << (SUBPARTITIONS - 595)) | (1L << (SUSPEND - 595)) | (1L << (SWAPS - 595)) | (1L << (SWITCHES - 595)) | (1L << (TABLE_NAME - 595)) | (1L << (TABLESPACE - 595)) | (1L << (TEMPORARY - 595)) | (1L << (TEMPTABLE - 595)) | (1L << (THAN - 595)) | (1L << (TRADITIONAL - 595)) | (1L << (TRANSACTION - 595)) | (1L << (TRANSACTIONAL - 595)) | (1L << (TRIGGERS - 595)) | (1L << (TRUNCATE - 595)) | (1L << (UNDEFINED - 595)) | (1L << (UNDOFILE - 595)) | (1L << (UNDO_BUFFER_SIZE - 595)) | (1L << (UNINSTALL - 595)) | (1L << (UNKNOWN - 595)) | (1L << (UNTIL - 595)) | (1L << (UPGRADE - 595)) | (1L << (USER - 595)) | (1L << (USE_FRM - 595)) | (1L << (USER_RESOURCES - 595)) | (1L << (VALIDATION - 595)) | (1L << (VALUE - 595)) | (1L << (VARIABLES - 595)) | (1L << (VIEW - 595)) | (1L << (VISIBLE - 595)) | (1L << (WAIT - 595)) | (1L << (WARNINGS - 595)) | (1L << (WITHOUT - 595)) | (1L << (WORK - 595)) | (1L << (WRAPPER - 595)) | (1L << (X509 - 595)) | (1L << (XA - 595)) | (1L << (XML - 595)))) != 0) || ((((_la - 659)) & ~0x3f) == 0 && ((1L << (_la - 659)) & ((1L << (EUR - 659)) | (1L << (USA - 659)) | (1L << (JIS - 659)) | (1L << (ISO - 659)) | (1L << (INTERNAL - 659)) | (1L << (QUARTER - 659)) | (1L << (MONTH - 659)) | (1L << (DAY - 659)) | (1L << (HOUR - 659)) | (1L << (MINUTE - 659)) | (1L << (WEEK - 659)) | (1L << (SECOND - 659)) | (1L << (MICROSECOND - 659)) | (1L << (TABLES - 659)) | (1L << (ROUTINE - 659)) | (1L << (EXECUTE - 659)) | (1L << (FILE - 659)) | (1L << (PROCESS - 659)) | (1L << (RELOAD - 659)) | (1L << (SHUTDOWN - 659)) | (1L << (SUPER - 659)) | (1L << (PRIVILEGES - 659)) | (1L << (AUDIT_ADMIN - 659)) | (1L << (BACKUP_ADMIN - 659)) | (1L << (BINLOG_ADMIN - 659)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 659)) | (1L << (CLONE_ADMIN - 659)) | (1L << (CONNECTION_ADMIN - 659)) | (1L << (ENCRYPTION_KEY_ADMIN - 659)) | (1L << (FIREWALL_ADMIN - 659)) | (1L << (FIREWALL_USER - 659)) | (1L << (ADMIN - 659)) | (1L << (GROUP_REPLICATION_ADMIN - 659)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 659)) | (1L << (NDB_STORED_USER - 659)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 659)) | (1L << (REPLICATION_APPLIER - 659)) | (1L << (REPLICATION_SLAVE_ADMIN - 659)) | (1L << (RESOURCE_GROUP_ADMIN - 659)) | (1L << (RESOURCE_GROUP_USER - 659)) | (1L << (ROLE_ADMIN - 659)) | (1L << (SESSION_VARIABLES_ADMIN - 659)) | (1L << (SET_USER_ID - 659)) | (1L << (SHOW_ROUTINE - 659)) | (1L << (SYSTEM_VARIABLES_ADMIN - 659)) | (1L << (TABLE_ENCRYPTION_ADMIN - 659)) | (1L << (VERSION_TOKEN_ADMIN - 659)) | (1L << (XA_RECOVER_ADMIN - 659)) | (1L << (ARMSCII8 - 659)) | (1L << (ASCII - 659)) | (1L << (BIG5 - 659)) | (1L << (CP1250 - 659)) | (1L << (CP1251 - 659)) | (1L << (CP1256 - 659)) | (1L << (CP1257 - 659)) | (1L << (CP850 - 659)) | (1L << (CP852 - 659)))) != 0) || ((((_la - 723)) & ~0x3f) == 0 && ((1L << (_la - 723)) & ((1L << (CP866 - 723)) | (1L << (CP932 - 723)) | (1L << (DEC8 - 723)) | (1L << (EUCJPMS - 723)) | (1L << (EUCKR - 723)) | (1L << (GB18030 - 723)) | (1L << (GB2312 - 723)) | (1L << (GBK - 723)) | (1L << (GEOSTD8 - 723)) | (1L << (GREEK - 723)) | (1L << (HEBREW - 723)) | (1L << (HP8 - 723)) | (1L << (KEYBCS2 - 723)) | (1L << (KOI8R - 723)) | (1L << (KOI8U - 723)) | (1L << (LATIN1 - 723)) | (1L << (LATIN2 - 723)) | (1L << (LATIN5 - 723)) | (1L << (LATIN7 - 723)) | (1L << (MACCE - 723)) | (1L << (MACROMAN - 723)) | (1L << (SJIS - 723)) | (1L << (SWE7 - 723)) | (1L << (TIS620 - 723)) | (1L << (UCS2 - 723)) | (1L << (UJIS - 723)) | (1L << (UTF16 - 723)) | (1L << (UTF16LE - 723)) | (1L << (UTF32 - 723)) | (1L << (UTF8 - 723)) | (1L << (UTF8MB3 - 723)) | (1L << (UTF8MB4 - 723)) | (1L << (ARCHIVE - 723)) | (1L << (BLACKHOLE - 723)) | (1L << (CSV - 723)) | (1L << (FEDERATED - 723)) | (1L << (INNODB - 723)) | (1L << (MEMORY - 723)) | (1L << (MRG_MYISAM - 723)) | (1L << (MYISAM - 723)) | (1L << (NDB - 723)) | (1L << (NDBCLUSTER - 723)) | (1L << (PERFORMANCE_SCHEMA - 723)) | (1L << (TOKUDB - 723)) | (1L << (REPEATABLE - 723)) | (1L << (COMMITTED - 723)) | (1L << (UNCOMMITTED - 723)) | (1L << (SERIALIZABLE - 723)) | (1L << (GEOMETRYCOLLECTION - 723)) | (1L << (LINESTRING - 723)) | (1L << (MULTILINESTRING - 723)) | (1L << (MULTIPOINT - 723)) | (1L << (MULTIPOLYGON - 723)) | (1L << (POINT - 723)) | (1L << (POLYGON - 723)) | (1L << (ABS - 723)) | (1L << (ACOS - 723)) | (1L << (ADDDATE - 723)) | (1L << (ADDTIME - 723)) | (1L << (AES_DECRYPT - 723)) | (1L << (AES_ENCRYPT - 723)) | (1L << (AREA - 723)))) != 0) || ((((_la - 787)) & ~0x3f) == 0 && ((1L << (_la - 787)) & ((1L << (ASBINARY - 787)) | (1L << (ASIN - 787)) | (1L << (ASTEXT - 787)) | (1L << (ASWKB - 787)) | (1L << (ASWKT - 787)) | (1L << (ASYMMETRIC_DECRYPT - 787)) | (1L << (ASYMMETRIC_DERIVE - 787)) | (1L << (ASYMMETRIC_ENCRYPT - 787)) | (1L << (ASYMMETRIC_SIGN - 787)) | (1L << (ASYMMETRIC_VERIFY - 787)) | (1L << (ATAN - 787)) | (1L << (ATAN2 - 787)) | (1L << (BENCHMARK - 787)) | (1L << (BIN - 787)) | (1L << (BIT_COUNT - 787)) | (1L << (BIT_LENGTH - 787)) | (1L << (BUFFER - 787)) | (1L << (CATALOG_NAME - 787)) | (1L << (CEIL - 787)) | (1L << (CEILING - 787)) | (1L << (CENTROID - 787)) | (1L << (CHARACTER_LENGTH - 787)) | (1L << (CHARSET - 787)) | (1L << (CHAR_LENGTH - 787)) | (1L << (COERCIBILITY - 787)) | (1L << (COLLATION - 787)) | (1L << (COMPRESS - 787)) | (1L << (CONCAT - 787)) | (1L << (CONCAT_WS - 787)) | (1L << (CONNECTION_ID - 787)) | (1L << (CONV - 787)) | (1L << (CONVERT_TZ - 787)) | (1L << (COS - 787)) | (1L << (COT - 787)) | (1L << (CRC32 - 787)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 787)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 787)) | (1L << (CREATE_DH_PARAMETERS - 787)) | (1L << (CREATE_DIGEST - 787)) | (1L << (CROSSES - 787)) | (1L << (DATEDIFF - 787)) | (1L << (DATE_FORMAT - 787)) | (1L << (DAYNAME - 787)) | (1L << (DAYOFMONTH - 787)) | (1L << (DAYOFWEEK - 787)) | (1L << (DAYOFYEAR - 787)) | (1L << (DECODE - 787)) | (1L << (DEGREES - 787)) | (1L << (DES_DECRYPT - 787)) | (1L << (DES_ENCRYPT - 787)) | (1L << (DIMENSION - 787)) | (1L << (DISJOINT - 787)) | (1L << (ELT - 787)) | (1L << (ENCODE - 787)) | (1L << (ENCRYPT - 787)) | (1L << (ENDPOINT - 787)) | (1L << (ENGINE_ATTRIBUTE - 787)) | (1L << (ENVELOPE - 787)) | (1L << (EQUALS - 787)) | (1L << (EXP - 787)) | (1L << (EXPORT_SET - 787)) | (1L << (EXTERIORRING - 787)) | (1L << (EXTRACTVALUE - 787)) | (1L << (FIELD - 787)))) != 0) || ((((_la - 851)) & ~0x3f) == 0 && ((1L << (_la - 851)) & ((1L << (FIND_IN_SET - 851)) | (1L << (FLOOR - 851)) | (1L << (FORMAT - 851)) | (1L << (FOUND_ROWS - 851)) | (1L << (FROM_BASE64 - 851)) | (1L << (FROM_DAYS - 851)) | (1L << (FROM_UNIXTIME - 851)) | (1L << (GEOMCOLLFROMTEXT - 851)) | (1L << (GEOMCOLLFROMWKB - 851)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 851)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 851)) | (1L << (GEOMETRYFROMTEXT - 851)) | (1L << (GEOMETRYFROMWKB - 851)) | (1L << (GEOMETRYN - 851)) | (1L << (GEOMETRYTYPE - 851)) | (1L << (GEOMFROMTEXT - 851)) | (1L << (GEOMFROMWKB - 851)) | (1L << (GET_FORMAT - 851)) | (1L << (GET_LOCK - 851)) | (1L << (GLENGTH - 851)) | (1L << (GREATEST - 851)) | (1L << (GTID_SUBSET - 851)) | (1L << (GTID_SUBTRACT - 851)) | (1L << (HEX - 851)) | (1L << (IFNULL - 851)) | (1L << (INET6_ATON - 851)) | (1L << (INET6_NTOA - 851)) | (1L << (INET_ATON - 851)) | (1L << (INET_NTOA - 851)) | (1L << (INSTR - 851)) | (1L << (INTERIORRINGN - 851)) | (1L << (INTERSECTS - 851)) | (1L << (ISCLOSED - 851)) | (1L << (ISEMPTY - 851)) | (1L << (ISNULL - 851)) | (1L << (ISSIMPLE - 851)) | (1L << (IS_FREE_LOCK - 851)) | (1L << (IS_IPV4 - 851)) | (1L << (IS_IPV4_COMPAT - 851)) | (1L << (IS_IPV4_MAPPED - 851)) | (1L << (IS_IPV6 - 851)) | (1L << (IS_USED_LOCK - 851)) | (1L << (LAST_INSERT_ID - 851)) | (1L << (LCASE - 851)) | (1L << (LEAST - 851)) | (1L << (LENGTH - 851)) | (1L << (LINEFROMTEXT - 851)) | (1L << (LINEFROMWKB - 851)) | (1L << (LINESTRINGFROMTEXT - 851)) | (1L << (LINESTRINGFROMWKB - 851)) | (1L << (LN - 851)) | (1L << (LOAD_FILE - 851)) | (1L << (LOCATE - 851)) | (1L << (LOG - 851)) | (1L << (LOG10 - 851)) | (1L << (LOG2 - 851)) | (1L << (LOWER - 851)) | (1L << (LPAD - 851)) | (1L << (LTRIM - 851)) | (1L << (MAKEDATE - 851)) | (1L << (MAKETIME - 851)) | (1L << (MAKE_SET - 851)) | (1L << (MASTER_POS_WAIT - 851)) | (1L << (MBRCONTAINS - 851)))) != 0) || ((((_la - 915)) & ~0x3f) == 0 && ((1L << (_la - 915)) & ((1L << (MBRDISJOINT - 915)) | (1L << (MBREQUAL - 915)) | (1L << (MBRINTERSECTS - 915)) | (1L << (MBROVERLAPS - 915)) | (1L << (MBRTOUCHES - 915)) | (1L << (MBRWITHIN - 915)) | (1L << (MD5 - 915)) | (1L << (MLINEFROMTEXT - 915)) | (1L << (MLINEFROMWKB - 915)) | (1L << (MONTHNAME - 915)) | (1L << (MPOINTFROMTEXT - 915)) | (1L << (MPOINTFROMWKB - 915)) | (1L << (MPOLYFROMTEXT - 915)) | (1L << (MPOLYFROMWKB - 915)) | (1L << (MULTILINESTRINGFROMTEXT - 915)) | (1L << (MULTILINESTRINGFROMWKB - 915)) | (1L << (MULTIPOINTFROMTEXT - 915)) | (1L << (MULTIPOINTFROMWKB - 915)) | (1L << (MULTIPOLYGONFROMTEXT - 915)) | (1L << (MULTIPOLYGONFROMWKB - 915)) | (1L << (NAME_CONST - 915)) | (1L << (NULLIF - 915)) | (1L << (NUMGEOMETRIES - 915)) | (1L << (NUMINTERIORRINGS - 915)) | (1L << (NUMPOINTS - 915)) | (1L << (OCT - 915)) | (1L << (OCTET_LENGTH - 915)) | (1L << (ORD - 915)) | (1L << (OVERLAPS - 915)) | (1L << (PERIOD_ADD - 915)) | (1L << (PERIOD_DIFF - 915)) | (1L << (PI - 915)) | (1L << (POINTFROMTEXT - 915)) | (1L << (POINTFROMWKB - 915)) | (1L << (POINTN - 915)) | (1L << (POLYFROMTEXT - 915)) | (1L << (POLYFROMWKB - 915)) | (1L << (POLYGONFROMTEXT - 915)) | (1L << (POLYGONFROMWKB - 915)) | (1L << (POW - 915)) | (1L << (POWER - 915)) | (1L << (QUOTE - 915)) | (1L << (RADIANS - 915)) | (1L << (RAND - 915)) | (1L << (RANDOM_BYTES - 915)) | (1L << (RELEASE_LOCK - 915)) | (1L << (REVERSE - 915)) | (1L << (ROUND - 915)) | (1L << (ROW_COUNT - 915)) | (1L << (RPAD - 915)) | (1L << (RTRIM - 915)) | (1L << (SEC_TO_TIME - 915)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 915)) | (1L << (SESSION_USER - 915)) | (1L << (SHA - 915)) | (1L << (SHA1 - 915)) | (1L << (SHA2 - 915)) | (1L << (SCHEMA_NAME - 915)) | (1L << (SIGN - 915)) | (1L << (SIN - 915)) | (1L << (SLEEP - 915)) | (1L << (SOUNDEX - 915)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 915)) | (1L << (SQRT - 915)))) != 0) || ((((_la - 979)) & ~0x3f) == 0 && ((1L << (_la - 979)) & ((1L << (SRID - 979)) | (1L << (STARTPOINT - 979)) | (1L << (STRCMP - 979)) | (1L << (STR_TO_DATE - 979)) | (1L << (ST_AREA - 979)) | (1L << (ST_ASBINARY - 979)) | (1L << (ST_ASTEXT - 979)) | (1L << (ST_ASWKB - 979)) | (1L << (ST_ASWKT - 979)) | (1L << (ST_BUFFER - 979)) | (1L << (ST_CENTROID - 979)) | (1L << (ST_CONTAINS - 979)) | (1L << (ST_CROSSES - 979)) | (1L << (ST_DIFFERENCE - 979)) | (1L << (ST_DIMENSION - 979)) | (1L << (ST_DISJOINT - 979)) | (1L << (ST_DISTANCE - 979)) | (1L << (ST_ENDPOINT - 979)) | (1L << (ST_ENVELOPE - 979)) | (1L << (ST_EQUALS - 979)) | (1L << (ST_EXTERIORRING - 979)) | (1L << (ST_GEOMCOLLFROMTEXT - 979)) | (1L << (ST_GEOMCOLLFROMTXT - 979)) | (1L << (ST_GEOMCOLLFROMWKB - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 979)) | (1L << (ST_GEOMETRYFROMTEXT - 979)) | (1L << (ST_GEOMETRYFROMWKB - 979)) | (1L << (ST_GEOMETRYN - 979)) | (1L << (ST_GEOMETRYTYPE - 979)) | (1L << (ST_GEOMFROMTEXT - 979)) | (1L << (ST_GEOMFROMWKB - 979)) | (1L << (ST_INTERIORRINGN - 979)) | (1L << (ST_INTERSECTION - 979)) | (1L << (ST_INTERSECTS - 979)) | (1L << (ST_ISCLOSED - 979)) | (1L << (ST_ISEMPTY - 979)) | (1L << (ST_ISSIMPLE - 979)) | (1L << (ST_LINEFROMTEXT - 979)) | (1L << (ST_LINEFROMWKB - 979)) | (1L << (ST_LINESTRINGFROMTEXT - 979)) | (1L << (ST_LINESTRINGFROMWKB - 979)) | (1L << (ST_NUMGEOMETRIES - 979)) | (1L << (ST_NUMINTERIORRING - 979)) | (1L << (ST_NUMINTERIORRINGS - 979)) | (1L << (ST_NUMPOINTS - 979)) | (1L << (ST_OVERLAPS - 979)) | (1L << (ST_POINTFROMTEXT - 979)) | (1L << (ST_POINTFROMWKB - 979)) | (1L << (ST_POINTN - 979)) | (1L << (ST_POLYFROMTEXT - 979)) | (1L << (ST_POLYFROMWKB - 979)) | (1L << (ST_POLYGONFROMTEXT - 979)) | (1L << (ST_POLYGONFROMWKB - 979)) | (1L << (ST_SRID - 979)) | (1L << (ST_STARTPOINT - 979)) | (1L << (ST_SYMDIFFERENCE - 979)) | (1L << (ST_TOUCHES - 979)) | (1L << (ST_UNION - 979)) | (1L << (ST_WITHIN - 979)) | (1L << (ST_X - 979)) | (1L << (ST_Y - 979)) | (1L << (SUBDATE - 979)) | (1L << (SUBSTRING_INDEX - 979)))) != 0) || ((((_la - 1043)) & ~0x3f) == 0 && ((1L << (_la - 1043)) & ((1L << (SUBTIME - 1043)) | (1L << (SYSTEM_USER - 1043)) | (1L << (TAN - 1043)) | (1L << (TIMEDIFF - 1043)) | (1L << (TIMESTAMPADD - 1043)) | (1L << (TIMESTAMPDIFF - 1043)) | (1L << (TIME_FORMAT - 1043)) | (1L << (TIME_TO_SEC - 1043)) | (1L << (TOUCHES - 1043)) | (1L << (TO_BASE64 - 1043)) | (1L << (TO_DAYS - 1043)) | (1L << (TO_SECONDS - 1043)) | (1L << (UCASE - 1043)) | (1L << (UNCOMPRESS - 1043)) | (1L << (UNCOMPRESSED_LENGTH - 1043)) | (1L << (UNHEX - 1043)) | (1L << (UNIX_TIMESTAMP - 1043)) | (1L << (UPDATEXML - 1043)) | (1L << (UPPER - 1043)) | (1L << (UUID - 1043)) | (1L << (UUID_SHORT - 1043)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1043)) | (1L << (VERSION - 1043)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1043)) | (1L << (WEEKDAY - 1043)) | (1L << (WEEKOFYEAR - 1043)) | (1L << (WEIGHT_STRING - 1043)) | (1L << (WITHIN - 1043)) | (1L << (YEARWEEK - 1043)) | (1L << (Y_FUNCTION - 1043)) | (1L << (X_FUNCTION - 1043)) | (1L << (VIA - 1043)) | (1L << (LASTVAL - 1043)) | (1L << (NEXTVAL - 1043)) | (1L << (SETVAL - 1043)) | (1L << (PREVIOUS - 1043)) | (1L << (PERSISTENT - 1043)) | (1L << (BINLOG_MONITOR - 1043)) | (1L << (BINLOG_REPLAY - 1043)) | (1L << (FEDERATED_ADMIN - 1043)) | (1L << (READ_ONLY_ADMIN - 1043)) | (1L << (REPLICA - 1043)) | (1L << (REPLICATION_MASTER_ADMIN - 1043)) | (1L << (MOD - 1043)))) != 0) || ((((_la - 1123)) & ~0x3f) == 0 && ((1L << (_la - 1123)) & ((1L << (CHARSET_REVERSE_QOUTE_STRING - 1123)) | (1L << (STRING_LITERAL - 1123)) | (1L << (ID - 1123)) | (1L << (REVERSE_QUOTE_ID - 1123)) | (1L << (ENCRYPTED - 1123)) | (1L << (ENCRYPTION_KEY_ID - 1123)))) != 0)) {
{
setState(1621);
((CheckColumnConstraintContext)_localctx).name = uid();
}
}
}
}
setState(1626);
match(CHECK);
setState(1627);
match(LR_BRACKET);
setState(1628);
expression(0);
setState(1629);
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(CqlParser.UNIQUE, 0); }
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode CONSTRAINT() { return getToken(CqlParser.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(CqlParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(CqlParser.KEY, 0); }
public UniqueKeyTableConstraintContext(TableConstraintContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitUniqueKeyTableConstraint(this);
else return visitor.visitChildren(this);
}
}
public static class CheckTableConstraintContext extends TableConstraintContext {
public UidContext name;
public TerminalNode CHECK() { return getToken(CqlParser.CHECK, 0); }
public TerminalNode LR_BRACKET() { return getToken(CqlParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(CqlParser.RR_BRACKET, 0); }
public TerminalNode CONSTRAINT() { return getToken(CqlParser.CONSTRAINT, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public CheckTableConstraintContext(TableConstraintContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitCheckTableConstraint(this);
else return visitor.visitChildren(this);
}
}
public static class PrimaryKeyTableConstraintContext extends TableConstraintContext {
public UidContext name;
public UidContext index;
public TerminalNode PRIMARY() { return getToken(CqlParser.PRIMARY, 0); }
public TerminalNode KEY() { return getToken(CqlParser.KEY, 0); }
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode CONSTRAINT() { return getToken(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPrimaryKeyTableConstraint(this);
else return visitor.visitChildren(this);
}
}
public static class ForeignKeyTableConstraintContext extends TableConstraintContext {
public UidContext name;
public UidContext index;
public TerminalNode FOREIGN() { return getToken(CqlParser.FOREIGN, 0); }
public TerminalNode KEY() { return getToken(CqlParser.KEY, 0); }
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public ReferenceDefinitionContext referenceDefinition() {
return getRuleContext(ReferenceDefinitionContext.class,0);
}
public TerminalNode CONSTRAINT() { return getToken(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitForeignKeyTableConstraint(this);
else return visitor.visitChildren(this);
}
}
public final TableConstraintContext tableConstraint() throws RecognitionException {
TableConstraintContext _localctx = new TableConstraintContext(_ctx, getState());
enterRule(_localctx, 94, RULE_tableConstraint);
int _la;
try {
setState(1702);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,172,_ctx) ) {
case 1:
_localctx = new PrimaryKeyTableConstraintContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1637);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(1633);
match(CONSTRAINT);
setState(1635);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 34)) & ~0x3f) == 0 && ((1L << (_la - 34)) & ((1L << (CURRENT - 34)) | (1L << (DATABASE - 34)) | (1L << (DIAGNOSTICS - 34)) | (1L << (EXCEPT - 34)) | (1L << (GROUP - 34)) | (1L << (IGNORED - 34)) | (1L << (LEFT - 34)))) != 0) || ((((_la - 114)) & ~0x3f) == 0 && ((1L << (_la - 114)) & ((1L << (NUMBER - 114)) | (1L << (OPTIONAL - 114)) | (1L << (ORDER - 114)) | (1L << (RIGHT - 114)) | (1L << (SCHEMA - 114)) | (1L << (STACKED - 114)))) != 0) || ((((_la - 211)) & ~0x3f) == 0 && ((1L << (_la - 211)) & ((1L << (DATE - 211)) | (1L << (TIME - 211)) | (1L << (TIMESTAMP - 211)) | (1L << (DATETIME - 211)) | (1L << (YEAR - 211)) | (1L << (BINARY - 211)) | (1L << (TEXT - 211)) | (1L << (ENUM - 211)) | (1L << (SERIAL - 211)) | (1L << (JSON_ARRAY - 211)) | (1L << (JSON_OBJECT - 211)) | (1L << (JSON_QUOTE - 211)) | (1L << (JSON_CONTAINS - 211)) | (1L << (JSON_CONTAINS_PATH - 211)) | (1L << (JSON_EXTRACT - 211)) | (1L << (JSON_KEYS - 211)) | (1L << (JSON_OVERLAPS - 211)) | (1L << (JSON_SEARCH - 211)) | (1L << (JSON_VALUE - 211)) | (1L << (JSON_ARRAY_APPEND - 211)) | (1L << (JSON_ARRAY_INSERT - 211)) | (1L << (JSON_INSERT - 211)) | (1L << (JSON_MERGE - 211)) | (1L << (JSON_MERGE_PATCH - 211)) | (1L << (JSON_MERGE_PRESERVE - 211)) | (1L << (JSON_REMOVE - 211)) | (1L << (JSON_REPLACE - 211)) | (1L << (JSON_SET - 211)) | (1L << (JSON_UNQUOTE - 211)) | (1L << (JSON_DEPTH - 211)) | (1L << (JSON_LENGTH - 211)) | (1L << (JSON_TYPE - 211)) | (1L << (JSON_VALID - 211)) | (1L << (JSON_TABLE - 211)) | (1L << (JSON_SCHEMA_VALID - 211)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 211)) | (1L << (JSON_PRETTY - 211)) | (1L << (JSON_STORAGE_FREE - 211)) | (1L << (JSON_STORAGE_SIZE - 211)))) != 0) || ((((_la - 275)) & ~0x3f) == 0 && ((1L << (_la - 275)) & ((1L << (JSON_ARRAYAGG - 275)) | (1L << (JSON_OBJECTAGG - 275)) | (1L << (AVG - 275)) | (1L << (BIT_AND - 275)) | (1L << (BIT_OR - 275)) | (1L << (BIT_XOR - 275)) | (1L << (COUNT - 275)) | (1L << (CUME_DIST - 275)) | (1L << (DENSE_RANK - 275)) | (1L << (FIRST_VALUE - 275)) | (1L << (GROUP_CONCAT - 275)) | (1L << (LAG - 275)) | (1L << (LAST_VALUE - 275)) | (1L << (LEAD - 275)) | (1L << (MAX - 275)) | (1L << (MIN - 275)) | (1L << (NTILE - 275)) | (1L << (NTH_VALUE - 275)) | (1L << (PERCENT_RANK - 275)) | (1L << (RANK - 275)) | (1L << (ROW_NUMBER - 275)) | (1L << (STD - 275)) | (1L << (STDDEV - 275)) | (1L << (STDDEV_POP - 275)) | (1L << (STDDEV_SAMP - 275)) | (1L << (SUM - 275)) | (1L << (VAR_POP - 275)) | (1L << (VAR_SAMP - 275)) | (1L << (VARIANCE - 275)) | (1L << (POSITION - 275)) | (1L << (ACCOUNT - 275)) | (1L << (ACTION - 275)) | (1L << (AFTER - 275)) | (1L << (AGGREGATE - 275)) | (1L << (ALGORITHM - 275)) | (1L << (ANY - 275)) | (1L << (AT - 275)) | (1L << (AUTHORS - 275)) | (1L << (AUTOCOMMIT - 275)) | (1L << (AUTOEXTEND_SIZE - 275)) | (1L << (AUTO_INCREMENT - 275)) | (1L << (AVG_ROW_LENGTH - 275)) | (1L << (BEGIN - 275)) | (1L << (BINLOG - 275)) | (1L << (BIT - 275)) | (1L << (BLOCK - 275)))) != 0) || ((((_la - 339)) & ~0x3f) == 0 && ((1L << (_la - 339)) & ((1L << (BOOL - 339)) | (1L << (BOOLEAN - 339)) | (1L << (BTREE - 339)) | (1L << (CACHE - 339)) | (1L << (CASCADED - 339)) | (1L << (CHAIN - 339)) | (1L << (CHANGED - 339)) | (1L << (CHANNEL - 339)) | (1L << (CHECKSUM - 339)) | (1L << (PAGE_CHECKSUM - 339)) | (1L << (CIPHER - 339)) | (1L << (CLASS_ORIGIN - 339)) | (1L << (CLIENT - 339)) | (1L << (CLOSE - 339)) | (1L << (CLUSTERING - 339)) | (1L << (COALESCE - 339)) | (1L << (CODE - 339)) | (1L << (COLUMNS - 339)) | (1L << (COLUMN_FORMAT - 339)) | (1L << (COLUMN_NAME - 339)) | (1L << (COMMENT - 339)) | (1L << (COMMIT - 339)) | (1L << (COMPACT - 339)) | (1L << (COMPLETION - 339)) | (1L << (COMPRESSED - 339)) | (1L << (COMPRESSION - 339)) | (1L << (CONCURRENT - 339)) | (1L << (CONNECT - 339)) | (1L << (CONNECTION - 339)) | (1L << (CONSISTENT - 339)) | (1L << (CONSTRAINT_CATALOG - 339)) | (1L << (CONSTRAINT_SCHEMA - 339)) | (1L << (CONSTRAINT_NAME - 339)) | (1L << (CONTAINS - 339)) | (1L << (CONTEXT - 339)) | (1L << (CONTRIBUTORS - 339)) | (1L << (COPY - 339)) | (1L << (CPU - 339)) | (1L << (CURSOR_NAME - 339)) | (1L << (DATA - 339)) | (1L << (DATAFILE - 339)) | (1L << (DEALLOCATE - 339)) | (1L << (DEFAULT_AUTH - 339)) | (1L << (DEFINER - 339)) | (1L << (DELAY_KEY_WRITE - 339)) | (1L << (DES_KEY_FILE - 339)) | (1L << (DIRECTORY - 339)) | (1L << (DISABLE - 339)) | (1L << (DISCARD - 339)) | (1L << (DISK - 339)) | (1L << (DO - 339)) | (1L << (DUMPFILE - 339)) | (1L << (DUPLICATE - 339)) | (1L << (DYNAMIC - 339)) | (1L << (ENABLE - 339)) | (1L << (ENCRYPTION - 339)) | (1L << (END - 339)) | (1L << (ENDS - 339)) | (1L << (ENGINE - 339)) | (1L << (ENGINES - 339)) | (1L << (ERROR - 339)) | (1L << (ERRORS - 339)) | (1L << (ESCAPE - 339)) | (1L << (EVEN - 339)))) != 0) || ((((_la - 403)) & ~0x3f) == 0 && ((1L << (_la - 403)) & ((1L << (EVENT - 403)) | (1L << (EVENTS - 403)) | (1L << (EVERY - 403)) | (1L << (EXCHANGE - 403)) | (1L << (EXCLUSIVE - 403)) | (1L << (EXPIRE - 403)) | (1L << (EXPORT - 403)) | (1L << (EXTENDED - 403)) | (1L << (EXTENT_SIZE - 403)) | (1L << (FAST - 403)) | (1L << (FAULTS - 403)) | (1L << (FIELDS - 403)) | (1L << (FILE_BLOCK_SIZE - 403)) | (1L << (FILTER - 403)) | (1L << (FIRST - 403)) | (1L << (FIXED - 403)) | (1L << (FLUSH - 403)) | (1L << (FOLLOWS - 403)) | (1L << (FOUND - 403)) | (1L << (FULL - 403)) | (1L << (FUNCTION - 403)) | (1L << (GENERAL - 403)) | (1L << (GLOBAL - 403)) | (1L << (GRANTS - 403)) | (1L << (GROUP_REPLICATION - 403)) | (1L << (HANDLER - 403)) | (1L << (HASH - 403)) | (1L << (HELP - 403)) | (1L << (HOST - 403)) | (1L << (HOSTS - 403)) | (1L << (IDENTIFIED - 403)) | (1L << (IGNORE_SERVER_IDS - 403)) | (1L << (IMPORT - 403)) | (1L << (INDEXES - 403)) | (1L << (INITIAL_SIZE - 403)) | (1L << (INPLACE - 403)) | (1L << (INSERT_METHOD - 403)) | (1L << (INSTALL - 403)) | (1L << (INSTANCE - 403)) | (1L << (INSTANT - 403)) | (1L << (INVISIBLE - 403)) | (1L << (INVOKER - 403)) | (1L << (IO - 403)) | (1L << (IO_THREAD - 403)) | (1L << (IPC - 403)) | (1L << (ISOLATION - 403)) | (1L << (ISSUER - 403)) | (1L << (JSON - 403)) | (1L << (KEY_BLOCK_SIZE - 403)) | (1L << (LANGUAGE - 403)) | (1L << (LAST - 403)) | (1L << (LEAVES - 403)) | (1L << (LESS - 403)) | (1L << (LEVEL - 403)) | (1L << (LIST - 403)) | (1L << (LOCAL - 403)) | (1L << (LOGFILE - 403)) | (1L << (LOGS - 403)) | (1L << (MASTER - 403)) | (1L << (MASTER_AUTO_POSITION - 403)) | (1L << (MASTER_CONNECT_RETRY - 403)) | (1L << (MASTER_DELAY - 403)) | (1L << (MASTER_HEARTBEAT_PERIOD - 403)))) != 0) || ((((_la - 467)) & ~0x3f) == 0 && ((1L << (_la - 467)) & ((1L << (MASTER_HOST - 467)) | (1L << (MASTER_LOG_FILE - 467)) | (1L << (MASTER_LOG_POS - 467)) | (1L << (MASTER_PASSWORD - 467)) | (1L << (MASTER_PORT - 467)) | (1L << (MASTER_RETRY_COUNT - 467)) | (1L << (MASTER_SSL - 467)) | (1L << (MASTER_SSL_CA - 467)) | (1L << (MASTER_SSL_CAPATH - 467)) | (1L << (MASTER_SSL_CERT - 467)) | (1L << (MASTER_SSL_CIPHER - 467)) | (1L << (MASTER_SSL_CRL - 467)) | (1L << (MASTER_SSL_CRLPATH - 467)) | (1L << (MASTER_SSL_KEY - 467)) | (1L << (MASTER_TLS_VERSION - 467)) | (1L << (MASTER_USER - 467)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 467)) | (1L << (MAX_QUERIES_PER_HOUR - 467)) | (1L << (MAX_ROWS - 467)) | (1L << (MAX_SIZE - 467)) | (1L << (MAX_UPDATES_PER_HOUR - 467)) | (1L << (MAX_USER_CONNECTIONS - 467)) | (1L << (MEDIUM - 467)) | (1L << (MEMBER - 467)) | (1L << (MERGE - 467)) | (1L << (MESSAGE_TEXT - 467)) | (1L << (MID - 467)) | (1L << (MIGRATE - 467)) | (1L << (MIN_ROWS - 467)) | (1L << (MODE - 467)) | (1L << (MODIFY - 467)) | (1L << (MUTEX - 467)) | (1L << (MYSQL - 467)) | (1L << (MYSQL_ERRNO - 467)) | (1L << (NAME - 467)) | (1L << (NAMES - 467)) | (1L << (NCHAR - 467)) | (1L << (NEVER - 467)) | (1L << (NEXT - 467)) | (1L << (NO - 467)) | (1L << (NOCOPY - 467)) | (1L << (NOWAIT - 467)) | (1L << (NODEGROUP - 467)) | (1L << (NONE - 467)) | (1L << (ODBC - 467)) | (1L << (OFFLINE - 467)) | (1L << (OFFSET - 467)) | (1L << (OF - 467)) | (1L << (OJ - 467)) | (1L << (OLD_PASSWORD - 467)) | (1L << (ONE - 467)) | (1L << (ONLINE - 467)) | (1L << (ONLY - 467)) | (1L << (OPEN - 467)) | (1L << (OPTIMIZER_COSTS - 467)) | (1L << (OPTIONS - 467)) | (1L << (OWNER - 467)) | (1L << (PACK_KEYS - 467)) | (1L << (PAGE - 467)) | (1L << (PARSER - 467)) | (1L << (PARTIAL - 467)) | (1L << (PARTITIONING - 467)) | (1L << (PARTITIONS - 467)) | (1L << (PASSWORD - 467)))) != 0) || ((((_la - 531)) & ~0x3f) == 0 && ((1L << (_la - 531)) & ((1L << (PHASE - 531)) | (1L << (PLUGIN - 531)) | (1L << (PLUGIN_DIR - 531)) | (1L << (PLUGINS - 531)) | (1L << (PORT - 531)) | (1L << (PRECEDES - 531)) | (1L << (PREPARE - 531)) | (1L << (PRESERVE - 531)) | (1L << (PREV - 531)) | (1L << (PROCESSLIST - 531)) | (1L << (PROFILE - 531)) | (1L << (PROFILES - 531)) | (1L << (PROXY - 531)) | (1L << (QUERY - 531)) | (1L << (QUICK - 531)) | (1L << (REBUILD - 531)) | (1L << (RECOVER - 531)) | (1L << (RECURSIVE - 531)) | (1L << (REDO_BUFFER_SIZE - 531)) | (1L << (REDUNDANT - 531)) | (1L << (RELAY - 531)) | (1L << (RELAY_LOG_FILE - 531)) | (1L << (RELAY_LOG_POS - 531)) | (1L << (RELAYLOG - 531)) | (1L << (REMOVE - 531)) | (1L << (REORGANIZE - 531)) | (1L << (REPAIR - 531)) | (1L << (REPLICATE_DO_DB - 531)) | (1L << (REPLICATE_DO_TABLE - 531)) | (1L << (REPLICATE_IGNORE_DB - 531)) | (1L << (REPLICATE_IGNORE_TABLE - 531)) | (1L << (REPLICATE_REWRITE_DB - 531)) | (1L << (REPLICATE_WILD_DO_TABLE - 531)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 531)) | (1L << (REPLICATION - 531)) | (1L << (RESET - 531)) | (1L << (RESUME - 531)) | (1L << (RETURNED_SQLSTATE - 531)) | (1L << (RETURNS - 531)) | (1L << (ROLE - 531)) | (1L << (ROLLBACK - 531)) | (1L << (ROLLUP - 531)) | (1L << (ROTATE - 531)) | (1L << (ROW - 531)) | (1L << (ROWS - 531)) | (1L << (ROW_FORMAT - 531)) | (1L << (RTREE - 531)) | (1L << (SAVEPOINT - 531)) | (1L << (SCHEDULE - 531)) | (1L << (SECURITY - 531)) | (1L << (SERVER - 531)) | (1L << (SESSION - 531)) | (1L << (SHARE - 531)) | (1L << (SHARED - 531)) | (1L << (SIGNED - 531)) | (1L << (SIMPLE - 531)) | (1L << (SLAVE - 531)) | (1L << (SLOW - 531)) | (1L << (SNAPSHOT - 531)) | (1L << (SOCKET - 531)) | (1L << (SOME - 531)) | (1L << (SONAME - 531)))) != 0) || ((((_la - 595)) & ~0x3f) == 0 && ((1L << (_la - 595)) & ((1L << (SOUNDS - 595)) | (1L << (SOURCE - 595)) | (1L << (SQL_AFTER_GTIDS - 595)) | (1L << (SQL_AFTER_MTS_GAPS - 595)) | (1L << (SQL_BEFORE_GTIDS - 595)) | (1L << (SQL_BUFFER_RESULT - 595)) | (1L << (SQL_CACHE - 595)) | (1L << (SQL_NO_CACHE - 595)) | (1L << (SQL_THREAD - 595)) | (1L << (START - 595)) | (1L << (STARTS - 595)) | (1L << (STATS_AUTO_RECALC - 595)) | (1L << (STATS_PERSISTENT - 595)) | (1L << (STATS_SAMPLE_PAGES - 595)) | (1L << (STATUS - 595)) | (1L << (STOP - 595)) | (1L << (STORAGE - 595)) | (1L << (STRING - 595)) | (1L << (SUBCLASS_ORIGIN - 595)) | (1L << (SUBJECT - 595)) | (1L << (SUBPARTITION - 595)) | (1L << (SUBPARTITIONS - 595)) | (1L << (SUSPEND - 595)) | (1L << (SWAPS - 595)) | (1L << (SWITCHES - 595)) | (1L << (TABLE_NAME - 595)) | (1L << (TABLESPACE - 595)) | (1L << (TEMPORARY - 595)) | (1L << (TEMPTABLE - 595)) | (1L << (THAN - 595)) | (1L << (TRADITIONAL - 595)) | (1L << (TRANSACTION - 595)) | (1L << (TRANSACTIONAL - 595)) | (1L << (TRIGGERS - 595)) | (1L << (TRUNCATE - 595)) | (1L << (UNDEFINED - 595)) | (1L << (UNDOFILE - 595)) | (1L << (UNDO_BUFFER_SIZE - 595)) | (1L << (UNINSTALL - 595)) | (1L << (UNKNOWN - 595)) | (1L << (UNTIL - 595)) | (1L << (UPGRADE - 595)) | (1L << (USER - 595)) | (1L << (USE_FRM - 595)) | (1L << (USER_RESOURCES - 595)) | (1L << (VALIDATION - 595)) | (1L << (VALUE - 595)) | (1L << (VARIABLES - 595)) | (1L << (VIEW - 595)) | (1L << (VISIBLE - 595)) | (1L << (WAIT - 595)) | (1L << (WARNINGS - 595)) | (1L << (WITHOUT - 595)) | (1L << (WORK - 595)) | (1L << (WRAPPER - 595)) | (1L << (X509 - 595)) | (1L << (XA - 595)) | (1L << (XML - 595)))) != 0) || ((((_la - 659)) & ~0x3f) == 0 && ((1L << (_la - 659)) & ((1L << (EUR - 659)) | (1L << (USA - 659)) | (1L << (JIS - 659)) | (1L << (ISO - 659)) | (1L << (INTERNAL - 659)) | (1L << (QUARTER - 659)) | (1L << (MONTH - 659)) | (1L << (DAY - 659)) | (1L << (HOUR - 659)) | (1L << (MINUTE - 659)) | (1L << (WEEK - 659)) | (1L << (SECOND - 659)) | (1L << (MICROSECOND - 659)) | (1L << (TABLES - 659)) | (1L << (ROUTINE - 659)) | (1L << (EXECUTE - 659)) | (1L << (FILE - 659)) | (1L << (PROCESS - 659)) | (1L << (RELOAD - 659)) | (1L << (SHUTDOWN - 659)) | (1L << (SUPER - 659)) | (1L << (PRIVILEGES - 659)) | (1L << (AUDIT_ADMIN - 659)) | (1L << (BACKUP_ADMIN - 659)) | (1L << (BINLOG_ADMIN - 659)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 659)) | (1L << (CLONE_ADMIN - 659)) | (1L << (CONNECTION_ADMIN - 659)) | (1L << (ENCRYPTION_KEY_ADMIN - 659)) | (1L << (FIREWALL_ADMIN - 659)) | (1L << (FIREWALL_USER - 659)) | (1L << (ADMIN - 659)) | (1L << (GROUP_REPLICATION_ADMIN - 659)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 659)) | (1L << (NDB_STORED_USER - 659)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 659)) | (1L << (REPLICATION_APPLIER - 659)) | (1L << (REPLICATION_SLAVE_ADMIN - 659)) | (1L << (RESOURCE_GROUP_ADMIN - 659)) | (1L << (RESOURCE_GROUP_USER - 659)) | (1L << (ROLE_ADMIN - 659)) | (1L << (SESSION_VARIABLES_ADMIN - 659)) | (1L << (SET_USER_ID - 659)) | (1L << (SHOW_ROUTINE - 659)) | (1L << (SYSTEM_VARIABLES_ADMIN - 659)) | (1L << (TABLE_ENCRYPTION_ADMIN - 659)) | (1L << (VERSION_TOKEN_ADMIN - 659)) | (1L << (XA_RECOVER_ADMIN - 659)) | (1L << (ARMSCII8 - 659)) | (1L << (ASCII - 659)) | (1L << (BIG5 - 659)) | (1L << (CP1250 - 659)) | (1L << (CP1251 - 659)) | (1L << (CP1256 - 659)) | (1L << (CP1257 - 659)) | (1L << (CP850 - 659)) | (1L << (CP852 - 659)))) != 0) || ((((_la - 723)) & ~0x3f) == 0 && ((1L << (_la - 723)) & ((1L << (CP866 - 723)) | (1L << (CP932 - 723)) | (1L << (DEC8 - 723)) | (1L << (EUCJPMS - 723)) | (1L << (EUCKR - 723)) | (1L << (GB18030 - 723)) | (1L << (GB2312 - 723)) | (1L << (GBK - 723)) | (1L << (GEOSTD8 - 723)) | (1L << (GREEK - 723)) | (1L << (HEBREW - 723)) | (1L << (HP8 - 723)) | (1L << (KEYBCS2 - 723)) | (1L << (KOI8R - 723)) | (1L << (KOI8U - 723)) | (1L << (LATIN1 - 723)) | (1L << (LATIN2 - 723)) | (1L << (LATIN5 - 723)) | (1L << (LATIN7 - 723)) | (1L << (MACCE - 723)) | (1L << (MACROMAN - 723)) | (1L << (SJIS - 723)) | (1L << (SWE7 - 723)) | (1L << (TIS620 - 723)) | (1L << (UCS2 - 723)) | (1L << (UJIS - 723)) | (1L << (UTF16 - 723)) | (1L << (UTF16LE - 723)) | (1L << (UTF32 - 723)) | (1L << (UTF8 - 723)) | (1L << (UTF8MB3 - 723)) | (1L << (UTF8MB4 - 723)) | (1L << (ARCHIVE - 723)) | (1L << (BLACKHOLE - 723)) | (1L << (CSV - 723)) | (1L << (FEDERATED - 723)) | (1L << (INNODB - 723)) | (1L << (MEMORY - 723)) | (1L << (MRG_MYISAM - 723)) | (1L << (MYISAM - 723)) | (1L << (NDB - 723)) | (1L << (NDBCLUSTER - 723)) | (1L << (PERFORMANCE_SCHEMA - 723)) | (1L << (TOKUDB - 723)) | (1L << (REPEATABLE - 723)) | (1L << (COMMITTED - 723)) | (1L << (UNCOMMITTED - 723)) | (1L << (SERIALIZABLE - 723)) | (1L << (GEOMETRYCOLLECTION - 723)) | (1L << (LINESTRING - 723)) | (1L << (MULTILINESTRING - 723)) | (1L << (MULTIPOINT - 723)) | (1L << (MULTIPOLYGON - 723)) | (1L << (POINT - 723)) | (1L << (POLYGON - 723)) | (1L << (ABS - 723)) | (1L << (ACOS - 723)) | (1L << (ADDDATE - 723)) | (1L << (ADDTIME - 723)) | (1L << (AES_DECRYPT - 723)) | (1L << (AES_ENCRYPT - 723)) | (1L << (AREA - 723)))) != 0) || ((((_la - 787)) & ~0x3f) == 0 && ((1L << (_la - 787)) & ((1L << (ASBINARY - 787)) | (1L << (ASIN - 787)) | (1L << (ASTEXT - 787)) | (1L << (ASWKB - 787)) | (1L << (ASWKT - 787)) | (1L << (ASYMMETRIC_DECRYPT - 787)) | (1L << (ASYMMETRIC_DERIVE - 787)) | (1L << (ASYMMETRIC_ENCRYPT - 787)) | (1L << (ASYMMETRIC_SIGN - 787)) | (1L << (ASYMMETRIC_VERIFY - 787)) | (1L << (ATAN - 787)) | (1L << (ATAN2 - 787)) | (1L << (BENCHMARK - 787)) | (1L << (BIN - 787)) | (1L << (BIT_COUNT - 787)) | (1L << (BIT_LENGTH - 787)) | (1L << (BUFFER - 787)) | (1L << (CATALOG_NAME - 787)) | (1L << (CEIL - 787)) | (1L << (CEILING - 787)) | (1L << (CENTROID - 787)) | (1L << (CHARACTER_LENGTH - 787)) | (1L << (CHARSET - 787)) | (1L << (CHAR_LENGTH - 787)) | (1L << (COERCIBILITY - 787)) | (1L << (COLLATION - 787)) | (1L << (COMPRESS - 787)) | (1L << (CONCAT - 787)) | (1L << (CONCAT_WS - 787)) | (1L << (CONNECTION_ID - 787)) | (1L << (CONV - 787)) | (1L << (CONVERT_TZ - 787)) | (1L << (COS - 787)) | (1L << (COT - 787)) | (1L << (CRC32 - 787)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 787)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 787)) | (1L << (CREATE_DH_PARAMETERS - 787)) | (1L << (CREATE_DIGEST - 787)) | (1L << (CROSSES - 787)) | (1L << (DATEDIFF - 787)) | (1L << (DATE_FORMAT - 787)) | (1L << (DAYNAME - 787)) | (1L << (DAYOFMONTH - 787)) | (1L << (DAYOFWEEK - 787)) | (1L << (DAYOFYEAR - 787)) | (1L << (DECODE - 787)) | (1L << (DEGREES - 787)) | (1L << (DES_DECRYPT - 787)) | (1L << (DES_ENCRYPT - 787)) | (1L << (DIMENSION - 787)) | (1L << (DISJOINT - 787)) | (1L << (ELT - 787)) | (1L << (ENCODE - 787)) | (1L << (ENCRYPT - 787)) | (1L << (ENDPOINT - 787)) | (1L << (ENGINE_ATTRIBUTE - 787)) | (1L << (ENVELOPE - 787)) | (1L << (EQUALS - 787)) | (1L << (EXP - 787)) | (1L << (EXPORT_SET - 787)) | (1L << (EXTERIORRING - 787)) | (1L << (EXTRACTVALUE - 787)) | (1L << (FIELD - 787)))) != 0) || ((((_la - 851)) & ~0x3f) == 0 && ((1L << (_la - 851)) & ((1L << (FIND_IN_SET - 851)) | (1L << (FLOOR - 851)) | (1L << (FORMAT - 851)) | (1L << (FOUND_ROWS - 851)) | (1L << (FROM_BASE64 - 851)) | (1L << (FROM_DAYS - 851)) | (1L << (FROM_UNIXTIME - 851)) | (1L << (GEOMCOLLFROMTEXT - 851)) | (1L << (GEOMCOLLFROMWKB - 851)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 851)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 851)) | (1L << (GEOMETRYFROMTEXT - 851)) | (1L << (GEOMETRYFROMWKB - 851)) | (1L << (GEOMETRYN - 851)) | (1L << (GEOMETRYTYPE - 851)) | (1L << (GEOMFROMTEXT - 851)) | (1L << (GEOMFROMWKB - 851)) | (1L << (GET_FORMAT - 851)) | (1L << (GET_LOCK - 851)) | (1L << (GLENGTH - 851)) | (1L << (GREATEST - 851)) | (1L << (GTID_SUBSET - 851)) | (1L << (GTID_SUBTRACT - 851)) | (1L << (HEX - 851)) | (1L << (IFNULL - 851)) | (1L << (INET6_ATON - 851)) | (1L << (INET6_NTOA - 851)) | (1L << (INET_ATON - 851)) | (1L << (INET_NTOA - 851)) | (1L << (INSTR - 851)) | (1L << (INTERIORRINGN - 851)) | (1L << (INTERSECTS - 851)) | (1L << (ISCLOSED - 851)) | (1L << (ISEMPTY - 851)) | (1L << (ISNULL - 851)) | (1L << (ISSIMPLE - 851)) | (1L << (IS_FREE_LOCK - 851)) | (1L << (IS_IPV4 - 851)) | (1L << (IS_IPV4_COMPAT - 851)) | (1L << (IS_IPV4_MAPPED - 851)) | (1L << (IS_IPV6 - 851)) | (1L << (IS_USED_LOCK - 851)) | (1L << (LAST_INSERT_ID - 851)) | (1L << (LCASE - 851)) | (1L << (LEAST - 851)) | (1L << (LENGTH - 851)) | (1L << (LINEFROMTEXT - 851)) | (1L << (LINEFROMWKB - 851)) | (1L << (LINESTRINGFROMTEXT - 851)) | (1L << (LINESTRINGFROMWKB - 851)) | (1L << (LN - 851)) | (1L << (LOAD_FILE - 851)) | (1L << (LOCATE - 851)) | (1L << (LOG - 851)) | (1L << (LOG10 - 851)) | (1L << (LOG2 - 851)) | (1L << (LOWER - 851)) | (1L << (LPAD - 851)) | (1L << (LTRIM - 851)) | (1L << (MAKEDATE - 851)) | (1L << (MAKETIME - 851)) | (1L << (MAKE_SET - 851)) | (1L << (MASTER_POS_WAIT - 851)) | (1L << (MBRCONTAINS - 851)))) != 0) || ((((_la - 915)) & ~0x3f) == 0 && ((1L << (_la - 915)) & ((1L << (MBRDISJOINT - 915)) | (1L << (MBREQUAL - 915)) | (1L << (MBRINTERSECTS - 915)) | (1L << (MBROVERLAPS - 915)) | (1L << (MBRTOUCHES - 915)) | (1L << (MBRWITHIN - 915)) | (1L << (MD5 - 915)) | (1L << (MLINEFROMTEXT - 915)) | (1L << (MLINEFROMWKB - 915)) | (1L << (MONTHNAME - 915)) | (1L << (MPOINTFROMTEXT - 915)) | (1L << (MPOINTFROMWKB - 915)) | (1L << (MPOLYFROMTEXT - 915)) | (1L << (MPOLYFROMWKB - 915)) | (1L << (MULTILINESTRINGFROMTEXT - 915)) | (1L << (MULTILINESTRINGFROMWKB - 915)) | (1L << (MULTIPOINTFROMTEXT - 915)) | (1L << (MULTIPOINTFROMWKB - 915)) | (1L << (MULTIPOLYGONFROMTEXT - 915)) | (1L << (MULTIPOLYGONFROMWKB - 915)) | (1L << (NAME_CONST - 915)) | (1L << (NULLIF - 915)) | (1L << (NUMGEOMETRIES - 915)) | (1L << (NUMINTERIORRINGS - 915)) | (1L << (NUMPOINTS - 915)) | (1L << (OCT - 915)) | (1L << (OCTET_LENGTH - 915)) | (1L << (ORD - 915)) | (1L << (OVERLAPS - 915)) | (1L << (PERIOD_ADD - 915)) | (1L << (PERIOD_DIFF - 915)) | (1L << (PI - 915)) | (1L << (POINTFROMTEXT - 915)) | (1L << (POINTFROMWKB - 915)) | (1L << (POINTN - 915)) | (1L << (POLYFROMTEXT - 915)) | (1L << (POLYFROMWKB - 915)) | (1L << (POLYGONFROMTEXT - 915)) | (1L << (POLYGONFROMWKB - 915)) | (1L << (POW - 915)) | (1L << (POWER - 915)) | (1L << (QUOTE - 915)) | (1L << (RADIANS - 915)) | (1L << (RAND - 915)) | (1L << (RANDOM_BYTES - 915)) | (1L << (RELEASE_LOCK - 915)) | (1L << (REVERSE - 915)) | (1L << (ROUND - 915)) | (1L << (ROW_COUNT - 915)) | (1L << (RPAD - 915)) | (1L << (RTRIM - 915)) | (1L << (SEC_TO_TIME - 915)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 915)) | (1L << (SESSION_USER - 915)) | (1L << (SHA - 915)) | (1L << (SHA1 - 915)) | (1L << (SHA2 - 915)) | (1L << (SCHEMA_NAME - 915)) | (1L << (SIGN - 915)) | (1L << (SIN - 915)) | (1L << (SLEEP - 915)) | (1L << (SOUNDEX - 915)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 915)) | (1L << (SQRT - 915)))) != 0) || ((((_la - 979)) & ~0x3f) == 0 && ((1L << (_la - 979)) & ((1L << (SRID - 979)) | (1L << (STARTPOINT - 979)) | (1L << (STRCMP - 979)) | (1L << (STR_TO_DATE - 979)) | (1L << (ST_AREA - 979)) | (1L << (ST_ASBINARY - 979)) | (1L << (ST_ASTEXT - 979)) | (1L << (ST_ASWKB - 979)) | (1L << (ST_ASWKT - 979)) | (1L << (ST_BUFFER - 979)) | (1L << (ST_CENTROID - 979)) | (1L << (ST_CONTAINS - 979)) | (1L << (ST_CROSSES - 979)) | (1L << (ST_DIFFERENCE - 979)) | (1L << (ST_DIMENSION - 979)) | (1L << (ST_DISJOINT - 979)) | (1L << (ST_DISTANCE - 979)) | (1L << (ST_ENDPOINT - 979)) | (1L << (ST_ENVELOPE - 979)) | (1L << (ST_EQUALS - 979)) | (1L << (ST_EXTERIORRING - 979)) | (1L << (ST_GEOMCOLLFROMTEXT - 979)) | (1L << (ST_GEOMCOLLFROMTXT - 979)) | (1L << (ST_GEOMCOLLFROMWKB - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 979)) | (1L << (ST_GEOMETRYFROMTEXT - 979)) | (1L << (ST_GEOMETRYFROMWKB - 979)) | (1L << (ST_GEOMETRYN - 979)) | (1L << (ST_GEOMETRYTYPE - 979)) | (1L << (ST_GEOMFROMTEXT - 979)) | (1L << (ST_GEOMFROMWKB - 979)) | (1L << (ST_INTERIORRINGN - 979)) | (1L << (ST_INTERSECTION - 979)) | (1L << (ST_INTERSECTS - 979)) | (1L << (ST_ISCLOSED - 979)) | (1L << (ST_ISEMPTY - 979)) | (1L << (ST_ISSIMPLE - 979)) | (1L << (ST_LINEFROMTEXT - 979)) | (1L << (ST_LINEFROMWKB - 979)) | (1L << (ST_LINESTRINGFROMTEXT - 979)) | (1L << (ST_LINESTRINGFROMWKB - 979)) | (1L << (ST_NUMGEOMETRIES - 979)) | (1L << (ST_NUMINTERIORRING - 979)) | (1L << (ST_NUMINTERIORRINGS - 979)) | (1L << (ST_NUMPOINTS - 979)) | (1L << (ST_OVERLAPS - 979)) | (1L << (ST_POINTFROMTEXT - 979)) | (1L << (ST_POINTFROMWKB - 979)) | (1L << (ST_POINTN - 979)) | (1L << (ST_POLYFROMTEXT - 979)) | (1L << (ST_POLYFROMWKB - 979)) | (1L << (ST_POLYGONFROMTEXT - 979)) | (1L << (ST_POLYGONFROMWKB - 979)) | (1L << (ST_SRID - 979)) | (1L << (ST_STARTPOINT - 979)) | (1L << (ST_SYMDIFFERENCE - 979)) | (1L << (ST_TOUCHES - 979)) | (1L << (ST_UNION - 979)) | (1L << (ST_WITHIN - 979)) | (1L << (ST_X - 979)) | (1L << (ST_Y - 979)) | (1L << (SUBDATE - 979)) | (1L << (SUBSTRING_INDEX - 979)))) != 0) || ((((_la - 1043)) & ~0x3f) == 0 && ((1L << (_la - 1043)) & ((1L << (SUBTIME - 1043)) | (1L << (SYSTEM_USER - 1043)) | (1L << (TAN - 1043)) | (1L << (TIMEDIFF - 1043)) | (1L << (TIMESTAMPADD - 1043)) | (1L << (TIMESTAMPDIFF - 1043)) | (1L << (TIME_FORMAT - 1043)) | (1L << (TIME_TO_SEC - 1043)) | (1L << (TOUCHES - 1043)) | (1L << (TO_BASE64 - 1043)) | (1L << (TO_DAYS - 1043)) | (1L << (TO_SECONDS - 1043)) | (1L << (UCASE - 1043)) | (1L << (UNCOMPRESS - 1043)) | (1L << (UNCOMPRESSED_LENGTH - 1043)) | (1L << (UNHEX - 1043)) | (1L << (UNIX_TIMESTAMP - 1043)) | (1L << (UPDATEXML - 1043)) | (1L << (UPPER - 1043)) | (1L << (UUID - 1043)) | (1L << (UUID_SHORT - 1043)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1043)) | (1L << (VERSION - 1043)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1043)) | (1L << (WEEKDAY - 1043)) | (1L << (WEEKOFYEAR - 1043)) | (1L << (WEIGHT_STRING - 1043)) | (1L << (WITHIN - 1043)) | (1L << (YEARWEEK - 1043)) | (1L << (Y_FUNCTION - 1043)) | (1L << (X_FUNCTION - 1043)) | (1L << (VIA - 1043)) | (1L << (LASTVAL - 1043)) | (1L << (NEXTVAL - 1043)) | (1L << (SETVAL - 1043)) | (1L << (PREVIOUS - 1043)) | (1L << (PERSISTENT - 1043)) | (1L << (BINLOG_MONITOR - 1043)) | (1L << (BINLOG_REPLAY - 1043)) | (1L << (FEDERATED_ADMIN - 1043)) | (1L << (READ_ONLY_ADMIN - 1043)) | (1L << (REPLICA - 1043)) | (1L << (REPLICATION_MASTER_ADMIN - 1043)) | (1L << (MOD - 1043)))) != 0) || ((((_la - 1123)) & ~0x3f) == 0 && ((1L << (_la - 1123)) & ((1L << (CHARSET_REVERSE_QOUTE_STRING - 1123)) | (1L << (STRING_LITERAL - 1123)) | (1L << (ID - 1123)) | (1L << (REVERSE_QUOTE_ID - 1123)) | (1L << (ENCRYPTED - 1123)) | (1L << (ENCRYPTION_KEY_ID - 1123)))) != 0)) {
{
setState(1634);
((PrimaryKeyTableConstraintContext)_localctx).name = uid();
}
}
}
}
setState(1639);
match(PRIMARY);
setState(1640);
match(KEY);
setState(1642);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 34)) & ~0x3f) == 0 && ((1L << (_la - 34)) & ((1L << (CURRENT - 34)) | (1L << (DATABASE - 34)) | (1L << (DIAGNOSTICS - 34)) | (1L << (EXCEPT - 34)) | (1L << (GROUP - 34)) | (1L << (IGNORED - 34)) | (1L << (LEFT - 34)))) != 0) || ((((_la - 114)) & ~0x3f) == 0 && ((1L << (_la - 114)) & ((1L << (NUMBER - 114)) | (1L << (OPTIONAL - 114)) | (1L << (ORDER - 114)) | (1L << (RIGHT - 114)) | (1L << (SCHEMA - 114)) | (1L << (STACKED - 114)))) != 0) || ((((_la - 211)) & ~0x3f) == 0 && ((1L << (_la - 211)) & ((1L << (DATE - 211)) | (1L << (TIME - 211)) | (1L << (TIMESTAMP - 211)) | (1L << (DATETIME - 211)) | (1L << (YEAR - 211)) | (1L << (BINARY - 211)) | (1L << (TEXT - 211)) | (1L << (ENUM - 211)) | (1L << (SERIAL - 211)) | (1L << (JSON_ARRAY - 211)) | (1L << (JSON_OBJECT - 211)) | (1L << (JSON_QUOTE - 211)) | (1L << (JSON_CONTAINS - 211)) | (1L << (JSON_CONTAINS_PATH - 211)) | (1L << (JSON_EXTRACT - 211)) | (1L << (JSON_KEYS - 211)) | (1L << (JSON_OVERLAPS - 211)) | (1L << (JSON_SEARCH - 211)) | (1L << (JSON_VALUE - 211)) | (1L << (JSON_ARRAY_APPEND - 211)) | (1L << (JSON_ARRAY_INSERT - 211)) | (1L << (JSON_INSERT - 211)) | (1L << (JSON_MERGE - 211)) | (1L << (JSON_MERGE_PATCH - 211)) | (1L << (JSON_MERGE_PRESERVE - 211)) | (1L << (JSON_REMOVE - 211)) | (1L << (JSON_REPLACE - 211)) | (1L << (JSON_SET - 211)) | (1L << (JSON_UNQUOTE - 211)) | (1L << (JSON_DEPTH - 211)) | (1L << (JSON_LENGTH - 211)) | (1L << (JSON_TYPE - 211)) | (1L << (JSON_VALID - 211)) | (1L << (JSON_TABLE - 211)) | (1L << (JSON_SCHEMA_VALID - 211)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 211)) | (1L << (JSON_PRETTY - 211)) | (1L << (JSON_STORAGE_FREE - 211)) | (1L << (JSON_STORAGE_SIZE - 211)))) != 0) || ((((_la - 275)) & ~0x3f) == 0 && ((1L << (_la - 275)) & ((1L << (JSON_ARRAYAGG - 275)) | (1L << (JSON_OBJECTAGG - 275)) | (1L << (AVG - 275)) | (1L << (BIT_AND - 275)) | (1L << (BIT_OR - 275)) | (1L << (BIT_XOR - 275)) | (1L << (COUNT - 275)) | (1L << (CUME_DIST - 275)) | (1L << (DENSE_RANK - 275)) | (1L << (FIRST_VALUE - 275)) | (1L << (GROUP_CONCAT - 275)) | (1L << (LAG - 275)) | (1L << (LAST_VALUE - 275)) | (1L << (LEAD - 275)) | (1L << (MAX - 275)) | (1L << (MIN - 275)) | (1L << (NTILE - 275)) | (1L << (NTH_VALUE - 275)) | (1L << (PERCENT_RANK - 275)) | (1L << (RANK - 275)) | (1L << (ROW_NUMBER - 275)) | (1L << (STD - 275)) | (1L << (STDDEV - 275)) | (1L << (STDDEV_POP - 275)) | (1L << (STDDEV_SAMP - 275)) | (1L << (SUM - 275)) | (1L << (VAR_POP - 275)) | (1L << (VAR_SAMP - 275)) | (1L << (VARIANCE - 275)) | (1L << (POSITION - 275)) | (1L << (ACCOUNT - 275)) | (1L << (ACTION - 275)) | (1L << (AFTER - 275)) | (1L << (AGGREGATE - 275)) | (1L << (ALGORITHM - 275)) | (1L << (ANY - 275)) | (1L << (AT - 275)) | (1L << (AUTHORS - 275)) | (1L << (AUTOCOMMIT - 275)) | (1L << (AUTOEXTEND_SIZE - 275)) | (1L << (AUTO_INCREMENT - 275)) | (1L << (AVG_ROW_LENGTH - 275)) | (1L << (BEGIN - 275)) | (1L << (BINLOG - 275)) | (1L << (BIT - 275)) | (1L << (BLOCK - 275)))) != 0) || ((((_la - 339)) & ~0x3f) == 0 && ((1L << (_la - 339)) & ((1L << (BOOL - 339)) | (1L << (BOOLEAN - 339)) | (1L << (BTREE - 339)) | (1L << (CACHE - 339)) | (1L << (CASCADED - 339)) | (1L << (CHAIN - 339)) | (1L << (CHANGED - 339)) | (1L << (CHANNEL - 339)) | (1L << (CHECKSUM - 339)) | (1L << (PAGE_CHECKSUM - 339)) | (1L << (CIPHER - 339)) | (1L << (CLASS_ORIGIN - 339)) | (1L << (CLIENT - 339)) | (1L << (CLOSE - 339)) | (1L << (CLUSTERING - 339)) | (1L << (COALESCE - 339)) | (1L << (CODE - 339)) | (1L << (COLUMNS - 339)) | (1L << (COLUMN_FORMAT - 339)) | (1L << (COLUMN_NAME - 339)) | (1L << (COMMENT - 339)) | (1L << (COMMIT - 339)) | (1L << (COMPACT - 339)) | (1L << (COMPLETION - 339)) | (1L << (COMPRESSED - 339)) | (1L << (COMPRESSION - 339)) | (1L << (CONCURRENT - 339)) | (1L << (CONNECT - 339)) | (1L << (CONNECTION - 339)) | (1L << (CONSISTENT - 339)) | (1L << (CONSTRAINT_CATALOG - 339)) | (1L << (CONSTRAINT_SCHEMA - 339)) | (1L << (CONSTRAINT_NAME - 339)) | (1L << (CONTAINS - 339)) | (1L << (CONTEXT - 339)) | (1L << (CONTRIBUTORS - 339)) | (1L << (COPY - 339)) | (1L << (CPU - 339)) | (1L << (CURSOR_NAME - 339)) | (1L << (DATA - 339)) | (1L << (DATAFILE - 339)) | (1L << (DEALLOCATE - 339)) | (1L << (DEFAULT_AUTH - 339)) | (1L << (DEFINER - 339)) | (1L << (DELAY_KEY_WRITE - 339)) | (1L << (DES_KEY_FILE - 339)) | (1L << (DIRECTORY - 339)) | (1L << (DISABLE - 339)) | (1L << (DISCARD - 339)) | (1L << (DISK - 339)) | (1L << (DO - 339)) | (1L << (DUMPFILE - 339)) | (1L << (DUPLICATE - 339)) | (1L << (DYNAMIC - 339)) | (1L << (ENABLE - 339)) | (1L << (ENCRYPTION - 339)) | (1L << (END - 339)) | (1L << (ENDS - 339)) | (1L << (ENGINE - 339)) | (1L << (ENGINES - 339)) | (1L << (ERROR - 339)) | (1L << (ERRORS - 339)) | (1L << (ESCAPE - 339)) | (1L << (EVEN - 339)))) != 0) || ((((_la - 403)) & ~0x3f) == 0 && ((1L << (_la - 403)) & ((1L << (EVENT - 403)) | (1L << (EVENTS - 403)) | (1L << (EVERY - 403)) | (1L << (EXCHANGE - 403)) | (1L << (EXCLUSIVE - 403)) | (1L << (EXPIRE - 403)) | (1L << (EXPORT - 403)) | (1L << (EXTENDED - 403)) | (1L << (EXTENT_SIZE - 403)) | (1L << (FAST - 403)) | (1L << (FAULTS - 403)) | (1L << (FIELDS - 403)) | (1L << (FILE_BLOCK_SIZE - 403)) | (1L << (FILTER - 403)) | (1L << (FIRST - 403)) | (1L << (FIXED - 403)) | (1L << (FLUSH - 403)) | (1L << (FOLLOWS - 403)) | (1L << (FOUND - 403)) | (1L << (FULL - 403)) | (1L << (FUNCTION - 403)) | (1L << (GENERAL - 403)) | (1L << (GLOBAL - 403)) | (1L << (GRANTS - 403)) | (1L << (GROUP_REPLICATION - 403)) | (1L << (HANDLER - 403)) | (1L << (HASH - 403)) | (1L << (HELP - 403)) | (1L << (HOST - 403)) | (1L << (HOSTS - 403)) | (1L << (IDENTIFIED - 403)) | (1L << (IGNORE_SERVER_IDS - 403)) | (1L << (IMPORT - 403)) | (1L << (INDEXES - 403)) | (1L << (INITIAL_SIZE - 403)) | (1L << (INPLACE - 403)) | (1L << (INSERT_METHOD - 403)) | (1L << (INSTALL - 403)) | (1L << (INSTANCE - 403)) | (1L << (INSTANT - 403)) | (1L << (INVISIBLE - 403)) | (1L << (INVOKER - 403)) | (1L << (IO - 403)) | (1L << (IO_THREAD - 403)) | (1L << (IPC - 403)) | (1L << (ISOLATION - 403)) | (1L << (ISSUER - 403)) | (1L << (JSON - 403)) | (1L << (KEY_BLOCK_SIZE - 403)) | (1L << (LANGUAGE - 403)) | (1L << (LAST - 403)) | (1L << (LEAVES - 403)) | (1L << (LESS - 403)) | (1L << (LEVEL - 403)) | (1L << (LIST - 403)) | (1L << (LOCAL - 403)) | (1L << (LOGFILE - 403)) | (1L << (LOGS - 403)) | (1L << (MASTER - 403)) | (1L << (MASTER_AUTO_POSITION - 403)) | (1L << (MASTER_CONNECT_RETRY - 403)) | (1L << (MASTER_DELAY - 403)) | (1L << (MASTER_HEARTBEAT_PERIOD - 403)))) != 0) || ((((_la - 467)) & ~0x3f) == 0 && ((1L << (_la - 467)) & ((1L << (MASTER_HOST - 467)) | (1L << (MASTER_LOG_FILE - 467)) | (1L << (MASTER_LOG_POS - 467)) | (1L << (MASTER_PASSWORD - 467)) | (1L << (MASTER_PORT - 467)) | (1L << (MASTER_RETRY_COUNT - 467)) | (1L << (MASTER_SSL - 467)) | (1L << (MASTER_SSL_CA - 467)) | (1L << (MASTER_SSL_CAPATH - 467)) | (1L << (MASTER_SSL_CERT - 467)) | (1L << (MASTER_SSL_CIPHER - 467)) | (1L << (MASTER_SSL_CRL - 467)) | (1L << (MASTER_SSL_CRLPATH - 467)) | (1L << (MASTER_SSL_KEY - 467)) | (1L << (MASTER_TLS_VERSION - 467)) | (1L << (MASTER_USER - 467)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 467)) | (1L << (MAX_QUERIES_PER_HOUR - 467)) | (1L << (MAX_ROWS - 467)) | (1L << (MAX_SIZE - 467)) | (1L << (MAX_UPDATES_PER_HOUR - 467)) | (1L << (MAX_USER_CONNECTIONS - 467)) | (1L << (MEDIUM - 467)) | (1L << (MEMBER - 467)) | (1L << (MERGE - 467)) | (1L << (MESSAGE_TEXT - 467)) | (1L << (MID - 467)) | (1L << (MIGRATE - 467)) | (1L << (MIN_ROWS - 467)) | (1L << (MODE - 467)) | (1L << (MODIFY - 467)) | (1L << (MUTEX - 467)) | (1L << (MYSQL - 467)) | (1L << (MYSQL_ERRNO - 467)) | (1L << (NAME - 467)) | (1L << (NAMES - 467)) | (1L << (NCHAR - 467)) | (1L << (NEVER - 467)) | (1L << (NEXT - 467)) | (1L << (NO - 467)) | (1L << (NOCOPY - 467)) | (1L << (NOWAIT - 467)) | (1L << (NODEGROUP - 467)) | (1L << (NONE - 467)) | (1L << (ODBC - 467)) | (1L << (OFFLINE - 467)) | (1L << (OFFSET - 467)) | (1L << (OF - 467)) | (1L << (OJ - 467)) | (1L << (OLD_PASSWORD - 467)) | (1L << (ONE - 467)) | (1L << (ONLINE - 467)) | (1L << (ONLY - 467)) | (1L << (OPEN - 467)) | (1L << (OPTIMIZER_COSTS - 467)) | (1L << (OPTIONS - 467)) | (1L << (OWNER - 467)) | (1L << (PACK_KEYS - 467)) | (1L << (PAGE - 467)) | (1L << (PARSER - 467)) | (1L << (PARTIAL - 467)) | (1L << (PARTITIONING - 467)) | (1L << (PARTITIONS - 467)) | (1L << (PASSWORD - 467)))) != 0) || ((((_la - 531)) & ~0x3f) == 0 && ((1L << (_la - 531)) & ((1L << (PHASE - 531)) | (1L << (PLUGIN - 531)) | (1L << (PLUGIN_DIR - 531)) | (1L << (PLUGINS - 531)) | (1L << (PORT - 531)) | (1L << (PRECEDES - 531)) | (1L << (PREPARE - 531)) | (1L << (PRESERVE - 531)) | (1L << (PREV - 531)) | (1L << (PROCESSLIST - 531)) | (1L << (PROFILE - 531)) | (1L << (PROFILES - 531)) | (1L << (PROXY - 531)) | (1L << (QUERY - 531)) | (1L << (QUICK - 531)) | (1L << (REBUILD - 531)) | (1L << (RECOVER - 531)) | (1L << (RECURSIVE - 531)) | (1L << (REDO_BUFFER_SIZE - 531)) | (1L << (REDUNDANT - 531)) | (1L << (RELAY - 531)) | (1L << (RELAY_LOG_FILE - 531)) | (1L << (RELAY_LOG_POS - 531)) | (1L << (RELAYLOG - 531)) | (1L << (REMOVE - 531)) | (1L << (REORGANIZE - 531)) | (1L << (REPAIR - 531)) | (1L << (REPLICATE_DO_DB - 531)) | (1L << (REPLICATE_DO_TABLE - 531)) | (1L << (REPLICATE_IGNORE_DB - 531)) | (1L << (REPLICATE_IGNORE_TABLE - 531)) | (1L << (REPLICATE_REWRITE_DB - 531)) | (1L << (REPLICATE_WILD_DO_TABLE - 531)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 531)) | (1L << (REPLICATION - 531)) | (1L << (RESET - 531)) | (1L << (RESUME - 531)) | (1L << (RETURNED_SQLSTATE - 531)) | (1L << (RETURNS - 531)) | (1L << (ROLE - 531)) | (1L << (ROLLBACK - 531)) | (1L << (ROLLUP - 531)) | (1L << (ROTATE - 531)) | (1L << (ROW - 531)) | (1L << (ROWS - 531)) | (1L << (ROW_FORMAT - 531)) | (1L << (RTREE - 531)) | (1L << (SAVEPOINT - 531)) | (1L << (SCHEDULE - 531)) | (1L << (SECURITY - 531)) | (1L << (SERVER - 531)) | (1L << (SESSION - 531)) | (1L << (SHARE - 531)) | (1L << (SHARED - 531)) | (1L << (SIGNED - 531)) | (1L << (SIMPLE - 531)) | (1L << (SLAVE - 531)) | (1L << (SLOW - 531)) | (1L << (SNAPSHOT - 531)) | (1L << (SOCKET - 531)) | (1L << (SOME - 531)) | (1L << (SONAME - 531)))) != 0) || ((((_la - 595)) & ~0x3f) == 0 && ((1L << (_la - 595)) & ((1L << (SOUNDS - 595)) | (1L << (SOURCE - 595)) | (1L << (SQL_AFTER_GTIDS - 595)) | (1L << (SQL_AFTER_MTS_GAPS - 595)) | (1L << (SQL_BEFORE_GTIDS - 595)) | (1L << (SQL_BUFFER_RESULT - 595)) | (1L << (SQL_CACHE - 595)) | (1L << (SQL_NO_CACHE - 595)) | (1L << (SQL_THREAD - 595)) | (1L << (START - 595)) | (1L << (STARTS - 595)) | (1L << (STATS_AUTO_RECALC - 595)) | (1L << (STATS_PERSISTENT - 595)) | (1L << (STATS_SAMPLE_PAGES - 595)) | (1L << (STATUS - 595)) | (1L << (STOP - 595)) | (1L << (STORAGE - 595)) | (1L << (STRING - 595)) | (1L << (SUBCLASS_ORIGIN - 595)) | (1L << (SUBJECT - 595)) | (1L << (SUBPARTITION - 595)) | (1L << (SUBPARTITIONS - 595)) | (1L << (SUSPEND - 595)) | (1L << (SWAPS - 595)) | (1L << (SWITCHES - 595)) | (1L << (TABLE_NAME - 595)) | (1L << (TABLESPACE - 595)) | (1L << (TEMPORARY - 595)) | (1L << (TEMPTABLE - 595)) | (1L << (THAN - 595)) | (1L << (TRADITIONAL - 595)) | (1L << (TRANSACTION - 595)) | (1L << (TRANSACTIONAL - 595)) | (1L << (TRIGGERS - 595)) | (1L << (TRUNCATE - 595)) | (1L << (UNDEFINED - 595)) | (1L << (UNDOFILE - 595)) | (1L << (UNDO_BUFFER_SIZE - 595)) | (1L << (UNINSTALL - 595)) | (1L << (UNKNOWN - 595)) | (1L << (UNTIL - 595)) | (1L << (UPGRADE - 595)) | (1L << (USER - 595)) | (1L << (USE_FRM - 595)) | (1L << (USER_RESOURCES - 595)) | (1L << (VALIDATION - 595)) | (1L << (VALUE - 595)) | (1L << (VARIABLES - 595)) | (1L << (VIEW - 595)) | (1L << (VISIBLE - 595)) | (1L << (WAIT - 595)) | (1L << (WARNINGS - 595)) | (1L << (WITHOUT - 595)) | (1L << (WORK - 595)) | (1L << (WRAPPER - 595)) | (1L << (X509 - 595)) | (1L << (XA - 595)) | (1L << (XML - 595)))) != 0) || ((((_la - 659)) & ~0x3f) == 0 && ((1L << (_la - 659)) & ((1L << (EUR - 659)) | (1L << (USA - 659)) | (1L << (JIS - 659)) | (1L << (ISO - 659)) | (1L << (INTERNAL - 659)) | (1L << (QUARTER - 659)) | (1L << (MONTH - 659)) | (1L << (DAY - 659)) | (1L << (HOUR - 659)) | (1L << (MINUTE - 659)) | (1L << (WEEK - 659)) | (1L << (SECOND - 659)) | (1L << (MICROSECOND - 659)) | (1L << (TABLES - 659)) | (1L << (ROUTINE - 659)) | (1L << (EXECUTE - 659)) | (1L << (FILE - 659)) | (1L << (PROCESS - 659)) | (1L << (RELOAD - 659)) | (1L << (SHUTDOWN - 659)) | (1L << (SUPER - 659)) | (1L << (PRIVILEGES - 659)) | (1L << (AUDIT_ADMIN - 659)) | (1L << (BACKUP_ADMIN - 659)) | (1L << (BINLOG_ADMIN - 659)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 659)) | (1L << (CLONE_ADMIN - 659)) | (1L << (CONNECTION_ADMIN - 659)) | (1L << (ENCRYPTION_KEY_ADMIN - 659)) | (1L << (FIREWALL_ADMIN - 659)) | (1L << (FIREWALL_USER - 659)) | (1L << (ADMIN - 659)) | (1L << (GROUP_REPLICATION_ADMIN - 659)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 659)) | (1L << (NDB_STORED_USER - 659)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 659)) | (1L << (REPLICATION_APPLIER - 659)) | (1L << (REPLICATION_SLAVE_ADMIN - 659)) | (1L << (RESOURCE_GROUP_ADMIN - 659)) | (1L << (RESOURCE_GROUP_USER - 659)) | (1L << (ROLE_ADMIN - 659)) | (1L << (SESSION_VARIABLES_ADMIN - 659)) | (1L << (SET_USER_ID - 659)) | (1L << (SHOW_ROUTINE - 659)) | (1L << (SYSTEM_VARIABLES_ADMIN - 659)) | (1L << (TABLE_ENCRYPTION_ADMIN - 659)) | (1L << (VERSION_TOKEN_ADMIN - 659)) | (1L << (XA_RECOVER_ADMIN - 659)) | (1L << (ARMSCII8 - 659)) | (1L << (ASCII - 659)) | (1L << (BIG5 - 659)) | (1L << (CP1250 - 659)) | (1L << (CP1251 - 659)) | (1L << (CP1256 - 659)) | (1L << (CP1257 - 659)) | (1L << (CP850 - 659)) | (1L << (CP852 - 659)))) != 0) || ((((_la - 723)) & ~0x3f) == 0 && ((1L << (_la - 723)) & ((1L << (CP866 - 723)) | (1L << (CP932 - 723)) | (1L << (DEC8 - 723)) | (1L << (EUCJPMS - 723)) | (1L << (EUCKR - 723)) | (1L << (GB18030 - 723)) | (1L << (GB2312 - 723)) | (1L << (GBK - 723)) | (1L << (GEOSTD8 - 723)) | (1L << (GREEK - 723)) | (1L << (HEBREW - 723)) | (1L << (HP8 - 723)) | (1L << (KEYBCS2 - 723)) | (1L << (KOI8R - 723)) | (1L << (KOI8U - 723)) | (1L << (LATIN1 - 723)) | (1L << (LATIN2 - 723)) | (1L << (LATIN5 - 723)) | (1L << (LATIN7 - 723)) | (1L << (MACCE - 723)) | (1L << (MACROMAN - 723)) | (1L << (SJIS - 723)) | (1L << (SWE7 - 723)) | (1L << (TIS620 - 723)) | (1L << (UCS2 - 723)) | (1L << (UJIS - 723)) | (1L << (UTF16 - 723)) | (1L << (UTF16LE - 723)) | (1L << (UTF32 - 723)) | (1L << (UTF8 - 723)) | (1L << (UTF8MB3 - 723)) | (1L << (UTF8MB4 - 723)) | (1L << (ARCHIVE - 723)) | (1L << (BLACKHOLE - 723)) | (1L << (CSV - 723)) | (1L << (FEDERATED - 723)) | (1L << (INNODB - 723)) | (1L << (MEMORY - 723)) | (1L << (MRG_MYISAM - 723)) | (1L << (MYISAM - 723)) | (1L << (NDB - 723)) | (1L << (NDBCLUSTER - 723)) | (1L << (PERFORMANCE_SCHEMA - 723)) | (1L << (TOKUDB - 723)) | (1L << (REPEATABLE - 723)) | (1L << (COMMITTED - 723)) | (1L << (UNCOMMITTED - 723)) | (1L << (SERIALIZABLE - 723)) | (1L << (GEOMETRYCOLLECTION - 723)) | (1L << (LINESTRING - 723)) | (1L << (MULTILINESTRING - 723)) | (1L << (MULTIPOINT - 723)) | (1L << (MULTIPOLYGON - 723)) | (1L << (POINT - 723)) | (1L << (POLYGON - 723)) | (1L << (ABS - 723)) | (1L << (ACOS - 723)) | (1L << (ADDDATE - 723)) | (1L << (ADDTIME - 723)) | (1L << (AES_DECRYPT - 723)) | (1L << (AES_ENCRYPT - 723)) | (1L << (AREA - 723)))) != 0) || ((((_la - 787)) & ~0x3f) == 0 && ((1L << (_la - 787)) & ((1L << (ASBINARY - 787)) | (1L << (ASIN - 787)) | (1L << (ASTEXT - 787)) | (1L << (ASWKB - 787)) | (1L << (ASWKT - 787)) | (1L << (ASYMMETRIC_DECRYPT - 787)) | (1L << (ASYMMETRIC_DERIVE - 787)) | (1L << (ASYMMETRIC_ENCRYPT - 787)) | (1L << (ASYMMETRIC_SIGN - 787)) | (1L << (ASYMMETRIC_VERIFY - 787)) | (1L << (ATAN - 787)) | (1L << (ATAN2 - 787)) | (1L << (BENCHMARK - 787)) | (1L << (BIN - 787)) | (1L << (BIT_COUNT - 787)) | (1L << (BIT_LENGTH - 787)) | (1L << (BUFFER - 787)) | (1L << (CATALOG_NAME - 787)) | (1L << (CEIL - 787)) | (1L << (CEILING - 787)) | (1L << (CENTROID - 787)) | (1L << (CHARACTER_LENGTH - 787)) | (1L << (CHARSET - 787)) | (1L << (CHAR_LENGTH - 787)) | (1L << (COERCIBILITY - 787)) | (1L << (COLLATION - 787)) | (1L << (COMPRESS - 787)) | (1L << (CONCAT - 787)) | (1L << (CONCAT_WS - 787)) | (1L << (CONNECTION_ID - 787)) | (1L << (CONV - 787)) | (1L << (CONVERT_TZ - 787)) | (1L << (COS - 787)) | (1L << (COT - 787)) | (1L << (CRC32 - 787)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 787)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 787)) | (1L << (CREATE_DH_PARAMETERS - 787)) | (1L << (CREATE_DIGEST - 787)) | (1L << (CROSSES - 787)) | (1L << (DATEDIFF - 787)) | (1L << (DATE_FORMAT - 787)) | (1L << (DAYNAME - 787)) | (1L << (DAYOFMONTH - 787)) | (1L << (DAYOFWEEK - 787)) | (1L << (DAYOFYEAR - 787)) | (1L << (DECODE - 787)) | (1L << (DEGREES - 787)) | (1L << (DES_DECRYPT - 787)) | (1L << (DES_ENCRYPT - 787)) | (1L << (DIMENSION - 787)) | (1L << (DISJOINT - 787)) | (1L << (ELT - 787)) | (1L << (ENCODE - 787)) | (1L << (ENCRYPT - 787)) | (1L << (ENDPOINT - 787)) | (1L << (ENGINE_ATTRIBUTE - 787)) | (1L << (ENVELOPE - 787)) | (1L << (EQUALS - 787)) | (1L << (EXP - 787)) | (1L << (EXPORT_SET - 787)) | (1L << (EXTERIORRING - 787)) | (1L << (EXTRACTVALUE - 787)) | (1L << (FIELD - 787)))) != 0) || ((((_la - 851)) & ~0x3f) == 0 && ((1L << (_la - 851)) & ((1L << (FIND_IN_SET - 851)) | (1L << (FLOOR - 851)) | (1L << (FORMAT - 851)) | (1L << (FOUND_ROWS - 851)) | (1L << (FROM_BASE64 - 851)) | (1L << (FROM_DAYS - 851)) | (1L << (FROM_UNIXTIME - 851)) | (1L << (GEOMCOLLFROMTEXT - 851)) | (1L << (GEOMCOLLFROMWKB - 851)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 851)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 851)) | (1L << (GEOMETRYFROMTEXT - 851)) | (1L << (GEOMETRYFROMWKB - 851)) | (1L << (GEOMETRYN - 851)) | (1L << (GEOMETRYTYPE - 851)) | (1L << (GEOMFROMTEXT - 851)) | (1L << (GEOMFROMWKB - 851)) | (1L << (GET_FORMAT - 851)) | (1L << (GET_LOCK - 851)) | (1L << (GLENGTH - 851)) | (1L << (GREATEST - 851)) | (1L << (GTID_SUBSET - 851)) | (1L << (GTID_SUBTRACT - 851)) | (1L << (HEX - 851)) | (1L << (IFNULL - 851)) | (1L << (INET6_ATON - 851)) | (1L << (INET6_NTOA - 851)) | (1L << (INET_ATON - 851)) | (1L << (INET_NTOA - 851)) | (1L << (INSTR - 851)) | (1L << (INTERIORRINGN - 851)) | (1L << (INTERSECTS - 851)) | (1L << (ISCLOSED - 851)) | (1L << (ISEMPTY - 851)) | (1L << (ISNULL - 851)) | (1L << (ISSIMPLE - 851)) | (1L << (IS_FREE_LOCK - 851)) | (1L << (IS_IPV4 - 851)) | (1L << (IS_IPV4_COMPAT - 851)) | (1L << (IS_IPV4_MAPPED - 851)) | (1L << (IS_IPV6 - 851)) | (1L << (IS_USED_LOCK - 851)) | (1L << (LAST_INSERT_ID - 851)) | (1L << (LCASE - 851)) | (1L << (LEAST - 851)) | (1L << (LENGTH - 851)) | (1L << (LINEFROMTEXT - 851)) | (1L << (LINEFROMWKB - 851)) | (1L << (LINESTRINGFROMTEXT - 851)) | (1L << (LINESTRINGFROMWKB - 851)) | (1L << (LN - 851)) | (1L << (LOAD_FILE - 851)) | (1L << (LOCATE - 851)) | (1L << (LOG - 851)) | (1L << (LOG10 - 851)) | (1L << (LOG2 - 851)) | (1L << (LOWER - 851)) | (1L << (LPAD - 851)) | (1L << (LTRIM - 851)) | (1L << (MAKEDATE - 851)) | (1L << (MAKETIME - 851)) | (1L << (MAKE_SET - 851)) | (1L << (MASTER_POS_WAIT - 851)) | (1L << (MBRCONTAINS - 851)))) != 0) || ((((_la - 915)) & ~0x3f) == 0 && ((1L << (_la - 915)) & ((1L << (MBRDISJOINT - 915)) | (1L << (MBREQUAL - 915)) | (1L << (MBRINTERSECTS - 915)) | (1L << (MBROVERLAPS - 915)) | (1L << (MBRTOUCHES - 915)) | (1L << (MBRWITHIN - 915)) | (1L << (MD5 - 915)) | (1L << (MLINEFROMTEXT - 915)) | (1L << (MLINEFROMWKB - 915)) | (1L << (MONTHNAME - 915)) | (1L << (MPOINTFROMTEXT - 915)) | (1L << (MPOINTFROMWKB - 915)) | (1L << (MPOLYFROMTEXT - 915)) | (1L << (MPOLYFROMWKB - 915)) | (1L << (MULTILINESTRINGFROMTEXT - 915)) | (1L << (MULTILINESTRINGFROMWKB - 915)) | (1L << (MULTIPOINTFROMTEXT - 915)) | (1L << (MULTIPOINTFROMWKB - 915)) | (1L << (MULTIPOLYGONFROMTEXT - 915)) | (1L << (MULTIPOLYGONFROMWKB - 915)) | (1L << (NAME_CONST - 915)) | (1L << (NULLIF - 915)) | (1L << (NUMGEOMETRIES - 915)) | (1L << (NUMINTERIORRINGS - 915)) | (1L << (NUMPOINTS - 915)) | (1L << (OCT - 915)) | (1L << (OCTET_LENGTH - 915)) | (1L << (ORD - 915)) | (1L << (OVERLAPS - 915)) | (1L << (PERIOD_ADD - 915)) | (1L << (PERIOD_DIFF - 915)) | (1L << (PI - 915)) | (1L << (POINTFROMTEXT - 915)) | (1L << (POINTFROMWKB - 915)) | (1L << (POINTN - 915)) | (1L << (POLYFROMTEXT - 915)) | (1L << (POLYFROMWKB - 915)) | (1L << (POLYGONFROMTEXT - 915)) | (1L << (POLYGONFROMWKB - 915)) | (1L << (POW - 915)) | (1L << (POWER - 915)) | (1L << (QUOTE - 915)) | (1L << (RADIANS - 915)) | (1L << (RAND - 915)) | (1L << (RANDOM_BYTES - 915)) | (1L << (RELEASE_LOCK - 915)) | (1L << (REVERSE - 915)) | (1L << (ROUND - 915)) | (1L << (ROW_COUNT - 915)) | (1L << (RPAD - 915)) | (1L << (RTRIM - 915)) | (1L << (SEC_TO_TIME - 915)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 915)) | (1L << (SESSION_USER - 915)) | (1L << (SHA - 915)) | (1L << (SHA1 - 915)) | (1L << (SHA2 - 915)) | (1L << (SCHEMA_NAME - 915)) | (1L << (SIGN - 915)) | (1L << (SIN - 915)) | (1L << (SLEEP - 915)) | (1L << (SOUNDEX - 915)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 915)) | (1L << (SQRT - 915)))) != 0) || ((((_la - 979)) & ~0x3f) == 0 && ((1L << (_la - 979)) & ((1L << (SRID - 979)) | (1L << (STARTPOINT - 979)) | (1L << (STRCMP - 979)) | (1L << (STR_TO_DATE - 979)) | (1L << (ST_AREA - 979)) | (1L << (ST_ASBINARY - 979)) | (1L << (ST_ASTEXT - 979)) | (1L << (ST_ASWKB - 979)) | (1L << (ST_ASWKT - 979)) | (1L << (ST_BUFFER - 979)) | (1L << (ST_CENTROID - 979)) | (1L << (ST_CONTAINS - 979)) | (1L << (ST_CROSSES - 979)) | (1L << (ST_DIFFERENCE - 979)) | (1L << (ST_DIMENSION - 979)) | (1L << (ST_DISJOINT - 979)) | (1L << (ST_DISTANCE - 979)) | (1L << (ST_ENDPOINT - 979)) | (1L << (ST_ENVELOPE - 979)) | (1L << (ST_EQUALS - 979)) | (1L << (ST_EXTERIORRING - 979)) | (1L << (ST_GEOMCOLLFROMTEXT - 979)) | (1L << (ST_GEOMCOLLFROMTXT - 979)) | (1L << (ST_GEOMCOLLFROMWKB - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 979)) | (1L << (ST_GEOMETRYFROMTEXT - 979)) | (1L << (ST_GEOMETRYFROMWKB - 979)) | (1L << (ST_GEOMETRYN - 979)) | (1L << (ST_GEOMETRYTYPE - 979)) | (1L << (ST_GEOMFROMTEXT - 979)) | (1L << (ST_GEOMFROMWKB - 979)) | (1L << (ST_INTERIORRINGN - 979)) | (1L << (ST_INTERSECTION - 979)) | (1L << (ST_INTERSECTS - 979)) | (1L << (ST_ISCLOSED - 979)) | (1L << (ST_ISEMPTY - 979)) | (1L << (ST_ISSIMPLE - 979)) | (1L << (ST_LINEFROMTEXT - 979)) | (1L << (ST_LINEFROMWKB - 979)) | (1L << (ST_LINESTRINGFROMTEXT - 979)) | (1L << (ST_LINESTRINGFROMWKB - 979)) | (1L << (ST_NUMGEOMETRIES - 979)) | (1L << (ST_NUMINTERIORRING - 979)) | (1L << (ST_NUMINTERIORRINGS - 979)) | (1L << (ST_NUMPOINTS - 979)) | (1L << (ST_OVERLAPS - 979)) | (1L << (ST_POINTFROMTEXT - 979)) | (1L << (ST_POINTFROMWKB - 979)) | (1L << (ST_POINTN - 979)) | (1L << (ST_POLYFROMTEXT - 979)) | (1L << (ST_POLYFROMWKB - 979)) | (1L << (ST_POLYGONFROMTEXT - 979)) | (1L << (ST_POLYGONFROMWKB - 979)) | (1L << (ST_SRID - 979)) | (1L << (ST_STARTPOINT - 979)) | (1L << (ST_SYMDIFFERENCE - 979)) | (1L << (ST_TOUCHES - 979)) | (1L << (ST_UNION - 979)) | (1L << (ST_WITHIN - 979)) | (1L << (ST_X - 979)) | (1L << (ST_Y - 979)) | (1L << (SUBDATE - 979)) | (1L << (SUBSTRING_INDEX - 979)))) != 0) || ((((_la - 1043)) & ~0x3f) == 0 && ((1L << (_la - 1043)) & ((1L << (SUBTIME - 1043)) | (1L << (SYSTEM_USER - 1043)) | (1L << (TAN - 1043)) | (1L << (TIMEDIFF - 1043)) | (1L << (TIMESTAMPADD - 1043)) | (1L << (TIMESTAMPDIFF - 1043)) | (1L << (TIME_FORMAT - 1043)) | (1L << (TIME_TO_SEC - 1043)) | (1L << (TOUCHES - 1043)) | (1L << (TO_BASE64 - 1043)) | (1L << (TO_DAYS - 1043)) | (1L << (TO_SECONDS - 1043)) | (1L << (UCASE - 1043)) | (1L << (UNCOMPRESS - 1043)) | (1L << (UNCOMPRESSED_LENGTH - 1043)) | (1L << (UNHEX - 1043)) | (1L << (UNIX_TIMESTAMP - 1043)) | (1L << (UPDATEXML - 1043)) | (1L << (UPPER - 1043)) | (1L << (UUID - 1043)) | (1L << (UUID_SHORT - 1043)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1043)) | (1L << (VERSION - 1043)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1043)) | (1L << (WEEKDAY - 1043)) | (1L << (WEEKOFYEAR - 1043)) | (1L << (WEIGHT_STRING - 1043)) | (1L << (WITHIN - 1043)) | (1L << (YEARWEEK - 1043)) | (1L << (Y_FUNCTION - 1043)) | (1L << (X_FUNCTION - 1043)) | (1L << (VIA - 1043)) | (1L << (LASTVAL - 1043)) | (1L << (NEXTVAL - 1043)) | (1L << (SETVAL - 1043)) | (1L << (PREVIOUS - 1043)) | (1L << (PERSISTENT - 1043)) | (1L << (BINLOG_MONITOR - 1043)) | (1L << (BINLOG_REPLAY - 1043)) | (1L << (FEDERATED_ADMIN - 1043)) | (1L << (READ_ONLY_ADMIN - 1043)) | (1L << (REPLICA - 1043)) | (1L << (REPLICATION_MASTER_ADMIN - 1043)) | (1L << (MOD - 1043)))) != 0) || ((((_la - 1123)) & ~0x3f) == 0 && ((1L << (_la - 1123)) & ((1L << (CHARSET_REVERSE_QOUTE_STRING - 1123)) | (1L << (STRING_LITERAL - 1123)) | (1L << (ID - 1123)) | (1L << (REVERSE_QUOTE_ID - 1123)) | (1L << (ENCRYPTED - 1123)) | (1L << (ENCRYPTION_KEY_ID - 1123)))) != 0)) {
{
setState(1641);
((PrimaryKeyTableConstraintContext)_localctx).index = uid();
}
}
setState(1645);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==USING) {
{
setState(1644);
indexType();
}
}
setState(1647);
indexColumnNames();
setState(1651);
_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(1648);
indexOption();
}
}
setState(1653);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case 2:
_localctx = new UniqueKeyTableConstraintContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1658);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(1654);
match(CONSTRAINT);
setState(1656);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 34)) & ~0x3f) == 0 && ((1L << (_la - 34)) & ((1L << (CURRENT - 34)) | (1L << (DATABASE - 34)) | (1L << (DIAGNOSTICS - 34)) | (1L << (EXCEPT - 34)) | (1L << (GROUP - 34)) | (1L << (IGNORED - 34)) | (1L << (LEFT - 34)))) != 0) || ((((_la - 114)) & ~0x3f) == 0 && ((1L << (_la - 114)) & ((1L << (NUMBER - 114)) | (1L << (OPTIONAL - 114)) | (1L << (ORDER - 114)) | (1L << (RIGHT - 114)) | (1L << (SCHEMA - 114)) | (1L << (STACKED - 114)))) != 0) || ((((_la - 211)) & ~0x3f) == 0 && ((1L << (_la - 211)) & ((1L << (DATE - 211)) | (1L << (TIME - 211)) | (1L << (TIMESTAMP - 211)) | (1L << (DATETIME - 211)) | (1L << (YEAR - 211)) | (1L << (BINARY - 211)) | (1L << (TEXT - 211)) | (1L << (ENUM - 211)) | (1L << (SERIAL - 211)) | (1L << (JSON_ARRAY - 211)) | (1L << (JSON_OBJECT - 211)) | (1L << (JSON_QUOTE - 211)) | (1L << (JSON_CONTAINS - 211)) | (1L << (JSON_CONTAINS_PATH - 211)) | (1L << (JSON_EXTRACT - 211)) | (1L << (JSON_KEYS - 211)) | (1L << (JSON_OVERLAPS - 211)) | (1L << (JSON_SEARCH - 211)) | (1L << (JSON_VALUE - 211)) | (1L << (JSON_ARRAY_APPEND - 211)) | (1L << (JSON_ARRAY_INSERT - 211)) | (1L << (JSON_INSERT - 211)) | (1L << (JSON_MERGE - 211)) | (1L << (JSON_MERGE_PATCH - 211)) | (1L << (JSON_MERGE_PRESERVE - 211)) | (1L << (JSON_REMOVE - 211)) | (1L << (JSON_REPLACE - 211)) | (1L << (JSON_SET - 211)) | (1L << (JSON_UNQUOTE - 211)) | (1L << (JSON_DEPTH - 211)) | (1L << (JSON_LENGTH - 211)) | (1L << (JSON_TYPE - 211)) | (1L << (JSON_VALID - 211)) | (1L << (JSON_TABLE - 211)) | (1L << (JSON_SCHEMA_VALID - 211)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 211)) | (1L << (JSON_PRETTY - 211)) | (1L << (JSON_STORAGE_FREE - 211)) | (1L << (JSON_STORAGE_SIZE - 211)))) != 0) || ((((_la - 275)) & ~0x3f) == 0 && ((1L << (_la - 275)) & ((1L << (JSON_ARRAYAGG - 275)) | (1L << (JSON_OBJECTAGG - 275)) | (1L << (AVG - 275)) | (1L << (BIT_AND - 275)) | (1L << (BIT_OR - 275)) | (1L << (BIT_XOR - 275)) | (1L << (COUNT - 275)) | (1L << (CUME_DIST - 275)) | (1L << (DENSE_RANK - 275)) | (1L << (FIRST_VALUE - 275)) | (1L << (GROUP_CONCAT - 275)) | (1L << (LAG - 275)) | (1L << (LAST_VALUE - 275)) | (1L << (LEAD - 275)) | (1L << (MAX - 275)) | (1L << (MIN - 275)) | (1L << (NTILE - 275)) | (1L << (NTH_VALUE - 275)) | (1L << (PERCENT_RANK - 275)) | (1L << (RANK - 275)) | (1L << (ROW_NUMBER - 275)) | (1L << (STD - 275)) | (1L << (STDDEV - 275)) | (1L << (STDDEV_POP - 275)) | (1L << (STDDEV_SAMP - 275)) | (1L << (SUM - 275)) | (1L << (VAR_POP - 275)) | (1L << (VAR_SAMP - 275)) | (1L << (VARIANCE - 275)) | (1L << (POSITION - 275)) | (1L << (ACCOUNT - 275)) | (1L << (ACTION - 275)) | (1L << (AFTER - 275)) | (1L << (AGGREGATE - 275)) | (1L << (ALGORITHM - 275)) | (1L << (ANY - 275)) | (1L << (AT - 275)) | (1L << (AUTHORS - 275)) | (1L << (AUTOCOMMIT - 275)) | (1L << (AUTOEXTEND_SIZE - 275)) | (1L << (AUTO_INCREMENT - 275)) | (1L << (AVG_ROW_LENGTH - 275)) | (1L << (BEGIN - 275)) | (1L << (BINLOG - 275)) | (1L << (BIT - 275)) | (1L << (BLOCK - 275)))) != 0) || ((((_la - 339)) & ~0x3f) == 0 && ((1L << (_la - 339)) & ((1L << (BOOL - 339)) | (1L << (BOOLEAN - 339)) | (1L << (BTREE - 339)) | (1L << (CACHE - 339)) | (1L << (CASCADED - 339)) | (1L << (CHAIN - 339)) | (1L << (CHANGED - 339)) | (1L << (CHANNEL - 339)) | (1L << (CHECKSUM - 339)) | (1L << (PAGE_CHECKSUM - 339)) | (1L << (CIPHER - 339)) | (1L << (CLASS_ORIGIN - 339)) | (1L << (CLIENT - 339)) | (1L << (CLOSE - 339)) | (1L << (CLUSTERING - 339)) | (1L << (COALESCE - 339)) | (1L << (CODE - 339)) | (1L << (COLUMNS - 339)) | (1L << (COLUMN_FORMAT - 339)) | (1L << (COLUMN_NAME - 339)) | (1L << (COMMENT - 339)) | (1L << (COMMIT - 339)) | (1L << (COMPACT - 339)) | (1L << (COMPLETION - 339)) | (1L << (COMPRESSED - 339)) | (1L << (COMPRESSION - 339)) | (1L << (CONCURRENT - 339)) | (1L << (CONNECT - 339)) | (1L << (CONNECTION - 339)) | (1L << (CONSISTENT - 339)) | (1L << (CONSTRAINT_CATALOG - 339)) | (1L << (CONSTRAINT_SCHEMA - 339)) | (1L << (CONSTRAINT_NAME - 339)) | (1L << (CONTAINS - 339)) | (1L << (CONTEXT - 339)) | (1L << (CONTRIBUTORS - 339)) | (1L << (COPY - 339)) | (1L << (CPU - 339)) | (1L << (CURSOR_NAME - 339)) | (1L << (DATA - 339)) | (1L << (DATAFILE - 339)) | (1L << (DEALLOCATE - 339)) | (1L << (DEFAULT_AUTH - 339)) | (1L << (DEFINER - 339)) | (1L << (DELAY_KEY_WRITE - 339)) | (1L << (DES_KEY_FILE - 339)) | (1L << (DIRECTORY - 339)) | (1L << (DISABLE - 339)) | (1L << (DISCARD - 339)) | (1L << (DISK - 339)) | (1L << (DO - 339)) | (1L << (DUMPFILE - 339)) | (1L << (DUPLICATE - 339)) | (1L << (DYNAMIC - 339)) | (1L << (ENABLE - 339)) | (1L << (ENCRYPTION - 339)) | (1L << (END - 339)) | (1L << (ENDS - 339)) | (1L << (ENGINE - 339)) | (1L << (ENGINES - 339)) | (1L << (ERROR - 339)) | (1L << (ERRORS - 339)) | (1L << (ESCAPE - 339)) | (1L << (EVEN - 339)))) != 0) || ((((_la - 403)) & ~0x3f) == 0 && ((1L << (_la - 403)) & ((1L << (EVENT - 403)) | (1L << (EVENTS - 403)) | (1L << (EVERY - 403)) | (1L << (EXCHANGE - 403)) | (1L << (EXCLUSIVE - 403)) | (1L << (EXPIRE - 403)) | (1L << (EXPORT - 403)) | (1L << (EXTENDED - 403)) | (1L << (EXTENT_SIZE - 403)) | (1L << (FAST - 403)) | (1L << (FAULTS - 403)) | (1L << (FIELDS - 403)) | (1L << (FILE_BLOCK_SIZE - 403)) | (1L << (FILTER - 403)) | (1L << (FIRST - 403)) | (1L << (FIXED - 403)) | (1L << (FLUSH - 403)) | (1L << (FOLLOWS - 403)) | (1L << (FOUND - 403)) | (1L << (FULL - 403)) | (1L << (FUNCTION - 403)) | (1L << (GENERAL - 403)) | (1L << (GLOBAL - 403)) | (1L << (GRANTS - 403)) | (1L << (GROUP_REPLICATION - 403)) | (1L << (HANDLER - 403)) | (1L << (HASH - 403)) | (1L << (HELP - 403)) | (1L << (HOST - 403)) | (1L << (HOSTS - 403)) | (1L << (IDENTIFIED - 403)) | (1L << (IGNORE_SERVER_IDS - 403)) | (1L << (IMPORT - 403)) | (1L << (INDEXES - 403)) | (1L << (INITIAL_SIZE - 403)) | (1L << (INPLACE - 403)) | (1L << (INSERT_METHOD - 403)) | (1L << (INSTALL - 403)) | (1L << (INSTANCE - 403)) | (1L << (INSTANT - 403)) | (1L << (INVISIBLE - 403)) | (1L << (INVOKER - 403)) | (1L << (IO - 403)) | (1L << (IO_THREAD - 403)) | (1L << (IPC - 403)) | (1L << (ISOLATION - 403)) | (1L << (ISSUER - 403)) | (1L << (JSON - 403)) | (1L << (KEY_BLOCK_SIZE - 403)) | (1L << (LANGUAGE - 403)) | (1L << (LAST - 403)) | (1L << (LEAVES - 403)) | (1L << (LESS - 403)) | (1L << (LEVEL - 403)) | (1L << (LIST - 403)) | (1L << (LOCAL - 403)) | (1L << (LOGFILE - 403)) | (1L << (LOGS - 403)) | (1L << (MASTER - 403)) | (1L << (MASTER_AUTO_POSITION - 403)) | (1L << (MASTER_CONNECT_RETRY - 403)) | (1L << (MASTER_DELAY - 403)) | (1L << (MASTER_HEARTBEAT_PERIOD - 403)))) != 0) || ((((_la - 467)) & ~0x3f) == 0 && ((1L << (_la - 467)) & ((1L << (MASTER_HOST - 467)) | (1L << (MASTER_LOG_FILE - 467)) | (1L << (MASTER_LOG_POS - 467)) | (1L << (MASTER_PASSWORD - 467)) | (1L << (MASTER_PORT - 467)) | (1L << (MASTER_RETRY_COUNT - 467)) | (1L << (MASTER_SSL - 467)) | (1L << (MASTER_SSL_CA - 467)) | (1L << (MASTER_SSL_CAPATH - 467)) | (1L << (MASTER_SSL_CERT - 467)) | (1L << (MASTER_SSL_CIPHER - 467)) | (1L << (MASTER_SSL_CRL - 467)) | (1L << (MASTER_SSL_CRLPATH - 467)) | (1L << (MASTER_SSL_KEY - 467)) | (1L << (MASTER_TLS_VERSION - 467)) | (1L << (MASTER_USER - 467)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 467)) | (1L << (MAX_QUERIES_PER_HOUR - 467)) | (1L << (MAX_ROWS - 467)) | (1L << (MAX_SIZE - 467)) | (1L << (MAX_UPDATES_PER_HOUR - 467)) | (1L << (MAX_USER_CONNECTIONS - 467)) | (1L << (MEDIUM - 467)) | (1L << (MEMBER - 467)) | (1L << (MERGE - 467)) | (1L << (MESSAGE_TEXT - 467)) | (1L << (MID - 467)) | (1L << (MIGRATE - 467)) | (1L << (MIN_ROWS - 467)) | (1L << (MODE - 467)) | (1L << (MODIFY - 467)) | (1L << (MUTEX - 467)) | (1L << (MYSQL - 467)) | (1L << (MYSQL_ERRNO - 467)) | (1L << (NAME - 467)) | (1L << (NAMES - 467)) | (1L << (NCHAR - 467)) | (1L << (NEVER - 467)) | (1L << (NEXT - 467)) | (1L << (NO - 467)) | (1L << (NOCOPY - 467)) | (1L << (NOWAIT - 467)) | (1L << (NODEGROUP - 467)) | (1L << (NONE - 467)) | (1L << (ODBC - 467)) | (1L << (OFFLINE - 467)) | (1L << (OFFSET - 467)) | (1L << (OF - 467)) | (1L << (OJ - 467)) | (1L << (OLD_PASSWORD - 467)) | (1L << (ONE - 467)) | (1L << (ONLINE - 467)) | (1L << (ONLY - 467)) | (1L << (OPEN - 467)) | (1L << (OPTIMIZER_COSTS - 467)) | (1L << (OPTIONS - 467)) | (1L << (OWNER - 467)) | (1L << (PACK_KEYS - 467)) | (1L << (PAGE - 467)) | (1L << (PARSER - 467)) | (1L << (PARTIAL - 467)) | (1L << (PARTITIONING - 467)) | (1L << (PARTITIONS - 467)) | (1L << (PASSWORD - 467)))) != 0) || ((((_la - 531)) & ~0x3f) == 0 && ((1L << (_la - 531)) & ((1L << (PHASE - 531)) | (1L << (PLUGIN - 531)) | (1L << (PLUGIN_DIR - 531)) | (1L << (PLUGINS - 531)) | (1L << (PORT - 531)) | (1L << (PRECEDES - 531)) | (1L << (PREPARE - 531)) | (1L << (PRESERVE - 531)) | (1L << (PREV - 531)) | (1L << (PROCESSLIST - 531)) | (1L << (PROFILE - 531)) | (1L << (PROFILES - 531)) | (1L << (PROXY - 531)) | (1L << (QUERY - 531)) | (1L << (QUICK - 531)) | (1L << (REBUILD - 531)) | (1L << (RECOVER - 531)) | (1L << (RECURSIVE - 531)) | (1L << (REDO_BUFFER_SIZE - 531)) | (1L << (REDUNDANT - 531)) | (1L << (RELAY - 531)) | (1L << (RELAY_LOG_FILE - 531)) | (1L << (RELAY_LOG_POS - 531)) | (1L << (RELAYLOG - 531)) | (1L << (REMOVE - 531)) | (1L << (REORGANIZE - 531)) | (1L << (REPAIR - 531)) | (1L << (REPLICATE_DO_DB - 531)) | (1L << (REPLICATE_DO_TABLE - 531)) | (1L << (REPLICATE_IGNORE_DB - 531)) | (1L << (REPLICATE_IGNORE_TABLE - 531)) | (1L << (REPLICATE_REWRITE_DB - 531)) | (1L << (REPLICATE_WILD_DO_TABLE - 531)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 531)) | (1L << (REPLICATION - 531)) | (1L << (RESET - 531)) | (1L << (RESUME - 531)) | (1L << (RETURNED_SQLSTATE - 531)) | (1L << (RETURNS - 531)) | (1L << (ROLE - 531)) | (1L << (ROLLBACK - 531)) | (1L << (ROLLUP - 531)) | (1L << (ROTATE - 531)) | (1L << (ROW - 531)) | (1L << (ROWS - 531)) | (1L << (ROW_FORMAT - 531)) | (1L << (RTREE - 531)) | (1L << (SAVEPOINT - 531)) | (1L << (SCHEDULE - 531)) | (1L << (SECURITY - 531)) | (1L << (SERVER - 531)) | (1L << (SESSION - 531)) | (1L << (SHARE - 531)) | (1L << (SHARED - 531)) | (1L << (SIGNED - 531)) | (1L << (SIMPLE - 531)) | (1L << (SLAVE - 531)) | (1L << (SLOW - 531)) | (1L << (SNAPSHOT - 531)) | (1L << (SOCKET - 531)) | (1L << (SOME - 531)) | (1L << (SONAME - 531)))) != 0) || ((((_la - 595)) & ~0x3f) == 0 && ((1L << (_la - 595)) & ((1L << (SOUNDS - 595)) | (1L << (SOURCE - 595)) | (1L << (SQL_AFTER_GTIDS - 595)) | (1L << (SQL_AFTER_MTS_GAPS - 595)) | (1L << (SQL_BEFORE_GTIDS - 595)) | (1L << (SQL_BUFFER_RESULT - 595)) | (1L << (SQL_CACHE - 595)) | (1L << (SQL_NO_CACHE - 595)) | (1L << (SQL_THREAD - 595)) | (1L << (START - 595)) | (1L << (STARTS - 595)) | (1L << (STATS_AUTO_RECALC - 595)) | (1L << (STATS_PERSISTENT - 595)) | (1L << (STATS_SAMPLE_PAGES - 595)) | (1L << (STATUS - 595)) | (1L << (STOP - 595)) | (1L << (STORAGE - 595)) | (1L << (STRING - 595)) | (1L << (SUBCLASS_ORIGIN - 595)) | (1L << (SUBJECT - 595)) | (1L << (SUBPARTITION - 595)) | (1L << (SUBPARTITIONS - 595)) | (1L << (SUSPEND - 595)) | (1L << (SWAPS - 595)) | (1L << (SWITCHES - 595)) | (1L << (TABLE_NAME - 595)) | (1L << (TABLESPACE - 595)) | (1L << (TEMPORARY - 595)) | (1L << (TEMPTABLE - 595)) | (1L << (THAN - 595)) | (1L << (TRADITIONAL - 595)) | (1L << (TRANSACTION - 595)) | (1L << (TRANSACTIONAL - 595)) | (1L << (TRIGGERS - 595)) | (1L << (TRUNCATE - 595)) | (1L << (UNDEFINED - 595)) | (1L << (UNDOFILE - 595)) | (1L << (UNDO_BUFFER_SIZE - 595)) | (1L << (UNINSTALL - 595)) | (1L << (UNKNOWN - 595)) | (1L << (UNTIL - 595)) | (1L << (UPGRADE - 595)) | (1L << (USER - 595)) | (1L << (USE_FRM - 595)) | (1L << (USER_RESOURCES - 595)) | (1L << (VALIDATION - 595)) | (1L << (VALUE - 595)) | (1L << (VARIABLES - 595)) | (1L << (VIEW - 595)) | (1L << (VISIBLE - 595)) | (1L << (WAIT - 595)) | (1L << (WARNINGS - 595)) | (1L << (WITHOUT - 595)) | (1L << (WORK - 595)) | (1L << (WRAPPER - 595)) | (1L << (X509 - 595)) | (1L << (XA - 595)) | (1L << (XML - 595)))) != 0) || ((((_la - 659)) & ~0x3f) == 0 && ((1L << (_la - 659)) & ((1L << (EUR - 659)) | (1L << (USA - 659)) | (1L << (JIS - 659)) | (1L << (ISO - 659)) | (1L << (INTERNAL - 659)) | (1L << (QUARTER - 659)) | (1L << (MONTH - 659)) | (1L << (DAY - 659)) | (1L << (HOUR - 659)) | (1L << (MINUTE - 659)) | (1L << (WEEK - 659)) | (1L << (SECOND - 659)) | (1L << (MICROSECOND - 659)) | (1L << (TABLES - 659)) | (1L << (ROUTINE - 659)) | (1L << (EXECUTE - 659)) | (1L << (FILE - 659)) | (1L << (PROCESS - 659)) | (1L << (RELOAD - 659)) | (1L << (SHUTDOWN - 659)) | (1L << (SUPER - 659)) | (1L << (PRIVILEGES - 659)) | (1L << (AUDIT_ADMIN - 659)) | (1L << (BACKUP_ADMIN - 659)) | (1L << (BINLOG_ADMIN - 659)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 659)) | (1L << (CLONE_ADMIN - 659)) | (1L << (CONNECTION_ADMIN - 659)) | (1L << (ENCRYPTION_KEY_ADMIN - 659)) | (1L << (FIREWALL_ADMIN - 659)) | (1L << (FIREWALL_USER - 659)) | (1L << (ADMIN - 659)) | (1L << (GROUP_REPLICATION_ADMIN - 659)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 659)) | (1L << (NDB_STORED_USER - 659)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 659)) | (1L << (REPLICATION_APPLIER - 659)) | (1L << (REPLICATION_SLAVE_ADMIN - 659)) | (1L << (RESOURCE_GROUP_ADMIN - 659)) | (1L << (RESOURCE_GROUP_USER - 659)) | (1L << (ROLE_ADMIN - 659)) | (1L << (SESSION_VARIABLES_ADMIN - 659)) | (1L << (SET_USER_ID - 659)) | (1L << (SHOW_ROUTINE - 659)) | (1L << (SYSTEM_VARIABLES_ADMIN - 659)) | (1L << (TABLE_ENCRYPTION_ADMIN - 659)) | (1L << (VERSION_TOKEN_ADMIN - 659)) | (1L << (XA_RECOVER_ADMIN - 659)) | (1L << (ARMSCII8 - 659)) | (1L << (ASCII - 659)) | (1L << (BIG5 - 659)) | (1L << (CP1250 - 659)) | (1L << (CP1251 - 659)) | (1L << (CP1256 - 659)) | (1L << (CP1257 - 659)) | (1L << (CP850 - 659)) | (1L << (CP852 - 659)))) != 0) || ((((_la - 723)) & ~0x3f) == 0 && ((1L << (_la - 723)) & ((1L << (CP866 - 723)) | (1L << (CP932 - 723)) | (1L << (DEC8 - 723)) | (1L << (EUCJPMS - 723)) | (1L << (EUCKR - 723)) | (1L << (GB18030 - 723)) | (1L << (GB2312 - 723)) | (1L << (GBK - 723)) | (1L << (GEOSTD8 - 723)) | (1L << (GREEK - 723)) | (1L << (HEBREW - 723)) | (1L << (HP8 - 723)) | (1L << (KEYBCS2 - 723)) | (1L << (KOI8R - 723)) | (1L << (KOI8U - 723)) | (1L << (LATIN1 - 723)) | (1L << (LATIN2 - 723)) | (1L << (LATIN5 - 723)) | (1L << (LATIN7 - 723)) | (1L << (MACCE - 723)) | (1L << (MACROMAN - 723)) | (1L << (SJIS - 723)) | (1L << (SWE7 - 723)) | (1L << (TIS620 - 723)) | (1L << (UCS2 - 723)) | (1L << (UJIS - 723)) | (1L << (UTF16 - 723)) | (1L << (UTF16LE - 723)) | (1L << (UTF32 - 723)) | (1L << (UTF8 - 723)) | (1L << (UTF8MB3 - 723)) | (1L << (UTF8MB4 - 723)) | (1L << (ARCHIVE - 723)) | (1L << (BLACKHOLE - 723)) | (1L << (CSV - 723)) | (1L << (FEDERATED - 723)) | (1L << (INNODB - 723)) | (1L << (MEMORY - 723)) | (1L << (MRG_MYISAM - 723)) | (1L << (MYISAM - 723)) | (1L << (NDB - 723)) | (1L << (NDBCLUSTER - 723)) | (1L << (PERFORMANCE_SCHEMA - 723)) | (1L << (TOKUDB - 723)) | (1L << (REPEATABLE - 723)) | (1L << (COMMITTED - 723)) | (1L << (UNCOMMITTED - 723)) | (1L << (SERIALIZABLE - 723)) | (1L << (GEOMETRYCOLLECTION - 723)) | (1L << (LINESTRING - 723)) | (1L << (MULTILINESTRING - 723)) | (1L << (MULTIPOINT - 723)) | (1L << (MULTIPOLYGON - 723)) | (1L << (POINT - 723)) | (1L << (POLYGON - 723)) | (1L << (ABS - 723)) | (1L << (ACOS - 723)) | (1L << (ADDDATE - 723)) | (1L << (ADDTIME - 723)) | (1L << (AES_DECRYPT - 723)) | (1L << (AES_ENCRYPT - 723)) | (1L << (AREA - 723)))) != 0) || ((((_la - 787)) & ~0x3f) == 0 && ((1L << (_la - 787)) & ((1L << (ASBINARY - 787)) | (1L << (ASIN - 787)) | (1L << (ASTEXT - 787)) | (1L << (ASWKB - 787)) | (1L << (ASWKT - 787)) | (1L << (ASYMMETRIC_DECRYPT - 787)) | (1L << (ASYMMETRIC_DERIVE - 787)) | (1L << (ASYMMETRIC_ENCRYPT - 787)) | (1L << (ASYMMETRIC_SIGN - 787)) | (1L << (ASYMMETRIC_VERIFY - 787)) | (1L << (ATAN - 787)) | (1L << (ATAN2 - 787)) | (1L << (BENCHMARK - 787)) | (1L << (BIN - 787)) | (1L << (BIT_COUNT - 787)) | (1L << (BIT_LENGTH - 787)) | (1L << (BUFFER - 787)) | (1L << (CATALOG_NAME - 787)) | (1L << (CEIL - 787)) | (1L << (CEILING - 787)) | (1L << (CENTROID - 787)) | (1L << (CHARACTER_LENGTH - 787)) | (1L << (CHARSET - 787)) | (1L << (CHAR_LENGTH - 787)) | (1L << (COERCIBILITY - 787)) | (1L << (COLLATION - 787)) | (1L << (COMPRESS - 787)) | (1L << (CONCAT - 787)) | (1L << (CONCAT_WS - 787)) | (1L << (CONNECTION_ID - 787)) | (1L << (CONV - 787)) | (1L << (CONVERT_TZ - 787)) | (1L << (COS - 787)) | (1L << (COT - 787)) | (1L << (CRC32 - 787)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 787)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 787)) | (1L << (CREATE_DH_PARAMETERS - 787)) | (1L << (CREATE_DIGEST - 787)) | (1L << (CROSSES - 787)) | (1L << (DATEDIFF - 787)) | (1L << (DATE_FORMAT - 787)) | (1L << (DAYNAME - 787)) | (1L << (DAYOFMONTH - 787)) | (1L << (DAYOFWEEK - 787)) | (1L << (DAYOFYEAR - 787)) | (1L << (DECODE - 787)) | (1L << (DEGREES - 787)) | (1L << (DES_DECRYPT - 787)) | (1L << (DES_ENCRYPT - 787)) | (1L << (DIMENSION - 787)) | (1L << (DISJOINT - 787)) | (1L << (ELT - 787)) | (1L << (ENCODE - 787)) | (1L << (ENCRYPT - 787)) | (1L << (ENDPOINT - 787)) | (1L << (ENGINE_ATTRIBUTE - 787)) | (1L << (ENVELOPE - 787)) | (1L << (EQUALS - 787)) | (1L << (EXP - 787)) | (1L << (EXPORT_SET - 787)) | (1L << (EXTERIORRING - 787)) | (1L << (EXTRACTVALUE - 787)) | (1L << (FIELD - 787)))) != 0) || ((((_la - 851)) & ~0x3f) == 0 && ((1L << (_la - 851)) & ((1L << (FIND_IN_SET - 851)) | (1L << (FLOOR - 851)) | (1L << (FORMAT - 851)) | (1L << (FOUND_ROWS - 851)) | (1L << (FROM_BASE64 - 851)) | (1L << (FROM_DAYS - 851)) | (1L << (FROM_UNIXTIME - 851)) | (1L << (GEOMCOLLFROMTEXT - 851)) | (1L << (GEOMCOLLFROMWKB - 851)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 851)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 851)) | (1L << (GEOMETRYFROMTEXT - 851)) | (1L << (GEOMETRYFROMWKB - 851)) | (1L << (GEOMETRYN - 851)) | (1L << (GEOMETRYTYPE - 851)) | (1L << (GEOMFROMTEXT - 851)) | (1L << (GEOMFROMWKB - 851)) | (1L << (GET_FORMAT - 851)) | (1L << (GET_LOCK - 851)) | (1L << (GLENGTH - 851)) | (1L << (GREATEST - 851)) | (1L << (GTID_SUBSET - 851)) | (1L << (GTID_SUBTRACT - 851)) | (1L << (HEX - 851)) | (1L << (IFNULL - 851)) | (1L << (INET6_ATON - 851)) | (1L << (INET6_NTOA - 851)) | (1L << (INET_ATON - 851)) | (1L << (INET_NTOA - 851)) | (1L << (INSTR - 851)) | (1L << (INTERIORRINGN - 851)) | (1L << (INTERSECTS - 851)) | (1L << (ISCLOSED - 851)) | (1L << (ISEMPTY - 851)) | (1L << (ISNULL - 851)) | (1L << (ISSIMPLE - 851)) | (1L << (IS_FREE_LOCK - 851)) | (1L << (IS_IPV4 - 851)) | (1L << (IS_IPV4_COMPAT - 851)) | (1L << (IS_IPV4_MAPPED - 851)) | (1L << (IS_IPV6 - 851)) | (1L << (IS_USED_LOCK - 851)) | (1L << (LAST_INSERT_ID - 851)) | (1L << (LCASE - 851)) | (1L << (LEAST - 851)) | (1L << (LENGTH - 851)) | (1L << (LINEFROMTEXT - 851)) | (1L << (LINEFROMWKB - 851)) | (1L << (LINESTRINGFROMTEXT - 851)) | (1L << (LINESTRINGFROMWKB - 851)) | (1L << (LN - 851)) | (1L << (LOAD_FILE - 851)) | (1L << (LOCATE - 851)) | (1L << (LOG - 851)) | (1L << (LOG10 - 851)) | (1L << (LOG2 - 851)) | (1L << (LOWER - 851)) | (1L << (LPAD - 851)) | (1L << (LTRIM - 851)) | (1L << (MAKEDATE - 851)) | (1L << (MAKETIME - 851)) | (1L << (MAKE_SET - 851)) | (1L << (MASTER_POS_WAIT - 851)) | (1L << (MBRCONTAINS - 851)))) != 0) || ((((_la - 915)) & ~0x3f) == 0 && ((1L << (_la - 915)) & ((1L << (MBRDISJOINT - 915)) | (1L << (MBREQUAL - 915)) | (1L << (MBRINTERSECTS - 915)) | (1L << (MBROVERLAPS - 915)) | (1L << (MBRTOUCHES - 915)) | (1L << (MBRWITHIN - 915)) | (1L << (MD5 - 915)) | (1L << (MLINEFROMTEXT - 915)) | (1L << (MLINEFROMWKB - 915)) | (1L << (MONTHNAME - 915)) | (1L << (MPOINTFROMTEXT - 915)) | (1L << (MPOINTFROMWKB - 915)) | (1L << (MPOLYFROMTEXT - 915)) | (1L << (MPOLYFROMWKB - 915)) | (1L << (MULTILINESTRINGFROMTEXT - 915)) | (1L << (MULTILINESTRINGFROMWKB - 915)) | (1L << (MULTIPOINTFROMTEXT - 915)) | (1L << (MULTIPOINTFROMWKB - 915)) | (1L << (MULTIPOLYGONFROMTEXT - 915)) | (1L << (MULTIPOLYGONFROMWKB - 915)) | (1L << (NAME_CONST - 915)) | (1L << (NULLIF - 915)) | (1L << (NUMGEOMETRIES - 915)) | (1L << (NUMINTERIORRINGS - 915)) | (1L << (NUMPOINTS - 915)) | (1L << (OCT - 915)) | (1L << (OCTET_LENGTH - 915)) | (1L << (ORD - 915)) | (1L << (OVERLAPS - 915)) | (1L << (PERIOD_ADD - 915)) | (1L << (PERIOD_DIFF - 915)) | (1L << (PI - 915)) | (1L << (POINTFROMTEXT - 915)) | (1L << (POINTFROMWKB - 915)) | (1L << (POINTN - 915)) | (1L << (POLYFROMTEXT - 915)) | (1L << (POLYFROMWKB - 915)) | (1L << (POLYGONFROMTEXT - 915)) | (1L << (POLYGONFROMWKB - 915)) | (1L << (POW - 915)) | (1L << (POWER - 915)) | (1L << (QUOTE - 915)) | (1L << (RADIANS - 915)) | (1L << (RAND - 915)) | (1L << (RANDOM_BYTES - 915)) | (1L << (RELEASE_LOCK - 915)) | (1L << (REVERSE - 915)) | (1L << (ROUND - 915)) | (1L << (ROW_COUNT - 915)) | (1L << (RPAD - 915)) | (1L << (RTRIM - 915)) | (1L << (SEC_TO_TIME - 915)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 915)) | (1L << (SESSION_USER - 915)) | (1L << (SHA - 915)) | (1L << (SHA1 - 915)) | (1L << (SHA2 - 915)) | (1L << (SCHEMA_NAME - 915)) | (1L << (SIGN - 915)) | (1L << (SIN - 915)) | (1L << (SLEEP - 915)) | (1L << (SOUNDEX - 915)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 915)) | (1L << (SQRT - 915)))) != 0) || ((((_la - 979)) & ~0x3f) == 0 && ((1L << (_la - 979)) & ((1L << (SRID - 979)) | (1L << (STARTPOINT - 979)) | (1L << (STRCMP - 979)) | (1L << (STR_TO_DATE - 979)) | (1L << (ST_AREA - 979)) | (1L << (ST_ASBINARY - 979)) | (1L << (ST_ASTEXT - 979)) | (1L << (ST_ASWKB - 979)) | (1L << (ST_ASWKT - 979)) | (1L << (ST_BUFFER - 979)) | (1L << (ST_CENTROID - 979)) | (1L << (ST_CONTAINS - 979)) | (1L << (ST_CROSSES - 979)) | (1L << (ST_DIFFERENCE - 979)) | (1L << (ST_DIMENSION - 979)) | (1L << (ST_DISJOINT - 979)) | (1L << (ST_DISTANCE - 979)) | (1L << (ST_ENDPOINT - 979)) | (1L << (ST_ENVELOPE - 979)) | (1L << (ST_EQUALS - 979)) | (1L << (ST_EXTERIORRING - 979)) | (1L << (ST_GEOMCOLLFROMTEXT - 979)) | (1L << (ST_GEOMCOLLFROMTXT - 979)) | (1L << (ST_GEOMCOLLFROMWKB - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 979)) | (1L << (ST_GEOMETRYFROMTEXT - 979)) | (1L << (ST_GEOMETRYFROMWKB - 979)) | (1L << (ST_GEOMETRYN - 979)) | (1L << (ST_GEOMETRYTYPE - 979)) | (1L << (ST_GEOMFROMTEXT - 979)) | (1L << (ST_GEOMFROMWKB - 979)) | (1L << (ST_INTERIORRINGN - 979)) | (1L << (ST_INTERSECTION - 979)) | (1L << (ST_INTERSECTS - 979)) | (1L << (ST_ISCLOSED - 979)) | (1L << (ST_ISEMPTY - 979)) | (1L << (ST_ISSIMPLE - 979)) | (1L << (ST_LINEFROMTEXT - 979)) | (1L << (ST_LINEFROMWKB - 979)) | (1L << (ST_LINESTRINGFROMTEXT - 979)) | (1L << (ST_LINESTRINGFROMWKB - 979)) | (1L << (ST_NUMGEOMETRIES - 979)) | (1L << (ST_NUMINTERIORRING - 979)) | (1L << (ST_NUMINTERIORRINGS - 979)) | (1L << (ST_NUMPOINTS - 979)) | (1L << (ST_OVERLAPS - 979)) | (1L << (ST_POINTFROMTEXT - 979)) | (1L << (ST_POINTFROMWKB - 979)) | (1L << (ST_POINTN - 979)) | (1L << (ST_POLYFROMTEXT - 979)) | (1L << (ST_POLYFROMWKB - 979)) | (1L << (ST_POLYGONFROMTEXT - 979)) | (1L << (ST_POLYGONFROMWKB - 979)) | (1L << (ST_SRID - 979)) | (1L << (ST_STARTPOINT - 979)) | (1L << (ST_SYMDIFFERENCE - 979)) | (1L << (ST_TOUCHES - 979)) | (1L << (ST_UNION - 979)) | (1L << (ST_WITHIN - 979)) | (1L << (ST_X - 979)) | (1L << (ST_Y - 979)) | (1L << (SUBDATE - 979)) | (1L << (SUBSTRING_INDEX - 979)))) != 0) || ((((_la - 1043)) & ~0x3f) == 0 && ((1L << (_la - 1043)) & ((1L << (SUBTIME - 1043)) | (1L << (SYSTEM_USER - 1043)) | (1L << (TAN - 1043)) | (1L << (TIMEDIFF - 1043)) | (1L << (TIMESTAMPADD - 1043)) | (1L << (TIMESTAMPDIFF - 1043)) | (1L << (TIME_FORMAT - 1043)) | (1L << (TIME_TO_SEC - 1043)) | (1L << (TOUCHES - 1043)) | (1L << (TO_BASE64 - 1043)) | (1L << (TO_DAYS - 1043)) | (1L << (TO_SECONDS - 1043)) | (1L << (UCASE - 1043)) | (1L << (UNCOMPRESS - 1043)) | (1L << (UNCOMPRESSED_LENGTH - 1043)) | (1L << (UNHEX - 1043)) | (1L << (UNIX_TIMESTAMP - 1043)) | (1L << (UPDATEXML - 1043)) | (1L << (UPPER - 1043)) | (1L << (UUID - 1043)) | (1L << (UUID_SHORT - 1043)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1043)) | (1L << (VERSION - 1043)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1043)) | (1L << (WEEKDAY - 1043)) | (1L << (WEEKOFYEAR - 1043)) | (1L << (WEIGHT_STRING - 1043)) | (1L << (WITHIN - 1043)) | (1L << (YEARWEEK - 1043)) | (1L << (Y_FUNCTION - 1043)) | (1L << (X_FUNCTION - 1043)) | (1L << (VIA - 1043)) | (1L << (LASTVAL - 1043)) | (1L << (NEXTVAL - 1043)) | (1L << (SETVAL - 1043)) | (1L << (PREVIOUS - 1043)) | (1L << (PERSISTENT - 1043)) | (1L << (BINLOG_MONITOR - 1043)) | (1L << (BINLOG_REPLAY - 1043)) | (1L << (FEDERATED_ADMIN - 1043)) | (1L << (READ_ONLY_ADMIN - 1043)) | (1L << (REPLICA - 1043)) | (1L << (REPLICATION_MASTER_ADMIN - 1043)) | (1L << (MOD - 1043)))) != 0) || ((((_la - 1123)) & ~0x3f) == 0 && ((1L << (_la - 1123)) & ((1L << (CHARSET_REVERSE_QOUTE_STRING - 1123)) | (1L << (STRING_LITERAL - 1123)) | (1L << (ID - 1123)) | (1L << (REVERSE_QUOTE_ID - 1123)) | (1L << (ENCRYPTED - 1123)) | (1L << (ENCRYPTION_KEY_ID - 1123)))) != 0)) {
{
setState(1655);
((UniqueKeyTableConstraintContext)_localctx).name = uid();
}
}
}
}
setState(1660);
match(UNIQUE);
setState(1662);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INDEX || _la==KEY) {
{
setState(1661);
((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(1665);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 34)) & ~0x3f) == 0 && ((1L << (_la - 34)) & ((1L << (CURRENT - 34)) | (1L << (DATABASE - 34)) | (1L << (DIAGNOSTICS - 34)) | (1L << (EXCEPT - 34)) | (1L << (GROUP - 34)) | (1L << (IGNORED - 34)) | (1L << (LEFT - 34)))) != 0) || ((((_la - 114)) & ~0x3f) == 0 && ((1L << (_la - 114)) & ((1L << (NUMBER - 114)) | (1L << (OPTIONAL - 114)) | (1L << (ORDER - 114)) | (1L << (RIGHT - 114)) | (1L << (SCHEMA - 114)) | (1L << (STACKED - 114)))) != 0) || ((((_la - 211)) & ~0x3f) == 0 && ((1L << (_la - 211)) & ((1L << (DATE - 211)) | (1L << (TIME - 211)) | (1L << (TIMESTAMP - 211)) | (1L << (DATETIME - 211)) | (1L << (YEAR - 211)) | (1L << (BINARY - 211)) | (1L << (TEXT - 211)) | (1L << (ENUM - 211)) | (1L << (SERIAL - 211)) | (1L << (JSON_ARRAY - 211)) | (1L << (JSON_OBJECT - 211)) | (1L << (JSON_QUOTE - 211)) | (1L << (JSON_CONTAINS - 211)) | (1L << (JSON_CONTAINS_PATH - 211)) | (1L << (JSON_EXTRACT - 211)) | (1L << (JSON_KEYS - 211)) | (1L << (JSON_OVERLAPS - 211)) | (1L << (JSON_SEARCH - 211)) | (1L << (JSON_VALUE - 211)) | (1L << (JSON_ARRAY_APPEND - 211)) | (1L << (JSON_ARRAY_INSERT - 211)) | (1L << (JSON_INSERT - 211)) | (1L << (JSON_MERGE - 211)) | (1L << (JSON_MERGE_PATCH - 211)) | (1L << (JSON_MERGE_PRESERVE - 211)) | (1L << (JSON_REMOVE - 211)) | (1L << (JSON_REPLACE - 211)) | (1L << (JSON_SET - 211)) | (1L << (JSON_UNQUOTE - 211)) | (1L << (JSON_DEPTH - 211)) | (1L << (JSON_LENGTH - 211)) | (1L << (JSON_TYPE - 211)) | (1L << (JSON_VALID - 211)) | (1L << (JSON_TABLE - 211)) | (1L << (JSON_SCHEMA_VALID - 211)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 211)) | (1L << (JSON_PRETTY - 211)) | (1L << (JSON_STORAGE_FREE - 211)) | (1L << (JSON_STORAGE_SIZE - 211)))) != 0) || ((((_la - 275)) & ~0x3f) == 0 && ((1L << (_la - 275)) & ((1L << (JSON_ARRAYAGG - 275)) | (1L << (JSON_OBJECTAGG - 275)) | (1L << (AVG - 275)) | (1L << (BIT_AND - 275)) | (1L << (BIT_OR - 275)) | (1L << (BIT_XOR - 275)) | (1L << (COUNT - 275)) | (1L << (CUME_DIST - 275)) | (1L << (DENSE_RANK - 275)) | (1L << (FIRST_VALUE - 275)) | (1L << (GROUP_CONCAT - 275)) | (1L << (LAG - 275)) | (1L << (LAST_VALUE - 275)) | (1L << (LEAD - 275)) | (1L << (MAX - 275)) | (1L << (MIN - 275)) | (1L << (NTILE - 275)) | (1L << (NTH_VALUE - 275)) | (1L << (PERCENT_RANK - 275)) | (1L << (RANK - 275)) | (1L << (ROW_NUMBER - 275)) | (1L << (STD - 275)) | (1L << (STDDEV - 275)) | (1L << (STDDEV_POP - 275)) | (1L << (STDDEV_SAMP - 275)) | (1L << (SUM - 275)) | (1L << (VAR_POP - 275)) | (1L << (VAR_SAMP - 275)) | (1L << (VARIANCE - 275)) | (1L << (POSITION - 275)) | (1L << (ACCOUNT - 275)) | (1L << (ACTION - 275)) | (1L << (AFTER - 275)) | (1L << (AGGREGATE - 275)) | (1L << (ALGORITHM - 275)) | (1L << (ANY - 275)) | (1L << (AT - 275)) | (1L << (AUTHORS - 275)) | (1L << (AUTOCOMMIT - 275)) | (1L << (AUTOEXTEND_SIZE - 275)) | (1L << (AUTO_INCREMENT - 275)) | (1L << (AVG_ROW_LENGTH - 275)) | (1L << (BEGIN - 275)) | (1L << (BINLOG - 275)) | (1L << (BIT - 275)) | (1L << (BLOCK - 275)))) != 0) || ((((_la - 339)) & ~0x3f) == 0 && ((1L << (_la - 339)) & ((1L << (BOOL - 339)) | (1L << (BOOLEAN - 339)) | (1L << (BTREE - 339)) | (1L << (CACHE - 339)) | (1L << (CASCADED - 339)) | (1L << (CHAIN - 339)) | (1L << (CHANGED - 339)) | (1L << (CHANNEL - 339)) | (1L << (CHECKSUM - 339)) | (1L << (PAGE_CHECKSUM - 339)) | (1L << (CIPHER - 339)) | (1L << (CLASS_ORIGIN - 339)) | (1L << (CLIENT - 339)) | (1L << (CLOSE - 339)) | (1L << (CLUSTERING - 339)) | (1L << (COALESCE - 339)) | (1L << (CODE - 339)) | (1L << (COLUMNS - 339)) | (1L << (COLUMN_FORMAT - 339)) | (1L << (COLUMN_NAME - 339)) | (1L << (COMMENT - 339)) | (1L << (COMMIT - 339)) | (1L << (COMPACT - 339)) | (1L << (COMPLETION - 339)) | (1L << (COMPRESSED - 339)) | (1L << (COMPRESSION - 339)) | (1L << (CONCURRENT - 339)) | (1L << (CONNECT - 339)) | (1L << (CONNECTION - 339)) | (1L << (CONSISTENT - 339)) | (1L << (CONSTRAINT_CATALOG - 339)) | (1L << (CONSTRAINT_SCHEMA - 339)) | (1L << (CONSTRAINT_NAME - 339)) | (1L << (CONTAINS - 339)) | (1L << (CONTEXT - 339)) | (1L << (CONTRIBUTORS - 339)) | (1L << (COPY - 339)) | (1L << (CPU - 339)) | (1L << (CURSOR_NAME - 339)) | (1L << (DATA - 339)) | (1L << (DATAFILE - 339)) | (1L << (DEALLOCATE - 339)) | (1L << (DEFAULT_AUTH - 339)) | (1L << (DEFINER - 339)) | (1L << (DELAY_KEY_WRITE - 339)) | (1L << (DES_KEY_FILE - 339)) | (1L << (DIRECTORY - 339)) | (1L << (DISABLE - 339)) | (1L << (DISCARD - 339)) | (1L << (DISK - 339)) | (1L << (DO - 339)) | (1L << (DUMPFILE - 339)) | (1L << (DUPLICATE - 339)) | (1L << (DYNAMIC - 339)) | (1L << (ENABLE - 339)) | (1L << (ENCRYPTION - 339)) | (1L << (END - 339)) | (1L << (ENDS - 339)) | (1L << (ENGINE - 339)) | (1L << (ENGINES - 339)) | (1L << (ERROR - 339)) | (1L << (ERRORS - 339)) | (1L << (ESCAPE - 339)) | (1L << (EVEN - 339)))) != 0) || ((((_la - 403)) & ~0x3f) == 0 && ((1L << (_la - 403)) & ((1L << (EVENT - 403)) | (1L << (EVENTS - 403)) | (1L << (EVERY - 403)) | (1L << (EXCHANGE - 403)) | (1L << (EXCLUSIVE - 403)) | (1L << (EXPIRE - 403)) | (1L << (EXPORT - 403)) | (1L << (EXTENDED - 403)) | (1L << (EXTENT_SIZE - 403)) | (1L << (FAST - 403)) | (1L << (FAULTS - 403)) | (1L << (FIELDS - 403)) | (1L << (FILE_BLOCK_SIZE - 403)) | (1L << (FILTER - 403)) | (1L << (FIRST - 403)) | (1L << (FIXED - 403)) | (1L << (FLUSH - 403)) | (1L << (FOLLOWS - 403)) | (1L << (FOUND - 403)) | (1L << (FULL - 403)) | (1L << (FUNCTION - 403)) | (1L << (GENERAL - 403)) | (1L << (GLOBAL - 403)) | (1L << (GRANTS - 403)) | (1L << (GROUP_REPLICATION - 403)) | (1L << (HANDLER - 403)) | (1L << (HASH - 403)) | (1L << (HELP - 403)) | (1L << (HOST - 403)) | (1L << (HOSTS - 403)) | (1L << (IDENTIFIED - 403)) | (1L << (IGNORE_SERVER_IDS - 403)) | (1L << (IMPORT - 403)) | (1L << (INDEXES - 403)) | (1L << (INITIAL_SIZE - 403)) | (1L << (INPLACE - 403)) | (1L << (INSERT_METHOD - 403)) | (1L << (INSTALL - 403)) | (1L << (INSTANCE - 403)) | (1L << (INSTANT - 403)) | (1L << (INVISIBLE - 403)) | (1L << (INVOKER - 403)) | (1L << (IO - 403)) | (1L << (IO_THREAD - 403)) | (1L << (IPC - 403)) | (1L << (ISOLATION - 403)) | (1L << (ISSUER - 403)) | (1L << (JSON - 403)) | (1L << (KEY_BLOCK_SIZE - 403)) | (1L << (LANGUAGE - 403)) | (1L << (LAST - 403)) | (1L << (LEAVES - 403)) | (1L << (LESS - 403)) | (1L << (LEVEL - 403)) | (1L << (LIST - 403)) | (1L << (LOCAL - 403)) | (1L << (LOGFILE - 403)) | (1L << (LOGS - 403)) | (1L << (MASTER - 403)) | (1L << (MASTER_AUTO_POSITION - 403)) | (1L << (MASTER_CONNECT_RETRY - 403)) | (1L << (MASTER_DELAY - 403)) | (1L << (MASTER_HEARTBEAT_PERIOD - 403)))) != 0) || ((((_la - 467)) & ~0x3f) == 0 && ((1L << (_la - 467)) & ((1L << (MASTER_HOST - 467)) | (1L << (MASTER_LOG_FILE - 467)) | (1L << (MASTER_LOG_POS - 467)) | (1L << (MASTER_PASSWORD - 467)) | (1L << (MASTER_PORT - 467)) | (1L << (MASTER_RETRY_COUNT - 467)) | (1L << (MASTER_SSL - 467)) | (1L << (MASTER_SSL_CA - 467)) | (1L << (MASTER_SSL_CAPATH - 467)) | (1L << (MASTER_SSL_CERT - 467)) | (1L << (MASTER_SSL_CIPHER - 467)) | (1L << (MASTER_SSL_CRL - 467)) | (1L << (MASTER_SSL_CRLPATH - 467)) | (1L << (MASTER_SSL_KEY - 467)) | (1L << (MASTER_TLS_VERSION - 467)) | (1L << (MASTER_USER - 467)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 467)) | (1L << (MAX_QUERIES_PER_HOUR - 467)) | (1L << (MAX_ROWS - 467)) | (1L << (MAX_SIZE - 467)) | (1L << (MAX_UPDATES_PER_HOUR - 467)) | (1L << (MAX_USER_CONNECTIONS - 467)) | (1L << (MEDIUM - 467)) | (1L << (MEMBER - 467)) | (1L << (MERGE - 467)) | (1L << (MESSAGE_TEXT - 467)) | (1L << (MID - 467)) | (1L << (MIGRATE - 467)) | (1L << (MIN_ROWS - 467)) | (1L << (MODE - 467)) | (1L << (MODIFY - 467)) | (1L << (MUTEX - 467)) | (1L << (MYSQL - 467)) | (1L << (MYSQL_ERRNO - 467)) | (1L << (NAME - 467)) | (1L << (NAMES - 467)) | (1L << (NCHAR - 467)) | (1L << (NEVER - 467)) | (1L << (NEXT - 467)) | (1L << (NO - 467)) | (1L << (NOCOPY - 467)) | (1L << (NOWAIT - 467)) | (1L << (NODEGROUP - 467)) | (1L << (NONE - 467)) | (1L << (ODBC - 467)) | (1L << (OFFLINE - 467)) | (1L << (OFFSET - 467)) | (1L << (OF - 467)) | (1L << (OJ - 467)) | (1L << (OLD_PASSWORD - 467)) | (1L << (ONE - 467)) | (1L << (ONLINE - 467)) | (1L << (ONLY - 467)) | (1L << (OPEN - 467)) | (1L << (OPTIMIZER_COSTS - 467)) | (1L << (OPTIONS - 467)) | (1L << (OWNER - 467)) | (1L << (PACK_KEYS - 467)) | (1L << (PAGE - 467)) | (1L << (PARSER - 467)) | (1L << (PARTIAL - 467)) | (1L << (PARTITIONING - 467)) | (1L << (PARTITIONS - 467)) | (1L << (PASSWORD - 467)))) != 0) || ((((_la - 531)) & ~0x3f) == 0 && ((1L << (_la - 531)) & ((1L << (PHASE - 531)) | (1L << (PLUGIN - 531)) | (1L << (PLUGIN_DIR - 531)) | (1L << (PLUGINS - 531)) | (1L << (PORT - 531)) | (1L << (PRECEDES - 531)) | (1L << (PREPARE - 531)) | (1L << (PRESERVE - 531)) | (1L << (PREV - 531)) | (1L << (PROCESSLIST - 531)) | (1L << (PROFILE - 531)) | (1L << (PROFILES - 531)) | (1L << (PROXY - 531)) | (1L << (QUERY - 531)) | (1L << (QUICK - 531)) | (1L << (REBUILD - 531)) | (1L << (RECOVER - 531)) | (1L << (RECURSIVE - 531)) | (1L << (REDO_BUFFER_SIZE - 531)) | (1L << (REDUNDANT - 531)) | (1L << (RELAY - 531)) | (1L << (RELAY_LOG_FILE - 531)) | (1L << (RELAY_LOG_POS - 531)) | (1L << (RELAYLOG - 531)) | (1L << (REMOVE - 531)) | (1L << (REORGANIZE - 531)) | (1L << (REPAIR - 531)) | (1L << (REPLICATE_DO_DB - 531)) | (1L << (REPLICATE_DO_TABLE - 531)) | (1L << (REPLICATE_IGNORE_DB - 531)) | (1L << (REPLICATE_IGNORE_TABLE - 531)) | (1L << (REPLICATE_REWRITE_DB - 531)) | (1L << (REPLICATE_WILD_DO_TABLE - 531)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 531)) | (1L << (REPLICATION - 531)) | (1L << (RESET - 531)) | (1L << (RESUME - 531)) | (1L << (RETURNED_SQLSTATE - 531)) | (1L << (RETURNS - 531)) | (1L << (ROLE - 531)) | (1L << (ROLLBACK - 531)) | (1L << (ROLLUP - 531)) | (1L << (ROTATE - 531)) | (1L << (ROW - 531)) | (1L << (ROWS - 531)) | (1L << (ROW_FORMAT - 531)) | (1L << (RTREE - 531)) | (1L << (SAVEPOINT - 531)) | (1L << (SCHEDULE - 531)) | (1L << (SECURITY - 531)) | (1L << (SERVER - 531)) | (1L << (SESSION - 531)) | (1L << (SHARE - 531)) | (1L << (SHARED - 531)) | (1L << (SIGNED - 531)) | (1L << (SIMPLE - 531)) | (1L << (SLAVE - 531)) | (1L << (SLOW - 531)) | (1L << (SNAPSHOT - 531)) | (1L << (SOCKET - 531)) | (1L << (SOME - 531)) | (1L << (SONAME - 531)))) != 0) || ((((_la - 595)) & ~0x3f) == 0 && ((1L << (_la - 595)) & ((1L << (SOUNDS - 595)) | (1L << (SOURCE - 595)) | (1L << (SQL_AFTER_GTIDS - 595)) | (1L << (SQL_AFTER_MTS_GAPS - 595)) | (1L << (SQL_BEFORE_GTIDS - 595)) | (1L << (SQL_BUFFER_RESULT - 595)) | (1L << (SQL_CACHE - 595)) | (1L << (SQL_NO_CACHE - 595)) | (1L << (SQL_THREAD - 595)) | (1L << (START - 595)) | (1L << (STARTS - 595)) | (1L << (STATS_AUTO_RECALC - 595)) | (1L << (STATS_PERSISTENT - 595)) | (1L << (STATS_SAMPLE_PAGES - 595)) | (1L << (STATUS - 595)) | (1L << (STOP - 595)) | (1L << (STORAGE - 595)) | (1L << (STRING - 595)) | (1L << (SUBCLASS_ORIGIN - 595)) | (1L << (SUBJECT - 595)) | (1L << (SUBPARTITION - 595)) | (1L << (SUBPARTITIONS - 595)) | (1L << (SUSPEND - 595)) | (1L << (SWAPS - 595)) | (1L << (SWITCHES - 595)) | (1L << (TABLE_NAME - 595)) | (1L << (TABLESPACE - 595)) | (1L << (TEMPORARY - 595)) | (1L << (TEMPTABLE - 595)) | (1L << (THAN - 595)) | (1L << (TRADITIONAL - 595)) | (1L << (TRANSACTION - 595)) | (1L << (TRANSACTIONAL - 595)) | (1L << (TRIGGERS - 595)) | (1L << (TRUNCATE - 595)) | (1L << (UNDEFINED - 595)) | (1L << (UNDOFILE - 595)) | (1L << (UNDO_BUFFER_SIZE - 595)) | (1L << (UNINSTALL - 595)) | (1L << (UNKNOWN - 595)) | (1L << (UNTIL - 595)) | (1L << (UPGRADE - 595)) | (1L << (USER - 595)) | (1L << (USE_FRM - 595)) | (1L << (USER_RESOURCES - 595)) | (1L << (VALIDATION - 595)) | (1L << (VALUE - 595)) | (1L << (VARIABLES - 595)) | (1L << (VIEW - 595)) | (1L << (VISIBLE - 595)) | (1L << (WAIT - 595)) | (1L << (WARNINGS - 595)) | (1L << (WITHOUT - 595)) | (1L << (WORK - 595)) | (1L << (WRAPPER - 595)) | (1L << (X509 - 595)) | (1L << (XA - 595)) | (1L << (XML - 595)))) != 0) || ((((_la - 659)) & ~0x3f) == 0 && ((1L << (_la - 659)) & ((1L << (EUR - 659)) | (1L << (USA - 659)) | (1L << (JIS - 659)) | (1L << (ISO - 659)) | (1L << (INTERNAL - 659)) | (1L << (QUARTER - 659)) | (1L << (MONTH - 659)) | (1L << (DAY - 659)) | (1L << (HOUR - 659)) | (1L << (MINUTE - 659)) | (1L << (WEEK - 659)) | (1L << (SECOND - 659)) | (1L << (MICROSECOND - 659)) | (1L << (TABLES - 659)) | (1L << (ROUTINE - 659)) | (1L << (EXECUTE - 659)) | (1L << (FILE - 659)) | (1L << (PROCESS - 659)) | (1L << (RELOAD - 659)) | (1L << (SHUTDOWN - 659)) | (1L << (SUPER - 659)) | (1L << (PRIVILEGES - 659)) | (1L << (AUDIT_ADMIN - 659)) | (1L << (BACKUP_ADMIN - 659)) | (1L << (BINLOG_ADMIN - 659)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 659)) | (1L << (CLONE_ADMIN - 659)) | (1L << (CONNECTION_ADMIN - 659)) | (1L << (ENCRYPTION_KEY_ADMIN - 659)) | (1L << (FIREWALL_ADMIN - 659)) | (1L << (FIREWALL_USER - 659)) | (1L << (ADMIN - 659)) | (1L << (GROUP_REPLICATION_ADMIN - 659)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 659)) | (1L << (NDB_STORED_USER - 659)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 659)) | (1L << (REPLICATION_APPLIER - 659)) | (1L << (REPLICATION_SLAVE_ADMIN - 659)) | (1L << (RESOURCE_GROUP_ADMIN - 659)) | (1L << (RESOURCE_GROUP_USER - 659)) | (1L << (ROLE_ADMIN - 659)) | (1L << (SESSION_VARIABLES_ADMIN - 659)) | (1L << (SET_USER_ID - 659)) | (1L << (SHOW_ROUTINE - 659)) | (1L << (SYSTEM_VARIABLES_ADMIN - 659)) | (1L << (TABLE_ENCRYPTION_ADMIN - 659)) | (1L << (VERSION_TOKEN_ADMIN - 659)) | (1L << (XA_RECOVER_ADMIN - 659)) | (1L << (ARMSCII8 - 659)) | (1L << (ASCII - 659)) | (1L << (BIG5 - 659)) | (1L << (CP1250 - 659)) | (1L << (CP1251 - 659)) | (1L << (CP1256 - 659)) | (1L << (CP1257 - 659)) | (1L << (CP850 - 659)) | (1L << (CP852 - 659)))) != 0) || ((((_la - 723)) & ~0x3f) == 0 && ((1L << (_la - 723)) & ((1L << (CP866 - 723)) | (1L << (CP932 - 723)) | (1L << (DEC8 - 723)) | (1L << (EUCJPMS - 723)) | (1L << (EUCKR - 723)) | (1L << (GB18030 - 723)) | (1L << (GB2312 - 723)) | (1L << (GBK - 723)) | (1L << (GEOSTD8 - 723)) | (1L << (GREEK - 723)) | (1L << (HEBREW - 723)) | (1L << (HP8 - 723)) | (1L << (KEYBCS2 - 723)) | (1L << (KOI8R - 723)) | (1L << (KOI8U - 723)) | (1L << (LATIN1 - 723)) | (1L << (LATIN2 - 723)) | (1L << (LATIN5 - 723)) | (1L << (LATIN7 - 723)) | (1L << (MACCE - 723)) | (1L << (MACROMAN - 723)) | (1L << (SJIS - 723)) | (1L << (SWE7 - 723)) | (1L << (TIS620 - 723)) | (1L << (UCS2 - 723)) | (1L << (UJIS - 723)) | (1L << (UTF16 - 723)) | (1L << (UTF16LE - 723)) | (1L << (UTF32 - 723)) | (1L << (UTF8 - 723)) | (1L << (UTF8MB3 - 723)) | (1L << (UTF8MB4 - 723)) | (1L << (ARCHIVE - 723)) | (1L << (BLACKHOLE - 723)) | (1L << (CSV - 723)) | (1L << (FEDERATED - 723)) | (1L << (INNODB - 723)) | (1L << (MEMORY - 723)) | (1L << (MRG_MYISAM - 723)) | (1L << (MYISAM - 723)) | (1L << (NDB - 723)) | (1L << (NDBCLUSTER - 723)) | (1L << (PERFORMANCE_SCHEMA - 723)) | (1L << (TOKUDB - 723)) | (1L << (REPEATABLE - 723)) | (1L << (COMMITTED - 723)) | (1L << (UNCOMMITTED - 723)) | (1L << (SERIALIZABLE - 723)) | (1L << (GEOMETRYCOLLECTION - 723)) | (1L << (LINESTRING - 723)) | (1L << (MULTILINESTRING - 723)) | (1L << (MULTIPOINT - 723)) | (1L << (MULTIPOLYGON - 723)) | (1L << (POINT - 723)) | (1L << (POLYGON - 723)) | (1L << (ABS - 723)) | (1L << (ACOS - 723)) | (1L << (ADDDATE - 723)) | (1L << (ADDTIME - 723)) | (1L << (AES_DECRYPT - 723)) | (1L << (AES_ENCRYPT - 723)) | (1L << (AREA - 723)))) != 0) || ((((_la - 787)) & ~0x3f) == 0 && ((1L << (_la - 787)) & ((1L << (ASBINARY - 787)) | (1L << (ASIN - 787)) | (1L << (ASTEXT - 787)) | (1L << (ASWKB - 787)) | (1L << (ASWKT - 787)) | (1L << (ASYMMETRIC_DECRYPT - 787)) | (1L << (ASYMMETRIC_DERIVE - 787)) | (1L << (ASYMMETRIC_ENCRYPT - 787)) | (1L << (ASYMMETRIC_SIGN - 787)) | (1L << (ASYMMETRIC_VERIFY - 787)) | (1L << (ATAN - 787)) | (1L << (ATAN2 - 787)) | (1L << (BENCHMARK - 787)) | (1L << (BIN - 787)) | (1L << (BIT_COUNT - 787)) | (1L << (BIT_LENGTH - 787)) | (1L << (BUFFER - 787)) | (1L << (CATALOG_NAME - 787)) | (1L << (CEIL - 787)) | (1L << (CEILING - 787)) | (1L << (CENTROID - 787)) | (1L << (CHARACTER_LENGTH - 787)) | (1L << (CHARSET - 787)) | (1L << (CHAR_LENGTH - 787)) | (1L << (COERCIBILITY - 787)) | (1L << (COLLATION - 787)) | (1L << (COMPRESS - 787)) | (1L << (CONCAT - 787)) | (1L << (CONCAT_WS - 787)) | (1L << (CONNECTION_ID - 787)) | (1L << (CONV - 787)) | (1L << (CONVERT_TZ - 787)) | (1L << (COS - 787)) | (1L << (COT - 787)) | (1L << (CRC32 - 787)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 787)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 787)) | (1L << (CREATE_DH_PARAMETERS - 787)) | (1L << (CREATE_DIGEST - 787)) | (1L << (CROSSES - 787)) | (1L << (DATEDIFF - 787)) | (1L << (DATE_FORMAT - 787)) | (1L << (DAYNAME - 787)) | (1L << (DAYOFMONTH - 787)) | (1L << (DAYOFWEEK - 787)) | (1L << (DAYOFYEAR - 787)) | (1L << (DECODE - 787)) | (1L << (DEGREES - 787)) | (1L << (DES_DECRYPT - 787)) | (1L << (DES_ENCRYPT - 787)) | (1L << (DIMENSION - 787)) | (1L << (DISJOINT - 787)) | (1L << (ELT - 787)) | (1L << (ENCODE - 787)) | (1L << (ENCRYPT - 787)) | (1L << (ENDPOINT - 787)) | (1L << (ENGINE_ATTRIBUTE - 787)) | (1L << (ENVELOPE - 787)) | (1L << (EQUALS - 787)) | (1L << (EXP - 787)) | (1L << (EXPORT_SET - 787)) | (1L << (EXTERIORRING - 787)) | (1L << (EXTRACTVALUE - 787)) | (1L << (FIELD - 787)))) != 0) || ((((_la - 851)) & ~0x3f) == 0 && ((1L << (_la - 851)) & ((1L << (FIND_IN_SET - 851)) | (1L << (FLOOR - 851)) | (1L << (FORMAT - 851)) | (1L << (FOUND_ROWS - 851)) | (1L << (FROM_BASE64 - 851)) | (1L << (FROM_DAYS - 851)) | (1L << (FROM_UNIXTIME - 851)) | (1L << (GEOMCOLLFROMTEXT - 851)) | (1L << (GEOMCOLLFROMWKB - 851)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 851)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 851)) | (1L << (GEOMETRYFROMTEXT - 851)) | (1L << (GEOMETRYFROMWKB - 851)) | (1L << (GEOMETRYN - 851)) | (1L << (GEOMETRYTYPE - 851)) | (1L << (GEOMFROMTEXT - 851)) | (1L << (GEOMFROMWKB - 851)) | (1L << (GET_FORMAT - 851)) | (1L << (GET_LOCK - 851)) | (1L << (GLENGTH - 851)) | (1L << (GREATEST - 851)) | (1L << (GTID_SUBSET - 851)) | (1L << (GTID_SUBTRACT - 851)) | (1L << (HEX - 851)) | (1L << (IFNULL - 851)) | (1L << (INET6_ATON - 851)) | (1L << (INET6_NTOA - 851)) | (1L << (INET_ATON - 851)) | (1L << (INET_NTOA - 851)) | (1L << (INSTR - 851)) | (1L << (INTERIORRINGN - 851)) | (1L << (INTERSECTS - 851)) | (1L << (ISCLOSED - 851)) | (1L << (ISEMPTY - 851)) | (1L << (ISNULL - 851)) | (1L << (ISSIMPLE - 851)) | (1L << (IS_FREE_LOCK - 851)) | (1L << (IS_IPV4 - 851)) | (1L << (IS_IPV4_COMPAT - 851)) | (1L << (IS_IPV4_MAPPED - 851)) | (1L << (IS_IPV6 - 851)) | (1L << (IS_USED_LOCK - 851)) | (1L << (LAST_INSERT_ID - 851)) | (1L << (LCASE - 851)) | (1L << (LEAST - 851)) | (1L << (LENGTH - 851)) | (1L << (LINEFROMTEXT - 851)) | (1L << (LINEFROMWKB - 851)) | (1L << (LINESTRINGFROMTEXT - 851)) | (1L << (LINESTRINGFROMWKB - 851)) | (1L << (LN - 851)) | (1L << (LOAD_FILE - 851)) | (1L << (LOCATE - 851)) | (1L << (LOG - 851)) | (1L << (LOG10 - 851)) | (1L << (LOG2 - 851)) | (1L << (LOWER - 851)) | (1L << (LPAD - 851)) | (1L << (LTRIM - 851)) | (1L << (MAKEDATE - 851)) | (1L << (MAKETIME - 851)) | (1L << (MAKE_SET - 851)) | (1L << (MASTER_POS_WAIT - 851)) | (1L << (MBRCONTAINS - 851)))) != 0) || ((((_la - 915)) & ~0x3f) == 0 && ((1L << (_la - 915)) & ((1L << (MBRDISJOINT - 915)) | (1L << (MBREQUAL - 915)) | (1L << (MBRINTERSECTS - 915)) | (1L << (MBROVERLAPS - 915)) | (1L << (MBRTOUCHES - 915)) | (1L << (MBRWITHIN - 915)) | (1L << (MD5 - 915)) | (1L << (MLINEFROMTEXT - 915)) | (1L << (MLINEFROMWKB - 915)) | (1L << (MONTHNAME - 915)) | (1L << (MPOINTFROMTEXT - 915)) | (1L << (MPOINTFROMWKB - 915)) | (1L << (MPOLYFROMTEXT - 915)) | (1L << (MPOLYFROMWKB - 915)) | (1L << (MULTILINESTRINGFROMTEXT - 915)) | (1L << (MULTILINESTRINGFROMWKB - 915)) | (1L << (MULTIPOINTFROMTEXT - 915)) | (1L << (MULTIPOINTFROMWKB - 915)) | (1L << (MULTIPOLYGONFROMTEXT - 915)) | (1L << (MULTIPOLYGONFROMWKB - 915)) | (1L << (NAME_CONST - 915)) | (1L << (NULLIF - 915)) | (1L << (NUMGEOMETRIES - 915)) | (1L << (NUMINTERIORRINGS - 915)) | (1L << (NUMPOINTS - 915)) | (1L << (OCT - 915)) | (1L << (OCTET_LENGTH - 915)) | (1L << (ORD - 915)) | (1L << (OVERLAPS - 915)) | (1L << (PERIOD_ADD - 915)) | (1L << (PERIOD_DIFF - 915)) | (1L << (PI - 915)) | (1L << (POINTFROMTEXT - 915)) | (1L << (POINTFROMWKB - 915)) | (1L << (POINTN - 915)) | (1L << (POLYFROMTEXT - 915)) | (1L << (POLYFROMWKB - 915)) | (1L << (POLYGONFROMTEXT - 915)) | (1L << (POLYGONFROMWKB - 915)) | (1L << (POW - 915)) | (1L << (POWER - 915)) | (1L << (QUOTE - 915)) | (1L << (RADIANS - 915)) | (1L << (RAND - 915)) | (1L << (RANDOM_BYTES - 915)) | (1L << (RELEASE_LOCK - 915)) | (1L << (REVERSE - 915)) | (1L << (ROUND - 915)) | (1L << (ROW_COUNT - 915)) | (1L << (RPAD - 915)) | (1L << (RTRIM - 915)) | (1L << (SEC_TO_TIME - 915)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 915)) | (1L << (SESSION_USER - 915)) | (1L << (SHA - 915)) | (1L << (SHA1 - 915)) | (1L << (SHA2 - 915)) | (1L << (SCHEMA_NAME - 915)) | (1L << (SIGN - 915)) | (1L << (SIN - 915)) | (1L << (SLEEP - 915)) | (1L << (SOUNDEX - 915)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 915)) | (1L << (SQRT - 915)))) != 0) || ((((_la - 979)) & ~0x3f) == 0 && ((1L << (_la - 979)) & ((1L << (SRID - 979)) | (1L << (STARTPOINT - 979)) | (1L << (STRCMP - 979)) | (1L << (STR_TO_DATE - 979)) | (1L << (ST_AREA - 979)) | (1L << (ST_ASBINARY - 979)) | (1L << (ST_ASTEXT - 979)) | (1L << (ST_ASWKB - 979)) | (1L << (ST_ASWKT - 979)) | (1L << (ST_BUFFER - 979)) | (1L << (ST_CENTROID - 979)) | (1L << (ST_CONTAINS - 979)) | (1L << (ST_CROSSES - 979)) | (1L << (ST_DIFFERENCE - 979)) | (1L << (ST_DIMENSION - 979)) | (1L << (ST_DISJOINT - 979)) | (1L << (ST_DISTANCE - 979)) | (1L << (ST_ENDPOINT - 979)) | (1L << (ST_ENVELOPE - 979)) | (1L << (ST_EQUALS - 979)) | (1L << (ST_EXTERIORRING - 979)) | (1L << (ST_GEOMCOLLFROMTEXT - 979)) | (1L << (ST_GEOMCOLLFROMTXT - 979)) | (1L << (ST_GEOMCOLLFROMWKB - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 979)) | (1L << (ST_GEOMETRYFROMTEXT - 979)) | (1L << (ST_GEOMETRYFROMWKB - 979)) | (1L << (ST_GEOMETRYN - 979)) | (1L << (ST_GEOMETRYTYPE - 979)) | (1L << (ST_GEOMFROMTEXT - 979)) | (1L << (ST_GEOMFROMWKB - 979)) | (1L << (ST_INTERIORRINGN - 979)) | (1L << (ST_INTERSECTION - 979)) | (1L << (ST_INTERSECTS - 979)) | (1L << (ST_ISCLOSED - 979)) | (1L << (ST_ISEMPTY - 979)) | (1L << (ST_ISSIMPLE - 979)) | (1L << (ST_LINEFROMTEXT - 979)) | (1L << (ST_LINEFROMWKB - 979)) | (1L << (ST_LINESTRINGFROMTEXT - 979)) | (1L << (ST_LINESTRINGFROMWKB - 979)) | (1L << (ST_NUMGEOMETRIES - 979)) | (1L << (ST_NUMINTERIORRING - 979)) | (1L << (ST_NUMINTERIORRINGS - 979)) | (1L << (ST_NUMPOINTS - 979)) | (1L << (ST_OVERLAPS - 979)) | (1L << (ST_POINTFROMTEXT - 979)) | (1L << (ST_POINTFROMWKB - 979)) | (1L << (ST_POINTN - 979)) | (1L << (ST_POLYFROMTEXT - 979)) | (1L << (ST_POLYFROMWKB - 979)) | (1L << (ST_POLYGONFROMTEXT - 979)) | (1L << (ST_POLYGONFROMWKB - 979)) | (1L << (ST_SRID - 979)) | (1L << (ST_STARTPOINT - 979)) | (1L << (ST_SYMDIFFERENCE - 979)) | (1L << (ST_TOUCHES - 979)) | (1L << (ST_UNION - 979)) | (1L << (ST_WITHIN - 979)) | (1L << (ST_X - 979)) | (1L << (ST_Y - 979)) | (1L << (SUBDATE - 979)) | (1L << (SUBSTRING_INDEX - 979)))) != 0) || ((((_la - 1043)) & ~0x3f) == 0 && ((1L << (_la - 1043)) & ((1L << (SUBTIME - 1043)) | (1L << (SYSTEM_USER - 1043)) | (1L << (TAN - 1043)) | (1L << (TIMEDIFF - 1043)) | (1L << (TIMESTAMPADD - 1043)) | (1L << (TIMESTAMPDIFF - 1043)) | (1L << (TIME_FORMAT - 1043)) | (1L << (TIME_TO_SEC - 1043)) | (1L << (TOUCHES - 1043)) | (1L << (TO_BASE64 - 1043)) | (1L << (TO_DAYS - 1043)) | (1L << (TO_SECONDS - 1043)) | (1L << (UCASE - 1043)) | (1L << (UNCOMPRESS - 1043)) | (1L << (UNCOMPRESSED_LENGTH - 1043)) | (1L << (UNHEX - 1043)) | (1L << (UNIX_TIMESTAMP - 1043)) | (1L << (UPDATEXML - 1043)) | (1L << (UPPER - 1043)) | (1L << (UUID - 1043)) | (1L << (UUID_SHORT - 1043)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1043)) | (1L << (VERSION - 1043)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1043)) | (1L << (WEEKDAY - 1043)) | (1L << (WEEKOFYEAR - 1043)) | (1L << (WEIGHT_STRING - 1043)) | (1L << (WITHIN - 1043)) | (1L << (YEARWEEK - 1043)) | (1L << (Y_FUNCTION - 1043)) | (1L << (X_FUNCTION - 1043)) | (1L << (VIA - 1043)) | (1L << (LASTVAL - 1043)) | (1L << (NEXTVAL - 1043)) | (1L << (SETVAL - 1043)) | (1L << (PREVIOUS - 1043)) | (1L << (PERSISTENT - 1043)) | (1L << (BINLOG_MONITOR - 1043)) | (1L << (BINLOG_REPLAY - 1043)) | (1L << (FEDERATED_ADMIN - 1043)) | (1L << (READ_ONLY_ADMIN - 1043)) | (1L << (REPLICA - 1043)) | (1L << (REPLICATION_MASTER_ADMIN - 1043)) | (1L << (MOD - 1043)))) != 0) || ((((_la - 1123)) & ~0x3f) == 0 && ((1L << (_la - 1123)) & ((1L << (CHARSET_REVERSE_QOUTE_STRING - 1123)) | (1L << (STRING_LITERAL - 1123)) | (1L << (ID - 1123)) | (1L << (REVERSE_QUOTE_ID - 1123)) | (1L << (ENCRYPTED - 1123)) | (1L << (ENCRYPTION_KEY_ID - 1123)))) != 0)) {
{
setState(1664);
((UniqueKeyTableConstraintContext)_localctx).index = uid();
}
}
setState(1668);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==USING) {
{
setState(1667);
indexType();
}
}
setState(1670);
indexColumnNames();
setState(1674);
_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(1671);
indexOption();
}
}
setState(1676);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case 3:
_localctx = new ForeignKeyTableConstraintContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(1681);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(1677);
match(CONSTRAINT);
setState(1679);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 34)) & ~0x3f) == 0 && ((1L << (_la - 34)) & ((1L << (CURRENT - 34)) | (1L << (DATABASE - 34)) | (1L << (DIAGNOSTICS - 34)) | (1L << (EXCEPT - 34)) | (1L << (GROUP - 34)) | (1L << (IGNORED - 34)) | (1L << (LEFT - 34)))) != 0) || ((((_la - 114)) & ~0x3f) == 0 && ((1L << (_la - 114)) & ((1L << (NUMBER - 114)) | (1L << (OPTIONAL - 114)) | (1L << (ORDER - 114)) | (1L << (RIGHT - 114)) | (1L << (SCHEMA - 114)) | (1L << (STACKED - 114)))) != 0) || ((((_la - 211)) & ~0x3f) == 0 && ((1L << (_la - 211)) & ((1L << (DATE - 211)) | (1L << (TIME - 211)) | (1L << (TIMESTAMP - 211)) | (1L << (DATETIME - 211)) | (1L << (YEAR - 211)) | (1L << (BINARY - 211)) | (1L << (TEXT - 211)) | (1L << (ENUM - 211)) | (1L << (SERIAL - 211)) | (1L << (JSON_ARRAY - 211)) | (1L << (JSON_OBJECT - 211)) | (1L << (JSON_QUOTE - 211)) | (1L << (JSON_CONTAINS - 211)) | (1L << (JSON_CONTAINS_PATH - 211)) | (1L << (JSON_EXTRACT - 211)) | (1L << (JSON_KEYS - 211)) | (1L << (JSON_OVERLAPS - 211)) | (1L << (JSON_SEARCH - 211)) | (1L << (JSON_VALUE - 211)) | (1L << (JSON_ARRAY_APPEND - 211)) | (1L << (JSON_ARRAY_INSERT - 211)) | (1L << (JSON_INSERT - 211)) | (1L << (JSON_MERGE - 211)) | (1L << (JSON_MERGE_PATCH - 211)) | (1L << (JSON_MERGE_PRESERVE - 211)) | (1L << (JSON_REMOVE - 211)) | (1L << (JSON_REPLACE - 211)) | (1L << (JSON_SET - 211)) | (1L << (JSON_UNQUOTE - 211)) | (1L << (JSON_DEPTH - 211)) | (1L << (JSON_LENGTH - 211)) | (1L << (JSON_TYPE - 211)) | (1L << (JSON_VALID - 211)) | (1L << (JSON_TABLE - 211)) | (1L << (JSON_SCHEMA_VALID - 211)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 211)) | (1L << (JSON_PRETTY - 211)) | (1L << (JSON_STORAGE_FREE - 211)) | (1L << (JSON_STORAGE_SIZE - 211)))) != 0) || ((((_la - 275)) & ~0x3f) == 0 && ((1L << (_la - 275)) & ((1L << (JSON_ARRAYAGG - 275)) | (1L << (JSON_OBJECTAGG - 275)) | (1L << (AVG - 275)) | (1L << (BIT_AND - 275)) | (1L << (BIT_OR - 275)) | (1L << (BIT_XOR - 275)) | (1L << (COUNT - 275)) | (1L << (CUME_DIST - 275)) | (1L << (DENSE_RANK - 275)) | (1L << (FIRST_VALUE - 275)) | (1L << (GROUP_CONCAT - 275)) | (1L << (LAG - 275)) | (1L << (LAST_VALUE - 275)) | (1L << (LEAD - 275)) | (1L << (MAX - 275)) | (1L << (MIN - 275)) | (1L << (NTILE - 275)) | (1L << (NTH_VALUE - 275)) | (1L << (PERCENT_RANK - 275)) | (1L << (RANK - 275)) | (1L << (ROW_NUMBER - 275)) | (1L << (STD - 275)) | (1L << (STDDEV - 275)) | (1L << (STDDEV_POP - 275)) | (1L << (STDDEV_SAMP - 275)) | (1L << (SUM - 275)) | (1L << (VAR_POP - 275)) | (1L << (VAR_SAMP - 275)) | (1L << (VARIANCE - 275)) | (1L << (POSITION - 275)) | (1L << (ACCOUNT - 275)) | (1L << (ACTION - 275)) | (1L << (AFTER - 275)) | (1L << (AGGREGATE - 275)) | (1L << (ALGORITHM - 275)) | (1L << (ANY - 275)) | (1L << (AT - 275)) | (1L << (AUTHORS - 275)) | (1L << (AUTOCOMMIT - 275)) | (1L << (AUTOEXTEND_SIZE - 275)) | (1L << (AUTO_INCREMENT - 275)) | (1L << (AVG_ROW_LENGTH - 275)) | (1L << (BEGIN - 275)) | (1L << (BINLOG - 275)) | (1L << (BIT - 275)) | (1L << (BLOCK - 275)))) != 0) || ((((_la - 339)) & ~0x3f) == 0 && ((1L << (_la - 339)) & ((1L << (BOOL - 339)) | (1L << (BOOLEAN - 339)) | (1L << (BTREE - 339)) | (1L << (CACHE - 339)) | (1L << (CASCADED - 339)) | (1L << (CHAIN - 339)) | (1L << (CHANGED - 339)) | (1L << (CHANNEL - 339)) | (1L << (CHECKSUM - 339)) | (1L << (PAGE_CHECKSUM - 339)) | (1L << (CIPHER - 339)) | (1L << (CLASS_ORIGIN - 339)) | (1L << (CLIENT - 339)) | (1L << (CLOSE - 339)) | (1L << (CLUSTERING - 339)) | (1L << (COALESCE - 339)) | (1L << (CODE - 339)) | (1L << (COLUMNS - 339)) | (1L << (COLUMN_FORMAT - 339)) | (1L << (COLUMN_NAME - 339)) | (1L << (COMMENT - 339)) | (1L << (COMMIT - 339)) | (1L << (COMPACT - 339)) | (1L << (COMPLETION - 339)) | (1L << (COMPRESSED - 339)) | (1L << (COMPRESSION - 339)) | (1L << (CONCURRENT - 339)) | (1L << (CONNECT - 339)) | (1L << (CONNECTION - 339)) | (1L << (CONSISTENT - 339)) | (1L << (CONSTRAINT_CATALOG - 339)) | (1L << (CONSTRAINT_SCHEMA - 339)) | (1L << (CONSTRAINT_NAME - 339)) | (1L << (CONTAINS - 339)) | (1L << (CONTEXT - 339)) | (1L << (CONTRIBUTORS - 339)) | (1L << (COPY - 339)) | (1L << (CPU - 339)) | (1L << (CURSOR_NAME - 339)) | (1L << (DATA - 339)) | (1L << (DATAFILE - 339)) | (1L << (DEALLOCATE - 339)) | (1L << (DEFAULT_AUTH - 339)) | (1L << (DEFINER - 339)) | (1L << (DELAY_KEY_WRITE - 339)) | (1L << (DES_KEY_FILE - 339)) | (1L << (DIRECTORY - 339)) | (1L << (DISABLE - 339)) | (1L << (DISCARD - 339)) | (1L << (DISK - 339)) | (1L << (DO - 339)) | (1L << (DUMPFILE - 339)) | (1L << (DUPLICATE - 339)) | (1L << (DYNAMIC - 339)) | (1L << (ENABLE - 339)) | (1L << (ENCRYPTION - 339)) | (1L << (END - 339)) | (1L << (ENDS - 339)) | (1L << (ENGINE - 339)) | (1L << (ENGINES - 339)) | (1L << (ERROR - 339)) | (1L << (ERRORS - 339)) | (1L << (ESCAPE - 339)) | (1L << (EVEN - 339)))) != 0) || ((((_la - 403)) & ~0x3f) == 0 && ((1L << (_la - 403)) & ((1L << (EVENT - 403)) | (1L << (EVENTS - 403)) | (1L << (EVERY - 403)) | (1L << (EXCHANGE - 403)) | (1L << (EXCLUSIVE - 403)) | (1L << (EXPIRE - 403)) | (1L << (EXPORT - 403)) | (1L << (EXTENDED - 403)) | (1L << (EXTENT_SIZE - 403)) | (1L << (FAST - 403)) | (1L << (FAULTS - 403)) | (1L << (FIELDS - 403)) | (1L << (FILE_BLOCK_SIZE - 403)) | (1L << (FILTER - 403)) | (1L << (FIRST - 403)) | (1L << (FIXED - 403)) | (1L << (FLUSH - 403)) | (1L << (FOLLOWS - 403)) | (1L << (FOUND - 403)) | (1L << (FULL - 403)) | (1L << (FUNCTION - 403)) | (1L << (GENERAL - 403)) | (1L << (GLOBAL - 403)) | (1L << (GRANTS - 403)) | (1L << (GROUP_REPLICATION - 403)) | (1L << (HANDLER - 403)) | (1L << (HASH - 403)) | (1L << (HELP - 403)) | (1L << (HOST - 403)) | (1L << (HOSTS - 403)) | (1L << (IDENTIFIED - 403)) | (1L << (IGNORE_SERVER_IDS - 403)) | (1L << (IMPORT - 403)) | (1L << (INDEXES - 403)) | (1L << (INITIAL_SIZE - 403)) | (1L << (INPLACE - 403)) | (1L << (INSERT_METHOD - 403)) | (1L << (INSTALL - 403)) | (1L << (INSTANCE - 403)) | (1L << (INSTANT - 403)) | (1L << (INVISIBLE - 403)) | (1L << (INVOKER - 403)) | (1L << (IO - 403)) | (1L << (IO_THREAD - 403)) | (1L << (IPC - 403)) | (1L << (ISOLATION - 403)) | (1L << (ISSUER - 403)) | (1L << (JSON - 403)) | (1L << (KEY_BLOCK_SIZE - 403)) | (1L << (LANGUAGE - 403)) | (1L << (LAST - 403)) | (1L << (LEAVES - 403)) | (1L << (LESS - 403)) | (1L << (LEVEL - 403)) | (1L << (LIST - 403)) | (1L << (LOCAL - 403)) | (1L << (LOGFILE - 403)) | (1L << (LOGS - 403)) | (1L << (MASTER - 403)) | (1L << (MASTER_AUTO_POSITION - 403)) | (1L << (MASTER_CONNECT_RETRY - 403)) | (1L << (MASTER_DELAY - 403)) | (1L << (MASTER_HEARTBEAT_PERIOD - 403)))) != 0) || ((((_la - 467)) & ~0x3f) == 0 && ((1L << (_la - 467)) & ((1L << (MASTER_HOST - 467)) | (1L << (MASTER_LOG_FILE - 467)) | (1L << (MASTER_LOG_POS - 467)) | (1L << (MASTER_PASSWORD - 467)) | (1L << (MASTER_PORT - 467)) | (1L << (MASTER_RETRY_COUNT - 467)) | (1L << (MASTER_SSL - 467)) | (1L << (MASTER_SSL_CA - 467)) | (1L << (MASTER_SSL_CAPATH - 467)) | (1L << (MASTER_SSL_CERT - 467)) | (1L << (MASTER_SSL_CIPHER - 467)) | (1L << (MASTER_SSL_CRL - 467)) | (1L << (MASTER_SSL_CRLPATH - 467)) | (1L << (MASTER_SSL_KEY - 467)) | (1L << (MASTER_TLS_VERSION - 467)) | (1L << (MASTER_USER - 467)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 467)) | (1L << (MAX_QUERIES_PER_HOUR - 467)) | (1L << (MAX_ROWS - 467)) | (1L << (MAX_SIZE - 467)) | (1L << (MAX_UPDATES_PER_HOUR - 467)) | (1L << (MAX_USER_CONNECTIONS - 467)) | (1L << (MEDIUM - 467)) | (1L << (MEMBER - 467)) | (1L << (MERGE - 467)) | (1L << (MESSAGE_TEXT - 467)) | (1L << (MID - 467)) | (1L << (MIGRATE - 467)) | (1L << (MIN_ROWS - 467)) | (1L << (MODE - 467)) | (1L << (MODIFY - 467)) | (1L << (MUTEX - 467)) | (1L << (MYSQL - 467)) | (1L << (MYSQL_ERRNO - 467)) | (1L << (NAME - 467)) | (1L << (NAMES - 467)) | (1L << (NCHAR - 467)) | (1L << (NEVER - 467)) | (1L << (NEXT - 467)) | (1L << (NO - 467)) | (1L << (NOCOPY - 467)) | (1L << (NOWAIT - 467)) | (1L << (NODEGROUP - 467)) | (1L << (NONE - 467)) | (1L << (ODBC - 467)) | (1L << (OFFLINE - 467)) | (1L << (OFFSET - 467)) | (1L << (OF - 467)) | (1L << (OJ - 467)) | (1L << (OLD_PASSWORD - 467)) | (1L << (ONE - 467)) | (1L << (ONLINE - 467)) | (1L << (ONLY - 467)) | (1L << (OPEN - 467)) | (1L << (OPTIMIZER_COSTS - 467)) | (1L << (OPTIONS - 467)) | (1L << (OWNER - 467)) | (1L << (PACK_KEYS - 467)) | (1L << (PAGE - 467)) | (1L << (PARSER - 467)) | (1L << (PARTIAL - 467)) | (1L << (PARTITIONING - 467)) | (1L << (PARTITIONS - 467)) | (1L << (PASSWORD - 467)))) != 0) || ((((_la - 531)) & ~0x3f) == 0 && ((1L << (_la - 531)) & ((1L << (PHASE - 531)) | (1L << (PLUGIN - 531)) | (1L << (PLUGIN_DIR - 531)) | (1L << (PLUGINS - 531)) | (1L << (PORT - 531)) | (1L << (PRECEDES - 531)) | (1L << (PREPARE - 531)) | (1L << (PRESERVE - 531)) | (1L << (PREV - 531)) | (1L << (PROCESSLIST - 531)) | (1L << (PROFILE - 531)) | (1L << (PROFILES - 531)) | (1L << (PROXY - 531)) | (1L << (QUERY - 531)) | (1L << (QUICK - 531)) | (1L << (REBUILD - 531)) | (1L << (RECOVER - 531)) | (1L << (RECURSIVE - 531)) | (1L << (REDO_BUFFER_SIZE - 531)) | (1L << (REDUNDANT - 531)) | (1L << (RELAY - 531)) | (1L << (RELAY_LOG_FILE - 531)) | (1L << (RELAY_LOG_POS - 531)) | (1L << (RELAYLOG - 531)) | (1L << (REMOVE - 531)) | (1L << (REORGANIZE - 531)) | (1L << (REPAIR - 531)) | (1L << (REPLICATE_DO_DB - 531)) | (1L << (REPLICATE_DO_TABLE - 531)) | (1L << (REPLICATE_IGNORE_DB - 531)) | (1L << (REPLICATE_IGNORE_TABLE - 531)) | (1L << (REPLICATE_REWRITE_DB - 531)) | (1L << (REPLICATE_WILD_DO_TABLE - 531)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 531)) | (1L << (REPLICATION - 531)) | (1L << (RESET - 531)) | (1L << (RESUME - 531)) | (1L << (RETURNED_SQLSTATE - 531)) | (1L << (RETURNS - 531)) | (1L << (ROLE - 531)) | (1L << (ROLLBACK - 531)) | (1L << (ROLLUP - 531)) | (1L << (ROTATE - 531)) | (1L << (ROW - 531)) | (1L << (ROWS - 531)) | (1L << (ROW_FORMAT - 531)) | (1L << (RTREE - 531)) | (1L << (SAVEPOINT - 531)) | (1L << (SCHEDULE - 531)) | (1L << (SECURITY - 531)) | (1L << (SERVER - 531)) | (1L << (SESSION - 531)) | (1L << (SHARE - 531)) | (1L << (SHARED - 531)) | (1L << (SIGNED - 531)) | (1L << (SIMPLE - 531)) | (1L << (SLAVE - 531)) | (1L << (SLOW - 531)) | (1L << (SNAPSHOT - 531)) | (1L << (SOCKET - 531)) | (1L << (SOME - 531)) | (1L << (SONAME - 531)))) != 0) || ((((_la - 595)) & ~0x3f) == 0 && ((1L << (_la - 595)) & ((1L << (SOUNDS - 595)) | (1L << (SOURCE - 595)) | (1L << (SQL_AFTER_GTIDS - 595)) | (1L << (SQL_AFTER_MTS_GAPS - 595)) | (1L << (SQL_BEFORE_GTIDS - 595)) | (1L << (SQL_BUFFER_RESULT - 595)) | (1L << (SQL_CACHE - 595)) | (1L << (SQL_NO_CACHE - 595)) | (1L << (SQL_THREAD - 595)) | (1L << (START - 595)) | (1L << (STARTS - 595)) | (1L << (STATS_AUTO_RECALC - 595)) | (1L << (STATS_PERSISTENT - 595)) | (1L << (STATS_SAMPLE_PAGES - 595)) | (1L << (STATUS - 595)) | (1L << (STOP - 595)) | (1L << (STORAGE - 595)) | (1L << (STRING - 595)) | (1L << (SUBCLASS_ORIGIN - 595)) | (1L << (SUBJECT - 595)) | (1L << (SUBPARTITION - 595)) | (1L << (SUBPARTITIONS - 595)) | (1L << (SUSPEND - 595)) | (1L << (SWAPS - 595)) | (1L << (SWITCHES - 595)) | (1L << (TABLE_NAME - 595)) | (1L << (TABLESPACE - 595)) | (1L << (TEMPORARY - 595)) | (1L << (TEMPTABLE - 595)) | (1L << (THAN - 595)) | (1L << (TRADITIONAL - 595)) | (1L << (TRANSACTION - 595)) | (1L << (TRANSACTIONAL - 595)) | (1L << (TRIGGERS - 595)) | (1L << (TRUNCATE - 595)) | (1L << (UNDEFINED - 595)) | (1L << (UNDOFILE - 595)) | (1L << (UNDO_BUFFER_SIZE - 595)) | (1L << (UNINSTALL - 595)) | (1L << (UNKNOWN - 595)) | (1L << (UNTIL - 595)) | (1L << (UPGRADE - 595)) | (1L << (USER - 595)) | (1L << (USE_FRM - 595)) | (1L << (USER_RESOURCES - 595)) | (1L << (VALIDATION - 595)) | (1L << (VALUE - 595)) | (1L << (VARIABLES - 595)) | (1L << (VIEW - 595)) | (1L << (VISIBLE - 595)) | (1L << (WAIT - 595)) | (1L << (WARNINGS - 595)) | (1L << (WITHOUT - 595)) | (1L << (WORK - 595)) | (1L << (WRAPPER - 595)) | (1L << (X509 - 595)) | (1L << (XA - 595)) | (1L << (XML - 595)))) != 0) || ((((_la - 659)) & ~0x3f) == 0 && ((1L << (_la - 659)) & ((1L << (EUR - 659)) | (1L << (USA - 659)) | (1L << (JIS - 659)) | (1L << (ISO - 659)) | (1L << (INTERNAL - 659)) | (1L << (QUARTER - 659)) | (1L << (MONTH - 659)) | (1L << (DAY - 659)) | (1L << (HOUR - 659)) | (1L << (MINUTE - 659)) | (1L << (WEEK - 659)) | (1L << (SECOND - 659)) | (1L << (MICROSECOND - 659)) | (1L << (TABLES - 659)) | (1L << (ROUTINE - 659)) | (1L << (EXECUTE - 659)) | (1L << (FILE - 659)) | (1L << (PROCESS - 659)) | (1L << (RELOAD - 659)) | (1L << (SHUTDOWN - 659)) | (1L << (SUPER - 659)) | (1L << (PRIVILEGES - 659)) | (1L << (AUDIT_ADMIN - 659)) | (1L << (BACKUP_ADMIN - 659)) | (1L << (BINLOG_ADMIN - 659)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 659)) | (1L << (CLONE_ADMIN - 659)) | (1L << (CONNECTION_ADMIN - 659)) | (1L << (ENCRYPTION_KEY_ADMIN - 659)) | (1L << (FIREWALL_ADMIN - 659)) | (1L << (FIREWALL_USER - 659)) | (1L << (ADMIN - 659)) | (1L << (GROUP_REPLICATION_ADMIN - 659)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 659)) | (1L << (NDB_STORED_USER - 659)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 659)) | (1L << (REPLICATION_APPLIER - 659)) | (1L << (REPLICATION_SLAVE_ADMIN - 659)) | (1L << (RESOURCE_GROUP_ADMIN - 659)) | (1L << (RESOURCE_GROUP_USER - 659)) | (1L << (ROLE_ADMIN - 659)) | (1L << (SESSION_VARIABLES_ADMIN - 659)) | (1L << (SET_USER_ID - 659)) | (1L << (SHOW_ROUTINE - 659)) | (1L << (SYSTEM_VARIABLES_ADMIN - 659)) | (1L << (TABLE_ENCRYPTION_ADMIN - 659)) | (1L << (VERSION_TOKEN_ADMIN - 659)) | (1L << (XA_RECOVER_ADMIN - 659)) | (1L << (ARMSCII8 - 659)) | (1L << (ASCII - 659)) | (1L << (BIG5 - 659)) | (1L << (CP1250 - 659)) | (1L << (CP1251 - 659)) | (1L << (CP1256 - 659)) | (1L << (CP1257 - 659)) | (1L << (CP850 - 659)) | (1L << (CP852 - 659)))) != 0) || ((((_la - 723)) & ~0x3f) == 0 && ((1L << (_la - 723)) & ((1L << (CP866 - 723)) | (1L << (CP932 - 723)) | (1L << (DEC8 - 723)) | (1L << (EUCJPMS - 723)) | (1L << (EUCKR - 723)) | (1L << (GB18030 - 723)) | (1L << (GB2312 - 723)) | (1L << (GBK - 723)) | (1L << (GEOSTD8 - 723)) | (1L << (GREEK - 723)) | (1L << (HEBREW - 723)) | (1L << (HP8 - 723)) | (1L << (KEYBCS2 - 723)) | (1L << (KOI8R - 723)) | (1L << (KOI8U - 723)) | (1L << (LATIN1 - 723)) | (1L << (LATIN2 - 723)) | (1L << (LATIN5 - 723)) | (1L << (LATIN7 - 723)) | (1L << (MACCE - 723)) | (1L << (MACROMAN - 723)) | (1L << (SJIS - 723)) | (1L << (SWE7 - 723)) | (1L << (TIS620 - 723)) | (1L << (UCS2 - 723)) | (1L << (UJIS - 723)) | (1L << (UTF16 - 723)) | (1L << (UTF16LE - 723)) | (1L << (UTF32 - 723)) | (1L << (UTF8 - 723)) | (1L << (UTF8MB3 - 723)) | (1L << (UTF8MB4 - 723)) | (1L << (ARCHIVE - 723)) | (1L << (BLACKHOLE - 723)) | (1L << (CSV - 723)) | (1L << (FEDERATED - 723)) | (1L << (INNODB - 723)) | (1L << (MEMORY - 723)) | (1L << (MRG_MYISAM - 723)) | (1L << (MYISAM - 723)) | (1L << (NDB - 723)) | (1L << (NDBCLUSTER - 723)) | (1L << (PERFORMANCE_SCHEMA - 723)) | (1L << (TOKUDB - 723)) | (1L << (REPEATABLE - 723)) | (1L << (COMMITTED - 723)) | (1L << (UNCOMMITTED - 723)) | (1L << (SERIALIZABLE - 723)) | (1L << (GEOMETRYCOLLECTION - 723)) | (1L << (LINESTRING - 723)) | (1L << (MULTILINESTRING - 723)) | (1L << (MULTIPOINT - 723)) | (1L << (MULTIPOLYGON - 723)) | (1L << (POINT - 723)) | (1L << (POLYGON - 723)) | (1L << (ABS - 723)) | (1L << (ACOS - 723)) | (1L << (ADDDATE - 723)) | (1L << (ADDTIME - 723)) | (1L << (AES_DECRYPT - 723)) | (1L << (AES_ENCRYPT - 723)) | (1L << (AREA - 723)))) != 0) || ((((_la - 787)) & ~0x3f) == 0 && ((1L << (_la - 787)) & ((1L << (ASBINARY - 787)) | (1L << (ASIN - 787)) | (1L << (ASTEXT - 787)) | (1L << (ASWKB - 787)) | (1L << (ASWKT - 787)) | (1L << (ASYMMETRIC_DECRYPT - 787)) | (1L << (ASYMMETRIC_DERIVE - 787)) | (1L << (ASYMMETRIC_ENCRYPT - 787)) | (1L << (ASYMMETRIC_SIGN - 787)) | (1L << (ASYMMETRIC_VERIFY - 787)) | (1L << (ATAN - 787)) | (1L << (ATAN2 - 787)) | (1L << (BENCHMARK - 787)) | (1L << (BIN - 787)) | (1L << (BIT_COUNT - 787)) | (1L << (BIT_LENGTH - 787)) | (1L << (BUFFER - 787)) | (1L << (CATALOG_NAME - 787)) | (1L << (CEIL - 787)) | (1L << (CEILING - 787)) | (1L << (CENTROID - 787)) | (1L << (CHARACTER_LENGTH - 787)) | (1L << (CHARSET - 787)) | (1L << (CHAR_LENGTH - 787)) | (1L << (COERCIBILITY - 787)) | (1L << (COLLATION - 787)) | (1L << (COMPRESS - 787)) | (1L << (CONCAT - 787)) | (1L << (CONCAT_WS - 787)) | (1L << (CONNECTION_ID - 787)) | (1L << (CONV - 787)) | (1L << (CONVERT_TZ - 787)) | (1L << (COS - 787)) | (1L << (COT - 787)) | (1L << (CRC32 - 787)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 787)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 787)) | (1L << (CREATE_DH_PARAMETERS - 787)) | (1L << (CREATE_DIGEST - 787)) | (1L << (CROSSES - 787)) | (1L << (DATEDIFF - 787)) | (1L << (DATE_FORMAT - 787)) | (1L << (DAYNAME - 787)) | (1L << (DAYOFMONTH - 787)) | (1L << (DAYOFWEEK - 787)) | (1L << (DAYOFYEAR - 787)) | (1L << (DECODE - 787)) | (1L << (DEGREES - 787)) | (1L << (DES_DECRYPT - 787)) | (1L << (DES_ENCRYPT - 787)) | (1L << (DIMENSION - 787)) | (1L << (DISJOINT - 787)) | (1L << (ELT - 787)) | (1L << (ENCODE - 787)) | (1L << (ENCRYPT - 787)) | (1L << (ENDPOINT - 787)) | (1L << (ENGINE_ATTRIBUTE - 787)) | (1L << (ENVELOPE - 787)) | (1L << (EQUALS - 787)) | (1L << (EXP - 787)) | (1L << (EXPORT_SET - 787)) | (1L << (EXTERIORRING - 787)) | (1L << (EXTRACTVALUE - 787)) | (1L << (FIELD - 787)))) != 0) || ((((_la - 851)) & ~0x3f) == 0 && ((1L << (_la - 851)) & ((1L << (FIND_IN_SET - 851)) | (1L << (FLOOR - 851)) | (1L << (FORMAT - 851)) | (1L << (FOUND_ROWS - 851)) | (1L << (FROM_BASE64 - 851)) | (1L << (FROM_DAYS - 851)) | (1L << (FROM_UNIXTIME - 851)) | (1L << (GEOMCOLLFROMTEXT - 851)) | (1L << (GEOMCOLLFROMWKB - 851)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 851)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 851)) | (1L << (GEOMETRYFROMTEXT - 851)) | (1L << (GEOMETRYFROMWKB - 851)) | (1L << (GEOMETRYN - 851)) | (1L << (GEOMETRYTYPE - 851)) | (1L << (GEOMFROMTEXT - 851)) | (1L << (GEOMFROMWKB - 851)) | (1L << (GET_FORMAT - 851)) | (1L << (GET_LOCK - 851)) | (1L << (GLENGTH - 851)) | (1L << (GREATEST - 851)) | (1L << (GTID_SUBSET - 851)) | (1L << (GTID_SUBTRACT - 851)) | (1L << (HEX - 851)) | (1L << (IFNULL - 851)) | (1L << (INET6_ATON - 851)) | (1L << (INET6_NTOA - 851)) | (1L << (INET_ATON - 851)) | (1L << (INET_NTOA - 851)) | (1L << (INSTR - 851)) | (1L << (INTERIORRINGN - 851)) | (1L << (INTERSECTS - 851)) | (1L << (ISCLOSED - 851)) | (1L << (ISEMPTY - 851)) | (1L << (ISNULL - 851)) | (1L << (ISSIMPLE - 851)) | (1L << (IS_FREE_LOCK - 851)) | (1L << (IS_IPV4 - 851)) | (1L << (IS_IPV4_COMPAT - 851)) | (1L << (IS_IPV4_MAPPED - 851)) | (1L << (IS_IPV6 - 851)) | (1L << (IS_USED_LOCK - 851)) | (1L << (LAST_INSERT_ID - 851)) | (1L << (LCASE - 851)) | (1L << (LEAST - 851)) | (1L << (LENGTH - 851)) | (1L << (LINEFROMTEXT - 851)) | (1L << (LINEFROMWKB - 851)) | (1L << (LINESTRINGFROMTEXT - 851)) | (1L << (LINESTRINGFROMWKB - 851)) | (1L << (LN - 851)) | (1L << (LOAD_FILE - 851)) | (1L << (LOCATE - 851)) | (1L << (LOG - 851)) | (1L << (LOG10 - 851)) | (1L << (LOG2 - 851)) | (1L << (LOWER - 851)) | (1L << (LPAD - 851)) | (1L << (LTRIM - 851)) | (1L << (MAKEDATE - 851)) | (1L << (MAKETIME - 851)) | (1L << (MAKE_SET - 851)) | (1L << (MASTER_POS_WAIT - 851)) | (1L << (MBRCONTAINS - 851)))) != 0) || ((((_la - 915)) & ~0x3f) == 0 && ((1L << (_la - 915)) & ((1L << (MBRDISJOINT - 915)) | (1L << (MBREQUAL - 915)) | (1L << (MBRINTERSECTS - 915)) | (1L << (MBROVERLAPS - 915)) | (1L << (MBRTOUCHES - 915)) | (1L << (MBRWITHIN - 915)) | (1L << (MD5 - 915)) | (1L << (MLINEFROMTEXT - 915)) | (1L << (MLINEFROMWKB - 915)) | (1L << (MONTHNAME - 915)) | (1L << (MPOINTFROMTEXT - 915)) | (1L << (MPOINTFROMWKB - 915)) | (1L << (MPOLYFROMTEXT - 915)) | (1L << (MPOLYFROMWKB - 915)) | (1L << (MULTILINESTRINGFROMTEXT - 915)) | (1L << (MULTILINESTRINGFROMWKB - 915)) | (1L << (MULTIPOINTFROMTEXT - 915)) | (1L << (MULTIPOINTFROMWKB - 915)) | (1L << (MULTIPOLYGONFROMTEXT - 915)) | (1L << (MULTIPOLYGONFROMWKB - 915)) | (1L << (NAME_CONST - 915)) | (1L << (NULLIF - 915)) | (1L << (NUMGEOMETRIES - 915)) | (1L << (NUMINTERIORRINGS - 915)) | (1L << (NUMPOINTS - 915)) | (1L << (OCT - 915)) | (1L << (OCTET_LENGTH - 915)) | (1L << (ORD - 915)) | (1L << (OVERLAPS - 915)) | (1L << (PERIOD_ADD - 915)) | (1L << (PERIOD_DIFF - 915)) | (1L << (PI - 915)) | (1L << (POINTFROMTEXT - 915)) | (1L << (POINTFROMWKB - 915)) | (1L << (POINTN - 915)) | (1L << (POLYFROMTEXT - 915)) | (1L << (POLYFROMWKB - 915)) | (1L << (POLYGONFROMTEXT - 915)) | (1L << (POLYGONFROMWKB - 915)) | (1L << (POW - 915)) | (1L << (POWER - 915)) | (1L << (QUOTE - 915)) | (1L << (RADIANS - 915)) | (1L << (RAND - 915)) | (1L << (RANDOM_BYTES - 915)) | (1L << (RELEASE_LOCK - 915)) | (1L << (REVERSE - 915)) | (1L << (ROUND - 915)) | (1L << (ROW_COUNT - 915)) | (1L << (RPAD - 915)) | (1L << (RTRIM - 915)) | (1L << (SEC_TO_TIME - 915)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 915)) | (1L << (SESSION_USER - 915)) | (1L << (SHA - 915)) | (1L << (SHA1 - 915)) | (1L << (SHA2 - 915)) | (1L << (SCHEMA_NAME - 915)) | (1L << (SIGN - 915)) | (1L << (SIN - 915)) | (1L << (SLEEP - 915)) | (1L << (SOUNDEX - 915)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 915)) | (1L << (SQRT - 915)))) != 0) || ((((_la - 979)) & ~0x3f) == 0 && ((1L << (_la - 979)) & ((1L << (SRID - 979)) | (1L << (STARTPOINT - 979)) | (1L << (STRCMP - 979)) | (1L << (STR_TO_DATE - 979)) | (1L << (ST_AREA - 979)) | (1L << (ST_ASBINARY - 979)) | (1L << (ST_ASTEXT - 979)) | (1L << (ST_ASWKB - 979)) | (1L << (ST_ASWKT - 979)) | (1L << (ST_BUFFER - 979)) | (1L << (ST_CENTROID - 979)) | (1L << (ST_CONTAINS - 979)) | (1L << (ST_CROSSES - 979)) | (1L << (ST_DIFFERENCE - 979)) | (1L << (ST_DIMENSION - 979)) | (1L << (ST_DISJOINT - 979)) | (1L << (ST_DISTANCE - 979)) | (1L << (ST_ENDPOINT - 979)) | (1L << (ST_ENVELOPE - 979)) | (1L << (ST_EQUALS - 979)) | (1L << (ST_EXTERIORRING - 979)) | (1L << (ST_GEOMCOLLFROMTEXT - 979)) | (1L << (ST_GEOMCOLLFROMTXT - 979)) | (1L << (ST_GEOMCOLLFROMWKB - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 979)) | (1L << (ST_GEOMETRYFROMTEXT - 979)) | (1L << (ST_GEOMETRYFROMWKB - 979)) | (1L << (ST_GEOMETRYN - 979)) | (1L << (ST_GEOMETRYTYPE - 979)) | (1L << (ST_GEOMFROMTEXT - 979)) | (1L << (ST_GEOMFROMWKB - 979)) | (1L << (ST_INTERIORRINGN - 979)) | (1L << (ST_INTERSECTION - 979)) | (1L << (ST_INTERSECTS - 979)) | (1L << (ST_ISCLOSED - 979)) | (1L << (ST_ISEMPTY - 979)) | (1L << (ST_ISSIMPLE - 979)) | (1L << (ST_LINEFROMTEXT - 979)) | (1L << (ST_LINEFROMWKB - 979)) | (1L << (ST_LINESTRINGFROMTEXT - 979)) | (1L << (ST_LINESTRINGFROMWKB - 979)) | (1L << (ST_NUMGEOMETRIES - 979)) | (1L << (ST_NUMINTERIORRING - 979)) | (1L << (ST_NUMINTERIORRINGS - 979)) | (1L << (ST_NUMPOINTS - 979)) | (1L << (ST_OVERLAPS - 979)) | (1L << (ST_POINTFROMTEXT - 979)) | (1L << (ST_POINTFROMWKB - 979)) | (1L << (ST_POINTN - 979)) | (1L << (ST_POLYFROMTEXT - 979)) | (1L << (ST_POLYFROMWKB - 979)) | (1L << (ST_POLYGONFROMTEXT - 979)) | (1L << (ST_POLYGONFROMWKB - 979)) | (1L << (ST_SRID - 979)) | (1L << (ST_STARTPOINT - 979)) | (1L << (ST_SYMDIFFERENCE - 979)) | (1L << (ST_TOUCHES - 979)) | (1L << (ST_UNION - 979)) | (1L << (ST_WITHIN - 979)) | (1L << (ST_X - 979)) | (1L << (ST_Y - 979)) | (1L << (SUBDATE - 979)) | (1L << (SUBSTRING_INDEX - 979)))) != 0) || ((((_la - 1043)) & ~0x3f) == 0 && ((1L << (_la - 1043)) & ((1L << (SUBTIME - 1043)) | (1L << (SYSTEM_USER - 1043)) | (1L << (TAN - 1043)) | (1L << (TIMEDIFF - 1043)) | (1L << (TIMESTAMPADD - 1043)) | (1L << (TIMESTAMPDIFF - 1043)) | (1L << (TIME_FORMAT - 1043)) | (1L << (TIME_TO_SEC - 1043)) | (1L << (TOUCHES - 1043)) | (1L << (TO_BASE64 - 1043)) | (1L << (TO_DAYS - 1043)) | (1L << (TO_SECONDS - 1043)) | (1L << (UCASE - 1043)) | (1L << (UNCOMPRESS - 1043)) | (1L << (UNCOMPRESSED_LENGTH - 1043)) | (1L << (UNHEX - 1043)) | (1L << (UNIX_TIMESTAMP - 1043)) | (1L << (UPDATEXML - 1043)) | (1L << (UPPER - 1043)) | (1L << (UUID - 1043)) | (1L << (UUID_SHORT - 1043)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1043)) | (1L << (VERSION - 1043)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1043)) | (1L << (WEEKDAY - 1043)) | (1L << (WEEKOFYEAR - 1043)) | (1L << (WEIGHT_STRING - 1043)) | (1L << (WITHIN - 1043)) | (1L << (YEARWEEK - 1043)) | (1L << (Y_FUNCTION - 1043)) | (1L << (X_FUNCTION - 1043)) | (1L << (VIA - 1043)) | (1L << (LASTVAL - 1043)) | (1L << (NEXTVAL - 1043)) | (1L << (SETVAL - 1043)) | (1L << (PREVIOUS - 1043)) | (1L << (PERSISTENT - 1043)) | (1L << (BINLOG_MONITOR - 1043)) | (1L << (BINLOG_REPLAY - 1043)) | (1L << (FEDERATED_ADMIN - 1043)) | (1L << (READ_ONLY_ADMIN - 1043)) | (1L << (REPLICA - 1043)) | (1L << (REPLICATION_MASTER_ADMIN - 1043)) | (1L << (MOD - 1043)))) != 0) || ((((_la - 1123)) & ~0x3f) == 0 && ((1L << (_la - 1123)) & ((1L << (CHARSET_REVERSE_QOUTE_STRING - 1123)) | (1L << (STRING_LITERAL - 1123)) | (1L << (ID - 1123)) | (1L << (REVERSE_QUOTE_ID - 1123)) | (1L << (ENCRYPTED - 1123)) | (1L << (ENCRYPTION_KEY_ID - 1123)))) != 0)) {
{
setState(1678);
((ForeignKeyTableConstraintContext)_localctx).name = uid();
}
}
}
}
setState(1683);
match(FOREIGN);
setState(1684);
match(KEY);
setState(1686);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 34)) & ~0x3f) == 0 && ((1L << (_la - 34)) & ((1L << (CURRENT - 34)) | (1L << (DATABASE - 34)) | (1L << (DIAGNOSTICS - 34)) | (1L << (EXCEPT - 34)) | (1L << (GROUP - 34)) | (1L << (IGNORED - 34)) | (1L << (LEFT - 34)))) != 0) || ((((_la - 114)) & ~0x3f) == 0 && ((1L << (_la - 114)) & ((1L << (NUMBER - 114)) | (1L << (OPTIONAL - 114)) | (1L << (ORDER - 114)) | (1L << (RIGHT - 114)) | (1L << (SCHEMA - 114)) | (1L << (STACKED - 114)))) != 0) || ((((_la - 211)) & ~0x3f) == 0 && ((1L << (_la - 211)) & ((1L << (DATE - 211)) | (1L << (TIME - 211)) | (1L << (TIMESTAMP - 211)) | (1L << (DATETIME - 211)) | (1L << (YEAR - 211)) | (1L << (BINARY - 211)) | (1L << (TEXT - 211)) | (1L << (ENUM - 211)) | (1L << (SERIAL - 211)) | (1L << (JSON_ARRAY - 211)) | (1L << (JSON_OBJECT - 211)) | (1L << (JSON_QUOTE - 211)) | (1L << (JSON_CONTAINS - 211)) | (1L << (JSON_CONTAINS_PATH - 211)) | (1L << (JSON_EXTRACT - 211)) | (1L << (JSON_KEYS - 211)) | (1L << (JSON_OVERLAPS - 211)) | (1L << (JSON_SEARCH - 211)) | (1L << (JSON_VALUE - 211)) | (1L << (JSON_ARRAY_APPEND - 211)) | (1L << (JSON_ARRAY_INSERT - 211)) | (1L << (JSON_INSERT - 211)) | (1L << (JSON_MERGE - 211)) | (1L << (JSON_MERGE_PATCH - 211)) | (1L << (JSON_MERGE_PRESERVE - 211)) | (1L << (JSON_REMOVE - 211)) | (1L << (JSON_REPLACE - 211)) | (1L << (JSON_SET - 211)) | (1L << (JSON_UNQUOTE - 211)) | (1L << (JSON_DEPTH - 211)) | (1L << (JSON_LENGTH - 211)) | (1L << (JSON_TYPE - 211)) | (1L << (JSON_VALID - 211)) | (1L << (JSON_TABLE - 211)) | (1L << (JSON_SCHEMA_VALID - 211)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 211)) | (1L << (JSON_PRETTY - 211)) | (1L << (JSON_STORAGE_FREE - 211)) | (1L << (JSON_STORAGE_SIZE - 211)))) != 0) || ((((_la - 275)) & ~0x3f) == 0 && ((1L << (_la - 275)) & ((1L << (JSON_ARRAYAGG - 275)) | (1L << (JSON_OBJECTAGG - 275)) | (1L << (AVG - 275)) | (1L << (BIT_AND - 275)) | (1L << (BIT_OR - 275)) | (1L << (BIT_XOR - 275)) | (1L << (COUNT - 275)) | (1L << (CUME_DIST - 275)) | (1L << (DENSE_RANK - 275)) | (1L << (FIRST_VALUE - 275)) | (1L << (GROUP_CONCAT - 275)) | (1L << (LAG - 275)) | (1L << (LAST_VALUE - 275)) | (1L << (LEAD - 275)) | (1L << (MAX - 275)) | (1L << (MIN - 275)) | (1L << (NTILE - 275)) | (1L << (NTH_VALUE - 275)) | (1L << (PERCENT_RANK - 275)) | (1L << (RANK - 275)) | (1L << (ROW_NUMBER - 275)) | (1L << (STD - 275)) | (1L << (STDDEV - 275)) | (1L << (STDDEV_POP - 275)) | (1L << (STDDEV_SAMP - 275)) | (1L << (SUM - 275)) | (1L << (VAR_POP - 275)) | (1L << (VAR_SAMP - 275)) | (1L << (VARIANCE - 275)) | (1L << (POSITION - 275)) | (1L << (ACCOUNT - 275)) | (1L << (ACTION - 275)) | (1L << (AFTER - 275)) | (1L << (AGGREGATE - 275)) | (1L << (ALGORITHM - 275)) | (1L << (ANY - 275)) | (1L << (AT - 275)) | (1L << (AUTHORS - 275)) | (1L << (AUTOCOMMIT - 275)) | (1L << (AUTOEXTEND_SIZE - 275)) | (1L << (AUTO_INCREMENT - 275)) | (1L << (AVG_ROW_LENGTH - 275)) | (1L << (BEGIN - 275)) | (1L << (BINLOG - 275)) | (1L << (BIT - 275)) | (1L << (BLOCK - 275)))) != 0) || ((((_la - 339)) & ~0x3f) == 0 && ((1L << (_la - 339)) & ((1L << (BOOL - 339)) | (1L << (BOOLEAN - 339)) | (1L << (BTREE - 339)) | (1L << (CACHE - 339)) | (1L << (CASCADED - 339)) | (1L << (CHAIN - 339)) | (1L << (CHANGED - 339)) | (1L << (CHANNEL - 339)) | (1L << (CHECKSUM - 339)) | (1L << (PAGE_CHECKSUM - 339)) | (1L << (CIPHER - 339)) | (1L << (CLASS_ORIGIN - 339)) | (1L << (CLIENT - 339)) | (1L << (CLOSE - 339)) | (1L << (CLUSTERING - 339)) | (1L << (COALESCE - 339)) | (1L << (CODE - 339)) | (1L << (COLUMNS - 339)) | (1L << (COLUMN_FORMAT - 339)) | (1L << (COLUMN_NAME - 339)) | (1L << (COMMENT - 339)) | (1L << (COMMIT - 339)) | (1L << (COMPACT - 339)) | (1L << (COMPLETION - 339)) | (1L << (COMPRESSED - 339)) | (1L << (COMPRESSION - 339)) | (1L << (CONCURRENT - 339)) | (1L << (CONNECT - 339)) | (1L << (CONNECTION - 339)) | (1L << (CONSISTENT - 339)) | (1L << (CONSTRAINT_CATALOG - 339)) | (1L << (CONSTRAINT_SCHEMA - 339)) | (1L << (CONSTRAINT_NAME - 339)) | (1L << (CONTAINS - 339)) | (1L << (CONTEXT - 339)) | (1L << (CONTRIBUTORS - 339)) | (1L << (COPY - 339)) | (1L << (CPU - 339)) | (1L << (CURSOR_NAME - 339)) | (1L << (DATA - 339)) | (1L << (DATAFILE - 339)) | (1L << (DEALLOCATE - 339)) | (1L << (DEFAULT_AUTH - 339)) | (1L << (DEFINER - 339)) | (1L << (DELAY_KEY_WRITE - 339)) | (1L << (DES_KEY_FILE - 339)) | (1L << (DIRECTORY - 339)) | (1L << (DISABLE - 339)) | (1L << (DISCARD - 339)) | (1L << (DISK - 339)) | (1L << (DO - 339)) | (1L << (DUMPFILE - 339)) | (1L << (DUPLICATE - 339)) | (1L << (DYNAMIC - 339)) | (1L << (ENABLE - 339)) | (1L << (ENCRYPTION - 339)) | (1L << (END - 339)) | (1L << (ENDS - 339)) | (1L << (ENGINE - 339)) | (1L << (ENGINES - 339)) | (1L << (ERROR - 339)) | (1L << (ERRORS - 339)) | (1L << (ESCAPE - 339)) | (1L << (EVEN - 339)))) != 0) || ((((_la - 403)) & ~0x3f) == 0 && ((1L << (_la - 403)) & ((1L << (EVENT - 403)) | (1L << (EVENTS - 403)) | (1L << (EVERY - 403)) | (1L << (EXCHANGE - 403)) | (1L << (EXCLUSIVE - 403)) | (1L << (EXPIRE - 403)) | (1L << (EXPORT - 403)) | (1L << (EXTENDED - 403)) | (1L << (EXTENT_SIZE - 403)) | (1L << (FAST - 403)) | (1L << (FAULTS - 403)) | (1L << (FIELDS - 403)) | (1L << (FILE_BLOCK_SIZE - 403)) | (1L << (FILTER - 403)) | (1L << (FIRST - 403)) | (1L << (FIXED - 403)) | (1L << (FLUSH - 403)) | (1L << (FOLLOWS - 403)) | (1L << (FOUND - 403)) | (1L << (FULL - 403)) | (1L << (FUNCTION - 403)) | (1L << (GENERAL - 403)) | (1L << (GLOBAL - 403)) | (1L << (GRANTS - 403)) | (1L << (GROUP_REPLICATION - 403)) | (1L << (HANDLER - 403)) | (1L << (HASH - 403)) | (1L << (HELP - 403)) | (1L << (HOST - 403)) | (1L << (HOSTS - 403)) | (1L << (IDENTIFIED - 403)) | (1L << (IGNORE_SERVER_IDS - 403)) | (1L << (IMPORT - 403)) | (1L << (INDEXES - 403)) | (1L << (INITIAL_SIZE - 403)) | (1L << (INPLACE - 403)) | (1L << (INSERT_METHOD - 403)) | (1L << (INSTALL - 403)) | (1L << (INSTANCE - 403)) | (1L << (INSTANT - 403)) | (1L << (INVISIBLE - 403)) | (1L << (INVOKER - 403)) | (1L << (IO - 403)) | (1L << (IO_THREAD - 403)) | (1L << (IPC - 403)) | (1L << (ISOLATION - 403)) | (1L << (ISSUER - 403)) | (1L << (JSON - 403)) | (1L << (KEY_BLOCK_SIZE - 403)) | (1L << (LANGUAGE - 403)) | (1L << (LAST - 403)) | (1L << (LEAVES - 403)) | (1L << (LESS - 403)) | (1L << (LEVEL - 403)) | (1L << (LIST - 403)) | (1L << (LOCAL - 403)) | (1L << (LOGFILE - 403)) | (1L << (LOGS - 403)) | (1L << (MASTER - 403)) | (1L << (MASTER_AUTO_POSITION - 403)) | (1L << (MASTER_CONNECT_RETRY - 403)) | (1L << (MASTER_DELAY - 403)) | (1L << (MASTER_HEARTBEAT_PERIOD - 403)))) != 0) || ((((_la - 467)) & ~0x3f) == 0 && ((1L << (_la - 467)) & ((1L << (MASTER_HOST - 467)) | (1L << (MASTER_LOG_FILE - 467)) | (1L << (MASTER_LOG_POS - 467)) | (1L << (MASTER_PASSWORD - 467)) | (1L << (MASTER_PORT - 467)) | (1L << (MASTER_RETRY_COUNT - 467)) | (1L << (MASTER_SSL - 467)) | (1L << (MASTER_SSL_CA - 467)) | (1L << (MASTER_SSL_CAPATH - 467)) | (1L << (MASTER_SSL_CERT - 467)) | (1L << (MASTER_SSL_CIPHER - 467)) | (1L << (MASTER_SSL_CRL - 467)) | (1L << (MASTER_SSL_CRLPATH - 467)) | (1L << (MASTER_SSL_KEY - 467)) | (1L << (MASTER_TLS_VERSION - 467)) | (1L << (MASTER_USER - 467)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 467)) | (1L << (MAX_QUERIES_PER_HOUR - 467)) | (1L << (MAX_ROWS - 467)) | (1L << (MAX_SIZE - 467)) | (1L << (MAX_UPDATES_PER_HOUR - 467)) | (1L << (MAX_USER_CONNECTIONS - 467)) | (1L << (MEDIUM - 467)) | (1L << (MEMBER - 467)) | (1L << (MERGE - 467)) | (1L << (MESSAGE_TEXT - 467)) | (1L << (MID - 467)) | (1L << (MIGRATE - 467)) | (1L << (MIN_ROWS - 467)) | (1L << (MODE - 467)) | (1L << (MODIFY - 467)) | (1L << (MUTEX - 467)) | (1L << (MYSQL - 467)) | (1L << (MYSQL_ERRNO - 467)) | (1L << (NAME - 467)) | (1L << (NAMES - 467)) | (1L << (NCHAR - 467)) | (1L << (NEVER - 467)) | (1L << (NEXT - 467)) | (1L << (NO - 467)) | (1L << (NOCOPY - 467)) | (1L << (NOWAIT - 467)) | (1L << (NODEGROUP - 467)) | (1L << (NONE - 467)) | (1L << (ODBC - 467)) | (1L << (OFFLINE - 467)) | (1L << (OFFSET - 467)) | (1L << (OF - 467)) | (1L << (OJ - 467)) | (1L << (OLD_PASSWORD - 467)) | (1L << (ONE - 467)) | (1L << (ONLINE - 467)) | (1L << (ONLY - 467)) | (1L << (OPEN - 467)) | (1L << (OPTIMIZER_COSTS - 467)) | (1L << (OPTIONS - 467)) | (1L << (OWNER - 467)) | (1L << (PACK_KEYS - 467)) | (1L << (PAGE - 467)) | (1L << (PARSER - 467)) | (1L << (PARTIAL - 467)) | (1L << (PARTITIONING - 467)) | (1L << (PARTITIONS - 467)) | (1L << (PASSWORD - 467)))) != 0) || ((((_la - 531)) & ~0x3f) == 0 && ((1L << (_la - 531)) & ((1L << (PHASE - 531)) | (1L << (PLUGIN - 531)) | (1L << (PLUGIN_DIR - 531)) | (1L << (PLUGINS - 531)) | (1L << (PORT - 531)) | (1L << (PRECEDES - 531)) | (1L << (PREPARE - 531)) | (1L << (PRESERVE - 531)) | (1L << (PREV - 531)) | (1L << (PROCESSLIST - 531)) | (1L << (PROFILE - 531)) | (1L << (PROFILES - 531)) | (1L << (PROXY - 531)) | (1L << (QUERY - 531)) | (1L << (QUICK - 531)) | (1L << (REBUILD - 531)) | (1L << (RECOVER - 531)) | (1L << (RECURSIVE - 531)) | (1L << (REDO_BUFFER_SIZE - 531)) | (1L << (REDUNDANT - 531)) | (1L << (RELAY - 531)) | (1L << (RELAY_LOG_FILE - 531)) | (1L << (RELAY_LOG_POS - 531)) | (1L << (RELAYLOG - 531)) | (1L << (REMOVE - 531)) | (1L << (REORGANIZE - 531)) | (1L << (REPAIR - 531)) | (1L << (REPLICATE_DO_DB - 531)) | (1L << (REPLICATE_DO_TABLE - 531)) | (1L << (REPLICATE_IGNORE_DB - 531)) | (1L << (REPLICATE_IGNORE_TABLE - 531)) | (1L << (REPLICATE_REWRITE_DB - 531)) | (1L << (REPLICATE_WILD_DO_TABLE - 531)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 531)) | (1L << (REPLICATION - 531)) | (1L << (RESET - 531)) | (1L << (RESUME - 531)) | (1L << (RETURNED_SQLSTATE - 531)) | (1L << (RETURNS - 531)) | (1L << (ROLE - 531)) | (1L << (ROLLBACK - 531)) | (1L << (ROLLUP - 531)) | (1L << (ROTATE - 531)) | (1L << (ROW - 531)) | (1L << (ROWS - 531)) | (1L << (ROW_FORMAT - 531)) | (1L << (RTREE - 531)) | (1L << (SAVEPOINT - 531)) | (1L << (SCHEDULE - 531)) | (1L << (SECURITY - 531)) | (1L << (SERVER - 531)) | (1L << (SESSION - 531)) | (1L << (SHARE - 531)) | (1L << (SHARED - 531)) | (1L << (SIGNED - 531)) | (1L << (SIMPLE - 531)) | (1L << (SLAVE - 531)) | (1L << (SLOW - 531)) | (1L << (SNAPSHOT - 531)) | (1L << (SOCKET - 531)) | (1L << (SOME - 531)) | (1L << (SONAME - 531)))) != 0) || ((((_la - 595)) & ~0x3f) == 0 && ((1L << (_la - 595)) & ((1L << (SOUNDS - 595)) | (1L << (SOURCE - 595)) | (1L << (SQL_AFTER_GTIDS - 595)) | (1L << (SQL_AFTER_MTS_GAPS - 595)) | (1L << (SQL_BEFORE_GTIDS - 595)) | (1L << (SQL_BUFFER_RESULT - 595)) | (1L << (SQL_CACHE - 595)) | (1L << (SQL_NO_CACHE - 595)) | (1L << (SQL_THREAD - 595)) | (1L << (START - 595)) | (1L << (STARTS - 595)) | (1L << (STATS_AUTO_RECALC - 595)) | (1L << (STATS_PERSISTENT - 595)) | (1L << (STATS_SAMPLE_PAGES - 595)) | (1L << (STATUS - 595)) | (1L << (STOP - 595)) | (1L << (STORAGE - 595)) | (1L << (STRING - 595)) | (1L << (SUBCLASS_ORIGIN - 595)) | (1L << (SUBJECT - 595)) | (1L << (SUBPARTITION - 595)) | (1L << (SUBPARTITIONS - 595)) | (1L << (SUSPEND - 595)) | (1L << (SWAPS - 595)) | (1L << (SWITCHES - 595)) | (1L << (TABLE_NAME - 595)) | (1L << (TABLESPACE - 595)) | (1L << (TEMPORARY - 595)) | (1L << (TEMPTABLE - 595)) | (1L << (THAN - 595)) | (1L << (TRADITIONAL - 595)) | (1L << (TRANSACTION - 595)) | (1L << (TRANSACTIONAL - 595)) | (1L << (TRIGGERS - 595)) | (1L << (TRUNCATE - 595)) | (1L << (UNDEFINED - 595)) | (1L << (UNDOFILE - 595)) | (1L << (UNDO_BUFFER_SIZE - 595)) | (1L << (UNINSTALL - 595)) | (1L << (UNKNOWN - 595)) | (1L << (UNTIL - 595)) | (1L << (UPGRADE - 595)) | (1L << (USER - 595)) | (1L << (USE_FRM - 595)) | (1L << (USER_RESOURCES - 595)) | (1L << (VALIDATION - 595)) | (1L << (VALUE - 595)) | (1L << (VARIABLES - 595)) | (1L << (VIEW - 595)) | (1L << (VISIBLE - 595)) | (1L << (WAIT - 595)) | (1L << (WARNINGS - 595)) | (1L << (WITHOUT - 595)) | (1L << (WORK - 595)) | (1L << (WRAPPER - 595)) | (1L << (X509 - 595)) | (1L << (XA - 595)) | (1L << (XML - 595)))) != 0) || ((((_la - 659)) & ~0x3f) == 0 && ((1L << (_la - 659)) & ((1L << (EUR - 659)) | (1L << (USA - 659)) | (1L << (JIS - 659)) | (1L << (ISO - 659)) | (1L << (INTERNAL - 659)) | (1L << (QUARTER - 659)) | (1L << (MONTH - 659)) | (1L << (DAY - 659)) | (1L << (HOUR - 659)) | (1L << (MINUTE - 659)) | (1L << (WEEK - 659)) | (1L << (SECOND - 659)) | (1L << (MICROSECOND - 659)) | (1L << (TABLES - 659)) | (1L << (ROUTINE - 659)) | (1L << (EXECUTE - 659)) | (1L << (FILE - 659)) | (1L << (PROCESS - 659)) | (1L << (RELOAD - 659)) | (1L << (SHUTDOWN - 659)) | (1L << (SUPER - 659)) | (1L << (PRIVILEGES - 659)) | (1L << (AUDIT_ADMIN - 659)) | (1L << (BACKUP_ADMIN - 659)) | (1L << (BINLOG_ADMIN - 659)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 659)) | (1L << (CLONE_ADMIN - 659)) | (1L << (CONNECTION_ADMIN - 659)) | (1L << (ENCRYPTION_KEY_ADMIN - 659)) | (1L << (FIREWALL_ADMIN - 659)) | (1L << (FIREWALL_USER - 659)) | (1L << (ADMIN - 659)) | (1L << (GROUP_REPLICATION_ADMIN - 659)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 659)) | (1L << (NDB_STORED_USER - 659)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 659)) | (1L << (REPLICATION_APPLIER - 659)) | (1L << (REPLICATION_SLAVE_ADMIN - 659)) | (1L << (RESOURCE_GROUP_ADMIN - 659)) | (1L << (RESOURCE_GROUP_USER - 659)) | (1L << (ROLE_ADMIN - 659)) | (1L << (SESSION_VARIABLES_ADMIN - 659)) | (1L << (SET_USER_ID - 659)) | (1L << (SHOW_ROUTINE - 659)) | (1L << (SYSTEM_VARIABLES_ADMIN - 659)) | (1L << (TABLE_ENCRYPTION_ADMIN - 659)) | (1L << (VERSION_TOKEN_ADMIN - 659)) | (1L << (XA_RECOVER_ADMIN - 659)) | (1L << (ARMSCII8 - 659)) | (1L << (ASCII - 659)) | (1L << (BIG5 - 659)) | (1L << (CP1250 - 659)) | (1L << (CP1251 - 659)) | (1L << (CP1256 - 659)) | (1L << (CP1257 - 659)) | (1L << (CP850 - 659)) | (1L << (CP852 - 659)))) != 0) || ((((_la - 723)) & ~0x3f) == 0 && ((1L << (_la - 723)) & ((1L << (CP866 - 723)) | (1L << (CP932 - 723)) | (1L << (DEC8 - 723)) | (1L << (EUCJPMS - 723)) | (1L << (EUCKR - 723)) | (1L << (GB18030 - 723)) | (1L << (GB2312 - 723)) | (1L << (GBK - 723)) | (1L << (GEOSTD8 - 723)) | (1L << (GREEK - 723)) | (1L << (HEBREW - 723)) | (1L << (HP8 - 723)) | (1L << (KEYBCS2 - 723)) | (1L << (KOI8R - 723)) | (1L << (KOI8U - 723)) | (1L << (LATIN1 - 723)) | (1L << (LATIN2 - 723)) | (1L << (LATIN5 - 723)) | (1L << (LATIN7 - 723)) | (1L << (MACCE - 723)) | (1L << (MACROMAN - 723)) | (1L << (SJIS - 723)) | (1L << (SWE7 - 723)) | (1L << (TIS620 - 723)) | (1L << (UCS2 - 723)) | (1L << (UJIS - 723)) | (1L << (UTF16 - 723)) | (1L << (UTF16LE - 723)) | (1L << (UTF32 - 723)) | (1L << (UTF8 - 723)) | (1L << (UTF8MB3 - 723)) | (1L << (UTF8MB4 - 723)) | (1L << (ARCHIVE - 723)) | (1L << (BLACKHOLE - 723)) | (1L << (CSV - 723)) | (1L << (FEDERATED - 723)) | (1L << (INNODB - 723)) | (1L << (MEMORY - 723)) | (1L << (MRG_MYISAM - 723)) | (1L << (MYISAM - 723)) | (1L << (NDB - 723)) | (1L << (NDBCLUSTER - 723)) | (1L << (PERFORMANCE_SCHEMA - 723)) | (1L << (TOKUDB - 723)) | (1L << (REPEATABLE - 723)) | (1L << (COMMITTED - 723)) | (1L << (UNCOMMITTED - 723)) | (1L << (SERIALIZABLE - 723)) | (1L << (GEOMETRYCOLLECTION - 723)) | (1L << (LINESTRING - 723)) | (1L << (MULTILINESTRING - 723)) | (1L << (MULTIPOINT - 723)) | (1L << (MULTIPOLYGON - 723)) | (1L << (POINT - 723)) | (1L << (POLYGON - 723)) | (1L << (ABS - 723)) | (1L << (ACOS - 723)) | (1L << (ADDDATE - 723)) | (1L << (ADDTIME - 723)) | (1L << (AES_DECRYPT - 723)) | (1L << (AES_ENCRYPT - 723)) | (1L << (AREA - 723)))) != 0) || ((((_la - 787)) & ~0x3f) == 0 && ((1L << (_la - 787)) & ((1L << (ASBINARY - 787)) | (1L << (ASIN - 787)) | (1L << (ASTEXT - 787)) | (1L << (ASWKB - 787)) | (1L << (ASWKT - 787)) | (1L << (ASYMMETRIC_DECRYPT - 787)) | (1L << (ASYMMETRIC_DERIVE - 787)) | (1L << (ASYMMETRIC_ENCRYPT - 787)) | (1L << (ASYMMETRIC_SIGN - 787)) | (1L << (ASYMMETRIC_VERIFY - 787)) | (1L << (ATAN - 787)) | (1L << (ATAN2 - 787)) | (1L << (BENCHMARK - 787)) | (1L << (BIN - 787)) | (1L << (BIT_COUNT - 787)) | (1L << (BIT_LENGTH - 787)) | (1L << (BUFFER - 787)) | (1L << (CATALOG_NAME - 787)) | (1L << (CEIL - 787)) | (1L << (CEILING - 787)) | (1L << (CENTROID - 787)) | (1L << (CHARACTER_LENGTH - 787)) | (1L << (CHARSET - 787)) | (1L << (CHAR_LENGTH - 787)) | (1L << (COERCIBILITY - 787)) | (1L << (COLLATION - 787)) | (1L << (COMPRESS - 787)) | (1L << (CONCAT - 787)) | (1L << (CONCAT_WS - 787)) | (1L << (CONNECTION_ID - 787)) | (1L << (CONV - 787)) | (1L << (CONVERT_TZ - 787)) | (1L << (COS - 787)) | (1L << (COT - 787)) | (1L << (CRC32 - 787)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 787)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 787)) | (1L << (CREATE_DH_PARAMETERS - 787)) | (1L << (CREATE_DIGEST - 787)) | (1L << (CROSSES - 787)) | (1L << (DATEDIFF - 787)) | (1L << (DATE_FORMAT - 787)) | (1L << (DAYNAME - 787)) | (1L << (DAYOFMONTH - 787)) | (1L << (DAYOFWEEK - 787)) | (1L << (DAYOFYEAR - 787)) | (1L << (DECODE - 787)) | (1L << (DEGREES - 787)) | (1L << (DES_DECRYPT - 787)) | (1L << (DES_ENCRYPT - 787)) | (1L << (DIMENSION - 787)) | (1L << (DISJOINT - 787)) | (1L << (ELT - 787)) | (1L << (ENCODE - 787)) | (1L << (ENCRYPT - 787)) | (1L << (ENDPOINT - 787)) | (1L << (ENGINE_ATTRIBUTE - 787)) | (1L << (ENVELOPE - 787)) | (1L << (EQUALS - 787)) | (1L << (EXP - 787)) | (1L << (EXPORT_SET - 787)) | (1L << (EXTERIORRING - 787)) | (1L << (EXTRACTVALUE - 787)) | (1L << (FIELD - 787)))) != 0) || ((((_la - 851)) & ~0x3f) == 0 && ((1L << (_la - 851)) & ((1L << (FIND_IN_SET - 851)) | (1L << (FLOOR - 851)) | (1L << (FORMAT - 851)) | (1L << (FOUND_ROWS - 851)) | (1L << (FROM_BASE64 - 851)) | (1L << (FROM_DAYS - 851)) | (1L << (FROM_UNIXTIME - 851)) | (1L << (GEOMCOLLFROMTEXT - 851)) | (1L << (GEOMCOLLFROMWKB - 851)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 851)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 851)) | (1L << (GEOMETRYFROMTEXT - 851)) | (1L << (GEOMETRYFROMWKB - 851)) | (1L << (GEOMETRYN - 851)) | (1L << (GEOMETRYTYPE - 851)) | (1L << (GEOMFROMTEXT - 851)) | (1L << (GEOMFROMWKB - 851)) | (1L << (GET_FORMAT - 851)) | (1L << (GET_LOCK - 851)) | (1L << (GLENGTH - 851)) | (1L << (GREATEST - 851)) | (1L << (GTID_SUBSET - 851)) | (1L << (GTID_SUBTRACT - 851)) | (1L << (HEX - 851)) | (1L << (IFNULL - 851)) | (1L << (INET6_ATON - 851)) | (1L << (INET6_NTOA - 851)) | (1L << (INET_ATON - 851)) | (1L << (INET_NTOA - 851)) | (1L << (INSTR - 851)) | (1L << (INTERIORRINGN - 851)) | (1L << (INTERSECTS - 851)) | (1L << (ISCLOSED - 851)) | (1L << (ISEMPTY - 851)) | (1L << (ISNULL - 851)) | (1L << (ISSIMPLE - 851)) | (1L << (IS_FREE_LOCK - 851)) | (1L << (IS_IPV4 - 851)) | (1L << (IS_IPV4_COMPAT - 851)) | (1L << (IS_IPV4_MAPPED - 851)) | (1L << (IS_IPV6 - 851)) | (1L << (IS_USED_LOCK - 851)) | (1L << (LAST_INSERT_ID - 851)) | (1L << (LCASE - 851)) | (1L << (LEAST - 851)) | (1L << (LENGTH - 851)) | (1L << (LINEFROMTEXT - 851)) | (1L << (LINEFROMWKB - 851)) | (1L << (LINESTRINGFROMTEXT - 851)) | (1L << (LINESTRINGFROMWKB - 851)) | (1L << (LN - 851)) | (1L << (LOAD_FILE - 851)) | (1L << (LOCATE - 851)) | (1L << (LOG - 851)) | (1L << (LOG10 - 851)) | (1L << (LOG2 - 851)) | (1L << (LOWER - 851)) | (1L << (LPAD - 851)) | (1L << (LTRIM - 851)) | (1L << (MAKEDATE - 851)) | (1L << (MAKETIME - 851)) | (1L << (MAKE_SET - 851)) | (1L << (MASTER_POS_WAIT - 851)) | (1L << (MBRCONTAINS - 851)))) != 0) || ((((_la - 915)) & ~0x3f) == 0 && ((1L << (_la - 915)) & ((1L << (MBRDISJOINT - 915)) | (1L << (MBREQUAL - 915)) | (1L << (MBRINTERSECTS - 915)) | (1L << (MBROVERLAPS - 915)) | (1L << (MBRTOUCHES - 915)) | (1L << (MBRWITHIN - 915)) | (1L << (MD5 - 915)) | (1L << (MLINEFROMTEXT - 915)) | (1L << (MLINEFROMWKB - 915)) | (1L << (MONTHNAME - 915)) | (1L << (MPOINTFROMTEXT - 915)) | (1L << (MPOINTFROMWKB - 915)) | (1L << (MPOLYFROMTEXT - 915)) | (1L << (MPOLYFROMWKB - 915)) | (1L << (MULTILINESTRINGFROMTEXT - 915)) | (1L << (MULTILINESTRINGFROMWKB - 915)) | (1L << (MULTIPOINTFROMTEXT - 915)) | (1L << (MULTIPOINTFROMWKB - 915)) | (1L << (MULTIPOLYGONFROMTEXT - 915)) | (1L << (MULTIPOLYGONFROMWKB - 915)) | (1L << (NAME_CONST - 915)) | (1L << (NULLIF - 915)) | (1L << (NUMGEOMETRIES - 915)) | (1L << (NUMINTERIORRINGS - 915)) | (1L << (NUMPOINTS - 915)) | (1L << (OCT - 915)) | (1L << (OCTET_LENGTH - 915)) | (1L << (ORD - 915)) | (1L << (OVERLAPS - 915)) | (1L << (PERIOD_ADD - 915)) | (1L << (PERIOD_DIFF - 915)) | (1L << (PI - 915)) | (1L << (POINTFROMTEXT - 915)) | (1L << (POINTFROMWKB - 915)) | (1L << (POINTN - 915)) | (1L << (POLYFROMTEXT - 915)) | (1L << (POLYFROMWKB - 915)) | (1L << (POLYGONFROMTEXT - 915)) | (1L << (POLYGONFROMWKB - 915)) | (1L << (POW - 915)) | (1L << (POWER - 915)) | (1L << (QUOTE - 915)) | (1L << (RADIANS - 915)) | (1L << (RAND - 915)) | (1L << (RANDOM_BYTES - 915)) | (1L << (RELEASE_LOCK - 915)) | (1L << (REVERSE - 915)) | (1L << (ROUND - 915)) | (1L << (ROW_COUNT - 915)) | (1L << (RPAD - 915)) | (1L << (RTRIM - 915)) | (1L << (SEC_TO_TIME - 915)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 915)) | (1L << (SESSION_USER - 915)) | (1L << (SHA - 915)) | (1L << (SHA1 - 915)) | (1L << (SHA2 - 915)) | (1L << (SCHEMA_NAME - 915)) | (1L << (SIGN - 915)) | (1L << (SIN - 915)) | (1L << (SLEEP - 915)) | (1L << (SOUNDEX - 915)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 915)) | (1L << (SQRT - 915)))) != 0) || ((((_la - 979)) & ~0x3f) == 0 && ((1L << (_la - 979)) & ((1L << (SRID - 979)) | (1L << (STARTPOINT - 979)) | (1L << (STRCMP - 979)) | (1L << (STR_TO_DATE - 979)) | (1L << (ST_AREA - 979)) | (1L << (ST_ASBINARY - 979)) | (1L << (ST_ASTEXT - 979)) | (1L << (ST_ASWKB - 979)) | (1L << (ST_ASWKT - 979)) | (1L << (ST_BUFFER - 979)) | (1L << (ST_CENTROID - 979)) | (1L << (ST_CONTAINS - 979)) | (1L << (ST_CROSSES - 979)) | (1L << (ST_DIFFERENCE - 979)) | (1L << (ST_DIMENSION - 979)) | (1L << (ST_DISJOINT - 979)) | (1L << (ST_DISTANCE - 979)) | (1L << (ST_ENDPOINT - 979)) | (1L << (ST_ENVELOPE - 979)) | (1L << (ST_EQUALS - 979)) | (1L << (ST_EXTERIORRING - 979)) | (1L << (ST_GEOMCOLLFROMTEXT - 979)) | (1L << (ST_GEOMCOLLFROMTXT - 979)) | (1L << (ST_GEOMCOLLFROMWKB - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 979)) | (1L << (ST_GEOMETRYFROMTEXT - 979)) | (1L << (ST_GEOMETRYFROMWKB - 979)) | (1L << (ST_GEOMETRYN - 979)) | (1L << (ST_GEOMETRYTYPE - 979)) | (1L << (ST_GEOMFROMTEXT - 979)) | (1L << (ST_GEOMFROMWKB - 979)) | (1L << (ST_INTERIORRINGN - 979)) | (1L << (ST_INTERSECTION - 979)) | (1L << (ST_INTERSECTS - 979)) | (1L << (ST_ISCLOSED - 979)) | (1L << (ST_ISEMPTY - 979)) | (1L << (ST_ISSIMPLE - 979)) | (1L << (ST_LINEFROMTEXT - 979)) | (1L << (ST_LINEFROMWKB - 979)) | (1L << (ST_LINESTRINGFROMTEXT - 979)) | (1L << (ST_LINESTRINGFROMWKB - 979)) | (1L << (ST_NUMGEOMETRIES - 979)) | (1L << (ST_NUMINTERIORRING - 979)) | (1L << (ST_NUMINTERIORRINGS - 979)) | (1L << (ST_NUMPOINTS - 979)) | (1L << (ST_OVERLAPS - 979)) | (1L << (ST_POINTFROMTEXT - 979)) | (1L << (ST_POINTFROMWKB - 979)) | (1L << (ST_POINTN - 979)) | (1L << (ST_POLYFROMTEXT - 979)) | (1L << (ST_POLYFROMWKB - 979)) | (1L << (ST_POLYGONFROMTEXT - 979)) | (1L << (ST_POLYGONFROMWKB - 979)) | (1L << (ST_SRID - 979)) | (1L << (ST_STARTPOINT - 979)) | (1L << (ST_SYMDIFFERENCE - 979)) | (1L << (ST_TOUCHES - 979)) | (1L << (ST_UNION - 979)) | (1L << (ST_WITHIN - 979)) | (1L << (ST_X - 979)) | (1L << (ST_Y - 979)) | (1L << (SUBDATE - 979)) | (1L << (SUBSTRING_INDEX - 979)))) != 0) || ((((_la - 1043)) & ~0x3f) == 0 && ((1L << (_la - 1043)) & ((1L << (SUBTIME - 1043)) | (1L << (SYSTEM_USER - 1043)) | (1L << (TAN - 1043)) | (1L << (TIMEDIFF - 1043)) | (1L << (TIMESTAMPADD - 1043)) | (1L << (TIMESTAMPDIFF - 1043)) | (1L << (TIME_FORMAT - 1043)) | (1L << (TIME_TO_SEC - 1043)) | (1L << (TOUCHES - 1043)) | (1L << (TO_BASE64 - 1043)) | (1L << (TO_DAYS - 1043)) | (1L << (TO_SECONDS - 1043)) | (1L << (UCASE - 1043)) | (1L << (UNCOMPRESS - 1043)) | (1L << (UNCOMPRESSED_LENGTH - 1043)) | (1L << (UNHEX - 1043)) | (1L << (UNIX_TIMESTAMP - 1043)) | (1L << (UPDATEXML - 1043)) | (1L << (UPPER - 1043)) | (1L << (UUID - 1043)) | (1L << (UUID_SHORT - 1043)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1043)) | (1L << (VERSION - 1043)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1043)) | (1L << (WEEKDAY - 1043)) | (1L << (WEEKOFYEAR - 1043)) | (1L << (WEIGHT_STRING - 1043)) | (1L << (WITHIN - 1043)) | (1L << (YEARWEEK - 1043)) | (1L << (Y_FUNCTION - 1043)) | (1L << (X_FUNCTION - 1043)) | (1L << (VIA - 1043)) | (1L << (LASTVAL - 1043)) | (1L << (NEXTVAL - 1043)) | (1L << (SETVAL - 1043)) | (1L << (PREVIOUS - 1043)) | (1L << (PERSISTENT - 1043)) | (1L << (BINLOG_MONITOR - 1043)) | (1L << (BINLOG_REPLAY - 1043)) | (1L << (FEDERATED_ADMIN - 1043)) | (1L << (READ_ONLY_ADMIN - 1043)) | (1L << (REPLICA - 1043)) | (1L << (REPLICATION_MASTER_ADMIN - 1043)) | (1L << (MOD - 1043)))) != 0) || ((((_la - 1123)) & ~0x3f) == 0 && ((1L << (_la - 1123)) & ((1L << (CHARSET_REVERSE_QOUTE_STRING - 1123)) | (1L << (STRING_LITERAL - 1123)) | (1L << (ID - 1123)) | (1L << (REVERSE_QUOTE_ID - 1123)) | (1L << (ENCRYPTED - 1123)) | (1L << (ENCRYPTION_KEY_ID - 1123)))) != 0)) {
{
setState(1685);
((ForeignKeyTableConstraintContext)_localctx).index = uid();
}
}
setState(1688);
indexColumnNames();
setState(1689);
referenceDefinition();
}
break;
case 4:
_localctx = new CheckTableConstraintContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(1695);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONSTRAINT) {
{
setState(1691);
match(CONSTRAINT);
setState(1693);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 34)) & ~0x3f) == 0 && ((1L << (_la - 34)) & ((1L << (CURRENT - 34)) | (1L << (DATABASE - 34)) | (1L << (DIAGNOSTICS - 34)) | (1L << (EXCEPT - 34)) | (1L << (GROUP - 34)) | (1L << (IGNORED - 34)) | (1L << (LEFT - 34)))) != 0) || ((((_la - 114)) & ~0x3f) == 0 && ((1L << (_la - 114)) & ((1L << (NUMBER - 114)) | (1L << (OPTIONAL - 114)) | (1L << (ORDER - 114)) | (1L << (RIGHT - 114)) | (1L << (SCHEMA - 114)) | (1L << (STACKED - 114)))) != 0) || ((((_la - 211)) & ~0x3f) == 0 && ((1L << (_la - 211)) & ((1L << (DATE - 211)) | (1L << (TIME - 211)) | (1L << (TIMESTAMP - 211)) | (1L << (DATETIME - 211)) | (1L << (YEAR - 211)) | (1L << (BINARY - 211)) | (1L << (TEXT - 211)) | (1L << (ENUM - 211)) | (1L << (SERIAL - 211)) | (1L << (JSON_ARRAY - 211)) | (1L << (JSON_OBJECT - 211)) | (1L << (JSON_QUOTE - 211)) | (1L << (JSON_CONTAINS - 211)) | (1L << (JSON_CONTAINS_PATH - 211)) | (1L << (JSON_EXTRACT - 211)) | (1L << (JSON_KEYS - 211)) | (1L << (JSON_OVERLAPS - 211)) | (1L << (JSON_SEARCH - 211)) | (1L << (JSON_VALUE - 211)) | (1L << (JSON_ARRAY_APPEND - 211)) | (1L << (JSON_ARRAY_INSERT - 211)) | (1L << (JSON_INSERT - 211)) | (1L << (JSON_MERGE - 211)) | (1L << (JSON_MERGE_PATCH - 211)) | (1L << (JSON_MERGE_PRESERVE - 211)) | (1L << (JSON_REMOVE - 211)) | (1L << (JSON_REPLACE - 211)) | (1L << (JSON_SET - 211)) | (1L << (JSON_UNQUOTE - 211)) | (1L << (JSON_DEPTH - 211)) | (1L << (JSON_LENGTH - 211)) | (1L << (JSON_TYPE - 211)) | (1L << (JSON_VALID - 211)) | (1L << (JSON_TABLE - 211)) | (1L << (JSON_SCHEMA_VALID - 211)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 211)) | (1L << (JSON_PRETTY - 211)) | (1L << (JSON_STORAGE_FREE - 211)) | (1L << (JSON_STORAGE_SIZE - 211)))) != 0) || ((((_la - 275)) & ~0x3f) == 0 && ((1L << (_la - 275)) & ((1L << (JSON_ARRAYAGG - 275)) | (1L << (JSON_OBJECTAGG - 275)) | (1L << (AVG - 275)) | (1L << (BIT_AND - 275)) | (1L << (BIT_OR - 275)) | (1L << (BIT_XOR - 275)) | (1L << (COUNT - 275)) | (1L << (CUME_DIST - 275)) | (1L << (DENSE_RANK - 275)) | (1L << (FIRST_VALUE - 275)) | (1L << (GROUP_CONCAT - 275)) | (1L << (LAG - 275)) | (1L << (LAST_VALUE - 275)) | (1L << (LEAD - 275)) | (1L << (MAX - 275)) | (1L << (MIN - 275)) | (1L << (NTILE - 275)) | (1L << (NTH_VALUE - 275)) | (1L << (PERCENT_RANK - 275)) | (1L << (RANK - 275)) | (1L << (ROW_NUMBER - 275)) | (1L << (STD - 275)) | (1L << (STDDEV - 275)) | (1L << (STDDEV_POP - 275)) | (1L << (STDDEV_SAMP - 275)) | (1L << (SUM - 275)) | (1L << (VAR_POP - 275)) | (1L << (VAR_SAMP - 275)) | (1L << (VARIANCE - 275)) | (1L << (POSITION - 275)) | (1L << (ACCOUNT - 275)) | (1L << (ACTION - 275)) | (1L << (AFTER - 275)) | (1L << (AGGREGATE - 275)) | (1L << (ALGORITHM - 275)) | (1L << (ANY - 275)) | (1L << (AT - 275)) | (1L << (AUTHORS - 275)) | (1L << (AUTOCOMMIT - 275)) | (1L << (AUTOEXTEND_SIZE - 275)) | (1L << (AUTO_INCREMENT - 275)) | (1L << (AVG_ROW_LENGTH - 275)) | (1L << (BEGIN - 275)) | (1L << (BINLOG - 275)) | (1L << (BIT - 275)) | (1L << (BLOCK - 275)))) != 0) || ((((_la - 339)) & ~0x3f) == 0 && ((1L << (_la - 339)) & ((1L << (BOOL - 339)) | (1L << (BOOLEAN - 339)) | (1L << (BTREE - 339)) | (1L << (CACHE - 339)) | (1L << (CASCADED - 339)) | (1L << (CHAIN - 339)) | (1L << (CHANGED - 339)) | (1L << (CHANNEL - 339)) | (1L << (CHECKSUM - 339)) | (1L << (PAGE_CHECKSUM - 339)) | (1L << (CIPHER - 339)) | (1L << (CLASS_ORIGIN - 339)) | (1L << (CLIENT - 339)) | (1L << (CLOSE - 339)) | (1L << (CLUSTERING - 339)) | (1L << (COALESCE - 339)) | (1L << (CODE - 339)) | (1L << (COLUMNS - 339)) | (1L << (COLUMN_FORMAT - 339)) | (1L << (COLUMN_NAME - 339)) | (1L << (COMMENT - 339)) | (1L << (COMMIT - 339)) | (1L << (COMPACT - 339)) | (1L << (COMPLETION - 339)) | (1L << (COMPRESSED - 339)) | (1L << (COMPRESSION - 339)) | (1L << (CONCURRENT - 339)) | (1L << (CONNECT - 339)) | (1L << (CONNECTION - 339)) | (1L << (CONSISTENT - 339)) | (1L << (CONSTRAINT_CATALOG - 339)) | (1L << (CONSTRAINT_SCHEMA - 339)) | (1L << (CONSTRAINT_NAME - 339)) | (1L << (CONTAINS - 339)) | (1L << (CONTEXT - 339)) | (1L << (CONTRIBUTORS - 339)) | (1L << (COPY - 339)) | (1L << (CPU - 339)) | (1L << (CURSOR_NAME - 339)) | (1L << (DATA - 339)) | (1L << (DATAFILE - 339)) | (1L << (DEALLOCATE - 339)) | (1L << (DEFAULT_AUTH - 339)) | (1L << (DEFINER - 339)) | (1L << (DELAY_KEY_WRITE - 339)) | (1L << (DES_KEY_FILE - 339)) | (1L << (DIRECTORY - 339)) | (1L << (DISABLE - 339)) | (1L << (DISCARD - 339)) | (1L << (DISK - 339)) | (1L << (DO - 339)) | (1L << (DUMPFILE - 339)) | (1L << (DUPLICATE - 339)) | (1L << (DYNAMIC - 339)) | (1L << (ENABLE - 339)) | (1L << (ENCRYPTION - 339)) | (1L << (END - 339)) | (1L << (ENDS - 339)) | (1L << (ENGINE - 339)) | (1L << (ENGINES - 339)) | (1L << (ERROR - 339)) | (1L << (ERRORS - 339)) | (1L << (ESCAPE - 339)) | (1L << (EVEN - 339)))) != 0) || ((((_la - 403)) & ~0x3f) == 0 && ((1L << (_la - 403)) & ((1L << (EVENT - 403)) | (1L << (EVENTS - 403)) | (1L << (EVERY - 403)) | (1L << (EXCHANGE - 403)) | (1L << (EXCLUSIVE - 403)) | (1L << (EXPIRE - 403)) | (1L << (EXPORT - 403)) | (1L << (EXTENDED - 403)) | (1L << (EXTENT_SIZE - 403)) | (1L << (FAST - 403)) | (1L << (FAULTS - 403)) | (1L << (FIELDS - 403)) | (1L << (FILE_BLOCK_SIZE - 403)) | (1L << (FILTER - 403)) | (1L << (FIRST - 403)) | (1L << (FIXED - 403)) | (1L << (FLUSH - 403)) | (1L << (FOLLOWS - 403)) | (1L << (FOUND - 403)) | (1L << (FULL - 403)) | (1L << (FUNCTION - 403)) | (1L << (GENERAL - 403)) | (1L << (GLOBAL - 403)) | (1L << (GRANTS - 403)) | (1L << (GROUP_REPLICATION - 403)) | (1L << (HANDLER - 403)) | (1L << (HASH - 403)) | (1L << (HELP - 403)) | (1L << (HOST - 403)) | (1L << (HOSTS - 403)) | (1L << (IDENTIFIED - 403)) | (1L << (IGNORE_SERVER_IDS - 403)) | (1L << (IMPORT - 403)) | (1L << (INDEXES - 403)) | (1L << (INITIAL_SIZE - 403)) | (1L << (INPLACE - 403)) | (1L << (INSERT_METHOD - 403)) | (1L << (INSTALL - 403)) | (1L << (INSTANCE - 403)) | (1L << (INSTANT - 403)) | (1L << (INVISIBLE - 403)) | (1L << (INVOKER - 403)) | (1L << (IO - 403)) | (1L << (IO_THREAD - 403)) | (1L << (IPC - 403)) | (1L << (ISOLATION - 403)) | (1L << (ISSUER - 403)) | (1L << (JSON - 403)) | (1L << (KEY_BLOCK_SIZE - 403)) | (1L << (LANGUAGE - 403)) | (1L << (LAST - 403)) | (1L << (LEAVES - 403)) | (1L << (LESS - 403)) | (1L << (LEVEL - 403)) | (1L << (LIST - 403)) | (1L << (LOCAL - 403)) | (1L << (LOGFILE - 403)) | (1L << (LOGS - 403)) | (1L << (MASTER - 403)) | (1L << (MASTER_AUTO_POSITION - 403)) | (1L << (MASTER_CONNECT_RETRY - 403)) | (1L << (MASTER_DELAY - 403)) | (1L << (MASTER_HEARTBEAT_PERIOD - 403)))) != 0) || ((((_la - 467)) & ~0x3f) == 0 && ((1L << (_la - 467)) & ((1L << (MASTER_HOST - 467)) | (1L << (MASTER_LOG_FILE - 467)) | (1L << (MASTER_LOG_POS - 467)) | (1L << (MASTER_PASSWORD - 467)) | (1L << (MASTER_PORT - 467)) | (1L << (MASTER_RETRY_COUNT - 467)) | (1L << (MASTER_SSL - 467)) | (1L << (MASTER_SSL_CA - 467)) | (1L << (MASTER_SSL_CAPATH - 467)) | (1L << (MASTER_SSL_CERT - 467)) | (1L << (MASTER_SSL_CIPHER - 467)) | (1L << (MASTER_SSL_CRL - 467)) | (1L << (MASTER_SSL_CRLPATH - 467)) | (1L << (MASTER_SSL_KEY - 467)) | (1L << (MASTER_TLS_VERSION - 467)) | (1L << (MASTER_USER - 467)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 467)) | (1L << (MAX_QUERIES_PER_HOUR - 467)) | (1L << (MAX_ROWS - 467)) | (1L << (MAX_SIZE - 467)) | (1L << (MAX_UPDATES_PER_HOUR - 467)) | (1L << (MAX_USER_CONNECTIONS - 467)) | (1L << (MEDIUM - 467)) | (1L << (MEMBER - 467)) | (1L << (MERGE - 467)) | (1L << (MESSAGE_TEXT - 467)) | (1L << (MID - 467)) | (1L << (MIGRATE - 467)) | (1L << (MIN_ROWS - 467)) | (1L << (MODE - 467)) | (1L << (MODIFY - 467)) | (1L << (MUTEX - 467)) | (1L << (MYSQL - 467)) | (1L << (MYSQL_ERRNO - 467)) | (1L << (NAME - 467)) | (1L << (NAMES - 467)) | (1L << (NCHAR - 467)) | (1L << (NEVER - 467)) | (1L << (NEXT - 467)) | (1L << (NO - 467)) | (1L << (NOCOPY - 467)) | (1L << (NOWAIT - 467)) | (1L << (NODEGROUP - 467)) | (1L << (NONE - 467)) | (1L << (ODBC - 467)) | (1L << (OFFLINE - 467)) | (1L << (OFFSET - 467)) | (1L << (OF - 467)) | (1L << (OJ - 467)) | (1L << (OLD_PASSWORD - 467)) | (1L << (ONE - 467)) | (1L << (ONLINE - 467)) | (1L << (ONLY - 467)) | (1L << (OPEN - 467)) | (1L << (OPTIMIZER_COSTS - 467)) | (1L << (OPTIONS - 467)) | (1L << (OWNER - 467)) | (1L << (PACK_KEYS - 467)) | (1L << (PAGE - 467)) | (1L << (PARSER - 467)) | (1L << (PARTIAL - 467)) | (1L << (PARTITIONING - 467)) | (1L << (PARTITIONS - 467)) | (1L << (PASSWORD - 467)))) != 0) || ((((_la - 531)) & ~0x3f) == 0 && ((1L << (_la - 531)) & ((1L << (PHASE - 531)) | (1L << (PLUGIN - 531)) | (1L << (PLUGIN_DIR - 531)) | (1L << (PLUGINS - 531)) | (1L << (PORT - 531)) | (1L << (PRECEDES - 531)) | (1L << (PREPARE - 531)) | (1L << (PRESERVE - 531)) | (1L << (PREV - 531)) | (1L << (PROCESSLIST - 531)) | (1L << (PROFILE - 531)) | (1L << (PROFILES - 531)) | (1L << (PROXY - 531)) | (1L << (QUERY - 531)) | (1L << (QUICK - 531)) | (1L << (REBUILD - 531)) | (1L << (RECOVER - 531)) | (1L << (RECURSIVE - 531)) | (1L << (REDO_BUFFER_SIZE - 531)) | (1L << (REDUNDANT - 531)) | (1L << (RELAY - 531)) | (1L << (RELAY_LOG_FILE - 531)) | (1L << (RELAY_LOG_POS - 531)) | (1L << (RELAYLOG - 531)) | (1L << (REMOVE - 531)) | (1L << (REORGANIZE - 531)) | (1L << (REPAIR - 531)) | (1L << (REPLICATE_DO_DB - 531)) | (1L << (REPLICATE_DO_TABLE - 531)) | (1L << (REPLICATE_IGNORE_DB - 531)) | (1L << (REPLICATE_IGNORE_TABLE - 531)) | (1L << (REPLICATE_REWRITE_DB - 531)) | (1L << (REPLICATE_WILD_DO_TABLE - 531)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 531)) | (1L << (REPLICATION - 531)) | (1L << (RESET - 531)) | (1L << (RESUME - 531)) | (1L << (RETURNED_SQLSTATE - 531)) | (1L << (RETURNS - 531)) | (1L << (ROLE - 531)) | (1L << (ROLLBACK - 531)) | (1L << (ROLLUP - 531)) | (1L << (ROTATE - 531)) | (1L << (ROW - 531)) | (1L << (ROWS - 531)) | (1L << (ROW_FORMAT - 531)) | (1L << (RTREE - 531)) | (1L << (SAVEPOINT - 531)) | (1L << (SCHEDULE - 531)) | (1L << (SECURITY - 531)) | (1L << (SERVER - 531)) | (1L << (SESSION - 531)) | (1L << (SHARE - 531)) | (1L << (SHARED - 531)) | (1L << (SIGNED - 531)) | (1L << (SIMPLE - 531)) | (1L << (SLAVE - 531)) | (1L << (SLOW - 531)) | (1L << (SNAPSHOT - 531)) | (1L << (SOCKET - 531)) | (1L << (SOME - 531)) | (1L << (SONAME - 531)))) != 0) || ((((_la - 595)) & ~0x3f) == 0 && ((1L << (_la - 595)) & ((1L << (SOUNDS - 595)) | (1L << (SOURCE - 595)) | (1L << (SQL_AFTER_GTIDS - 595)) | (1L << (SQL_AFTER_MTS_GAPS - 595)) | (1L << (SQL_BEFORE_GTIDS - 595)) | (1L << (SQL_BUFFER_RESULT - 595)) | (1L << (SQL_CACHE - 595)) | (1L << (SQL_NO_CACHE - 595)) | (1L << (SQL_THREAD - 595)) | (1L << (START - 595)) | (1L << (STARTS - 595)) | (1L << (STATS_AUTO_RECALC - 595)) | (1L << (STATS_PERSISTENT - 595)) | (1L << (STATS_SAMPLE_PAGES - 595)) | (1L << (STATUS - 595)) | (1L << (STOP - 595)) | (1L << (STORAGE - 595)) | (1L << (STRING - 595)) | (1L << (SUBCLASS_ORIGIN - 595)) | (1L << (SUBJECT - 595)) | (1L << (SUBPARTITION - 595)) | (1L << (SUBPARTITIONS - 595)) | (1L << (SUSPEND - 595)) | (1L << (SWAPS - 595)) | (1L << (SWITCHES - 595)) | (1L << (TABLE_NAME - 595)) | (1L << (TABLESPACE - 595)) | (1L << (TEMPORARY - 595)) | (1L << (TEMPTABLE - 595)) | (1L << (THAN - 595)) | (1L << (TRADITIONAL - 595)) | (1L << (TRANSACTION - 595)) | (1L << (TRANSACTIONAL - 595)) | (1L << (TRIGGERS - 595)) | (1L << (TRUNCATE - 595)) | (1L << (UNDEFINED - 595)) | (1L << (UNDOFILE - 595)) | (1L << (UNDO_BUFFER_SIZE - 595)) | (1L << (UNINSTALL - 595)) | (1L << (UNKNOWN - 595)) | (1L << (UNTIL - 595)) | (1L << (UPGRADE - 595)) | (1L << (USER - 595)) | (1L << (USE_FRM - 595)) | (1L << (USER_RESOURCES - 595)) | (1L << (VALIDATION - 595)) | (1L << (VALUE - 595)) | (1L << (VARIABLES - 595)) | (1L << (VIEW - 595)) | (1L << (VISIBLE - 595)) | (1L << (WAIT - 595)) | (1L << (WARNINGS - 595)) | (1L << (WITHOUT - 595)) | (1L << (WORK - 595)) | (1L << (WRAPPER - 595)) | (1L << (X509 - 595)) | (1L << (XA - 595)) | (1L << (XML - 595)))) != 0) || ((((_la - 659)) & ~0x3f) == 0 && ((1L << (_la - 659)) & ((1L << (EUR - 659)) | (1L << (USA - 659)) | (1L << (JIS - 659)) | (1L << (ISO - 659)) | (1L << (INTERNAL - 659)) | (1L << (QUARTER - 659)) | (1L << (MONTH - 659)) | (1L << (DAY - 659)) | (1L << (HOUR - 659)) | (1L << (MINUTE - 659)) | (1L << (WEEK - 659)) | (1L << (SECOND - 659)) | (1L << (MICROSECOND - 659)) | (1L << (TABLES - 659)) | (1L << (ROUTINE - 659)) | (1L << (EXECUTE - 659)) | (1L << (FILE - 659)) | (1L << (PROCESS - 659)) | (1L << (RELOAD - 659)) | (1L << (SHUTDOWN - 659)) | (1L << (SUPER - 659)) | (1L << (PRIVILEGES - 659)) | (1L << (AUDIT_ADMIN - 659)) | (1L << (BACKUP_ADMIN - 659)) | (1L << (BINLOG_ADMIN - 659)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 659)) | (1L << (CLONE_ADMIN - 659)) | (1L << (CONNECTION_ADMIN - 659)) | (1L << (ENCRYPTION_KEY_ADMIN - 659)) | (1L << (FIREWALL_ADMIN - 659)) | (1L << (FIREWALL_USER - 659)) | (1L << (ADMIN - 659)) | (1L << (GROUP_REPLICATION_ADMIN - 659)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 659)) | (1L << (NDB_STORED_USER - 659)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 659)) | (1L << (REPLICATION_APPLIER - 659)) | (1L << (REPLICATION_SLAVE_ADMIN - 659)) | (1L << (RESOURCE_GROUP_ADMIN - 659)) | (1L << (RESOURCE_GROUP_USER - 659)) | (1L << (ROLE_ADMIN - 659)) | (1L << (SESSION_VARIABLES_ADMIN - 659)) | (1L << (SET_USER_ID - 659)) | (1L << (SHOW_ROUTINE - 659)) | (1L << (SYSTEM_VARIABLES_ADMIN - 659)) | (1L << (TABLE_ENCRYPTION_ADMIN - 659)) | (1L << (VERSION_TOKEN_ADMIN - 659)) | (1L << (XA_RECOVER_ADMIN - 659)) | (1L << (ARMSCII8 - 659)) | (1L << (ASCII - 659)) | (1L << (BIG5 - 659)) | (1L << (CP1250 - 659)) | (1L << (CP1251 - 659)) | (1L << (CP1256 - 659)) | (1L << (CP1257 - 659)) | (1L << (CP850 - 659)) | (1L << (CP852 - 659)))) != 0) || ((((_la - 723)) & ~0x3f) == 0 && ((1L << (_la - 723)) & ((1L << (CP866 - 723)) | (1L << (CP932 - 723)) | (1L << (DEC8 - 723)) | (1L << (EUCJPMS - 723)) | (1L << (EUCKR - 723)) | (1L << (GB18030 - 723)) | (1L << (GB2312 - 723)) | (1L << (GBK - 723)) | (1L << (GEOSTD8 - 723)) | (1L << (GREEK - 723)) | (1L << (HEBREW - 723)) | (1L << (HP8 - 723)) | (1L << (KEYBCS2 - 723)) | (1L << (KOI8R - 723)) | (1L << (KOI8U - 723)) | (1L << (LATIN1 - 723)) | (1L << (LATIN2 - 723)) | (1L << (LATIN5 - 723)) | (1L << (LATIN7 - 723)) | (1L << (MACCE - 723)) | (1L << (MACROMAN - 723)) | (1L << (SJIS - 723)) | (1L << (SWE7 - 723)) | (1L << (TIS620 - 723)) | (1L << (UCS2 - 723)) | (1L << (UJIS - 723)) | (1L << (UTF16 - 723)) | (1L << (UTF16LE - 723)) | (1L << (UTF32 - 723)) | (1L << (UTF8 - 723)) | (1L << (UTF8MB3 - 723)) | (1L << (UTF8MB4 - 723)) | (1L << (ARCHIVE - 723)) | (1L << (BLACKHOLE - 723)) | (1L << (CSV - 723)) | (1L << (FEDERATED - 723)) | (1L << (INNODB - 723)) | (1L << (MEMORY - 723)) | (1L << (MRG_MYISAM - 723)) | (1L << (MYISAM - 723)) | (1L << (NDB - 723)) | (1L << (NDBCLUSTER - 723)) | (1L << (PERFORMANCE_SCHEMA - 723)) | (1L << (TOKUDB - 723)) | (1L << (REPEATABLE - 723)) | (1L << (COMMITTED - 723)) | (1L << (UNCOMMITTED - 723)) | (1L << (SERIALIZABLE - 723)) | (1L << (GEOMETRYCOLLECTION - 723)) | (1L << (LINESTRING - 723)) | (1L << (MULTILINESTRING - 723)) | (1L << (MULTIPOINT - 723)) | (1L << (MULTIPOLYGON - 723)) | (1L << (POINT - 723)) | (1L << (POLYGON - 723)) | (1L << (ABS - 723)) | (1L << (ACOS - 723)) | (1L << (ADDDATE - 723)) | (1L << (ADDTIME - 723)) | (1L << (AES_DECRYPT - 723)) | (1L << (AES_ENCRYPT - 723)) | (1L << (AREA - 723)))) != 0) || ((((_la - 787)) & ~0x3f) == 0 && ((1L << (_la - 787)) & ((1L << (ASBINARY - 787)) | (1L << (ASIN - 787)) | (1L << (ASTEXT - 787)) | (1L << (ASWKB - 787)) | (1L << (ASWKT - 787)) | (1L << (ASYMMETRIC_DECRYPT - 787)) | (1L << (ASYMMETRIC_DERIVE - 787)) | (1L << (ASYMMETRIC_ENCRYPT - 787)) | (1L << (ASYMMETRIC_SIGN - 787)) | (1L << (ASYMMETRIC_VERIFY - 787)) | (1L << (ATAN - 787)) | (1L << (ATAN2 - 787)) | (1L << (BENCHMARK - 787)) | (1L << (BIN - 787)) | (1L << (BIT_COUNT - 787)) | (1L << (BIT_LENGTH - 787)) | (1L << (BUFFER - 787)) | (1L << (CATALOG_NAME - 787)) | (1L << (CEIL - 787)) | (1L << (CEILING - 787)) | (1L << (CENTROID - 787)) | (1L << (CHARACTER_LENGTH - 787)) | (1L << (CHARSET - 787)) | (1L << (CHAR_LENGTH - 787)) | (1L << (COERCIBILITY - 787)) | (1L << (COLLATION - 787)) | (1L << (COMPRESS - 787)) | (1L << (CONCAT - 787)) | (1L << (CONCAT_WS - 787)) | (1L << (CONNECTION_ID - 787)) | (1L << (CONV - 787)) | (1L << (CONVERT_TZ - 787)) | (1L << (COS - 787)) | (1L << (COT - 787)) | (1L << (CRC32 - 787)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 787)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 787)) | (1L << (CREATE_DH_PARAMETERS - 787)) | (1L << (CREATE_DIGEST - 787)) | (1L << (CROSSES - 787)) | (1L << (DATEDIFF - 787)) | (1L << (DATE_FORMAT - 787)) | (1L << (DAYNAME - 787)) | (1L << (DAYOFMONTH - 787)) | (1L << (DAYOFWEEK - 787)) | (1L << (DAYOFYEAR - 787)) | (1L << (DECODE - 787)) | (1L << (DEGREES - 787)) | (1L << (DES_DECRYPT - 787)) | (1L << (DES_ENCRYPT - 787)) | (1L << (DIMENSION - 787)) | (1L << (DISJOINT - 787)) | (1L << (ELT - 787)) | (1L << (ENCODE - 787)) | (1L << (ENCRYPT - 787)) | (1L << (ENDPOINT - 787)) | (1L << (ENGINE_ATTRIBUTE - 787)) | (1L << (ENVELOPE - 787)) | (1L << (EQUALS - 787)) | (1L << (EXP - 787)) | (1L << (EXPORT_SET - 787)) | (1L << (EXTERIORRING - 787)) | (1L << (EXTRACTVALUE - 787)) | (1L << (FIELD - 787)))) != 0) || ((((_la - 851)) & ~0x3f) == 0 && ((1L << (_la - 851)) & ((1L << (FIND_IN_SET - 851)) | (1L << (FLOOR - 851)) | (1L << (FORMAT - 851)) | (1L << (FOUND_ROWS - 851)) | (1L << (FROM_BASE64 - 851)) | (1L << (FROM_DAYS - 851)) | (1L << (FROM_UNIXTIME - 851)) | (1L << (GEOMCOLLFROMTEXT - 851)) | (1L << (GEOMCOLLFROMWKB - 851)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 851)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 851)) | (1L << (GEOMETRYFROMTEXT - 851)) | (1L << (GEOMETRYFROMWKB - 851)) | (1L << (GEOMETRYN - 851)) | (1L << (GEOMETRYTYPE - 851)) | (1L << (GEOMFROMTEXT - 851)) | (1L << (GEOMFROMWKB - 851)) | (1L << (GET_FORMAT - 851)) | (1L << (GET_LOCK - 851)) | (1L << (GLENGTH - 851)) | (1L << (GREATEST - 851)) | (1L << (GTID_SUBSET - 851)) | (1L << (GTID_SUBTRACT - 851)) | (1L << (HEX - 851)) | (1L << (IFNULL - 851)) | (1L << (INET6_ATON - 851)) | (1L << (INET6_NTOA - 851)) | (1L << (INET_ATON - 851)) | (1L << (INET_NTOA - 851)) | (1L << (INSTR - 851)) | (1L << (INTERIORRINGN - 851)) | (1L << (INTERSECTS - 851)) | (1L << (ISCLOSED - 851)) | (1L << (ISEMPTY - 851)) | (1L << (ISNULL - 851)) | (1L << (ISSIMPLE - 851)) | (1L << (IS_FREE_LOCK - 851)) | (1L << (IS_IPV4 - 851)) | (1L << (IS_IPV4_COMPAT - 851)) | (1L << (IS_IPV4_MAPPED - 851)) | (1L << (IS_IPV6 - 851)) | (1L << (IS_USED_LOCK - 851)) | (1L << (LAST_INSERT_ID - 851)) | (1L << (LCASE - 851)) | (1L << (LEAST - 851)) | (1L << (LENGTH - 851)) | (1L << (LINEFROMTEXT - 851)) | (1L << (LINEFROMWKB - 851)) | (1L << (LINESTRINGFROMTEXT - 851)) | (1L << (LINESTRINGFROMWKB - 851)) | (1L << (LN - 851)) | (1L << (LOAD_FILE - 851)) | (1L << (LOCATE - 851)) | (1L << (LOG - 851)) | (1L << (LOG10 - 851)) | (1L << (LOG2 - 851)) | (1L << (LOWER - 851)) | (1L << (LPAD - 851)) | (1L << (LTRIM - 851)) | (1L << (MAKEDATE - 851)) | (1L << (MAKETIME - 851)) | (1L << (MAKE_SET - 851)) | (1L << (MASTER_POS_WAIT - 851)) | (1L << (MBRCONTAINS - 851)))) != 0) || ((((_la - 915)) & ~0x3f) == 0 && ((1L << (_la - 915)) & ((1L << (MBRDISJOINT - 915)) | (1L << (MBREQUAL - 915)) | (1L << (MBRINTERSECTS - 915)) | (1L << (MBROVERLAPS - 915)) | (1L << (MBRTOUCHES - 915)) | (1L << (MBRWITHIN - 915)) | (1L << (MD5 - 915)) | (1L << (MLINEFROMTEXT - 915)) | (1L << (MLINEFROMWKB - 915)) | (1L << (MONTHNAME - 915)) | (1L << (MPOINTFROMTEXT - 915)) | (1L << (MPOINTFROMWKB - 915)) | (1L << (MPOLYFROMTEXT - 915)) | (1L << (MPOLYFROMWKB - 915)) | (1L << (MULTILINESTRINGFROMTEXT - 915)) | (1L << (MULTILINESTRINGFROMWKB - 915)) | (1L << (MULTIPOINTFROMTEXT - 915)) | (1L << (MULTIPOINTFROMWKB - 915)) | (1L << (MULTIPOLYGONFROMTEXT - 915)) | (1L << (MULTIPOLYGONFROMWKB - 915)) | (1L << (NAME_CONST - 915)) | (1L << (NULLIF - 915)) | (1L << (NUMGEOMETRIES - 915)) | (1L << (NUMINTERIORRINGS - 915)) | (1L << (NUMPOINTS - 915)) | (1L << (OCT - 915)) | (1L << (OCTET_LENGTH - 915)) | (1L << (ORD - 915)) | (1L << (OVERLAPS - 915)) | (1L << (PERIOD_ADD - 915)) | (1L << (PERIOD_DIFF - 915)) | (1L << (PI - 915)) | (1L << (POINTFROMTEXT - 915)) | (1L << (POINTFROMWKB - 915)) | (1L << (POINTN - 915)) | (1L << (POLYFROMTEXT - 915)) | (1L << (POLYFROMWKB - 915)) | (1L << (POLYGONFROMTEXT - 915)) | (1L << (POLYGONFROMWKB - 915)) | (1L << (POW - 915)) | (1L << (POWER - 915)) | (1L << (QUOTE - 915)) | (1L << (RADIANS - 915)) | (1L << (RAND - 915)) | (1L << (RANDOM_BYTES - 915)) | (1L << (RELEASE_LOCK - 915)) | (1L << (REVERSE - 915)) | (1L << (ROUND - 915)) | (1L << (ROW_COUNT - 915)) | (1L << (RPAD - 915)) | (1L << (RTRIM - 915)) | (1L << (SEC_TO_TIME - 915)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 915)) | (1L << (SESSION_USER - 915)) | (1L << (SHA - 915)) | (1L << (SHA1 - 915)) | (1L << (SHA2 - 915)) | (1L << (SCHEMA_NAME - 915)) | (1L << (SIGN - 915)) | (1L << (SIN - 915)) | (1L << (SLEEP - 915)) | (1L << (SOUNDEX - 915)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 915)) | (1L << (SQRT - 915)))) != 0) || ((((_la - 979)) & ~0x3f) == 0 && ((1L << (_la - 979)) & ((1L << (SRID - 979)) | (1L << (STARTPOINT - 979)) | (1L << (STRCMP - 979)) | (1L << (STR_TO_DATE - 979)) | (1L << (ST_AREA - 979)) | (1L << (ST_ASBINARY - 979)) | (1L << (ST_ASTEXT - 979)) | (1L << (ST_ASWKB - 979)) | (1L << (ST_ASWKT - 979)) | (1L << (ST_BUFFER - 979)) | (1L << (ST_CENTROID - 979)) | (1L << (ST_CONTAINS - 979)) | (1L << (ST_CROSSES - 979)) | (1L << (ST_DIFFERENCE - 979)) | (1L << (ST_DIMENSION - 979)) | (1L << (ST_DISJOINT - 979)) | (1L << (ST_DISTANCE - 979)) | (1L << (ST_ENDPOINT - 979)) | (1L << (ST_ENVELOPE - 979)) | (1L << (ST_EQUALS - 979)) | (1L << (ST_EXTERIORRING - 979)) | (1L << (ST_GEOMCOLLFROMTEXT - 979)) | (1L << (ST_GEOMCOLLFROMTXT - 979)) | (1L << (ST_GEOMCOLLFROMWKB - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 979)) | (1L << (ST_GEOMETRYFROMTEXT - 979)) | (1L << (ST_GEOMETRYFROMWKB - 979)) | (1L << (ST_GEOMETRYN - 979)) | (1L << (ST_GEOMETRYTYPE - 979)) | (1L << (ST_GEOMFROMTEXT - 979)) | (1L << (ST_GEOMFROMWKB - 979)) | (1L << (ST_INTERIORRINGN - 979)) | (1L << (ST_INTERSECTION - 979)) | (1L << (ST_INTERSECTS - 979)) | (1L << (ST_ISCLOSED - 979)) | (1L << (ST_ISEMPTY - 979)) | (1L << (ST_ISSIMPLE - 979)) | (1L << (ST_LINEFROMTEXT - 979)) | (1L << (ST_LINEFROMWKB - 979)) | (1L << (ST_LINESTRINGFROMTEXT - 979)) | (1L << (ST_LINESTRINGFROMWKB - 979)) | (1L << (ST_NUMGEOMETRIES - 979)) | (1L << (ST_NUMINTERIORRING - 979)) | (1L << (ST_NUMINTERIORRINGS - 979)) | (1L << (ST_NUMPOINTS - 979)) | (1L << (ST_OVERLAPS - 979)) | (1L << (ST_POINTFROMTEXT - 979)) | (1L << (ST_POINTFROMWKB - 979)) | (1L << (ST_POINTN - 979)) | (1L << (ST_POLYFROMTEXT - 979)) | (1L << (ST_POLYFROMWKB - 979)) | (1L << (ST_POLYGONFROMTEXT - 979)) | (1L << (ST_POLYGONFROMWKB - 979)) | (1L << (ST_SRID - 979)) | (1L << (ST_STARTPOINT - 979)) | (1L << (ST_SYMDIFFERENCE - 979)) | (1L << (ST_TOUCHES - 979)) | (1L << (ST_UNION - 979)) | (1L << (ST_WITHIN - 979)) | (1L << (ST_X - 979)) | (1L << (ST_Y - 979)) | (1L << (SUBDATE - 979)) | (1L << (SUBSTRING_INDEX - 979)))) != 0) || ((((_la - 1043)) & ~0x3f) == 0 && ((1L << (_la - 1043)) & ((1L << (SUBTIME - 1043)) | (1L << (SYSTEM_USER - 1043)) | (1L << (TAN - 1043)) | (1L << (TIMEDIFF - 1043)) | (1L << (TIMESTAMPADD - 1043)) | (1L << (TIMESTAMPDIFF - 1043)) | (1L << (TIME_FORMAT - 1043)) | (1L << (TIME_TO_SEC - 1043)) | (1L << (TOUCHES - 1043)) | (1L << (TO_BASE64 - 1043)) | (1L << (TO_DAYS - 1043)) | (1L << (TO_SECONDS - 1043)) | (1L << (UCASE - 1043)) | (1L << (UNCOMPRESS - 1043)) | (1L << (UNCOMPRESSED_LENGTH - 1043)) | (1L << (UNHEX - 1043)) | (1L << (UNIX_TIMESTAMP - 1043)) | (1L << (UPDATEXML - 1043)) | (1L << (UPPER - 1043)) | (1L << (UUID - 1043)) | (1L << (UUID_SHORT - 1043)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1043)) | (1L << (VERSION - 1043)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1043)) | (1L << (WEEKDAY - 1043)) | (1L << (WEEKOFYEAR - 1043)) | (1L << (WEIGHT_STRING - 1043)) | (1L << (WITHIN - 1043)) | (1L << (YEARWEEK - 1043)) | (1L << (Y_FUNCTION - 1043)) | (1L << (X_FUNCTION - 1043)) | (1L << (VIA - 1043)) | (1L << (LASTVAL - 1043)) | (1L << (NEXTVAL - 1043)) | (1L << (SETVAL - 1043)) | (1L << (PREVIOUS - 1043)) | (1L << (PERSISTENT - 1043)) | (1L << (BINLOG_MONITOR - 1043)) | (1L << (BINLOG_REPLAY - 1043)) | (1L << (FEDERATED_ADMIN - 1043)) | (1L << (READ_ONLY_ADMIN - 1043)) | (1L << (REPLICA - 1043)) | (1L << (REPLICATION_MASTER_ADMIN - 1043)) | (1L << (MOD - 1043)))) != 0) || ((((_la - 1123)) & ~0x3f) == 0 && ((1L << (_la - 1123)) & ((1L << (CHARSET_REVERSE_QOUTE_STRING - 1123)) | (1L << (STRING_LITERAL - 1123)) | (1L << (ID - 1123)) | (1L << (REVERSE_QUOTE_ID - 1123)) | (1L << (ENCRYPTED - 1123)) | (1L << (ENCRYPTION_KEY_ID - 1123)))) != 0)) {
{
setState(1692);
((CheckTableConstraintContext)_localctx).name = uid();
}
}
}
}
setState(1697);
match(CHECK);
setState(1698);
match(LR_BRACKET);
setState(1699);
expression(0);
setState(1700);
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(CqlParser.REFERENCES, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode MATCH() { return getToken(CqlParser.MATCH, 0); }
public ReferenceActionContext referenceAction() {
return getRuleContext(ReferenceActionContext.class,0);
}
public TerminalNode FULL() { return getToken(CqlParser.FULL, 0); }
public TerminalNode PARTIAL() { return getToken(CqlParser.PARTIAL, 0); }
public TerminalNode SIMPLE() { return getToken(CqlParser.SIMPLE, 0); }
public ReferenceDefinitionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_referenceDefinition; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitReferenceDefinition(this);
else return visitor.visitChildren(this);
}
}
public final ReferenceDefinitionContext referenceDefinition() throws RecognitionException {
ReferenceDefinitionContext _localctx = new ReferenceDefinitionContext(_ctx, getState());
enterRule(_localctx, 96, RULE_referenceDefinition);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1704);
match(REFERENCES);
setState(1705);
tableName();
setState(1707);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,173,_ctx) ) {
case 1:
{
setState(1706);
indexColumnNames();
}
break;
}
setState(1711);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MATCH) {
{
setState(1709);
match(MATCH);
setState(1710);
((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(1714);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,175,_ctx) ) {
case 1:
{
setState(1713);
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(CqlParser.ON); }
public TerminalNode ON(int i) {
return getToken(CqlParser.ON, i);
}
public TerminalNode DELETE() { return getToken(CqlParser.DELETE, 0); }
public List referenceControlType() {
return getRuleContexts(ReferenceControlTypeContext.class);
}
public ReferenceControlTypeContext referenceControlType(int i) {
return getRuleContext(ReferenceControlTypeContext.class,i);
}
public TerminalNode UPDATE() { return getToken(CqlParser.UPDATE, 0); }
public ReferenceActionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_referenceAction; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitReferenceAction(this);
else return visitor.visitChildren(this);
}
}
public final ReferenceActionContext referenceAction() throws RecognitionException {
ReferenceActionContext _localctx = new ReferenceActionContext(_ctx, getState());
enterRule(_localctx, 98, RULE_referenceAction);
try {
setState(1732);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,178,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1716);
match(ON);
setState(1717);
match(DELETE);
setState(1718);
((ReferenceActionContext)_localctx).onDelete = referenceControlType();
setState(1722);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,176,_ctx) ) {
case 1:
{
setState(1719);
match(ON);
setState(1720);
match(UPDATE);
setState(1721);
((ReferenceActionContext)_localctx).onUpdate = referenceControlType();
}
break;
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1724);
match(ON);
setState(1725);
match(UPDATE);
setState(1726);
((ReferenceActionContext)_localctx).onUpdate = referenceControlType();
setState(1730);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,177,_ctx) ) {
case 1:
{
setState(1727);
match(ON);
setState(1728);
match(DELETE);
setState(1729);
((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(CqlParser.RESTRICT, 0); }
public TerminalNode CASCADE() { return getToken(CqlParser.CASCADE, 0); }
public TerminalNode SET() { return getToken(CqlParser.SET, 0); }
public TerminalNode NULL_LITERAL() { return getToken(CqlParser.NULL_LITERAL, 0); }
public TerminalNode NO() { return getToken(CqlParser.NO, 0); }
public TerminalNode ACTION() { return getToken(CqlParser.ACTION, 0); }
public ReferenceControlTypeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_referenceControlType; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitReferenceControlType(this);
else return visitor.visitChildren(this);
}
}
public final ReferenceControlTypeContext referenceControlType() throws RecognitionException {
ReferenceControlTypeContext _localctx = new ReferenceControlTypeContext(_ctx, getState());
enterRule(_localctx, 100, RULE_referenceControlType);
try {
setState(1740);
_errHandler.sync(this);
switch (_input.LA(1)) {
case RESTRICT:
enterOuterAlt(_localctx, 1);
{
setState(1734);
match(RESTRICT);
}
break;
case CASCADE:
enterOuterAlt(_localctx, 2);
{
setState(1735);
match(CASCADE);
}
break;
case SET:
enterOuterAlt(_localctx, 3);
{
setState(1736);
match(SET);
setState(1737);
match(NULL_LITERAL);
}
break;
case NO:
enterOuterAlt(_localctx, 4);
{
setState(1738);
match(NO);
setState(1739);
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(CqlParser.FULLTEXT, 0); }
public TerminalNode SPATIAL() { return getToken(CqlParser.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(CqlParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(CqlParser.KEY, 0); }
public SpecialIndexDeclarationContext(IndexColumnDefinitionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitSpecialIndexDeclaration(this);
else return visitor.visitChildren(this);
}
}
public static class SimpleIndexDeclarationContext extends IndexColumnDefinitionContext {
public Token indexFormat;
public IndexColumnNamesContext indexColumnNames() {
return getRuleContext(IndexColumnNamesContext.class,0);
}
public TerminalNode INDEX() { return getToken(CqlParser.INDEX, 0); }
public TerminalNode KEY() { return getToken(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitSimpleIndexDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final IndexColumnDefinitionContext indexColumnDefinition() throws RecognitionException {
IndexColumnDefinitionContext _localctx = new IndexColumnDefinitionContext(_ctx, getState());
enterRule(_localctx, 102, RULE_indexColumnDefinition);
int _la;
try {
setState(1770);
_errHandler.sync(this);
switch (_input.LA(1)) {
case INDEX:
case KEY:
_localctx = new SimpleIndexDeclarationContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1742);
((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(1744);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 34)) & ~0x3f) == 0 && ((1L << (_la - 34)) & ((1L << (CURRENT - 34)) | (1L << (DATABASE - 34)) | (1L << (DIAGNOSTICS - 34)) | (1L << (EXCEPT - 34)) | (1L << (GROUP - 34)) | (1L << (IGNORED - 34)) | (1L << (LEFT - 34)))) != 0) || ((((_la - 114)) & ~0x3f) == 0 && ((1L << (_la - 114)) & ((1L << (NUMBER - 114)) | (1L << (OPTIONAL - 114)) | (1L << (ORDER - 114)) | (1L << (RIGHT - 114)) | (1L << (SCHEMA - 114)) | (1L << (STACKED - 114)))) != 0) || ((((_la - 211)) & ~0x3f) == 0 && ((1L << (_la - 211)) & ((1L << (DATE - 211)) | (1L << (TIME - 211)) | (1L << (TIMESTAMP - 211)) | (1L << (DATETIME - 211)) | (1L << (YEAR - 211)) | (1L << (BINARY - 211)) | (1L << (TEXT - 211)) | (1L << (ENUM - 211)) | (1L << (SERIAL - 211)) | (1L << (JSON_ARRAY - 211)) | (1L << (JSON_OBJECT - 211)) | (1L << (JSON_QUOTE - 211)) | (1L << (JSON_CONTAINS - 211)) | (1L << (JSON_CONTAINS_PATH - 211)) | (1L << (JSON_EXTRACT - 211)) | (1L << (JSON_KEYS - 211)) | (1L << (JSON_OVERLAPS - 211)) | (1L << (JSON_SEARCH - 211)) | (1L << (JSON_VALUE - 211)) | (1L << (JSON_ARRAY_APPEND - 211)) | (1L << (JSON_ARRAY_INSERT - 211)) | (1L << (JSON_INSERT - 211)) | (1L << (JSON_MERGE - 211)) | (1L << (JSON_MERGE_PATCH - 211)) | (1L << (JSON_MERGE_PRESERVE - 211)) | (1L << (JSON_REMOVE - 211)) | (1L << (JSON_REPLACE - 211)) | (1L << (JSON_SET - 211)) | (1L << (JSON_UNQUOTE - 211)) | (1L << (JSON_DEPTH - 211)) | (1L << (JSON_LENGTH - 211)) | (1L << (JSON_TYPE - 211)) | (1L << (JSON_VALID - 211)) | (1L << (JSON_TABLE - 211)) | (1L << (JSON_SCHEMA_VALID - 211)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 211)) | (1L << (JSON_PRETTY - 211)) | (1L << (JSON_STORAGE_FREE - 211)) | (1L << (JSON_STORAGE_SIZE - 211)))) != 0) || ((((_la - 275)) & ~0x3f) == 0 && ((1L << (_la - 275)) & ((1L << (JSON_ARRAYAGG - 275)) | (1L << (JSON_OBJECTAGG - 275)) | (1L << (AVG - 275)) | (1L << (BIT_AND - 275)) | (1L << (BIT_OR - 275)) | (1L << (BIT_XOR - 275)) | (1L << (COUNT - 275)) | (1L << (CUME_DIST - 275)) | (1L << (DENSE_RANK - 275)) | (1L << (FIRST_VALUE - 275)) | (1L << (GROUP_CONCAT - 275)) | (1L << (LAG - 275)) | (1L << (LAST_VALUE - 275)) | (1L << (LEAD - 275)) | (1L << (MAX - 275)) | (1L << (MIN - 275)) | (1L << (NTILE - 275)) | (1L << (NTH_VALUE - 275)) | (1L << (PERCENT_RANK - 275)) | (1L << (RANK - 275)) | (1L << (ROW_NUMBER - 275)) | (1L << (STD - 275)) | (1L << (STDDEV - 275)) | (1L << (STDDEV_POP - 275)) | (1L << (STDDEV_SAMP - 275)) | (1L << (SUM - 275)) | (1L << (VAR_POP - 275)) | (1L << (VAR_SAMP - 275)) | (1L << (VARIANCE - 275)) | (1L << (POSITION - 275)) | (1L << (ACCOUNT - 275)) | (1L << (ACTION - 275)) | (1L << (AFTER - 275)) | (1L << (AGGREGATE - 275)) | (1L << (ALGORITHM - 275)) | (1L << (ANY - 275)) | (1L << (AT - 275)) | (1L << (AUTHORS - 275)) | (1L << (AUTOCOMMIT - 275)) | (1L << (AUTOEXTEND_SIZE - 275)) | (1L << (AUTO_INCREMENT - 275)) | (1L << (AVG_ROW_LENGTH - 275)) | (1L << (BEGIN - 275)) | (1L << (BINLOG - 275)) | (1L << (BIT - 275)) | (1L << (BLOCK - 275)))) != 0) || ((((_la - 339)) & ~0x3f) == 0 && ((1L << (_la - 339)) & ((1L << (BOOL - 339)) | (1L << (BOOLEAN - 339)) | (1L << (BTREE - 339)) | (1L << (CACHE - 339)) | (1L << (CASCADED - 339)) | (1L << (CHAIN - 339)) | (1L << (CHANGED - 339)) | (1L << (CHANNEL - 339)) | (1L << (CHECKSUM - 339)) | (1L << (PAGE_CHECKSUM - 339)) | (1L << (CIPHER - 339)) | (1L << (CLASS_ORIGIN - 339)) | (1L << (CLIENT - 339)) | (1L << (CLOSE - 339)) | (1L << (CLUSTERING - 339)) | (1L << (COALESCE - 339)) | (1L << (CODE - 339)) | (1L << (COLUMNS - 339)) | (1L << (COLUMN_FORMAT - 339)) | (1L << (COLUMN_NAME - 339)) | (1L << (COMMENT - 339)) | (1L << (COMMIT - 339)) | (1L << (COMPACT - 339)) | (1L << (COMPLETION - 339)) | (1L << (COMPRESSED - 339)) | (1L << (COMPRESSION - 339)) | (1L << (CONCURRENT - 339)) | (1L << (CONNECT - 339)) | (1L << (CONNECTION - 339)) | (1L << (CONSISTENT - 339)) | (1L << (CONSTRAINT_CATALOG - 339)) | (1L << (CONSTRAINT_SCHEMA - 339)) | (1L << (CONSTRAINT_NAME - 339)) | (1L << (CONTAINS - 339)) | (1L << (CONTEXT - 339)) | (1L << (CONTRIBUTORS - 339)) | (1L << (COPY - 339)) | (1L << (CPU - 339)) | (1L << (CURSOR_NAME - 339)) | (1L << (DATA - 339)) | (1L << (DATAFILE - 339)) | (1L << (DEALLOCATE - 339)) | (1L << (DEFAULT_AUTH - 339)) | (1L << (DEFINER - 339)) | (1L << (DELAY_KEY_WRITE - 339)) | (1L << (DES_KEY_FILE - 339)) | (1L << (DIRECTORY - 339)) | (1L << (DISABLE - 339)) | (1L << (DISCARD - 339)) | (1L << (DISK - 339)) | (1L << (DO - 339)) | (1L << (DUMPFILE - 339)) | (1L << (DUPLICATE - 339)) | (1L << (DYNAMIC - 339)) | (1L << (ENABLE - 339)) | (1L << (ENCRYPTION - 339)) | (1L << (END - 339)) | (1L << (ENDS - 339)) | (1L << (ENGINE - 339)) | (1L << (ENGINES - 339)) | (1L << (ERROR - 339)) | (1L << (ERRORS - 339)) | (1L << (ESCAPE - 339)) | (1L << (EVEN - 339)))) != 0) || ((((_la - 403)) & ~0x3f) == 0 && ((1L << (_la - 403)) & ((1L << (EVENT - 403)) | (1L << (EVENTS - 403)) | (1L << (EVERY - 403)) | (1L << (EXCHANGE - 403)) | (1L << (EXCLUSIVE - 403)) | (1L << (EXPIRE - 403)) | (1L << (EXPORT - 403)) | (1L << (EXTENDED - 403)) | (1L << (EXTENT_SIZE - 403)) | (1L << (FAST - 403)) | (1L << (FAULTS - 403)) | (1L << (FIELDS - 403)) | (1L << (FILE_BLOCK_SIZE - 403)) | (1L << (FILTER - 403)) | (1L << (FIRST - 403)) | (1L << (FIXED - 403)) | (1L << (FLUSH - 403)) | (1L << (FOLLOWS - 403)) | (1L << (FOUND - 403)) | (1L << (FULL - 403)) | (1L << (FUNCTION - 403)) | (1L << (GENERAL - 403)) | (1L << (GLOBAL - 403)) | (1L << (GRANTS - 403)) | (1L << (GROUP_REPLICATION - 403)) | (1L << (HANDLER - 403)) | (1L << (HASH - 403)) | (1L << (HELP - 403)) | (1L << (HOST - 403)) | (1L << (HOSTS - 403)) | (1L << (IDENTIFIED - 403)) | (1L << (IGNORE_SERVER_IDS - 403)) | (1L << (IMPORT - 403)) | (1L << (INDEXES - 403)) | (1L << (INITIAL_SIZE - 403)) | (1L << (INPLACE - 403)) | (1L << (INSERT_METHOD - 403)) | (1L << (INSTALL - 403)) | (1L << (INSTANCE - 403)) | (1L << (INSTANT - 403)) | (1L << (INVISIBLE - 403)) | (1L << (INVOKER - 403)) | (1L << (IO - 403)) | (1L << (IO_THREAD - 403)) | (1L << (IPC - 403)) | (1L << (ISOLATION - 403)) | (1L << (ISSUER - 403)) | (1L << (JSON - 403)) | (1L << (KEY_BLOCK_SIZE - 403)) | (1L << (LANGUAGE - 403)) | (1L << (LAST - 403)) | (1L << (LEAVES - 403)) | (1L << (LESS - 403)) | (1L << (LEVEL - 403)) | (1L << (LIST - 403)) | (1L << (LOCAL - 403)) | (1L << (LOGFILE - 403)) | (1L << (LOGS - 403)) | (1L << (MASTER - 403)) | (1L << (MASTER_AUTO_POSITION - 403)) | (1L << (MASTER_CONNECT_RETRY - 403)) | (1L << (MASTER_DELAY - 403)) | (1L << (MASTER_HEARTBEAT_PERIOD - 403)))) != 0) || ((((_la - 467)) & ~0x3f) == 0 && ((1L << (_la - 467)) & ((1L << (MASTER_HOST - 467)) | (1L << (MASTER_LOG_FILE - 467)) | (1L << (MASTER_LOG_POS - 467)) | (1L << (MASTER_PASSWORD - 467)) | (1L << (MASTER_PORT - 467)) | (1L << (MASTER_RETRY_COUNT - 467)) | (1L << (MASTER_SSL - 467)) | (1L << (MASTER_SSL_CA - 467)) | (1L << (MASTER_SSL_CAPATH - 467)) | (1L << (MASTER_SSL_CERT - 467)) | (1L << (MASTER_SSL_CIPHER - 467)) | (1L << (MASTER_SSL_CRL - 467)) | (1L << (MASTER_SSL_CRLPATH - 467)) | (1L << (MASTER_SSL_KEY - 467)) | (1L << (MASTER_TLS_VERSION - 467)) | (1L << (MASTER_USER - 467)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 467)) | (1L << (MAX_QUERIES_PER_HOUR - 467)) | (1L << (MAX_ROWS - 467)) | (1L << (MAX_SIZE - 467)) | (1L << (MAX_UPDATES_PER_HOUR - 467)) | (1L << (MAX_USER_CONNECTIONS - 467)) | (1L << (MEDIUM - 467)) | (1L << (MEMBER - 467)) | (1L << (MERGE - 467)) | (1L << (MESSAGE_TEXT - 467)) | (1L << (MID - 467)) | (1L << (MIGRATE - 467)) | (1L << (MIN_ROWS - 467)) | (1L << (MODE - 467)) | (1L << (MODIFY - 467)) | (1L << (MUTEX - 467)) | (1L << (MYSQL - 467)) | (1L << (MYSQL_ERRNO - 467)) | (1L << (NAME - 467)) | (1L << (NAMES - 467)) | (1L << (NCHAR - 467)) | (1L << (NEVER - 467)) | (1L << (NEXT - 467)) | (1L << (NO - 467)) | (1L << (NOCOPY - 467)) | (1L << (NOWAIT - 467)) | (1L << (NODEGROUP - 467)) | (1L << (NONE - 467)) | (1L << (ODBC - 467)) | (1L << (OFFLINE - 467)) | (1L << (OFFSET - 467)) | (1L << (OF - 467)) | (1L << (OJ - 467)) | (1L << (OLD_PASSWORD - 467)) | (1L << (ONE - 467)) | (1L << (ONLINE - 467)) | (1L << (ONLY - 467)) | (1L << (OPEN - 467)) | (1L << (OPTIMIZER_COSTS - 467)) | (1L << (OPTIONS - 467)) | (1L << (OWNER - 467)) | (1L << (PACK_KEYS - 467)) | (1L << (PAGE - 467)) | (1L << (PARSER - 467)) | (1L << (PARTIAL - 467)) | (1L << (PARTITIONING - 467)) | (1L << (PARTITIONS - 467)) | (1L << (PASSWORD - 467)))) != 0) || ((((_la - 531)) & ~0x3f) == 0 && ((1L << (_la - 531)) & ((1L << (PHASE - 531)) | (1L << (PLUGIN - 531)) | (1L << (PLUGIN_DIR - 531)) | (1L << (PLUGINS - 531)) | (1L << (PORT - 531)) | (1L << (PRECEDES - 531)) | (1L << (PREPARE - 531)) | (1L << (PRESERVE - 531)) | (1L << (PREV - 531)) | (1L << (PROCESSLIST - 531)) | (1L << (PROFILE - 531)) | (1L << (PROFILES - 531)) | (1L << (PROXY - 531)) | (1L << (QUERY - 531)) | (1L << (QUICK - 531)) | (1L << (REBUILD - 531)) | (1L << (RECOVER - 531)) | (1L << (RECURSIVE - 531)) | (1L << (REDO_BUFFER_SIZE - 531)) | (1L << (REDUNDANT - 531)) | (1L << (RELAY - 531)) | (1L << (RELAY_LOG_FILE - 531)) | (1L << (RELAY_LOG_POS - 531)) | (1L << (RELAYLOG - 531)) | (1L << (REMOVE - 531)) | (1L << (REORGANIZE - 531)) | (1L << (REPAIR - 531)) | (1L << (REPLICATE_DO_DB - 531)) | (1L << (REPLICATE_DO_TABLE - 531)) | (1L << (REPLICATE_IGNORE_DB - 531)) | (1L << (REPLICATE_IGNORE_TABLE - 531)) | (1L << (REPLICATE_REWRITE_DB - 531)) | (1L << (REPLICATE_WILD_DO_TABLE - 531)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 531)) | (1L << (REPLICATION - 531)) | (1L << (RESET - 531)) | (1L << (RESUME - 531)) | (1L << (RETURNED_SQLSTATE - 531)) | (1L << (RETURNS - 531)) | (1L << (ROLE - 531)) | (1L << (ROLLBACK - 531)) | (1L << (ROLLUP - 531)) | (1L << (ROTATE - 531)) | (1L << (ROW - 531)) | (1L << (ROWS - 531)) | (1L << (ROW_FORMAT - 531)) | (1L << (RTREE - 531)) | (1L << (SAVEPOINT - 531)) | (1L << (SCHEDULE - 531)) | (1L << (SECURITY - 531)) | (1L << (SERVER - 531)) | (1L << (SESSION - 531)) | (1L << (SHARE - 531)) | (1L << (SHARED - 531)) | (1L << (SIGNED - 531)) | (1L << (SIMPLE - 531)) | (1L << (SLAVE - 531)) | (1L << (SLOW - 531)) | (1L << (SNAPSHOT - 531)) | (1L << (SOCKET - 531)) | (1L << (SOME - 531)) | (1L << (SONAME - 531)))) != 0) || ((((_la - 595)) & ~0x3f) == 0 && ((1L << (_la - 595)) & ((1L << (SOUNDS - 595)) | (1L << (SOURCE - 595)) | (1L << (SQL_AFTER_GTIDS - 595)) | (1L << (SQL_AFTER_MTS_GAPS - 595)) | (1L << (SQL_BEFORE_GTIDS - 595)) | (1L << (SQL_BUFFER_RESULT - 595)) | (1L << (SQL_CACHE - 595)) | (1L << (SQL_NO_CACHE - 595)) | (1L << (SQL_THREAD - 595)) | (1L << (START - 595)) | (1L << (STARTS - 595)) | (1L << (STATS_AUTO_RECALC - 595)) | (1L << (STATS_PERSISTENT - 595)) | (1L << (STATS_SAMPLE_PAGES - 595)) | (1L << (STATUS - 595)) | (1L << (STOP - 595)) | (1L << (STORAGE - 595)) | (1L << (STRING - 595)) | (1L << (SUBCLASS_ORIGIN - 595)) | (1L << (SUBJECT - 595)) | (1L << (SUBPARTITION - 595)) | (1L << (SUBPARTITIONS - 595)) | (1L << (SUSPEND - 595)) | (1L << (SWAPS - 595)) | (1L << (SWITCHES - 595)) | (1L << (TABLE_NAME - 595)) | (1L << (TABLESPACE - 595)) | (1L << (TEMPORARY - 595)) | (1L << (TEMPTABLE - 595)) | (1L << (THAN - 595)) | (1L << (TRADITIONAL - 595)) | (1L << (TRANSACTION - 595)) | (1L << (TRANSACTIONAL - 595)) | (1L << (TRIGGERS - 595)) | (1L << (TRUNCATE - 595)) | (1L << (UNDEFINED - 595)) | (1L << (UNDOFILE - 595)) | (1L << (UNDO_BUFFER_SIZE - 595)) | (1L << (UNINSTALL - 595)) | (1L << (UNKNOWN - 595)) | (1L << (UNTIL - 595)) | (1L << (UPGRADE - 595)) | (1L << (USER - 595)) | (1L << (USE_FRM - 595)) | (1L << (USER_RESOURCES - 595)) | (1L << (VALIDATION - 595)) | (1L << (VALUE - 595)) | (1L << (VARIABLES - 595)) | (1L << (VIEW - 595)) | (1L << (VISIBLE - 595)) | (1L << (WAIT - 595)) | (1L << (WARNINGS - 595)) | (1L << (WITHOUT - 595)) | (1L << (WORK - 595)) | (1L << (WRAPPER - 595)) | (1L << (X509 - 595)) | (1L << (XA - 595)) | (1L << (XML - 595)))) != 0) || ((((_la - 659)) & ~0x3f) == 0 && ((1L << (_la - 659)) & ((1L << (EUR - 659)) | (1L << (USA - 659)) | (1L << (JIS - 659)) | (1L << (ISO - 659)) | (1L << (INTERNAL - 659)) | (1L << (QUARTER - 659)) | (1L << (MONTH - 659)) | (1L << (DAY - 659)) | (1L << (HOUR - 659)) | (1L << (MINUTE - 659)) | (1L << (WEEK - 659)) | (1L << (SECOND - 659)) | (1L << (MICROSECOND - 659)) | (1L << (TABLES - 659)) | (1L << (ROUTINE - 659)) | (1L << (EXECUTE - 659)) | (1L << (FILE - 659)) | (1L << (PROCESS - 659)) | (1L << (RELOAD - 659)) | (1L << (SHUTDOWN - 659)) | (1L << (SUPER - 659)) | (1L << (PRIVILEGES - 659)) | (1L << (AUDIT_ADMIN - 659)) | (1L << (BACKUP_ADMIN - 659)) | (1L << (BINLOG_ADMIN - 659)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 659)) | (1L << (CLONE_ADMIN - 659)) | (1L << (CONNECTION_ADMIN - 659)) | (1L << (ENCRYPTION_KEY_ADMIN - 659)) | (1L << (FIREWALL_ADMIN - 659)) | (1L << (FIREWALL_USER - 659)) | (1L << (ADMIN - 659)) | (1L << (GROUP_REPLICATION_ADMIN - 659)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 659)) | (1L << (NDB_STORED_USER - 659)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 659)) | (1L << (REPLICATION_APPLIER - 659)) | (1L << (REPLICATION_SLAVE_ADMIN - 659)) | (1L << (RESOURCE_GROUP_ADMIN - 659)) | (1L << (RESOURCE_GROUP_USER - 659)) | (1L << (ROLE_ADMIN - 659)) | (1L << (SESSION_VARIABLES_ADMIN - 659)) | (1L << (SET_USER_ID - 659)) | (1L << (SHOW_ROUTINE - 659)) | (1L << (SYSTEM_VARIABLES_ADMIN - 659)) | (1L << (TABLE_ENCRYPTION_ADMIN - 659)) | (1L << (VERSION_TOKEN_ADMIN - 659)) | (1L << (XA_RECOVER_ADMIN - 659)) | (1L << (ARMSCII8 - 659)) | (1L << (ASCII - 659)) | (1L << (BIG5 - 659)) | (1L << (CP1250 - 659)) | (1L << (CP1251 - 659)) | (1L << (CP1256 - 659)) | (1L << (CP1257 - 659)) | (1L << (CP850 - 659)) | (1L << (CP852 - 659)))) != 0) || ((((_la - 723)) & ~0x3f) == 0 && ((1L << (_la - 723)) & ((1L << (CP866 - 723)) | (1L << (CP932 - 723)) | (1L << (DEC8 - 723)) | (1L << (EUCJPMS - 723)) | (1L << (EUCKR - 723)) | (1L << (GB18030 - 723)) | (1L << (GB2312 - 723)) | (1L << (GBK - 723)) | (1L << (GEOSTD8 - 723)) | (1L << (GREEK - 723)) | (1L << (HEBREW - 723)) | (1L << (HP8 - 723)) | (1L << (KEYBCS2 - 723)) | (1L << (KOI8R - 723)) | (1L << (KOI8U - 723)) | (1L << (LATIN1 - 723)) | (1L << (LATIN2 - 723)) | (1L << (LATIN5 - 723)) | (1L << (LATIN7 - 723)) | (1L << (MACCE - 723)) | (1L << (MACROMAN - 723)) | (1L << (SJIS - 723)) | (1L << (SWE7 - 723)) | (1L << (TIS620 - 723)) | (1L << (UCS2 - 723)) | (1L << (UJIS - 723)) | (1L << (UTF16 - 723)) | (1L << (UTF16LE - 723)) | (1L << (UTF32 - 723)) | (1L << (UTF8 - 723)) | (1L << (UTF8MB3 - 723)) | (1L << (UTF8MB4 - 723)) | (1L << (ARCHIVE - 723)) | (1L << (BLACKHOLE - 723)) | (1L << (CSV - 723)) | (1L << (FEDERATED - 723)) | (1L << (INNODB - 723)) | (1L << (MEMORY - 723)) | (1L << (MRG_MYISAM - 723)) | (1L << (MYISAM - 723)) | (1L << (NDB - 723)) | (1L << (NDBCLUSTER - 723)) | (1L << (PERFORMANCE_SCHEMA - 723)) | (1L << (TOKUDB - 723)) | (1L << (REPEATABLE - 723)) | (1L << (COMMITTED - 723)) | (1L << (UNCOMMITTED - 723)) | (1L << (SERIALIZABLE - 723)) | (1L << (GEOMETRYCOLLECTION - 723)) | (1L << (LINESTRING - 723)) | (1L << (MULTILINESTRING - 723)) | (1L << (MULTIPOINT - 723)) | (1L << (MULTIPOLYGON - 723)) | (1L << (POINT - 723)) | (1L << (POLYGON - 723)) | (1L << (ABS - 723)) | (1L << (ACOS - 723)) | (1L << (ADDDATE - 723)) | (1L << (ADDTIME - 723)) | (1L << (AES_DECRYPT - 723)) | (1L << (AES_ENCRYPT - 723)) | (1L << (AREA - 723)))) != 0) || ((((_la - 787)) & ~0x3f) == 0 && ((1L << (_la - 787)) & ((1L << (ASBINARY - 787)) | (1L << (ASIN - 787)) | (1L << (ASTEXT - 787)) | (1L << (ASWKB - 787)) | (1L << (ASWKT - 787)) | (1L << (ASYMMETRIC_DECRYPT - 787)) | (1L << (ASYMMETRIC_DERIVE - 787)) | (1L << (ASYMMETRIC_ENCRYPT - 787)) | (1L << (ASYMMETRIC_SIGN - 787)) | (1L << (ASYMMETRIC_VERIFY - 787)) | (1L << (ATAN - 787)) | (1L << (ATAN2 - 787)) | (1L << (BENCHMARK - 787)) | (1L << (BIN - 787)) | (1L << (BIT_COUNT - 787)) | (1L << (BIT_LENGTH - 787)) | (1L << (BUFFER - 787)) | (1L << (CATALOG_NAME - 787)) | (1L << (CEIL - 787)) | (1L << (CEILING - 787)) | (1L << (CENTROID - 787)) | (1L << (CHARACTER_LENGTH - 787)) | (1L << (CHARSET - 787)) | (1L << (CHAR_LENGTH - 787)) | (1L << (COERCIBILITY - 787)) | (1L << (COLLATION - 787)) | (1L << (COMPRESS - 787)) | (1L << (CONCAT - 787)) | (1L << (CONCAT_WS - 787)) | (1L << (CONNECTION_ID - 787)) | (1L << (CONV - 787)) | (1L << (CONVERT_TZ - 787)) | (1L << (COS - 787)) | (1L << (COT - 787)) | (1L << (CRC32 - 787)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 787)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 787)) | (1L << (CREATE_DH_PARAMETERS - 787)) | (1L << (CREATE_DIGEST - 787)) | (1L << (CROSSES - 787)) | (1L << (DATEDIFF - 787)) | (1L << (DATE_FORMAT - 787)) | (1L << (DAYNAME - 787)) | (1L << (DAYOFMONTH - 787)) | (1L << (DAYOFWEEK - 787)) | (1L << (DAYOFYEAR - 787)) | (1L << (DECODE - 787)) | (1L << (DEGREES - 787)) | (1L << (DES_DECRYPT - 787)) | (1L << (DES_ENCRYPT - 787)) | (1L << (DIMENSION - 787)) | (1L << (DISJOINT - 787)) | (1L << (ELT - 787)) | (1L << (ENCODE - 787)) | (1L << (ENCRYPT - 787)) | (1L << (ENDPOINT - 787)) | (1L << (ENGINE_ATTRIBUTE - 787)) | (1L << (ENVELOPE - 787)) | (1L << (EQUALS - 787)) | (1L << (EXP - 787)) | (1L << (EXPORT_SET - 787)) | (1L << (EXTERIORRING - 787)) | (1L << (EXTRACTVALUE - 787)) | (1L << (FIELD - 787)))) != 0) || ((((_la - 851)) & ~0x3f) == 0 && ((1L << (_la - 851)) & ((1L << (FIND_IN_SET - 851)) | (1L << (FLOOR - 851)) | (1L << (FORMAT - 851)) | (1L << (FOUND_ROWS - 851)) | (1L << (FROM_BASE64 - 851)) | (1L << (FROM_DAYS - 851)) | (1L << (FROM_UNIXTIME - 851)) | (1L << (GEOMCOLLFROMTEXT - 851)) | (1L << (GEOMCOLLFROMWKB - 851)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 851)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 851)) | (1L << (GEOMETRYFROMTEXT - 851)) | (1L << (GEOMETRYFROMWKB - 851)) | (1L << (GEOMETRYN - 851)) | (1L << (GEOMETRYTYPE - 851)) | (1L << (GEOMFROMTEXT - 851)) | (1L << (GEOMFROMWKB - 851)) | (1L << (GET_FORMAT - 851)) | (1L << (GET_LOCK - 851)) | (1L << (GLENGTH - 851)) | (1L << (GREATEST - 851)) | (1L << (GTID_SUBSET - 851)) | (1L << (GTID_SUBTRACT - 851)) | (1L << (HEX - 851)) | (1L << (IFNULL - 851)) | (1L << (INET6_ATON - 851)) | (1L << (INET6_NTOA - 851)) | (1L << (INET_ATON - 851)) | (1L << (INET_NTOA - 851)) | (1L << (INSTR - 851)) | (1L << (INTERIORRINGN - 851)) | (1L << (INTERSECTS - 851)) | (1L << (ISCLOSED - 851)) | (1L << (ISEMPTY - 851)) | (1L << (ISNULL - 851)) | (1L << (ISSIMPLE - 851)) | (1L << (IS_FREE_LOCK - 851)) | (1L << (IS_IPV4 - 851)) | (1L << (IS_IPV4_COMPAT - 851)) | (1L << (IS_IPV4_MAPPED - 851)) | (1L << (IS_IPV6 - 851)) | (1L << (IS_USED_LOCK - 851)) | (1L << (LAST_INSERT_ID - 851)) | (1L << (LCASE - 851)) | (1L << (LEAST - 851)) | (1L << (LENGTH - 851)) | (1L << (LINEFROMTEXT - 851)) | (1L << (LINEFROMWKB - 851)) | (1L << (LINESTRINGFROMTEXT - 851)) | (1L << (LINESTRINGFROMWKB - 851)) | (1L << (LN - 851)) | (1L << (LOAD_FILE - 851)) | (1L << (LOCATE - 851)) | (1L << (LOG - 851)) | (1L << (LOG10 - 851)) | (1L << (LOG2 - 851)) | (1L << (LOWER - 851)) | (1L << (LPAD - 851)) | (1L << (LTRIM - 851)) | (1L << (MAKEDATE - 851)) | (1L << (MAKETIME - 851)) | (1L << (MAKE_SET - 851)) | (1L << (MASTER_POS_WAIT - 851)) | (1L << (MBRCONTAINS - 851)))) != 0) || ((((_la - 915)) & ~0x3f) == 0 && ((1L << (_la - 915)) & ((1L << (MBRDISJOINT - 915)) | (1L << (MBREQUAL - 915)) | (1L << (MBRINTERSECTS - 915)) | (1L << (MBROVERLAPS - 915)) | (1L << (MBRTOUCHES - 915)) | (1L << (MBRWITHIN - 915)) | (1L << (MD5 - 915)) | (1L << (MLINEFROMTEXT - 915)) | (1L << (MLINEFROMWKB - 915)) | (1L << (MONTHNAME - 915)) | (1L << (MPOINTFROMTEXT - 915)) | (1L << (MPOINTFROMWKB - 915)) | (1L << (MPOLYFROMTEXT - 915)) | (1L << (MPOLYFROMWKB - 915)) | (1L << (MULTILINESTRINGFROMTEXT - 915)) | (1L << (MULTILINESTRINGFROMWKB - 915)) | (1L << (MULTIPOINTFROMTEXT - 915)) | (1L << (MULTIPOINTFROMWKB - 915)) | (1L << (MULTIPOLYGONFROMTEXT - 915)) | (1L << (MULTIPOLYGONFROMWKB - 915)) | (1L << (NAME_CONST - 915)) | (1L << (NULLIF - 915)) | (1L << (NUMGEOMETRIES - 915)) | (1L << (NUMINTERIORRINGS - 915)) | (1L << (NUMPOINTS - 915)) | (1L << (OCT - 915)) | (1L << (OCTET_LENGTH - 915)) | (1L << (ORD - 915)) | (1L << (OVERLAPS - 915)) | (1L << (PERIOD_ADD - 915)) | (1L << (PERIOD_DIFF - 915)) | (1L << (PI - 915)) | (1L << (POINTFROMTEXT - 915)) | (1L << (POINTFROMWKB - 915)) | (1L << (POINTN - 915)) | (1L << (POLYFROMTEXT - 915)) | (1L << (POLYFROMWKB - 915)) | (1L << (POLYGONFROMTEXT - 915)) | (1L << (POLYGONFROMWKB - 915)) | (1L << (POW - 915)) | (1L << (POWER - 915)) | (1L << (QUOTE - 915)) | (1L << (RADIANS - 915)) | (1L << (RAND - 915)) | (1L << (RANDOM_BYTES - 915)) | (1L << (RELEASE_LOCK - 915)) | (1L << (REVERSE - 915)) | (1L << (ROUND - 915)) | (1L << (ROW_COUNT - 915)) | (1L << (RPAD - 915)) | (1L << (RTRIM - 915)) | (1L << (SEC_TO_TIME - 915)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 915)) | (1L << (SESSION_USER - 915)) | (1L << (SHA - 915)) | (1L << (SHA1 - 915)) | (1L << (SHA2 - 915)) | (1L << (SCHEMA_NAME - 915)) | (1L << (SIGN - 915)) | (1L << (SIN - 915)) | (1L << (SLEEP - 915)) | (1L << (SOUNDEX - 915)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 915)) | (1L << (SQRT - 915)))) != 0) || ((((_la - 979)) & ~0x3f) == 0 && ((1L << (_la - 979)) & ((1L << (SRID - 979)) | (1L << (STARTPOINT - 979)) | (1L << (STRCMP - 979)) | (1L << (STR_TO_DATE - 979)) | (1L << (ST_AREA - 979)) | (1L << (ST_ASBINARY - 979)) | (1L << (ST_ASTEXT - 979)) | (1L << (ST_ASWKB - 979)) | (1L << (ST_ASWKT - 979)) | (1L << (ST_BUFFER - 979)) | (1L << (ST_CENTROID - 979)) | (1L << (ST_CONTAINS - 979)) | (1L << (ST_CROSSES - 979)) | (1L << (ST_DIFFERENCE - 979)) | (1L << (ST_DIMENSION - 979)) | (1L << (ST_DISJOINT - 979)) | (1L << (ST_DISTANCE - 979)) | (1L << (ST_ENDPOINT - 979)) | (1L << (ST_ENVELOPE - 979)) | (1L << (ST_EQUALS - 979)) | (1L << (ST_EXTERIORRING - 979)) | (1L << (ST_GEOMCOLLFROMTEXT - 979)) | (1L << (ST_GEOMCOLLFROMTXT - 979)) | (1L << (ST_GEOMCOLLFROMWKB - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 979)) | (1L << (ST_GEOMETRYFROMTEXT - 979)) | (1L << (ST_GEOMETRYFROMWKB - 979)) | (1L << (ST_GEOMETRYN - 979)) | (1L << (ST_GEOMETRYTYPE - 979)) | (1L << (ST_GEOMFROMTEXT - 979)) | (1L << (ST_GEOMFROMWKB - 979)) | (1L << (ST_INTERIORRINGN - 979)) | (1L << (ST_INTERSECTION - 979)) | (1L << (ST_INTERSECTS - 979)) | (1L << (ST_ISCLOSED - 979)) | (1L << (ST_ISEMPTY - 979)) | (1L << (ST_ISSIMPLE - 979)) | (1L << (ST_LINEFROMTEXT - 979)) | (1L << (ST_LINEFROMWKB - 979)) | (1L << (ST_LINESTRINGFROMTEXT - 979)) | (1L << (ST_LINESTRINGFROMWKB - 979)) | (1L << (ST_NUMGEOMETRIES - 979)) | (1L << (ST_NUMINTERIORRING - 979)) | (1L << (ST_NUMINTERIORRINGS - 979)) | (1L << (ST_NUMPOINTS - 979)) | (1L << (ST_OVERLAPS - 979)) | (1L << (ST_POINTFROMTEXT - 979)) | (1L << (ST_POINTFROMWKB - 979)) | (1L << (ST_POINTN - 979)) | (1L << (ST_POLYFROMTEXT - 979)) | (1L << (ST_POLYFROMWKB - 979)) | (1L << (ST_POLYGONFROMTEXT - 979)) | (1L << (ST_POLYGONFROMWKB - 979)) | (1L << (ST_SRID - 979)) | (1L << (ST_STARTPOINT - 979)) | (1L << (ST_SYMDIFFERENCE - 979)) | (1L << (ST_TOUCHES - 979)) | (1L << (ST_UNION - 979)) | (1L << (ST_WITHIN - 979)) | (1L << (ST_X - 979)) | (1L << (ST_Y - 979)) | (1L << (SUBDATE - 979)) | (1L << (SUBSTRING_INDEX - 979)))) != 0) || ((((_la - 1043)) & ~0x3f) == 0 && ((1L << (_la - 1043)) & ((1L << (SUBTIME - 1043)) | (1L << (SYSTEM_USER - 1043)) | (1L << (TAN - 1043)) | (1L << (TIMEDIFF - 1043)) | (1L << (TIMESTAMPADD - 1043)) | (1L << (TIMESTAMPDIFF - 1043)) | (1L << (TIME_FORMAT - 1043)) | (1L << (TIME_TO_SEC - 1043)) | (1L << (TOUCHES - 1043)) | (1L << (TO_BASE64 - 1043)) | (1L << (TO_DAYS - 1043)) | (1L << (TO_SECONDS - 1043)) | (1L << (UCASE - 1043)) | (1L << (UNCOMPRESS - 1043)) | (1L << (UNCOMPRESSED_LENGTH - 1043)) | (1L << (UNHEX - 1043)) | (1L << (UNIX_TIMESTAMP - 1043)) | (1L << (UPDATEXML - 1043)) | (1L << (UPPER - 1043)) | (1L << (UUID - 1043)) | (1L << (UUID_SHORT - 1043)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1043)) | (1L << (VERSION - 1043)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1043)) | (1L << (WEEKDAY - 1043)) | (1L << (WEEKOFYEAR - 1043)) | (1L << (WEIGHT_STRING - 1043)) | (1L << (WITHIN - 1043)) | (1L << (YEARWEEK - 1043)) | (1L << (Y_FUNCTION - 1043)) | (1L << (X_FUNCTION - 1043)) | (1L << (VIA - 1043)) | (1L << (LASTVAL - 1043)) | (1L << (NEXTVAL - 1043)) | (1L << (SETVAL - 1043)) | (1L << (PREVIOUS - 1043)) | (1L << (PERSISTENT - 1043)) | (1L << (BINLOG_MONITOR - 1043)) | (1L << (BINLOG_REPLAY - 1043)) | (1L << (FEDERATED_ADMIN - 1043)) | (1L << (READ_ONLY_ADMIN - 1043)) | (1L << (REPLICA - 1043)) | (1L << (REPLICATION_MASTER_ADMIN - 1043)) | (1L << (MOD - 1043)))) != 0) || ((((_la - 1123)) & ~0x3f) == 0 && ((1L << (_la - 1123)) & ((1L << (CHARSET_REVERSE_QOUTE_STRING - 1123)) | (1L << (STRING_LITERAL - 1123)) | (1L << (ID - 1123)) | (1L << (REVERSE_QUOTE_ID - 1123)) | (1L << (ENCRYPTED - 1123)) | (1L << (ENCRYPTION_KEY_ID - 1123)))) != 0)) {
{
setState(1743);
uid();
}
}
setState(1747);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==USING) {
{
setState(1746);
indexType();
}
}
setState(1749);
indexColumnNames();
setState(1753);
_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(1750);
indexOption();
}
}
setState(1755);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case FULLTEXT:
case SPATIAL:
_localctx = new SpecialIndexDeclarationContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1756);
_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(1758);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INDEX || _la==KEY) {
{
setState(1757);
((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(1761);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 34)) & ~0x3f) == 0 && ((1L << (_la - 34)) & ((1L << (CURRENT - 34)) | (1L << (DATABASE - 34)) | (1L << (DIAGNOSTICS - 34)) | (1L << (EXCEPT - 34)) | (1L << (GROUP - 34)) | (1L << (IGNORED - 34)) | (1L << (LEFT - 34)))) != 0) || ((((_la - 114)) & ~0x3f) == 0 && ((1L << (_la - 114)) & ((1L << (NUMBER - 114)) | (1L << (OPTIONAL - 114)) | (1L << (ORDER - 114)) | (1L << (RIGHT - 114)) | (1L << (SCHEMA - 114)) | (1L << (STACKED - 114)))) != 0) || ((((_la - 211)) & ~0x3f) == 0 && ((1L << (_la - 211)) & ((1L << (DATE - 211)) | (1L << (TIME - 211)) | (1L << (TIMESTAMP - 211)) | (1L << (DATETIME - 211)) | (1L << (YEAR - 211)) | (1L << (BINARY - 211)) | (1L << (TEXT - 211)) | (1L << (ENUM - 211)) | (1L << (SERIAL - 211)) | (1L << (JSON_ARRAY - 211)) | (1L << (JSON_OBJECT - 211)) | (1L << (JSON_QUOTE - 211)) | (1L << (JSON_CONTAINS - 211)) | (1L << (JSON_CONTAINS_PATH - 211)) | (1L << (JSON_EXTRACT - 211)) | (1L << (JSON_KEYS - 211)) | (1L << (JSON_OVERLAPS - 211)) | (1L << (JSON_SEARCH - 211)) | (1L << (JSON_VALUE - 211)) | (1L << (JSON_ARRAY_APPEND - 211)) | (1L << (JSON_ARRAY_INSERT - 211)) | (1L << (JSON_INSERT - 211)) | (1L << (JSON_MERGE - 211)) | (1L << (JSON_MERGE_PATCH - 211)) | (1L << (JSON_MERGE_PRESERVE - 211)) | (1L << (JSON_REMOVE - 211)) | (1L << (JSON_REPLACE - 211)) | (1L << (JSON_SET - 211)) | (1L << (JSON_UNQUOTE - 211)) | (1L << (JSON_DEPTH - 211)) | (1L << (JSON_LENGTH - 211)) | (1L << (JSON_TYPE - 211)) | (1L << (JSON_VALID - 211)) | (1L << (JSON_TABLE - 211)) | (1L << (JSON_SCHEMA_VALID - 211)) | (1L << (JSON_SCHEMA_VALIDATION_REPORT - 211)) | (1L << (JSON_PRETTY - 211)) | (1L << (JSON_STORAGE_FREE - 211)) | (1L << (JSON_STORAGE_SIZE - 211)))) != 0) || ((((_la - 275)) & ~0x3f) == 0 && ((1L << (_la - 275)) & ((1L << (JSON_ARRAYAGG - 275)) | (1L << (JSON_OBJECTAGG - 275)) | (1L << (AVG - 275)) | (1L << (BIT_AND - 275)) | (1L << (BIT_OR - 275)) | (1L << (BIT_XOR - 275)) | (1L << (COUNT - 275)) | (1L << (CUME_DIST - 275)) | (1L << (DENSE_RANK - 275)) | (1L << (FIRST_VALUE - 275)) | (1L << (GROUP_CONCAT - 275)) | (1L << (LAG - 275)) | (1L << (LAST_VALUE - 275)) | (1L << (LEAD - 275)) | (1L << (MAX - 275)) | (1L << (MIN - 275)) | (1L << (NTILE - 275)) | (1L << (NTH_VALUE - 275)) | (1L << (PERCENT_RANK - 275)) | (1L << (RANK - 275)) | (1L << (ROW_NUMBER - 275)) | (1L << (STD - 275)) | (1L << (STDDEV - 275)) | (1L << (STDDEV_POP - 275)) | (1L << (STDDEV_SAMP - 275)) | (1L << (SUM - 275)) | (1L << (VAR_POP - 275)) | (1L << (VAR_SAMP - 275)) | (1L << (VARIANCE - 275)) | (1L << (POSITION - 275)) | (1L << (ACCOUNT - 275)) | (1L << (ACTION - 275)) | (1L << (AFTER - 275)) | (1L << (AGGREGATE - 275)) | (1L << (ALGORITHM - 275)) | (1L << (ANY - 275)) | (1L << (AT - 275)) | (1L << (AUTHORS - 275)) | (1L << (AUTOCOMMIT - 275)) | (1L << (AUTOEXTEND_SIZE - 275)) | (1L << (AUTO_INCREMENT - 275)) | (1L << (AVG_ROW_LENGTH - 275)) | (1L << (BEGIN - 275)) | (1L << (BINLOG - 275)) | (1L << (BIT - 275)) | (1L << (BLOCK - 275)))) != 0) || ((((_la - 339)) & ~0x3f) == 0 && ((1L << (_la - 339)) & ((1L << (BOOL - 339)) | (1L << (BOOLEAN - 339)) | (1L << (BTREE - 339)) | (1L << (CACHE - 339)) | (1L << (CASCADED - 339)) | (1L << (CHAIN - 339)) | (1L << (CHANGED - 339)) | (1L << (CHANNEL - 339)) | (1L << (CHECKSUM - 339)) | (1L << (PAGE_CHECKSUM - 339)) | (1L << (CIPHER - 339)) | (1L << (CLASS_ORIGIN - 339)) | (1L << (CLIENT - 339)) | (1L << (CLOSE - 339)) | (1L << (CLUSTERING - 339)) | (1L << (COALESCE - 339)) | (1L << (CODE - 339)) | (1L << (COLUMNS - 339)) | (1L << (COLUMN_FORMAT - 339)) | (1L << (COLUMN_NAME - 339)) | (1L << (COMMENT - 339)) | (1L << (COMMIT - 339)) | (1L << (COMPACT - 339)) | (1L << (COMPLETION - 339)) | (1L << (COMPRESSED - 339)) | (1L << (COMPRESSION - 339)) | (1L << (CONCURRENT - 339)) | (1L << (CONNECT - 339)) | (1L << (CONNECTION - 339)) | (1L << (CONSISTENT - 339)) | (1L << (CONSTRAINT_CATALOG - 339)) | (1L << (CONSTRAINT_SCHEMA - 339)) | (1L << (CONSTRAINT_NAME - 339)) | (1L << (CONTAINS - 339)) | (1L << (CONTEXT - 339)) | (1L << (CONTRIBUTORS - 339)) | (1L << (COPY - 339)) | (1L << (CPU - 339)) | (1L << (CURSOR_NAME - 339)) | (1L << (DATA - 339)) | (1L << (DATAFILE - 339)) | (1L << (DEALLOCATE - 339)) | (1L << (DEFAULT_AUTH - 339)) | (1L << (DEFINER - 339)) | (1L << (DELAY_KEY_WRITE - 339)) | (1L << (DES_KEY_FILE - 339)) | (1L << (DIRECTORY - 339)) | (1L << (DISABLE - 339)) | (1L << (DISCARD - 339)) | (1L << (DISK - 339)) | (1L << (DO - 339)) | (1L << (DUMPFILE - 339)) | (1L << (DUPLICATE - 339)) | (1L << (DYNAMIC - 339)) | (1L << (ENABLE - 339)) | (1L << (ENCRYPTION - 339)) | (1L << (END - 339)) | (1L << (ENDS - 339)) | (1L << (ENGINE - 339)) | (1L << (ENGINES - 339)) | (1L << (ERROR - 339)) | (1L << (ERRORS - 339)) | (1L << (ESCAPE - 339)) | (1L << (EVEN - 339)))) != 0) || ((((_la - 403)) & ~0x3f) == 0 && ((1L << (_la - 403)) & ((1L << (EVENT - 403)) | (1L << (EVENTS - 403)) | (1L << (EVERY - 403)) | (1L << (EXCHANGE - 403)) | (1L << (EXCLUSIVE - 403)) | (1L << (EXPIRE - 403)) | (1L << (EXPORT - 403)) | (1L << (EXTENDED - 403)) | (1L << (EXTENT_SIZE - 403)) | (1L << (FAST - 403)) | (1L << (FAULTS - 403)) | (1L << (FIELDS - 403)) | (1L << (FILE_BLOCK_SIZE - 403)) | (1L << (FILTER - 403)) | (1L << (FIRST - 403)) | (1L << (FIXED - 403)) | (1L << (FLUSH - 403)) | (1L << (FOLLOWS - 403)) | (1L << (FOUND - 403)) | (1L << (FULL - 403)) | (1L << (FUNCTION - 403)) | (1L << (GENERAL - 403)) | (1L << (GLOBAL - 403)) | (1L << (GRANTS - 403)) | (1L << (GROUP_REPLICATION - 403)) | (1L << (HANDLER - 403)) | (1L << (HASH - 403)) | (1L << (HELP - 403)) | (1L << (HOST - 403)) | (1L << (HOSTS - 403)) | (1L << (IDENTIFIED - 403)) | (1L << (IGNORE_SERVER_IDS - 403)) | (1L << (IMPORT - 403)) | (1L << (INDEXES - 403)) | (1L << (INITIAL_SIZE - 403)) | (1L << (INPLACE - 403)) | (1L << (INSERT_METHOD - 403)) | (1L << (INSTALL - 403)) | (1L << (INSTANCE - 403)) | (1L << (INSTANT - 403)) | (1L << (INVISIBLE - 403)) | (1L << (INVOKER - 403)) | (1L << (IO - 403)) | (1L << (IO_THREAD - 403)) | (1L << (IPC - 403)) | (1L << (ISOLATION - 403)) | (1L << (ISSUER - 403)) | (1L << (JSON - 403)) | (1L << (KEY_BLOCK_SIZE - 403)) | (1L << (LANGUAGE - 403)) | (1L << (LAST - 403)) | (1L << (LEAVES - 403)) | (1L << (LESS - 403)) | (1L << (LEVEL - 403)) | (1L << (LIST - 403)) | (1L << (LOCAL - 403)) | (1L << (LOGFILE - 403)) | (1L << (LOGS - 403)) | (1L << (MASTER - 403)) | (1L << (MASTER_AUTO_POSITION - 403)) | (1L << (MASTER_CONNECT_RETRY - 403)) | (1L << (MASTER_DELAY - 403)) | (1L << (MASTER_HEARTBEAT_PERIOD - 403)))) != 0) || ((((_la - 467)) & ~0x3f) == 0 && ((1L << (_la - 467)) & ((1L << (MASTER_HOST - 467)) | (1L << (MASTER_LOG_FILE - 467)) | (1L << (MASTER_LOG_POS - 467)) | (1L << (MASTER_PASSWORD - 467)) | (1L << (MASTER_PORT - 467)) | (1L << (MASTER_RETRY_COUNT - 467)) | (1L << (MASTER_SSL - 467)) | (1L << (MASTER_SSL_CA - 467)) | (1L << (MASTER_SSL_CAPATH - 467)) | (1L << (MASTER_SSL_CERT - 467)) | (1L << (MASTER_SSL_CIPHER - 467)) | (1L << (MASTER_SSL_CRL - 467)) | (1L << (MASTER_SSL_CRLPATH - 467)) | (1L << (MASTER_SSL_KEY - 467)) | (1L << (MASTER_TLS_VERSION - 467)) | (1L << (MASTER_USER - 467)) | (1L << (MAX_CONNECTIONS_PER_HOUR - 467)) | (1L << (MAX_QUERIES_PER_HOUR - 467)) | (1L << (MAX_ROWS - 467)) | (1L << (MAX_SIZE - 467)) | (1L << (MAX_UPDATES_PER_HOUR - 467)) | (1L << (MAX_USER_CONNECTIONS - 467)) | (1L << (MEDIUM - 467)) | (1L << (MEMBER - 467)) | (1L << (MERGE - 467)) | (1L << (MESSAGE_TEXT - 467)) | (1L << (MID - 467)) | (1L << (MIGRATE - 467)) | (1L << (MIN_ROWS - 467)) | (1L << (MODE - 467)) | (1L << (MODIFY - 467)) | (1L << (MUTEX - 467)) | (1L << (MYSQL - 467)) | (1L << (MYSQL_ERRNO - 467)) | (1L << (NAME - 467)) | (1L << (NAMES - 467)) | (1L << (NCHAR - 467)) | (1L << (NEVER - 467)) | (1L << (NEXT - 467)) | (1L << (NO - 467)) | (1L << (NOCOPY - 467)) | (1L << (NOWAIT - 467)) | (1L << (NODEGROUP - 467)) | (1L << (NONE - 467)) | (1L << (ODBC - 467)) | (1L << (OFFLINE - 467)) | (1L << (OFFSET - 467)) | (1L << (OF - 467)) | (1L << (OJ - 467)) | (1L << (OLD_PASSWORD - 467)) | (1L << (ONE - 467)) | (1L << (ONLINE - 467)) | (1L << (ONLY - 467)) | (1L << (OPEN - 467)) | (1L << (OPTIMIZER_COSTS - 467)) | (1L << (OPTIONS - 467)) | (1L << (OWNER - 467)) | (1L << (PACK_KEYS - 467)) | (1L << (PAGE - 467)) | (1L << (PARSER - 467)) | (1L << (PARTIAL - 467)) | (1L << (PARTITIONING - 467)) | (1L << (PARTITIONS - 467)) | (1L << (PASSWORD - 467)))) != 0) || ((((_la - 531)) & ~0x3f) == 0 && ((1L << (_la - 531)) & ((1L << (PHASE - 531)) | (1L << (PLUGIN - 531)) | (1L << (PLUGIN_DIR - 531)) | (1L << (PLUGINS - 531)) | (1L << (PORT - 531)) | (1L << (PRECEDES - 531)) | (1L << (PREPARE - 531)) | (1L << (PRESERVE - 531)) | (1L << (PREV - 531)) | (1L << (PROCESSLIST - 531)) | (1L << (PROFILE - 531)) | (1L << (PROFILES - 531)) | (1L << (PROXY - 531)) | (1L << (QUERY - 531)) | (1L << (QUICK - 531)) | (1L << (REBUILD - 531)) | (1L << (RECOVER - 531)) | (1L << (RECURSIVE - 531)) | (1L << (REDO_BUFFER_SIZE - 531)) | (1L << (REDUNDANT - 531)) | (1L << (RELAY - 531)) | (1L << (RELAY_LOG_FILE - 531)) | (1L << (RELAY_LOG_POS - 531)) | (1L << (RELAYLOG - 531)) | (1L << (REMOVE - 531)) | (1L << (REORGANIZE - 531)) | (1L << (REPAIR - 531)) | (1L << (REPLICATE_DO_DB - 531)) | (1L << (REPLICATE_DO_TABLE - 531)) | (1L << (REPLICATE_IGNORE_DB - 531)) | (1L << (REPLICATE_IGNORE_TABLE - 531)) | (1L << (REPLICATE_REWRITE_DB - 531)) | (1L << (REPLICATE_WILD_DO_TABLE - 531)) | (1L << (REPLICATE_WILD_IGNORE_TABLE - 531)) | (1L << (REPLICATION - 531)) | (1L << (RESET - 531)) | (1L << (RESUME - 531)) | (1L << (RETURNED_SQLSTATE - 531)) | (1L << (RETURNS - 531)) | (1L << (ROLE - 531)) | (1L << (ROLLBACK - 531)) | (1L << (ROLLUP - 531)) | (1L << (ROTATE - 531)) | (1L << (ROW - 531)) | (1L << (ROWS - 531)) | (1L << (ROW_FORMAT - 531)) | (1L << (RTREE - 531)) | (1L << (SAVEPOINT - 531)) | (1L << (SCHEDULE - 531)) | (1L << (SECURITY - 531)) | (1L << (SERVER - 531)) | (1L << (SESSION - 531)) | (1L << (SHARE - 531)) | (1L << (SHARED - 531)) | (1L << (SIGNED - 531)) | (1L << (SIMPLE - 531)) | (1L << (SLAVE - 531)) | (1L << (SLOW - 531)) | (1L << (SNAPSHOT - 531)) | (1L << (SOCKET - 531)) | (1L << (SOME - 531)) | (1L << (SONAME - 531)))) != 0) || ((((_la - 595)) & ~0x3f) == 0 && ((1L << (_la - 595)) & ((1L << (SOUNDS - 595)) | (1L << (SOURCE - 595)) | (1L << (SQL_AFTER_GTIDS - 595)) | (1L << (SQL_AFTER_MTS_GAPS - 595)) | (1L << (SQL_BEFORE_GTIDS - 595)) | (1L << (SQL_BUFFER_RESULT - 595)) | (1L << (SQL_CACHE - 595)) | (1L << (SQL_NO_CACHE - 595)) | (1L << (SQL_THREAD - 595)) | (1L << (START - 595)) | (1L << (STARTS - 595)) | (1L << (STATS_AUTO_RECALC - 595)) | (1L << (STATS_PERSISTENT - 595)) | (1L << (STATS_SAMPLE_PAGES - 595)) | (1L << (STATUS - 595)) | (1L << (STOP - 595)) | (1L << (STORAGE - 595)) | (1L << (STRING - 595)) | (1L << (SUBCLASS_ORIGIN - 595)) | (1L << (SUBJECT - 595)) | (1L << (SUBPARTITION - 595)) | (1L << (SUBPARTITIONS - 595)) | (1L << (SUSPEND - 595)) | (1L << (SWAPS - 595)) | (1L << (SWITCHES - 595)) | (1L << (TABLE_NAME - 595)) | (1L << (TABLESPACE - 595)) | (1L << (TEMPORARY - 595)) | (1L << (TEMPTABLE - 595)) | (1L << (THAN - 595)) | (1L << (TRADITIONAL - 595)) | (1L << (TRANSACTION - 595)) | (1L << (TRANSACTIONAL - 595)) | (1L << (TRIGGERS - 595)) | (1L << (TRUNCATE - 595)) | (1L << (UNDEFINED - 595)) | (1L << (UNDOFILE - 595)) | (1L << (UNDO_BUFFER_SIZE - 595)) | (1L << (UNINSTALL - 595)) | (1L << (UNKNOWN - 595)) | (1L << (UNTIL - 595)) | (1L << (UPGRADE - 595)) | (1L << (USER - 595)) | (1L << (USE_FRM - 595)) | (1L << (USER_RESOURCES - 595)) | (1L << (VALIDATION - 595)) | (1L << (VALUE - 595)) | (1L << (VARIABLES - 595)) | (1L << (VIEW - 595)) | (1L << (VISIBLE - 595)) | (1L << (WAIT - 595)) | (1L << (WARNINGS - 595)) | (1L << (WITHOUT - 595)) | (1L << (WORK - 595)) | (1L << (WRAPPER - 595)) | (1L << (X509 - 595)) | (1L << (XA - 595)) | (1L << (XML - 595)))) != 0) || ((((_la - 659)) & ~0x3f) == 0 && ((1L << (_la - 659)) & ((1L << (EUR - 659)) | (1L << (USA - 659)) | (1L << (JIS - 659)) | (1L << (ISO - 659)) | (1L << (INTERNAL - 659)) | (1L << (QUARTER - 659)) | (1L << (MONTH - 659)) | (1L << (DAY - 659)) | (1L << (HOUR - 659)) | (1L << (MINUTE - 659)) | (1L << (WEEK - 659)) | (1L << (SECOND - 659)) | (1L << (MICROSECOND - 659)) | (1L << (TABLES - 659)) | (1L << (ROUTINE - 659)) | (1L << (EXECUTE - 659)) | (1L << (FILE - 659)) | (1L << (PROCESS - 659)) | (1L << (RELOAD - 659)) | (1L << (SHUTDOWN - 659)) | (1L << (SUPER - 659)) | (1L << (PRIVILEGES - 659)) | (1L << (AUDIT_ADMIN - 659)) | (1L << (BACKUP_ADMIN - 659)) | (1L << (BINLOG_ADMIN - 659)) | (1L << (BINLOG_ENCRYPTION_ADMIN - 659)) | (1L << (CLONE_ADMIN - 659)) | (1L << (CONNECTION_ADMIN - 659)) | (1L << (ENCRYPTION_KEY_ADMIN - 659)) | (1L << (FIREWALL_ADMIN - 659)) | (1L << (FIREWALL_USER - 659)) | (1L << (ADMIN - 659)) | (1L << (GROUP_REPLICATION_ADMIN - 659)) | (1L << (INNODB_REDO_LOG_ARCHIVE - 659)) | (1L << (NDB_STORED_USER - 659)) | (1L << (PERSIST_RO_VARIABLES_ADMIN - 659)) | (1L << (REPLICATION_APPLIER - 659)) | (1L << (REPLICATION_SLAVE_ADMIN - 659)) | (1L << (RESOURCE_GROUP_ADMIN - 659)) | (1L << (RESOURCE_GROUP_USER - 659)) | (1L << (ROLE_ADMIN - 659)) | (1L << (SESSION_VARIABLES_ADMIN - 659)) | (1L << (SET_USER_ID - 659)) | (1L << (SHOW_ROUTINE - 659)) | (1L << (SYSTEM_VARIABLES_ADMIN - 659)) | (1L << (TABLE_ENCRYPTION_ADMIN - 659)) | (1L << (VERSION_TOKEN_ADMIN - 659)) | (1L << (XA_RECOVER_ADMIN - 659)) | (1L << (ARMSCII8 - 659)) | (1L << (ASCII - 659)) | (1L << (BIG5 - 659)) | (1L << (CP1250 - 659)) | (1L << (CP1251 - 659)) | (1L << (CP1256 - 659)) | (1L << (CP1257 - 659)) | (1L << (CP850 - 659)) | (1L << (CP852 - 659)))) != 0) || ((((_la - 723)) & ~0x3f) == 0 && ((1L << (_la - 723)) & ((1L << (CP866 - 723)) | (1L << (CP932 - 723)) | (1L << (DEC8 - 723)) | (1L << (EUCJPMS - 723)) | (1L << (EUCKR - 723)) | (1L << (GB18030 - 723)) | (1L << (GB2312 - 723)) | (1L << (GBK - 723)) | (1L << (GEOSTD8 - 723)) | (1L << (GREEK - 723)) | (1L << (HEBREW - 723)) | (1L << (HP8 - 723)) | (1L << (KEYBCS2 - 723)) | (1L << (KOI8R - 723)) | (1L << (KOI8U - 723)) | (1L << (LATIN1 - 723)) | (1L << (LATIN2 - 723)) | (1L << (LATIN5 - 723)) | (1L << (LATIN7 - 723)) | (1L << (MACCE - 723)) | (1L << (MACROMAN - 723)) | (1L << (SJIS - 723)) | (1L << (SWE7 - 723)) | (1L << (TIS620 - 723)) | (1L << (UCS2 - 723)) | (1L << (UJIS - 723)) | (1L << (UTF16 - 723)) | (1L << (UTF16LE - 723)) | (1L << (UTF32 - 723)) | (1L << (UTF8 - 723)) | (1L << (UTF8MB3 - 723)) | (1L << (UTF8MB4 - 723)) | (1L << (ARCHIVE - 723)) | (1L << (BLACKHOLE - 723)) | (1L << (CSV - 723)) | (1L << (FEDERATED - 723)) | (1L << (INNODB - 723)) | (1L << (MEMORY - 723)) | (1L << (MRG_MYISAM - 723)) | (1L << (MYISAM - 723)) | (1L << (NDB - 723)) | (1L << (NDBCLUSTER - 723)) | (1L << (PERFORMANCE_SCHEMA - 723)) | (1L << (TOKUDB - 723)) | (1L << (REPEATABLE - 723)) | (1L << (COMMITTED - 723)) | (1L << (UNCOMMITTED - 723)) | (1L << (SERIALIZABLE - 723)) | (1L << (GEOMETRYCOLLECTION - 723)) | (1L << (LINESTRING - 723)) | (1L << (MULTILINESTRING - 723)) | (1L << (MULTIPOINT - 723)) | (1L << (MULTIPOLYGON - 723)) | (1L << (POINT - 723)) | (1L << (POLYGON - 723)) | (1L << (ABS - 723)) | (1L << (ACOS - 723)) | (1L << (ADDDATE - 723)) | (1L << (ADDTIME - 723)) | (1L << (AES_DECRYPT - 723)) | (1L << (AES_ENCRYPT - 723)) | (1L << (AREA - 723)))) != 0) || ((((_la - 787)) & ~0x3f) == 0 && ((1L << (_la - 787)) & ((1L << (ASBINARY - 787)) | (1L << (ASIN - 787)) | (1L << (ASTEXT - 787)) | (1L << (ASWKB - 787)) | (1L << (ASWKT - 787)) | (1L << (ASYMMETRIC_DECRYPT - 787)) | (1L << (ASYMMETRIC_DERIVE - 787)) | (1L << (ASYMMETRIC_ENCRYPT - 787)) | (1L << (ASYMMETRIC_SIGN - 787)) | (1L << (ASYMMETRIC_VERIFY - 787)) | (1L << (ATAN - 787)) | (1L << (ATAN2 - 787)) | (1L << (BENCHMARK - 787)) | (1L << (BIN - 787)) | (1L << (BIT_COUNT - 787)) | (1L << (BIT_LENGTH - 787)) | (1L << (BUFFER - 787)) | (1L << (CATALOG_NAME - 787)) | (1L << (CEIL - 787)) | (1L << (CEILING - 787)) | (1L << (CENTROID - 787)) | (1L << (CHARACTER_LENGTH - 787)) | (1L << (CHARSET - 787)) | (1L << (CHAR_LENGTH - 787)) | (1L << (COERCIBILITY - 787)) | (1L << (COLLATION - 787)) | (1L << (COMPRESS - 787)) | (1L << (CONCAT - 787)) | (1L << (CONCAT_WS - 787)) | (1L << (CONNECTION_ID - 787)) | (1L << (CONV - 787)) | (1L << (CONVERT_TZ - 787)) | (1L << (COS - 787)) | (1L << (COT - 787)) | (1L << (CRC32 - 787)) | (1L << (CREATE_ASYMMETRIC_PRIV_KEY - 787)) | (1L << (CREATE_ASYMMETRIC_PUB_KEY - 787)) | (1L << (CREATE_DH_PARAMETERS - 787)) | (1L << (CREATE_DIGEST - 787)) | (1L << (CROSSES - 787)) | (1L << (DATEDIFF - 787)) | (1L << (DATE_FORMAT - 787)) | (1L << (DAYNAME - 787)) | (1L << (DAYOFMONTH - 787)) | (1L << (DAYOFWEEK - 787)) | (1L << (DAYOFYEAR - 787)) | (1L << (DECODE - 787)) | (1L << (DEGREES - 787)) | (1L << (DES_DECRYPT - 787)) | (1L << (DES_ENCRYPT - 787)) | (1L << (DIMENSION - 787)) | (1L << (DISJOINT - 787)) | (1L << (ELT - 787)) | (1L << (ENCODE - 787)) | (1L << (ENCRYPT - 787)) | (1L << (ENDPOINT - 787)) | (1L << (ENGINE_ATTRIBUTE - 787)) | (1L << (ENVELOPE - 787)) | (1L << (EQUALS - 787)) | (1L << (EXP - 787)) | (1L << (EXPORT_SET - 787)) | (1L << (EXTERIORRING - 787)) | (1L << (EXTRACTVALUE - 787)) | (1L << (FIELD - 787)))) != 0) || ((((_la - 851)) & ~0x3f) == 0 && ((1L << (_la - 851)) & ((1L << (FIND_IN_SET - 851)) | (1L << (FLOOR - 851)) | (1L << (FORMAT - 851)) | (1L << (FOUND_ROWS - 851)) | (1L << (FROM_BASE64 - 851)) | (1L << (FROM_DAYS - 851)) | (1L << (FROM_UNIXTIME - 851)) | (1L << (GEOMCOLLFROMTEXT - 851)) | (1L << (GEOMCOLLFROMWKB - 851)) | (1L << (GEOMETRYCOLLECTIONFROMTEXT - 851)) | (1L << (GEOMETRYCOLLECTIONFROMWKB - 851)) | (1L << (GEOMETRYFROMTEXT - 851)) | (1L << (GEOMETRYFROMWKB - 851)) | (1L << (GEOMETRYN - 851)) | (1L << (GEOMETRYTYPE - 851)) | (1L << (GEOMFROMTEXT - 851)) | (1L << (GEOMFROMWKB - 851)) | (1L << (GET_FORMAT - 851)) | (1L << (GET_LOCK - 851)) | (1L << (GLENGTH - 851)) | (1L << (GREATEST - 851)) | (1L << (GTID_SUBSET - 851)) | (1L << (GTID_SUBTRACT - 851)) | (1L << (HEX - 851)) | (1L << (IFNULL - 851)) | (1L << (INET6_ATON - 851)) | (1L << (INET6_NTOA - 851)) | (1L << (INET_ATON - 851)) | (1L << (INET_NTOA - 851)) | (1L << (INSTR - 851)) | (1L << (INTERIORRINGN - 851)) | (1L << (INTERSECTS - 851)) | (1L << (ISCLOSED - 851)) | (1L << (ISEMPTY - 851)) | (1L << (ISNULL - 851)) | (1L << (ISSIMPLE - 851)) | (1L << (IS_FREE_LOCK - 851)) | (1L << (IS_IPV4 - 851)) | (1L << (IS_IPV4_COMPAT - 851)) | (1L << (IS_IPV4_MAPPED - 851)) | (1L << (IS_IPV6 - 851)) | (1L << (IS_USED_LOCK - 851)) | (1L << (LAST_INSERT_ID - 851)) | (1L << (LCASE - 851)) | (1L << (LEAST - 851)) | (1L << (LENGTH - 851)) | (1L << (LINEFROMTEXT - 851)) | (1L << (LINEFROMWKB - 851)) | (1L << (LINESTRINGFROMTEXT - 851)) | (1L << (LINESTRINGFROMWKB - 851)) | (1L << (LN - 851)) | (1L << (LOAD_FILE - 851)) | (1L << (LOCATE - 851)) | (1L << (LOG - 851)) | (1L << (LOG10 - 851)) | (1L << (LOG2 - 851)) | (1L << (LOWER - 851)) | (1L << (LPAD - 851)) | (1L << (LTRIM - 851)) | (1L << (MAKEDATE - 851)) | (1L << (MAKETIME - 851)) | (1L << (MAKE_SET - 851)) | (1L << (MASTER_POS_WAIT - 851)) | (1L << (MBRCONTAINS - 851)))) != 0) || ((((_la - 915)) & ~0x3f) == 0 && ((1L << (_la - 915)) & ((1L << (MBRDISJOINT - 915)) | (1L << (MBREQUAL - 915)) | (1L << (MBRINTERSECTS - 915)) | (1L << (MBROVERLAPS - 915)) | (1L << (MBRTOUCHES - 915)) | (1L << (MBRWITHIN - 915)) | (1L << (MD5 - 915)) | (1L << (MLINEFROMTEXT - 915)) | (1L << (MLINEFROMWKB - 915)) | (1L << (MONTHNAME - 915)) | (1L << (MPOINTFROMTEXT - 915)) | (1L << (MPOINTFROMWKB - 915)) | (1L << (MPOLYFROMTEXT - 915)) | (1L << (MPOLYFROMWKB - 915)) | (1L << (MULTILINESTRINGFROMTEXT - 915)) | (1L << (MULTILINESTRINGFROMWKB - 915)) | (1L << (MULTIPOINTFROMTEXT - 915)) | (1L << (MULTIPOINTFROMWKB - 915)) | (1L << (MULTIPOLYGONFROMTEXT - 915)) | (1L << (MULTIPOLYGONFROMWKB - 915)) | (1L << (NAME_CONST - 915)) | (1L << (NULLIF - 915)) | (1L << (NUMGEOMETRIES - 915)) | (1L << (NUMINTERIORRINGS - 915)) | (1L << (NUMPOINTS - 915)) | (1L << (OCT - 915)) | (1L << (OCTET_LENGTH - 915)) | (1L << (ORD - 915)) | (1L << (OVERLAPS - 915)) | (1L << (PERIOD_ADD - 915)) | (1L << (PERIOD_DIFF - 915)) | (1L << (PI - 915)) | (1L << (POINTFROMTEXT - 915)) | (1L << (POINTFROMWKB - 915)) | (1L << (POINTN - 915)) | (1L << (POLYFROMTEXT - 915)) | (1L << (POLYFROMWKB - 915)) | (1L << (POLYGONFROMTEXT - 915)) | (1L << (POLYGONFROMWKB - 915)) | (1L << (POW - 915)) | (1L << (POWER - 915)) | (1L << (QUOTE - 915)) | (1L << (RADIANS - 915)) | (1L << (RAND - 915)) | (1L << (RANDOM_BYTES - 915)) | (1L << (RELEASE_LOCK - 915)) | (1L << (REVERSE - 915)) | (1L << (ROUND - 915)) | (1L << (ROW_COUNT - 915)) | (1L << (RPAD - 915)) | (1L << (RTRIM - 915)) | (1L << (SEC_TO_TIME - 915)) | (1L << (SECONDARY_ENGINE_ATTRIBUTE - 915)) | (1L << (SESSION_USER - 915)) | (1L << (SHA - 915)) | (1L << (SHA1 - 915)) | (1L << (SHA2 - 915)) | (1L << (SCHEMA_NAME - 915)) | (1L << (SIGN - 915)) | (1L << (SIN - 915)) | (1L << (SLEEP - 915)) | (1L << (SOUNDEX - 915)) | (1L << (SQL_THREAD_WAIT_AFTER_GTIDS - 915)) | (1L << (SQRT - 915)))) != 0) || ((((_la - 979)) & ~0x3f) == 0 && ((1L << (_la - 979)) & ((1L << (SRID - 979)) | (1L << (STARTPOINT - 979)) | (1L << (STRCMP - 979)) | (1L << (STR_TO_DATE - 979)) | (1L << (ST_AREA - 979)) | (1L << (ST_ASBINARY - 979)) | (1L << (ST_ASTEXT - 979)) | (1L << (ST_ASWKB - 979)) | (1L << (ST_ASWKT - 979)) | (1L << (ST_BUFFER - 979)) | (1L << (ST_CENTROID - 979)) | (1L << (ST_CONTAINS - 979)) | (1L << (ST_CROSSES - 979)) | (1L << (ST_DIFFERENCE - 979)) | (1L << (ST_DIMENSION - 979)) | (1L << (ST_DISJOINT - 979)) | (1L << (ST_DISTANCE - 979)) | (1L << (ST_ENDPOINT - 979)) | (1L << (ST_ENVELOPE - 979)) | (1L << (ST_EQUALS - 979)) | (1L << (ST_EXTERIORRING - 979)) | (1L << (ST_GEOMCOLLFROMTEXT - 979)) | (1L << (ST_GEOMCOLLFROMTXT - 979)) | (1L << (ST_GEOMCOLLFROMWKB - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMTEXT - 979)) | (1L << (ST_GEOMETRYCOLLECTIONFROMWKB - 979)) | (1L << (ST_GEOMETRYFROMTEXT - 979)) | (1L << (ST_GEOMETRYFROMWKB - 979)) | (1L << (ST_GEOMETRYN - 979)) | (1L << (ST_GEOMETRYTYPE - 979)) | (1L << (ST_GEOMFROMTEXT - 979)) | (1L << (ST_GEOMFROMWKB - 979)) | (1L << (ST_INTERIORRINGN - 979)) | (1L << (ST_INTERSECTION - 979)) | (1L << (ST_INTERSECTS - 979)) | (1L << (ST_ISCLOSED - 979)) | (1L << (ST_ISEMPTY - 979)) | (1L << (ST_ISSIMPLE - 979)) | (1L << (ST_LINEFROMTEXT - 979)) | (1L << (ST_LINEFROMWKB - 979)) | (1L << (ST_LINESTRINGFROMTEXT - 979)) | (1L << (ST_LINESTRINGFROMWKB - 979)) | (1L << (ST_NUMGEOMETRIES - 979)) | (1L << (ST_NUMINTERIORRING - 979)) | (1L << (ST_NUMINTERIORRINGS - 979)) | (1L << (ST_NUMPOINTS - 979)) | (1L << (ST_OVERLAPS - 979)) | (1L << (ST_POINTFROMTEXT - 979)) | (1L << (ST_POINTFROMWKB - 979)) | (1L << (ST_POINTN - 979)) | (1L << (ST_POLYFROMTEXT - 979)) | (1L << (ST_POLYFROMWKB - 979)) | (1L << (ST_POLYGONFROMTEXT - 979)) | (1L << (ST_POLYGONFROMWKB - 979)) | (1L << (ST_SRID - 979)) | (1L << (ST_STARTPOINT - 979)) | (1L << (ST_SYMDIFFERENCE - 979)) | (1L << (ST_TOUCHES - 979)) | (1L << (ST_UNION - 979)) | (1L << (ST_WITHIN - 979)) | (1L << (ST_X - 979)) | (1L << (ST_Y - 979)) | (1L << (SUBDATE - 979)) | (1L << (SUBSTRING_INDEX - 979)))) != 0) || ((((_la - 1043)) & ~0x3f) == 0 && ((1L << (_la - 1043)) & ((1L << (SUBTIME - 1043)) | (1L << (SYSTEM_USER - 1043)) | (1L << (TAN - 1043)) | (1L << (TIMEDIFF - 1043)) | (1L << (TIMESTAMPADD - 1043)) | (1L << (TIMESTAMPDIFF - 1043)) | (1L << (TIME_FORMAT - 1043)) | (1L << (TIME_TO_SEC - 1043)) | (1L << (TOUCHES - 1043)) | (1L << (TO_BASE64 - 1043)) | (1L << (TO_DAYS - 1043)) | (1L << (TO_SECONDS - 1043)) | (1L << (UCASE - 1043)) | (1L << (UNCOMPRESS - 1043)) | (1L << (UNCOMPRESSED_LENGTH - 1043)) | (1L << (UNHEX - 1043)) | (1L << (UNIX_TIMESTAMP - 1043)) | (1L << (UPDATEXML - 1043)) | (1L << (UPPER - 1043)) | (1L << (UUID - 1043)) | (1L << (UUID_SHORT - 1043)) | (1L << (VALIDATE_PASSWORD_STRENGTH - 1043)) | (1L << (VERSION - 1043)) | (1L << (WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS - 1043)) | (1L << (WEEKDAY - 1043)) | (1L << (WEEKOFYEAR - 1043)) | (1L << (WEIGHT_STRING - 1043)) | (1L << (WITHIN - 1043)) | (1L << (YEARWEEK - 1043)) | (1L << (Y_FUNCTION - 1043)) | (1L << (X_FUNCTION - 1043)) | (1L << (VIA - 1043)) | (1L << (LASTVAL - 1043)) | (1L << (NEXTVAL - 1043)) | (1L << (SETVAL - 1043)) | (1L << (PREVIOUS - 1043)) | (1L << (PERSISTENT - 1043)) | (1L << (BINLOG_MONITOR - 1043)) | (1L << (BINLOG_REPLAY - 1043)) | (1L << (FEDERATED_ADMIN - 1043)) | (1L << (READ_ONLY_ADMIN - 1043)) | (1L << (REPLICA - 1043)) | (1L << (REPLICATION_MASTER_ADMIN - 1043)) | (1L << (MOD - 1043)))) != 0) || ((((_la - 1123)) & ~0x3f) == 0 && ((1L << (_la - 1123)) & ((1L << (CHARSET_REVERSE_QOUTE_STRING - 1123)) | (1L << (STRING_LITERAL - 1123)) | (1L << (ID - 1123)) | (1L << (REVERSE_QUOTE_ID - 1123)) | (1L << (ENCRYPTED - 1123)) | (1L << (ENCRYPTION_KEY_ID - 1123)))) != 0)) {
{
setState(1760);
uid();
}
}
setState(1763);
indexColumnNames();
setState(1767);
_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(1764);
indexOption();
}
}
setState(1769);
_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(CqlParser.ENGINE, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public TableOptionEngineContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionEngine(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionMaxRowsContext extends TableOptionContext {
public TerminalNode MAX_ROWS() { return getToken(CqlParser.MAX_ROWS, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionMaxRowsContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionMaxRows(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionCollateContext extends TableOptionContext {
public TerminalNode COLLATE() { return getToken(CqlParser.COLLATE, 0); }
public CollationNameContext collationName() {
return getRuleContext(CollationNameContext.class,0);
}
public TerminalNode DEFAULT() { return getToken(CqlParser.DEFAULT, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionCollateContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionCollate(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionPersistentContext extends TableOptionContext {
public Token extBoolValue;
public TerminalNode STATS_PERSISTENT() { return getToken(CqlParser.STATS_PERSISTENT, 0); }
public TerminalNode DEFAULT() { return getToken(CqlParser.DEFAULT, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(CqlParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(CqlParser.ONE_DECIMAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionPersistentContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionPersistent(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionTablespaceContext extends TableOptionContext {
public TerminalNode TABLESPACE() { return getToken(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionTablespace(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionPackKeysContext extends TableOptionContext {
public Token extBoolValue;
public TerminalNode PACK_KEYS() { return getToken(CqlParser.PACK_KEYS, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(CqlParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(CqlParser.ONE_DECIMAL, 0); }
public TerminalNode DEFAULT() { return getToken(CqlParser.DEFAULT, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionPackKeysContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionPackKeys(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionPasswordContext extends TableOptionContext {
public TerminalNode PASSWORD() { return getToken(CqlParser.PASSWORD, 0); }
public TerminalNode STRING_LITERAL() { return getToken(CqlParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionPasswordContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionPassword(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionUnionContext extends TableOptionContext {
public TerminalNode UNION() { return getToken(CqlParser.UNION, 0); }
public TerminalNode LR_BRACKET() { return getToken(CqlParser.LR_BRACKET, 0); }
public TablesContext tables() {
return getRuleContext(TablesContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(CqlParser.RR_BRACKET, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionUnionContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionUnion(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionSamplePageContext extends TableOptionContext {
public TerminalNode STATS_SAMPLE_PAGES() { return getToken(CqlParser.STATS_SAMPLE_PAGES, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionSamplePageContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionSamplePage(this);
else return visitor.visitChildren(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(CqlParser.DEFAULT); }
public TerminalNode DEFAULT(int i) {
return getToken(CqlParser.DEFAULT, i);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionCharsetContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionCharset(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionIndexDirectoryContext extends TableOptionContext {
public TerminalNode INDEX() { return getToken(CqlParser.INDEX, 0); }
public TerminalNode DIRECTORY() { return getToken(CqlParser.DIRECTORY, 0); }
public TerminalNode STRING_LITERAL() { return getToken(CqlParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionIndexDirectoryContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionIndexDirectory(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionTableTypeContext extends TableOptionContext {
public TerminalNode TABLE_TYPE() { return getToken(CqlParser.TABLE_TYPE, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableTypeContext tableType() {
return getRuleContext(TableTypeContext.class,0);
}
public TableOptionTableTypeContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionTableType(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionKeyBlockSizeContext extends TableOptionContext {
public TerminalNode KEY_BLOCK_SIZE() { return getToken(CqlParser.KEY_BLOCK_SIZE, 0); }
public FileSizeLiteralContext fileSizeLiteral() {
return getRuleContext(FileSizeLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionKeyBlockSizeContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionKeyBlockSize(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionEncryptionContext extends TableOptionContext {
public TerminalNode ENCRYPTION() { return getToken(CqlParser.ENCRYPTION, 0); }
public TerminalNode STRING_LITERAL() { return getToken(CqlParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionEncryptionContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionEncryption(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionDataDirectoryContext extends TableOptionContext {
public TerminalNode DATA() { return getToken(CqlParser.DATA, 0); }
public TerminalNode DIRECTORY() { return getToken(CqlParser.DIRECTORY, 0); }
public TerminalNode STRING_LITERAL() { return getToken(CqlParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionDataDirectoryContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionDataDirectory(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionRecalculationContext extends TableOptionContext {
public Token extBoolValue;
public TerminalNode STATS_AUTO_RECALC() { return getToken(CqlParser.STATS_AUTO_RECALC, 0); }
public TerminalNode DEFAULT() { return getToken(CqlParser.DEFAULT, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(CqlParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(CqlParser.ONE_DECIMAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionRecalculationContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionRecalculation(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionAutoIncrementContext extends TableOptionContext {
public TerminalNode AUTO_INCREMENT() { return getToken(CqlParser.AUTO_INCREMENT, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionAutoIncrementContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionAutoIncrement(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionChecksumContext extends TableOptionContext {
public Token boolValue;
public TerminalNode CHECKSUM() { return getToken(CqlParser.CHECKSUM, 0); }
public TerminalNode PAGE_CHECKSUM() { return getToken(CqlParser.PAGE_CHECKSUM, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(CqlParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(CqlParser.ONE_DECIMAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionChecksumContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionChecksum(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionDelayContext extends TableOptionContext {
public Token boolValue;
public TerminalNode DELAY_KEY_WRITE() { return getToken(CqlParser.DELAY_KEY_WRITE, 0); }
public TerminalNode ZERO_DECIMAL() { return getToken(CqlParser.ZERO_DECIMAL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(CqlParser.ONE_DECIMAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionDelayContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionDelay(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionConnectionContext extends TableOptionContext {
public TerminalNode CONNECTION() { return getToken(CqlParser.CONNECTION, 0); }
public TerminalNode STRING_LITERAL() { return getToken(CqlParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionConnectionContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionConnection(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionCommentContext extends TableOptionContext {
public TerminalNode COMMENT() { return getToken(CqlParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(CqlParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionCommentContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionComment(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionAverageContext extends TableOptionContext {
public TerminalNode AVG_ROW_LENGTH() { return getToken(CqlParser.AVG_ROW_LENGTH, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionAverageContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionAverage(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionRowFormatContext extends TableOptionContext {
public Token rowFormat;
public TerminalNode ROW_FORMAT() { return getToken(CqlParser.ROW_FORMAT, 0); }
public TerminalNode DEFAULT() { return getToken(CqlParser.DEFAULT, 0); }
public TerminalNode DYNAMIC() { return getToken(CqlParser.DYNAMIC, 0); }
public TerminalNode FIXED() { return getToken(CqlParser.FIXED, 0); }
public TerminalNode COMPRESSED() { return getToken(CqlParser.COMPRESSED, 0); }
public TerminalNode REDUNDANT() { return getToken(CqlParser.REDUNDANT, 0); }
public TerminalNode COMPACT() { return getToken(CqlParser.COMPACT, 0); }
public TerminalNode ID() { return getToken(CqlParser.ID, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionRowFormatContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionRowFormat(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionCompressionContext extends TableOptionContext {
public TerminalNode COMPRESSION() { return getToken(CqlParser.COMPRESSION, 0); }
public TerminalNode STRING_LITERAL() { return getToken(CqlParser.STRING_LITERAL, 0); }
public TerminalNode ID() { return getToken(CqlParser.ID, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionCompressionContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionCompression(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionInsertMethodContext extends TableOptionContext {
public Token insertMethod;
public TerminalNode INSERT_METHOD() { return getToken(CqlParser.INSERT_METHOD, 0); }
public TerminalNode NO() { return getToken(CqlParser.NO, 0); }
public TerminalNode FIRST() { return getToken(CqlParser.FIRST, 0); }
public TerminalNode LAST() { return getToken(CqlParser.LAST, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionInsertMethodContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionInsertMethod(this);
else return visitor.visitChildren(this);
}
}
public static class TableOptionMinRowsContext extends TableOptionContext {
public TerminalNode MIN_ROWS() { return getToken(CqlParser.MIN_ROWS, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TableOptionMinRowsContext(TableOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableOptionMinRows(this);
else return visitor.visitChildren(this);
}
}
public final TableOptionContext tableOption() throws RecognitionException {
TableOptionContext _localctx = new TableOptionContext(_ctx, getState());
enterRule(_localctx, 104, RULE_tableOption);
int _la;
try {
setState(1917);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,216,_ctx) ) {
case 1:
_localctx = new TableOptionEngineContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1772);
match(ENGINE);
setState(1774);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1773);
match(EQUAL_SYMBOL);
}
}
setState(1777);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONNECT || ((((_la - 755)) & ~0x3f) == 0 && ((1L << (_la - 755)) & ((1L << (ARCHIVE - 755)) | (1L << (BLACKHOLE - 755)) | (1L << (CSV - 755)) | (1L << (FEDERATED - 755)) | (1L << (INNODB - 755)) | (1L << (MEMORY - 755)) | (1L << (MRG_MYISAM - 755)) | (1L << (MYISAM - 755)) | (1L << (NDB - 755)) | (1L << (NDBCLUSTER - 755)) | (1L << (PERFORMANCE_SCHEMA - 755)) | (1L << (TOKUDB - 755)))) != 0) || ((((_la - 1126)) & ~0x3f) == 0 && ((1L << (_la - 1126)) & ((1L << (STRING_LITERAL - 1126)) | (1L << (ID - 1126)) | (1L << (REVERSE_QUOTE_ID - 1126)))) != 0)) {
{
setState(1776);
engineName();
}
}
}
break;
case 2:
_localctx = new TableOptionAutoIncrementContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1779);
match(AUTO_INCREMENT);
setState(1781);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1780);
match(EQUAL_SYMBOL);
}
}
setState(1783);
decimalLiteral();
}
break;
case 3:
_localctx = new TableOptionAverageContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(1784);
match(AVG_ROW_LENGTH);
setState(1786);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1785);
match(EQUAL_SYMBOL);
}
}
setState(1788);
decimalLiteral();
}
break;
case 4:
_localctx = new TableOptionCharsetContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(1790);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
setState(1789);
match(DEFAULT);
}
}
setState(1792);
charSet();
setState(1794);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1793);
match(EQUAL_SYMBOL);
}
}
setState(1798);
_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(1796);
charsetName();
}
break;
case DEFAULT:
{
setState(1797);
match(DEFAULT);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 5:
_localctx = new TableOptionChecksumContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(1800);
_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(1802);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1801);
match(EQUAL_SYMBOL);
}
}
setState(1804);
((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 6:
_localctx = new TableOptionCollateContext(_localctx);
enterOuterAlt(_localctx, 6);
{
setState(1806);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
setState(1805);
match(DEFAULT);
}
}
setState(1808);
match(COLLATE);
setState(1810);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1809);
match(EQUAL_SYMBOL);
}
}
setState(1812);
collationName();
}
break;
case 7:
_localctx = new TableOptionCommentContext(_localctx);
enterOuterAlt(_localctx, 7);
{
setState(1813);
match(COMMENT);
setState(1815);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1814);
match(EQUAL_SYMBOL);
}
}
setState(1817);
match(STRING_LITERAL);
}
break;
case 8:
_localctx = new TableOptionCompressionContext(_localctx);
enterOuterAlt(_localctx, 8);
{
setState(1818);
match(COMPRESSION);
setState(1820);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1819);
match(EQUAL_SYMBOL);
}
}
setState(1822);
_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 9:
_localctx = new TableOptionConnectionContext(_localctx);
enterOuterAlt(_localctx, 9);
{
setState(1823);
match(CONNECTION);
setState(1825);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1824);
match(EQUAL_SYMBOL);
}
}
setState(1827);
match(STRING_LITERAL);
}
break;
case 10:
_localctx = new TableOptionDataDirectoryContext(_localctx);
enterOuterAlt(_localctx, 10);
{
setState(1828);
match(DATA);
setState(1829);
match(DIRECTORY);
setState(1831);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1830);
match(EQUAL_SYMBOL);
}
}
setState(1833);
match(STRING_LITERAL);
}
break;
case 11:
_localctx = new TableOptionDelayContext(_localctx);
enterOuterAlt(_localctx, 11);
{
setState(1834);
match(DELAY_KEY_WRITE);
setState(1836);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1835);
match(EQUAL_SYMBOL);
}
}
setState(1838);
((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 12:
_localctx = new TableOptionEncryptionContext(_localctx);
enterOuterAlt(_localctx, 12);
{
setState(1839);
match(ENCRYPTION);
setState(1841);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1840);
match(EQUAL_SYMBOL);
}
}
setState(1843);
match(STRING_LITERAL);
}
break;
case 13:
_localctx = new TableOptionIndexDirectoryContext(_localctx);
enterOuterAlt(_localctx, 13);
{
setState(1844);
match(INDEX);
setState(1845);
match(DIRECTORY);
setState(1847);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1846);
match(EQUAL_SYMBOL);
}
}
setState(1849);
match(STRING_LITERAL);
}
break;
case 14:
_localctx = new TableOptionInsertMethodContext(_localctx);
enterOuterAlt(_localctx, 14);
{
setState(1850);
match(INSERT_METHOD);
setState(1852);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1851);
match(EQUAL_SYMBOL);
}
}
setState(1854);
((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 15:
_localctx = new TableOptionKeyBlockSizeContext(_localctx);
enterOuterAlt(_localctx, 15);
{
setState(1855);
match(KEY_BLOCK_SIZE);
setState(1857);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1856);
match(EQUAL_SYMBOL);
}
}
setState(1859);
fileSizeLiteral();
}
break;
case 16:
_localctx = new TableOptionMaxRowsContext(_localctx);
enterOuterAlt(_localctx, 16);
{
setState(1860);
match(MAX_ROWS);
setState(1862);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1861);
match(EQUAL_SYMBOL);
}
}
setState(1864);
decimalLiteral();
}
break;
case 17:
_localctx = new TableOptionMinRowsContext(_localctx);
enterOuterAlt(_localctx, 17);
{
setState(1865);
match(MIN_ROWS);
setState(1867);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1866);
match(EQUAL_SYMBOL);
}
}
setState(1869);
decimalLiteral();
}
break;
case 18:
_localctx = new TableOptionPackKeysContext(_localctx);
enterOuterAlt(_localctx, 18);
{
setState(1870);
match(PACK_KEYS);
setState(1872);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1871);
match(EQUAL_SYMBOL);
}
}
setState(1874);
((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 19:
_localctx = new TableOptionPasswordContext(_localctx);
enterOuterAlt(_localctx, 19);
{
setState(1875);
match(PASSWORD);
setState(1877);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1876);
match(EQUAL_SYMBOL);
}
}
setState(1879);
match(STRING_LITERAL);
}
break;
case 20:
_localctx = new TableOptionRowFormatContext(_localctx);
enterOuterAlt(_localctx, 20);
{
setState(1880);
match(ROW_FORMAT);
setState(1882);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1881);
match(EQUAL_SYMBOL);
}
}
setState(1884);
((TableOptionRowFormatContext)_localctx).rowFormat = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==DEFAULT || ((((_la - 361)) & ~0x3f) == 0 && ((1L << (_la - 361)) & ((1L << (COMPACT - 361)) | (1L << (COMPRESSED - 361)) | (1L << (DYNAMIC - 361)) | (1L << (FIXED - 361)))) != 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 21:
_localctx = new TableOptionRecalculationContext(_localctx);
enterOuterAlt(_localctx, 21);
{
setState(1885);
match(STATS_AUTO_RECALC);
setState(1887);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1886);
match(EQUAL_SYMBOL);
}
}
setState(1889);
((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 22:
_localctx = new TableOptionPersistentContext(_localctx);
enterOuterAlt(_localctx, 22);
{
setState(1890);
match(STATS_PERSISTENT);
setState(1892);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1891);
match(EQUAL_SYMBOL);
}
}
setState(1894);
((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 23:
_localctx = new TableOptionSamplePageContext(_localctx);
enterOuterAlt(_localctx, 23);
{
setState(1895);
match(STATS_SAMPLE_PAGES);
setState(1897);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1896);
match(EQUAL_SYMBOL);
}
}
setState(1899);
decimalLiteral();
}
break;
case 24:
_localctx = new TableOptionTablespaceContext(_localctx);
enterOuterAlt(_localctx, 24);
{
setState(1900);
match(TABLESPACE);
setState(1901);
uid();
setState(1903);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,214,_ctx) ) {
case 1:
{
setState(1902);
tablespaceStorage();
}
break;
}
}
break;
case 25:
_localctx = new TableOptionTableTypeContext(_localctx);
enterOuterAlt(_localctx, 25);
{
setState(1905);
match(TABLE_TYPE);
setState(1906);
match(EQUAL_SYMBOL);
setState(1907);
tableType();
}
break;
case 26:
_localctx = new TableOptionTablespaceContext(_localctx);
enterOuterAlt(_localctx, 26);
{
setState(1908);
tablespaceStorage();
}
break;
case 27:
_localctx = new TableOptionUnionContext(_localctx);
enterOuterAlt(_localctx, 27);
{
setState(1909);
match(UNION);
setState(1911);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(1910);
match(EQUAL_SYMBOL);
}
}
setState(1913);
match(LR_BRACKET);
setState(1914);
tables();
setState(1915);
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(CqlParser.MYSQL, 0); }
public TerminalNode ODBC() { return getToken(CqlParser.ODBC, 0); }
public TableTypeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tableType; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTableType(this);
else return visitor.visitChildren(this);
}
}
public final TableTypeContext tableType() throws RecognitionException {
TableTypeContext _localctx = new TableTypeContext(_ctx, getState());
enterRule(_localctx, 106, RULE_tableType);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1919);
_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(CqlParser.STORAGE, 0); }
public TerminalNode DISK() { return getToken(CqlParser.DISK, 0); }
public TerminalNode MEMORY() { return getToken(CqlParser.MEMORY, 0); }
public TerminalNode DEFAULT() { return getToken(CqlParser.DEFAULT, 0); }
public TablespaceStorageContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tablespaceStorage; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitTablespaceStorage(this);
else return visitor.visitChildren(this);
}
}
public final TablespaceStorageContext tablespaceStorage() throws RecognitionException {
TablespaceStorageContext _localctx = new TablespaceStorageContext(_ctx, getState());
enterRule(_localctx, 108, RULE_tablespaceStorage);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1921);
match(STORAGE);
setState(1922);
_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(CqlParser.PARTITION, 0); }
public List BY() { return getTokens(CqlParser.BY); }
public TerminalNode BY(int i) {
return getToken(CqlParser.BY, i);
}
public PartitionFunctionDefinitionContext partitionFunctionDefinition() {
return getRuleContext(PartitionFunctionDefinitionContext.class,0);
}
public TerminalNode PARTITIONS() { return getToken(CqlParser.PARTITIONS, 0); }
public TerminalNode SUBPARTITION() { return getToken(CqlParser.SUBPARTITION, 0); }
public SubpartitionFunctionDefinitionContext subpartitionFunctionDefinition() {
return getRuleContext(SubpartitionFunctionDefinitionContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(CqlParser.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(CqlParser.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(CqlParser.SUBPARTITIONS, 0); }
public List COMMA() { return getTokens(CqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(CqlParser.COMMA, i);
}
public PartitionDefinitionsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_partitionDefinitions; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPartitionDefinitions(this);
else return visitor.visitChildren(this);
}
}
public final PartitionDefinitionsContext partitionDefinitions() throws RecognitionException {
PartitionDefinitionsContext _localctx = new PartitionDefinitionsContext(_ctx, getState());
enterRule(_localctx, 110, RULE_partitionDefinitions);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1924);
match(PARTITION);
setState(1925);
match(BY);
setState(1926);
partitionFunctionDefinition();
setState(1929);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITIONS) {
{
setState(1927);
match(PARTITIONS);
setState(1928);
((PartitionDefinitionsContext)_localctx).count = decimalLiteral();
}
}
setState(1938);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==SUBPARTITION) {
{
setState(1931);
match(SUBPARTITION);
setState(1932);
match(BY);
setState(1933);
subpartitionFunctionDefinition();
setState(1936);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==SUBPARTITIONS) {
{
setState(1934);
match(SUBPARTITIONS);
setState(1935);
((PartitionDefinitionsContext)_localctx).subCount = decimalLiteral();
}
}
}
}
setState(1951);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,221,_ctx) ) {
case 1:
{
setState(1940);
match(LR_BRACKET);
setState(1941);
partitionDefinition();
setState(1946);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1942);
match(COMMA);
setState(1943);
partitionDefinition();
}
}
setState(1948);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1949);
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(CqlParser.KEY, 0); }
public TerminalNode LR_BRACKET() { return getToken(CqlParser.LR_BRACKET, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(CqlParser.RR_BRACKET, 0); }
public TerminalNode LINEAR() { return getToken(CqlParser.LINEAR, 0); }
public TerminalNode ALGORITHM() { return getToken(CqlParser.ALGORITHM, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(CqlParser.ONE_DECIMAL, 0); }
public TerminalNode TWO_DECIMAL() { return getToken(CqlParser.TWO_DECIMAL, 0); }
public PartitionFunctionKeyContext(PartitionFunctionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPartitionFunctionKey(this);
else return visitor.visitChildren(this);
}
}
public static class PartitionFunctionHashContext extends PartitionFunctionDefinitionContext {
public TerminalNode HASH() { return getToken(CqlParser.HASH, 0); }
public TerminalNode LR_BRACKET() { return getToken(CqlParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(CqlParser.RR_BRACKET, 0); }
public TerminalNode LINEAR() { return getToken(CqlParser.LINEAR, 0); }
public PartitionFunctionHashContext(PartitionFunctionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPartitionFunctionHash(this);
else return visitor.visitChildren(this);
}
}
public static class PartitionFunctionListContext extends PartitionFunctionDefinitionContext {
public TerminalNode LIST() { return getToken(CqlParser.LIST, 0); }
public TerminalNode LR_BRACKET() { return getToken(CqlParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(CqlParser.RR_BRACKET, 0); }
public TerminalNode COLUMNS() { return getToken(CqlParser.COLUMNS, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public PartitionFunctionListContext(PartitionFunctionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPartitionFunctionList(this);
else return visitor.visitChildren(this);
}
}
public static class PartitionFunctionRangeContext extends PartitionFunctionDefinitionContext {
public TerminalNode RANGE() { return getToken(CqlParser.RANGE, 0); }
public TerminalNode LR_BRACKET() { return getToken(CqlParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(CqlParser.RR_BRACKET, 0); }
public TerminalNode COLUMNS() { return getToken(CqlParser.COLUMNS, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public PartitionFunctionRangeContext(PartitionFunctionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPartitionFunctionRange(this);
else return visitor.visitChildren(this);
}
}
public final PartitionFunctionDefinitionContext partitionFunctionDefinition() throws RecognitionException {
PartitionFunctionDefinitionContext _localctx = new PartitionFunctionDefinitionContext(_ctx, getState());
enterRule(_localctx, 112, RULE_partitionFunctionDefinition);
int _la;
try {
setState(1998);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,227,_ctx) ) {
case 1:
_localctx = new PartitionFunctionHashContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(1954);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LINEAR) {
{
setState(1953);
match(LINEAR);
}
}
setState(1956);
match(HASH);
setState(1957);
match(LR_BRACKET);
setState(1958);
expression(0);
setState(1959);
match(RR_BRACKET);
}
break;
case 2:
_localctx = new PartitionFunctionKeyContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(1962);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LINEAR) {
{
setState(1961);
match(LINEAR);
}
}
setState(1964);
match(KEY);
setState(1968);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ALGORITHM) {
{
setState(1965);
match(ALGORITHM);
setState(1966);
match(EQUAL_SYMBOL);
setState(1967);
((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(1970);
match(LR_BRACKET);
setState(1971);
uidList();
setState(1972);
match(RR_BRACKET);
}
break;
case 3:
_localctx = new PartitionFunctionRangeContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(1974);
match(RANGE);
setState(1984);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LR_BRACKET:
{
setState(1975);
match(LR_BRACKET);
setState(1976);
expression(0);
setState(1977);
match(RR_BRACKET);
}
break;
case COLUMNS:
{
setState(1979);
match(COLUMNS);
setState(1980);
match(LR_BRACKET);
setState(1981);
uidList();
setState(1982);
match(RR_BRACKET);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 4:
_localctx = new PartitionFunctionListContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(1986);
match(LIST);
setState(1996);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LR_BRACKET:
{
setState(1987);
match(LR_BRACKET);
setState(1988);
expression(0);
setState(1989);
match(RR_BRACKET);
}
break;
case COLUMNS:
{
setState(1991);
match(COLUMNS);
setState(1992);
match(LR_BRACKET);
setState(1993);
uidList();
setState(1994);
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(CqlParser.HASH, 0); }
public TerminalNode LR_BRACKET() { return getToken(CqlParser.LR_BRACKET, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(CqlParser.RR_BRACKET, 0); }
public TerminalNode LINEAR() { return getToken(CqlParser.LINEAR, 0); }
public SubPartitionFunctionHashContext(SubpartitionFunctionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitSubPartitionFunctionHash(this);
else return visitor.visitChildren(this);
}
}
public static class SubPartitionFunctionKeyContext extends SubpartitionFunctionDefinitionContext {
public Token algType;
public TerminalNode KEY() { return getToken(CqlParser.KEY, 0); }
public TerminalNode LR_BRACKET() { return getToken(CqlParser.LR_BRACKET, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(CqlParser.RR_BRACKET, 0); }
public TerminalNode LINEAR() { return getToken(CqlParser.LINEAR, 0); }
public TerminalNode ALGORITHM() { return getToken(CqlParser.ALGORITHM, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public TerminalNode ONE_DECIMAL() { return getToken(CqlParser.ONE_DECIMAL, 0); }
public TerminalNode TWO_DECIMAL() { return getToken(CqlParser.TWO_DECIMAL, 0); }
public SubPartitionFunctionKeyContext(SubpartitionFunctionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitSubPartitionFunctionKey(this);
else return visitor.visitChildren(this);
}
}
public final SubpartitionFunctionDefinitionContext subpartitionFunctionDefinition() throws RecognitionException {
SubpartitionFunctionDefinitionContext _localctx = new SubpartitionFunctionDefinitionContext(_ctx, getState());
enterRule(_localctx, 114, RULE_subpartitionFunctionDefinition);
int _la;
try {
setState(2021);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,231,_ctx) ) {
case 1:
_localctx = new SubPartitionFunctionHashContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(2001);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LINEAR) {
{
setState(2000);
match(LINEAR);
}
}
setState(2003);
match(HASH);
setState(2004);
match(LR_BRACKET);
setState(2005);
expression(0);
setState(2006);
match(RR_BRACKET);
}
break;
case 2:
_localctx = new SubPartitionFunctionKeyContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(2009);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LINEAR) {
{
setState(2008);
match(LINEAR);
}
}
setState(2011);
match(KEY);
setState(2015);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ALGORITHM) {
{
setState(2012);
match(ALGORITHM);
setState(2013);
match(EQUAL_SYMBOL);
setState(2014);
((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(2017);
match(LR_BRACKET);
setState(2018);
uidList();
setState(2019);
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(CqlParser.PARTITION, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode VALUES() { return getToken(CqlParser.VALUES, 0); }
public TerminalNode LESS() { return getToken(CqlParser.LESS, 0); }
public TerminalNode THAN() { return getToken(CqlParser.THAN, 0); }
public List LR_BRACKET() { return getTokens(CqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(CqlParser.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(CqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(CqlParser.RR_BRACKET, i);
}
public List COMMA() { return getTokens(CqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPartitionComparison(this);
else return visitor.visitChildren(this);
}
}
public static class PartitionListAtomContext extends PartitionDefinitionContext {
public TerminalNode PARTITION() { return getToken(CqlParser.PARTITION, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode VALUES() { return getToken(CqlParser.VALUES, 0); }
public TerminalNode IN() { return getToken(CqlParser.IN, 0); }
public List LR_BRACKET() { return getTokens(CqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(CqlParser.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(CqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(CqlParser.RR_BRACKET, i);
}
public List COMMA() { return getTokens(CqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPartitionListAtom(this);
else return visitor.visitChildren(this);
}
}
public static class PartitionListVectorContext extends PartitionDefinitionContext {
public TerminalNode PARTITION() { return getToken(CqlParser.PARTITION, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode VALUES() { return getToken(CqlParser.VALUES, 0); }
public TerminalNode IN() { return getToken(CqlParser.IN, 0); }
public List LR_BRACKET() { return getTokens(CqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(CqlParser.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(CqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(CqlParser.RR_BRACKET, i);
}
public List COMMA() { return getTokens(CqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPartitionListVector(this);
else return visitor.visitChildren(this);
}
}
public static class PartitionSimpleContext extends PartitionDefinitionContext {
public TerminalNode PARTITION() { return getToken(CqlParser.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(CqlParser.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(CqlParser.RR_BRACKET, 0); }
public List COMMA() { return getTokens(CqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(CqlParser.COMMA, i);
}
public PartitionSimpleContext(PartitionDefinitionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPartitionSimple(this);
else return visitor.visitChildren(this);
}
}
public final PartitionDefinitionContext partitionDefinition() throws RecognitionException {
PartitionDefinitionContext _localctx = new PartitionDefinitionContext(_ctx, getState());
enterRule(_localctx, 116, RULE_partitionDefinition);
int _la;
try {
setState(2169);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,250,_ctx) ) {
case 1:
_localctx = new PartitionComparisonContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(2023);
match(PARTITION);
setState(2024);
uid();
setState(2025);
match(VALUES);
setState(2026);
match(LESS);
setState(2027);
match(THAN);
setState(2028);
match(LR_BRACKET);
setState(2029);
partitionDefinerAtom();
setState(2034);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2030);
match(COMMA);
setState(2031);
partitionDefinerAtom();
}
}
setState(2036);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2037);
match(RR_BRACKET);
setState(2041);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DEFAULT || _la==INDEX || ((((_la - 359)) & ~0x3f) == 0 && ((1L << (_la - 359)) & ((1L << (COMMENT - 359)) | (1L << (DATA - 359)) | (1L << (ENGINE - 359)))) != 0) || ((((_la - 485)) & ~0x3f) == 0 && ((1L << (_la - 485)) & ((1L << (MAX_ROWS - 485)) | (1L << (MIN_ROWS - 485)) | (1L << (NODEGROUP - 485)))) != 0) || _la==STORAGE || _la==TABLESPACE) {
{
{
setState(2038);
partitionOption();
}
}
setState(2043);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2055);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(2044);
match(LR_BRACKET);
setState(2045);
subpartitionDefinition();
setState(2050);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2046);
match(COMMA);
setState(2047);
subpartitionDefinition();
}
}
setState(2052);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2053);
match(RR_BRACKET);
}
}
}
break;
case 2:
_localctx = new PartitionComparisonContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(2057);
match(PARTITION);
setState(2058);
uid();
setState(2059);
match(VALUES);
setState(2060);
match(LESS);
setState(2061);
match(THAN);
setState(2062);
partitionDefinerAtom();
setState(2066);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DEFAULT || _la==INDEX || ((((_la - 359)) & ~0x3f) == 0 && ((1L << (_la - 359)) & ((1L << (COMMENT - 359)) | (1L << (DATA - 359)) | (1L << (ENGINE - 359)))) != 0) || ((((_la - 485)) & ~0x3f) == 0 && ((1L << (_la - 485)) & ((1L << (MAX_ROWS - 485)) | (1L << (MIN_ROWS - 485)) | (1L << (NODEGROUP - 485)))) != 0) || _la==STORAGE || _la==TABLESPACE) {
{
{
setState(2063);
partitionOption();
}
}
setState(2068);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2080);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(2069);
match(LR_BRACKET);
setState(2070);
subpartitionDefinition();
setState(2075);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2071);
match(COMMA);
setState(2072);
subpartitionDefinition();
}
}
setState(2077);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2078);
match(RR_BRACKET);
}
}
}
break;
case 3:
_localctx = new PartitionListAtomContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(2082);
match(PARTITION);
setState(2083);
uid();
setState(2084);
match(VALUES);
setState(2085);
match(IN);
setState(2086);
match(LR_BRACKET);
setState(2087);
partitionDefinerAtom();
setState(2092);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2088);
match(COMMA);
setState(2089);
partitionDefinerAtom();
}
}
setState(2094);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2095);
match(RR_BRACKET);
setState(2099);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DEFAULT || _la==INDEX || ((((_la - 359)) & ~0x3f) == 0 && ((1L << (_la - 359)) & ((1L << (COMMENT - 359)) | (1L << (DATA - 359)) | (1L << (ENGINE - 359)))) != 0) || ((((_la - 485)) & ~0x3f) == 0 && ((1L << (_la - 485)) & ((1L << (MAX_ROWS - 485)) | (1L << (MIN_ROWS - 485)) | (1L << (NODEGROUP - 485)))) != 0) || _la==STORAGE || _la==TABLESPACE) {
{
{
setState(2096);
partitionOption();
}
}
setState(2101);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2113);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(2102);
match(LR_BRACKET);
setState(2103);
subpartitionDefinition();
setState(2108);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2104);
match(COMMA);
setState(2105);
subpartitionDefinition();
}
}
setState(2110);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2111);
match(RR_BRACKET);
}
}
}
break;
case 4:
_localctx = new PartitionListVectorContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(2115);
match(PARTITION);
setState(2116);
uid();
setState(2117);
match(VALUES);
setState(2118);
match(IN);
setState(2119);
match(LR_BRACKET);
setState(2120);
partitionDefinerVector();
setState(2125);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2121);
match(COMMA);
setState(2122);
partitionDefinerVector();
}
}
setState(2127);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2128);
match(RR_BRACKET);
setState(2132);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DEFAULT || _la==INDEX || ((((_la - 359)) & ~0x3f) == 0 && ((1L << (_la - 359)) & ((1L << (COMMENT - 359)) | (1L << (DATA - 359)) | (1L << (ENGINE - 359)))) != 0) || ((((_la - 485)) & ~0x3f) == 0 && ((1L << (_la - 485)) & ((1L << (MAX_ROWS - 485)) | (1L << (MIN_ROWS - 485)) | (1L << (NODEGROUP - 485)))) != 0) || _la==STORAGE || _la==TABLESPACE) {
{
{
setState(2129);
partitionOption();
}
}
setState(2134);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2146);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(2135);
match(LR_BRACKET);
setState(2136);
subpartitionDefinition();
setState(2141);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2137);
match(COMMA);
setState(2138);
subpartitionDefinition();
}
}
setState(2143);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2144);
match(RR_BRACKET);
}
}
}
break;
case 5:
_localctx = new PartitionSimpleContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(2148);
match(PARTITION);
setState(2149);
uid();
setState(2153);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DEFAULT || _la==INDEX || ((((_la - 359)) & ~0x3f) == 0 && ((1L << (_la - 359)) & ((1L << (COMMENT - 359)) | (1L << (DATA - 359)) | (1L << (ENGINE - 359)))) != 0) || ((((_la - 485)) & ~0x3f) == 0 && ((1L << (_la - 485)) & ((1L << (MAX_ROWS - 485)) | (1L << (MIN_ROWS - 485)) | (1L << (NODEGROUP - 485)))) != 0) || _la==STORAGE || _la==TABLESPACE) {
{
{
setState(2150);
partitionOption();
}
}
setState(2155);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2167);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(2156);
match(LR_BRACKET);
setState(2157);
subpartitionDefinition();
setState(2162);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2158);
match(COMMA);
setState(2159);
subpartitionDefinition();
}
}
setState(2164);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2165);
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(CqlParser.MAXVALUE, 0); }
public PartitionDefinerAtomContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_partitionDefinerAtom; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPartitionDefinerAtom(this);
else return visitor.visitChildren(this);
}
}
public final PartitionDefinerAtomContext partitionDefinerAtom() throws RecognitionException {
PartitionDefinerAtomContext _localctx = new PartitionDefinerAtomContext(_ctx, getState());
enterRule(_localctx, 118, RULE_partitionDefinerAtom);
try {
setState(2174);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,251,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2171);
constant();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2172);
expression(0);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(2173);
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(CqlParser.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(CqlParser.RR_BRACKET, 0); }
public List COMMA() { return getTokens(CqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(CqlParser.COMMA, i);
}
public PartitionDefinerVectorContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_partitionDefinerVector; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPartitionDefinerVector(this);
else return visitor.visitChildren(this);
}
}
public final PartitionDefinerVectorContext partitionDefinerVector() throws RecognitionException {
PartitionDefinerVectorContext _localctx = new PartitionDefinerVectorContext(_ctx, getState());
enterRule(_localctx, 120, RULE_partitionDefinerVector);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2176);
match(LR_BRACKET);
setState(2177);
partitionDefinerAtom();
setState(2180);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(2178);
match(COMMA);
setState(2179);
partitionDefinerAtom();
}
}
setState(2182);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==COMMA );
setState(2184);
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(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitSubpartitionDefinition(this);
else return visitor.visitChildren(this);
}
}
public final SubpartitionDefinitionContext subpartitionDefinition() throws RecognitionException {
SubpartitionDefinitionContext _localctx = new SubpartitionDefinitionContext(_ctx, getState());
enterRule(_localctx, 122, RULE_subpartitionDefinition);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2186);
match(SUBPARTITION);
setState(2187);
uid();
setState(2191);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DEFAULT || _la==INDEX || ((((_la - 359)) & ~0x3f) == 0 && ((1L << (_la - 359)) & ((1L << (COMMENT - 359)) | (1L << (DATA - 359)) | (1L << (ENGINE - 359)))) != 0) || ((((_la - 485)) & ~0x3f) == 0 && ((1L << (_la - 485)) & ((1L << (MAX_ROWS - 485)) | (1L << (MIN_ROWS - 485)) | (1L << (NODEGROUP - 485)))) != 0) || _la==STORAGE || _la==TABLESPACE) {
{
{
setState(2188);
partitionOption();
}
}
setState(2193);
_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(CqlParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(CqlParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public PartitionOptionCommentContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPartitionOptionComment(this);
else return visitor.visitChildren(this);
}
}
public static class PartitionOptionNodeGroupContext extends PartitionOptionContext {
public UidContext nodegroup;
public TerminalNode NODEGROUP() { return getToken(CqlParser.NODEGROUP, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public PartitionOptionNodeGroupContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPartitionOptionNodeGroup(this);
else return visitor.visitChildren(this);
}
}
public static class PartitionOptionIndexDirectoryContext extends PartitionOptionContext {
public Token indexDirectory;
public TerminalNode INDEX() { return getToken(CqlParser.INDEX, 0); }
public TerminalNode DIRECTORY() { return getToken(CqlParser.DIRECTORY, 0); }
public TerminalNode STRING_LITERAL() { return getToken(CqlParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public PartitionOptionIndexDirectoryContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPartitionOptionIndexDirectory(this);
else return visitor.visitChildren(this);
}
}
public static class PartitionOptionMaxRowsContext extends PartitionOptionContext {
public DecimalLiteralContext maxRows;
public TerminalNode MAX_ROWS() { return getToken(CqlParser.MAX_ROWS, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public PartitionOptionMaxRowsContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPartitionOptionMaxRows(this);
else return visitor.visitChildren(this);
}
}
public static class PartitionOptionTablespaceContext extends PartitionOptionContext {
public UidContext tablespace;
public TerminalNode TABLESPACE() { return getToken(CqlParser.TABLESPACE, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public PartitionOptionTablespaceContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPartitionOptionTablespace(this);
else return visitor.visitChildren(this);
}
}
public static class PartitionOptionEngineContext extends PartitionOptionContext {
public TerminalNode ENGINE() { return getToken(CqlParser.ENGINE, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public TerminalNode DEFAULT() { return getToken(CqlParser.DEFAULT, 0); }
public TerminalNode STORAGE() { return getToken(CqlParser.STORAGE, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public PartitionOptionEngineContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPartitionOptionEngine(this);
else return visitor.visitChildren(this);
}
}
public static class PartitionOptionMinRowsContext extends PartitionOptionContext {
public DecimalLiteralContext minRows;
public TerminalNode MIN_ROWS() { return getToken(CqlParser.MIN_ROWS, 0); }
public DecimalLiteralContext decimalLiteral() {
return getRuleContext(DecimalLiteralContext.class,0);
}
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public PartitionOptionMinRowsContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPartitionOptionMinRows(this);
else return visitor.visitChildren(this);
}
}
public static class PartitionOptionDataDirectoryContext extends PartitionOptionContext {
public Token dataDirectory;
public TerminalNode DATA() { return getToken(CqlParser.DATA, 0); }
public TerminalNode DIRECTORY() { return getToken(CqlParser.DIRECTORY, 0); }
public TerminalNode STRING_LITERAL() { return getToken(CqlParser.STRING_LITERAL, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public PartitionOptionDataDirectoryContext(PartitionOptionContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitPartitionOptionDataDirectory(this);
else return visitor.visitChildren(this);
}
}
public final PartitionOptionContext partitionOption() throws RecognitionException {
PartitionOptionContext _localctx = new PartitionOptionContext(_ctx, getState());
enterRule(_localctx, 124, RULE_partitionOption);
int _la;
try {
setState(2242);
_errHandler.sync(this);
switch (_input.LA(1)) {
case DEFAULT:
case ENGINE:
case STORAGE:
_localctx = new PartitionOptionEngineContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(2195);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
setState(2194);
match(DEFAULT);
}
}
setState(2198);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==STORAGE) {
{
setState(2197);
match(STORAGE);
}
}
setState(2200);
match(ENGINE);
setState(2202);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2201);
match(EQUAL_SYMBOL);
}
}
setState(2204);
engineName();
}
break;
case COMMENT:
_localctx = new PartitionOptionCommentContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(2205);
match(COMMENT);
setState(2207);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2206);
match(EQUAL_SYMBOL);
}
}
setState(2209);
((PartitionOptionCommentContext)_localctx).comment = match(STRING_LITERAL);
}
break;
case DATA:
_localctx = new PartitionOptionDataDirectoryContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(2210);
match(DATA);
setState(2211);
match(DIRECTORY);
setState(2213);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2212);
match(EQUAL_SYMBOL);
}
}
setState(2215);
((PartitionOptionDataDirectoryContext)_localctx).dataDirectory = match(STRING_LITERAL);
}
break;
case INDEX:
_localctx = new PartitionOptionIndexDirectoryContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(2216);
match(INDEX);
setState(2217);
match(DIRECTORY);
setState(2219);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2218);
match(EQUAL_SYMBOL);
}
}
setState(2221);
((PartitionOptionIndexDirectoryContext)_localctx).indexDirectory = match(STRING_LITERAL);
}
break;
case MAX_ROWS:
_localctx = new PartitionOptionMaxRowsContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(2222);
match(MAX_ROWS);
setState(2224);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2223);
match(EQUAL_SYMBOL);
}
}
setState(2226);
((PartitionOptionMaxRowsContext)_localctx).maxRows = decimalLiteral();
}
break;
case MIN_ROWS:
_localctx = new PartitionOptionMinRowsContext(_localctx);
enterOuterAlt(_localctx, 6);
{
setState(2227);
match(MIN_ROWS);
setState(2229);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2228);
match(EQUAL_SYMBOL);
}
}
setState(2231);
((PartitionOptionMinRowsContext)_localctx).minRows = decimalLiteral();
}
break;
case TABLESPACE:
_localctx = new PartitionOptionTablespaceContext(_localctx);
enterOuterAlt(_localctx, 7);
{
setState(2232);
match(TABLESPACE);
setState(2234);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2233);
match(EQUAL_SYMBOL);
}
}
setState(2236);
((PartitionOptionTablespaceContext)_localctx).tablespace = uid();
}
break;
case NODEGROUP:
_localctx = new PartitionOptionNodeGroupContext(_localctx);
enterOuterAlt(_localctx, 8);
{
setState(2237);
match(NODEGROUP);
setState(2239);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2238);
match(EQUAL_SYMBOL);
}
}
setState(2241);
((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(CqlParser.ALTER, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode UPGRADE() { return getToken(CqlParser.UPGRADE, 0); }
public TerminalNode DATA() { return getToken(CqlParser.DATA, 0); }
public TerminalNode DIRECTORY() { return getToken(CqlParser.DIRECTORY, 0); }
public TerminalNode NAME() { return getToken(CqlParser.NAME, 0); }
public TerminalNode DATABASE() { return getToken(CqlParser.DATABASE, 0); }
public TerminalNode SCHEMA() { return getToken(CqlParser.SCHEMA, 0); }
public AlterUpgradeNameContext(AlterDatabaseContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitAlterUpgradeName(this);
else return visitor.visitChildren(this);
}
}
public static class AlterSimpleDatabaseContext extends AlterDatabaseContext {
public Token dbFormat;
public TerminalNode ALTER() { return getToken(CqlParser.ALTER, 0); }
public TerminalNode DATABASE() { return getToken(CqlParser.DATABASE, 0); }
public TerminalNode SCHEMA() { return getToken(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitAlterSimpleDatabase(this);
else return visitor.visitChildren(this);
}
}
public final AlterDatabaseContext alterDatabase() throws RecognitionException {
AlterDatabaseContext _localctx = new AlterDatabaseContext(_ctx, getState());
enterRule(_localctx, 126, RULE_alterDatabase);
int _la;
try {
setState(2262);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,267,_ctx) ) {
case 1:
_localctx = new AlterSimpleDatabaseContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(2244);
match(ALTER);
setState(2245);
((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(2247);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,265,_ctx) ) {
case 1:
{
setState(2246);
uid();
}
break;
}
setState(2250);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(2249);
createDatabaseOption();
}
}
setState(2252);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << CHARACTER) | (1L << COLLATE) | (1L << DEFAULT))) != 0) || _la==CHAR || _la==CHARSET );
}
break;
case 2:
_localctx = new AlterUpgradeNameContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(2254);
match(ALTER);
setState(2255);
((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(2256);
uid();
setState(2257);
match(UPGRADE);
setState(2258);
match(DATA);
setState(2259);
match(DIRECTORY);
setState(2260);
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(CqlParser.ALTER, 0); }
public TerminalNode EVENT() { return getToken(CqlParser.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(CqlParser.ON); }
public TerminalNode ON(int i) {
return getToken(CqlParser.ON, i);
}
public TerminalNode SCHEDULE() { return getToken(CqlParser.SCHEDULE, 0); }
public ScheduleExpressionContext scheduleExpression() {
return getRuleContext(ScheduleExpressionContext.class,0);
}
public TerminalNode COMPLETION() { return getToken(CqlParser.COMPLETION, 0); }
public TerminalNode PRESERVE() { return getToken(CqlParser.PRESERVE, 0); }
public TerminalNode RENAME() { return getToken(CqlParser.RENAME, 0); }
public TerminalNode TO() { return getToken(CqlParser.TO, 0); }
public EnableTypeContext enableType() {
return getRuleContext(EnableTypeContext.class,0);
}
public TerminalNode COMMENT() { return getToken(CqlParser.COMMENT, 0); }
public TerminalNode STRING_LITERAL() { return getToken(CqlParser.STRING_LITERAL, 0); }
public TerminalNode DO() { return getToken(CqlParser.DO, 0); }
public RoutineBodyContext routineBody() {
return getRuleContext(RoutineBodyContext.class,0);
}
public TerminalNode NOT() { return getToken(CqlParser.NOT, 0); }
public AlterEventContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alterEvent; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitAlterEvent(this);
else return visitor.visitChildren(this);
}
}
public final AlterEventContext alterEvent() throws RecognitionException {
AlterEventContext _localctx = new AlterEventContext(_ctx, getState());
enterRule(_localctx, 128, RULE_alterEvent);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2264);
match(ALTER);
setState(2266);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(2265);
ownerStatement();
}
}
setState(2268);
match(EVENT);
setState(2269);
fullId();
setState(2273);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,269,_ctx) ) {
case 1:
{
setState(2270);
match(ON);
setState(2271);
match(SCHEDULE);
setState(2272);
scheduleExpression();
}
break;
}
setState(2281);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ON) {
{
setState(2275);
match(ON);
setState(2276);
match(COMPLETION);
setState(2278);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOT) {
{
setState(2277);
match(NOT);
}
}
setState(2280);
match(PRESERVE);
}
}
setState(2286);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,272,_ctx) ) {
case 1:
{
setState(2283);
match(RENAME);
setState(2284);
match(TO);
setState(2285);
fullId();
}
break;
}
setState(2289);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DISABLE || _la==ENABLE) {
{
setState(2288);
enableType();
}
}
setState(2293);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMENT) {
{
setState(2291);
match(COMMENT);
setState(2292);
match(STRING_LITERAL);
}
}
setState(2297);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,275,_ctx) ) {
case 1:
{
setState(2295);
match(DO);
setState(2296);
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(CqlParser.ALTER, 0); }
public TerminalNode FUNCTION() { return getToken(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitAlterFunction(this);
else return visitor.visitChildren(this);
}
}
public final AlterFunctionContext alterFunction() throws RecognitionException {
AlterFunctionContext _localctx = new AlterFunctionContext(_ctx, getState());
enterRule(_localctx, 130, RULE_alterFunction);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2299);
match(ALTER);
setState(2300);
match(FUNCTION);
setState(2301);
fullId();
setState(2305);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DETERMINISTIC || ((((_la - 109)) & ~0x3f) == 0 && ((1L << (_la - 109)) & ((1L << (MODIFIES - 109)) | (1L << (NOT - 109)) | (1L << (READS - 109)) | (1L << (SQL - 109)))) != 0) || _la==COMMENT || _la==CONTAINS || _la==LANGUAGE || _la==NO) {
{
{
setState(2302);
routineOption();
}
}
setState(2307);
_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(CqlParser.ALTER, 0); }
public TerminalNode INSTANCE() { return getToken(CqlParser.INSTANCE, 0); }
public TerminalNode ROTATE() { return getToken(CqlParser.ROTATE, 0); }
public TerminalNode INNODB() { return getToken(CqlParser.INNODB, 0); }
public TerminalNode MASTER() { return getToken(CqlParser.MASTER, 0); }
public TerminalNode KEY() { return getToken(CqlParser.KEY, 0); }
public AlterInstanceContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alterInstance; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitAlterInstance(this);
else return visitor.visitChildren(this);
}
}
public final AlterInstanceContext alterInstance() throws RecognitionException {
AlterInstanceContext _localctx = new AlterInstanceContext(_ctx, getState());
enterRule(_localctx, 132, RULE_alterInstance);
try {
enterOuterAlt(_localctx, 1);
{
setState(2308);
match(ALTER);
setState(2309);
match(INSTANCE);
setState(2310);
match(ROTATE);
setState(2311);
match(INNODB);
setState(2312);
match(MASTER);
setState(2313);
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(CqlParser.ALTER, 0); }
public TerminalNode LOGFILE() { return getToken(CqlParser.LOGFILE, 0); }
public TerminalNode GROUP() { return getToken(CqlParser.GROUP, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode ADD() { return getToken(CqlParser.ADD, 0); }
public TerminalNode UNDOFILE() { return getToken(CqlParser.UNDOFILE, 0); }
public TerminalNode STRING_LITERAL() { return getToken(CqlParser.STRING_LITERAL, 0); }
public TerminalNode ENGINE() { return getToken(CqlParser.ENGINE, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public TerminalNode INITIAL_SIZE() { return getToken(CqlParser.INITIAL_SIZE, 0); }
public FileSizeLiteralContext fileSizeLiteral() {
return getRuleContext(FileSizeLiteralContext.class,0);
}
public TerminalNode WAIT() { return getToken(CqlParser.WAIT, 0); }
public List EQUAL_SYMBOL() { return getTokens(CqlParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(CqlParser.EQUAL_SYMBOL, i);
}
public AlterLogfileGroupContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alterLogfileGroup; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitAlterLogfileGroup(this);
else return visitor.visitChildren(this);
}
}
public final AlterLogfileGroupContext alterLogfileGroup() throws RecognitionException {
AlterLogfileGroupContext _localctx = new AlterLogfileGroupContext(_ctx, getState());
enterRule(_localctx, 134, RULE_alterLogfileGroup);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2315);
match(ALTER);
setState(2316);
match(LOGFILE);
setState(2317);
match(GROUP);
setState(2318);
uid();
setState(2319);
match(ADD);
setState(2320);
match(UNDOFILE);
setState(2321);
match(STRING_LITERAL);
setState(2327);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INITIAL_SIZE) {
{
setState(2322);
match(INITIAL_SIZE);
setState(2324);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2323);
match(EQUAL_SYMBOL);
}
}
setState(2326);
fileSizeLiteral();
}
}
setState(2330);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WAIT) {
{
setState(2329);
match(WAIT);
}
}
setState(2332);
match(ENGINE);
setState(2334);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2333);
match(EQUAL_SYMBOL);
}
}
setState(2336);
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(CqlParser.ALTER, 0); }
public TerminalNode PROCEDURE() { return getToken(CqlParser.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 T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitAlterProcedure(this);
else return visitor.visitChildren(this);
}
}
public final AlterProcedureContext alterProcedure() throws RecognitionException {
AlterProcedureContext _localctx = new AlterProcedureContext(_ctx, getState());
enterRule(_localctx, 136, RULE_alterProcedure);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2338);
match(ALTER);
setState(2339);
match(PROCEDURE);
setState(2340);
fullId();
setState(2344);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DETERMINISTIC || ((((_la - 109)) & ~0x3f) == 0 && ((1L << (_la - 109)) & ((1L << (MODIFIES - 109)) | (1L << (NOT - 109)) | (1L << (READS - 109)) | (1L << (SQL - 109)))) != 0) || _la==COMMENT || _la==CONTAINS || _la==LANGUAGE || _la==NO) {
{
{
setState(2341);
routineOption();
}
}
setState(2346);
_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(CqlParser.ALTER, 0); }
public TerminalNode SERVER() { return getToken(CqlParser.SERVER, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode OPTIONS() { return getToken(CqlParser.OPTIONS, 0); }
public TerminalNode LR_BRACKET() { return getToken(CqlParser.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(CqlParser.RR_BRACKET, 0); }
public List COMMA() { return getTokens(CqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(CqlParser.COMMA, i);
}
public AlterServerContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alterServer; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitAlterServer(this);
else return visitor.visitChildren(this);
}
}
public final AlterServerContext alterServer() throws RecognitionException {
AlterServerContext _localctx = new AlterServerContext(_ctx, getState());
enterRule(_localctx, 138, RULE_alterServer);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2347);
match(ALTER);
setState(2348);
match(SERVER);
setState(2349);
uid();
setState(2350);
match(OPTIONS);
setState(2351);
match(LR_BRACKET);
setState(2352);
serverOption();
setState(2357);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2353);
match(COMMA);
setState(2354);
serverOption();
}
}
setState(2359);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(2360);
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(CqlParser.ALTER, 0); }
public TerminalNode TABLE() { return getToken(CqlParser.TABLE, 0); }
public TableNameContext tableName() {
return getRuleContext(TableNameContext.class,0);
}
public TerminalNode IGNORE() { return getToken(CqlParser.IGNORE, 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(CqlParser.ONLINE, 0); }
public TerminalNode OFFLINE() { return getToken(CqlParser.OFFLINE, 0); }
public List COMMA() { return getTokens(CqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(CqlParser.COMMA, i);
}
public AlterTableContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alterTable; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitAlterTable(this);
else return visitor.visitChildren(this);
}
}
public final AlterTableContext alterTable() throws RecognitionException {
AlterTableContext _localctx = new AlterTableContext(_ctx, getState());
enterRule(_localctx, 140, RULE_alterTable);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2362);
match(ALTER);
setState(2364);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OFFLINE || _la==ONLINE) {
{
setState(2363);
((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(2367);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IGNORE) {
{
setState(2366);
match(IGNORE);
}
}
setState(2369);
match(TABLE);
setState(2370);
tableName();
setState(2379);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,286,_ctx) ) {
case 1:
{
setState(2371);
alterSpecification();
setState(2376);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(2372);
match(COMMA);
setState(2373);
alterSpecification();
}
}
setState(2378);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
}
setState(2382);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PARTITION) {
{
setState(2381);
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(CqlParser.ALTER, 0); }
public TerminalNode TABLESPACE() { return getToken(CqlParser.TABLESPACE, 0); }
public UidContext uid() {
return getRuleContext(UidContext.class,0);
}
public TerminalNode DATAFILE() { return getToken(CqlParser.DATAFILE, 0); }
public TerminalNode STRING_LITERAL() { return getToken(CqlParser.STRING_LITERAL, 0); }
public TerminalNode ENGINE() { return getToken(CqlParser.ENGINE, 0); }
public EngineNameContext engineName() {
return getRuleContext(EngineNameContext.class,0);
}
public TerminalNode ADD() { return getToken(CqlParser.ADD, 0); }
public TerminalNode DROP() { return getToken(CqlParser.DROP, 0); }
public TerminalNode INITIAL_SIZE() { return getToken(CqlParser.INITIAL_SIZE, 0); }
public List EQUAL_SYMBOL() { return getTokens(CqlParser.EQUAL_SYMBOL); }
public TerminalNode EQUAL_SYMBOL(int i) {
return getToken(CqlParser.EQUAL_SYMBOL, i);
}
public FileSizeLiteralContext fileSizeLiteral() {
return getRuleContext(FileSizeLiteralContext.class,0);
}
public TerminalNode WAIT() { return getToken(CqlParser.WAIT, 0); }
public AlterTablespaceContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alterTablespace; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitAlterTablespace(this);
else return visitor.visitChildren(this);
}
}
public final AlterTablespaceContext alterTablespace() throws RecognitionException {
AlterTablespaceContext _localctx = new AlterTablespaceContext(_ctx, getState());
enterRule(_localctx, 142, RULE_alterTablespace);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2384);
match(ALTER);
setState(2385);
match(TABLESPACE);
setState(2386);
uid();
setState(2387);
((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(2388);
match(DATAFILE);
setState(2389);
match(STRING_LITERAL);
setState(2393);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INITIAL_SIZE) {
{
setState(2390);
match(INITIAL_SIZE);
setState(2391);
match(EQUAL_SYMBOL);
setState(2392);
fileSizeLiteral();
}
}
setState(2396);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WAIT) {
{
setState(2395);
match(WAIT);
}
}
setState(2398);
match(ENGINE);
setState(2400);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUAL_SYMBOL) {
{
setState(2399);
match(EQUAL_SYMBOL);
}
}
setState(2402);
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(CqlParser.ALTER, 0); }
public TerminalNode VIEW() { return getToken(CqlParser.VIEW, 0); }
public FullIdContext fullId() {
return getRuleContext(FullIdContext.class,0);
}
public TerminalNode AS() { return getToken(CqlParser.AS, 0); }
public SelectStatementContext selectStatement() {
return getRuleContext(SelectStatementContext.class,0);
}
public TerminalNode ALGORITHM() { return getToken(CqlParser.ALGORITHM, 0); }
public TerminalNode EQUAL_SYMBOL() { return getToken(CqlParser.EQUAL_SYMBOL, 0); }
public OwnerStatementContext ownerStatement() {
return getRuleContext(OwnerStatementContext.class,0);
}
public TerminalNode SQL() { return getToken(CqlParser.SQL, 0); }
public TerminalNode SECURITY() { return getToken(CqlParser.SECURITY, 0); }
public TerminalNode LR_BRACKET() { return getToken(CqlParser.LR_BRACKET, 0); }
public UidListContext uidList() {
return getRuleContext(UidListContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(CqlParser.RR_BRACKET, 0); }
public TerminalNode WITH() { return getToken(CqlParser.WITH, 0); }
public TerminalNode CHECK() { return getToken(CqlParser.CHECK, 0); }
public TerminalNode OPTION() { return getToken(CqlParser.OPTION, 0); }
public TerminalNode UNDEFINED() { return getToken(CqlParser.UNDEFINED, 0); }
public TerminalNode MERGE() { return getToken(CqlParser.MERGE, 0); }
public TerminalNode TEMPTABLE() { return getToken(CqlParser.TEMPTABLE, 0); }
public TerminalNode DEFINER() { return getToken(CqlParser.DEFINER, 0); }
public TerminalNode INVOKER() { return getToken(CqlParser.INVOKER, 0); }
public TerminalNode CASCADED() { return getToken(CqlParser.CASCADED, 0); }
public TerminalNode LOCAL() { return getToken(CqlParser.LOCAL, 0); }
public AlterViewContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alterView; }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitAlterView(this);
else return visitor.visitChildren(this);
}
}
public final AlterViewContext alterView() throws RecognitionException {
AlterViewContext _localctx = new AlterViewContext(_ctx, getState());
enterRule(_localctx, 144, RULE_alterView);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2404);
match(ALTER);
setState(2408);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ALGORITHM) {
{
setState(2405);
match(ALGORITHM);
setState(2406);
match(EQUAL_SYMBOL);
setState(2407);
((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(2411);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFINER) {
{
setState(2410);
ownerStatement();
}
}
setState(2416);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==SQL) {
{
setState(2413);
match(SQL);
setState(2414);
match(SECURITY);
setState(2415);
((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(2418);
match(VIEW);
setState(2419);
fullId();
setState(2424);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(2420);
match(LR_BRACKET);
setState(2421);
uidList();
setState(2422);
match(RR_BRACKET);
}
}
setState(2426);
match(AS);
setState(2427);
selectStatement();
setState(2434);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WITH) {
{
setState(2428);
match(WITH);
setState(2430);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CASCADED || _la==LOCAL) {
{
setState(2429);
((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(2432);
match(CHECK);
setState(2433);
match(OPTION);
}
}
}
}
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(CqlParser.DISABLE, 0); }
public TerminalNode KEYS() { return getToken(CqlParser.KEYS, 0); }
public AlterByDisableKeysContext(AlterSpecificationContext ctx) { copyFrom(ctx); }
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CqlParserVisitor ) return ((CqlParserVisitor extends T>)visitor).visitAlterByDisableKeys(this);
else return visitor.visitChildren(this);
}
}
public static class AlterByDefaultCharsetContext extends AlterSpecificationContext {
public TerminalNode CHARACTER() { return getToken(CqlParser.CHARACTER, 0); }
public TerminalNode SET() { return getToken(CqlParser.SET, 0); }
public List