Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
page.foliage.jdbc.antlr.TSqlParser Maven / Gradle / Ivy
// Generated from page/foliage/jdbc/antlr/TSqlParser.g4 by ANTLR 4.7.2
package page.foliage.jdbc.antlr;
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 TSqlParser extends Parser {
static { RuntimeMetaData.checkVersion("4.7.2", RuntimeMetaData.VERSION); }
protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
new PredictionContextCache();
public static final int
ABSENT=1, ADD=2, AES=3, ALL=4, ALLOW_CONNECTIONS=5, ALLOW_MULTIPLE_EVENT_LOSS=6,
ALLOW_SINGLE_EVENT_LOSS=7, ALTER=8, AND=9, ANONYMOUS=10, ANY=11, APPEND=12,
APPLICATION=13, AS=14, ASC=15, ASYMMETRIC=16, ASYNCHRONOUS_COMMIT=17,
AUTHORIZATION=18, AUTHENTICATION=19, AUTOMATED_BACKUP_PREFERENCE=20, AUTOMATIC=21,
AVAILABILITY_MODE=22, BACKSLASH=23, BACKUP=24, BEFORE=25, BEGIN=26, BETWEEN=27,
BLOCK=28, BLOCKSIZE=29, BLOCKING_HIERARCHY=30, BREAK=31, BROWSE=32, BUFFER=33,
BUFFERCOUNT=34, BULK=35, BY=36, CACHE=37, CALLED=38, CASCADE=39, CASE=40,
CERTIFICATE=41, CHANGETABLE=42, CHANGES=43, CHECK=44, CHECKPOINT=45, CHECK_POLICY=46,
CHECK_EXPIRATION=47, CLASSIFIER_FUNCTION=48, CLOSE=49, CLUSTER=50, CLUSTERED=51,
COALESCE=52, COLLATE=53, COLUMN=54, COMPRESSION=55, COMMIT=56, COMPUTE=57,
CONFIGURATION=58, CONSTRAINT=59, CONTAINMENT=60, CONTAINS=61, CONTAINSTABLE=62,
CONTEXT=63, CONTINUE=64, CONTINUE_AFTER_ERROR=65, CONTRACT=66, CONTRACT_NAME=67,
CONVERSATION=68, CONVERT=69, COPY_ONLY=70, CREATE=71, CROSS=72, CURRENT=73,
CURRENT_DATE=74, CURRENT_TIME=75, CURRENT_TIMESTAMP=76, CURRENT_USER=77,
CURSOR=78, CYCLE=79, DATA=80, DATA_COMPRESSION=81, DATA_SOURCE=82, DATABASE=83,
DATABASE_MIRRORING=84, DBCC=85, DEALLOCATE=86, DECLARE=87, DEFAULT=88,
DEFAULT_DATABASE=89, DEFAULT_SCHEMA=90, DELETE=91, DENY=92, DESC=93, DIAGNOSTICS=94,
DIFFERENTIAL=95, DISK=96, DISTINCT=97, DISTRIBUTED=98, DOUBLE=99, DOUBLE_BACK_SLASH=100,
DOUBLE_FORWARD_SLASH=101, DROP=102, DTC_SUPPORT=103, DUMP=104, ELSE=105,
ENABLED=106, END=107, ENDPOINT=108, ERRLVL=109, ESCAPE=110, ERROR=111,
EVENT=112, EVENTDATA=113, EVENT_RETENTION_MODE=114, EXCEPT=115, EXECUTABLE_FILE=116,
EXECUTE=117, EXISTS=118, EXPIREDATE=119, EXIT=120, EXTENSION=121, EXTERNAL=122,
EXTERNAL_ACCESS=123, FAILOVER=124, FAILURECONDITIONLEVEL=125, FAN_IN=126,
FETCH=127, FILE=128, FILENAME=129, FILLFACTOR=130, FILE_SNAPSHOT=131,
FOR=132, FORCESEEK=133, FORCE_SERVICE_ALLOW_DATA_LOSS=134, FOREIGN=135,
FREETEXT=136, FREETEXTTABLE=137, FROM=138, FULL=139, FUNCTION=140, GET=141,
GOTO=142, GOVERNOR=143, GRANT=144, GROUP=145, HAVING=146, HASHED=147,
HEALTHCHECKTIMEOUT=148, IDENTITY=149, IDENTITYCOL=150, IDENTITY_INSERT=151,
IF=152, IIF=153, IN=154, INCLUDE=155, INCREMENT=156, INDEX=157, INFINITE=158,
INIT=159, INNER=160, INSERT=161, INSTEAD=162, INTERSECT=163, INTO=164,
IPV4_ADDR=165, IPV6_ADDR=166, IS=167, ISNULL=168, JOIN=169, KERBEROS=170,
KEY=171, KEY_PATH=172, KEY_STORE_PROVIDER_NAME=173, KILL=174, LANGUAGE=175,
LEFT=176, LIBRARY=177, LIFETIME=178, LIKE=179, LINENO=180, LINUX=181,
LISTENER_IP=182, LISTENER_PORT=183, LOAD=184, LOCAL_SERVICE_NAME=185,
LOG=186, MATCHED=187, MASTER=188, MAX_MEMORY=189, MAXTRANSFER=190, MAXVALUE=191,
MAX_DISPATCH_LATENCY=192, MAX_EVENT_SIZE=193, MAX_SIZE=194, MAX_OUTSTANDING_IO_PER_VOLUME=195,
MEDIADESCRIPTION=196, MEDIANAME=197, MEMBER=198, MEMORY_PARTITION_MODE=199,
MERGE=200, MESSAGE_FORWARDING=201, MESSAGE_FORWARD_SIZE=202, MINVALUE=203,
MIRROR=204, MUST_CHANGE=205, NATIONAL=206, NEGOTIATE=207, NOCHECK=208,
NOFORMAT=209, NOINIT=210, NONCLUSTERED=211, NONE=212, NOREWIND=213, NOSKIP=214,
NOUNLOAD=215, NO_CHECKSUM=216, NO_COMPRESSION=217, NO_EVENT_LOSS=218,
NOT=219, NOTIFICATION=220, NTLM=221, NULL=222, NULLIF=223, OF=224, OFF=225,
OFFSETS=226, OLD_PASSWORD=227, ON=228, ON_FAILURE=229, OPEN=230, OPENDATASOURCE=231,
OPENQUERY=232, OPENROWSET=233, OPENXML=234, OPTION=235, OR=236, ORDER=237,
OUTER=238, OVER=239, PAGE=240, PARAM_NODE=241, PARTIAL=242, PASSWORD=243,
PERCENT=244, PERMISSION_SET=245, PER_CPU=246, PER_DB=247, PER_NODE=248,
PIVOT=249, PLAN=250, PLATFORM=251, POLICY=252, PRECISION=253, PREDICATE=254,
PRIMARY=255, PRINT=256, PROC=257, PROCEDURE=258, PROCESS=259, PUBLIC=260,
PYTHON=261, R=262, RAISERROR=263, RAW=264, READ=265, READTEXT=266, READ_WRITE_FILEGROUPS=267,
RECONFIGURE=268, REFERENCES=269, REGENERATE=270, RELATED_CONVERSATION=271,
RELATED_CONVERSATION_GROUP=272, REPLICATION=273, REQUIRED=274, RESET=275,
RESTART=276, RESTORE=277, RESTRICT=278, RESUME=279, RETAINDAYS=280, RETURN=281,
RETURNS=282, REVERT=283, REVOKE=284, REWIND=285, RIGHT=286, ROLLBACK=287,
ROLE=288, ROWCOUNT=289, ROWGUIDCOL=290, RSA_512=291, RSA_1024=292, RSA_2048=293,
RSA_3072=294, RSA_4096=295, SAFETY=296, RULE=297, SAFE=298, SAVE=299,
SCHEDULER=300, SCHEMA=301, SCHEME=302, SECURITY=303, SECURITYAUDIT=304,
SELECT=305, SEMANTICKEYPHRASETABLE=306, SEMANTICSIMILARITYDETAILSTABLE=307,
SEMANTICSIMILARITYTABLE=308, SEQUENCE=309, SERVER=310, SERVICE=311, SERVICE_BROKER=312,
SERVICE_NAME=313, SESSION=314, SESSION_USER=315, SET=316, SETUSER=317,
SHUTDOWN=318, SID=319, SKIP_KEYWORD=320, SOFTNUMA=321, SOME=322, SOURCE=323,
SPECIFICATION=324, SPLIT=325, SQLDUMPERFLAGS=326, SQLDUMPERPATH=327, SQLDUMPERTIMEOUT=328,
STATISTICS=329, STATE=330, STATS=331, START=332, STARTED=333, STARTUP_STATE=334,
STOP=335, STOPPED=336, STOP_ON_ERROR=337, SUPPORTED=338, SYSTEM=339, SYSTEM_USER=340,
TABLE=341, TABLESAMPLE=342, TAPE=343, TARGET=344, TCP=345, TEXTSIZE=346,
THEN=347, TO=348, TOP=349, TRACK_CAUSALITY=350, TRAN=351, TRANSACTION=352,
TRANSFER=353, TRIGGER=354, TRUNCATE=355, TSEQUAL=356, UNCHECKED=357, UNION=358,
UNIQUE=359, UNLOCK=360, UNPIVOT=361, UNSAFE=362, UPDATE=363, UPDATETEXT=364,
URL=365, USE=366, USED=367, USER=368, VALUES=369, VARYING=370, VERBOSELOGGING=371,
VIEW=372, VISIBILITY=373, WAITFOR=374, WHEN=375, WHERE=376, WHILE=377,
WINDOWS=378, WITH=379, WITHIN=380, WITHOUT=381, WITNESS=382, WRITETEXT=383,
ABSOLUTE=384, ACCENT_SENSITIVITY=385, ACTION=386, ACTIVATION=387, ACTIVE=388,
ADDRESS=389, AES_128=390, AES_192=391, AES_256=392, AFFINITY=393, AFTER=394,
AGGREGATE=395, ALGORITHM=396, ALLOW_ENCRYPTED_VALUE_MODIFICATIONS=397,
ALLOW_SNAPSHOT_ISOLATION=398, ALLOWED=399, ANSI_NULL_DEFAULT=400, ANSI_NULLS=401,
ANSI_PADDING=402, ANSI_WARNINGS=403, APPLICATION_LOG=404, APPLY=405, ARITHABORT=406,
ASSEMBLY=407, AUDIT=408, AUDIT_GUID=409, AUTO=410, AUTO_CLEANUP=411, AUTO_CLOSE=412,
AUTO_CREATE_STATISTICS=413, AUTO_SHRINK=414, AUTO_UPDATE_STATISTICS=415,
AUTO_UPDATE_STATISTICS_ASYNC=416, AVAILABILITY=417, AVG=418, BACKUP_PRIORITY=419,
BEGIN_DIALOG=420, BIGINT=421, BINARY_BASE64=422, BINARY_CHECKSUM=423,
BINDING=424, BLOB_STORAGE=425, BROKER=426, BROKER_INSTANCE=427, BULK_LOGGED=428,
CALLER=429, CAP_CPU_PERCENT=430, CAST=431, CATALOG=432, CATCH=433, CHANGE_RETENTION=434,
CHANGE_TRACKING=435, CHECKSUM=436, CHECKSUM_AGG=437, CLEANUP=438, COLLECTION=439,
COLUMN_MASTER_KEY=440, COMMITTED=441, COMPATIBILITY_LEVEL=442, CONCAT=443,
CONCAT_NULL_YIELDS_NULL=444, CONTENT=445, CONTROL=446, COOKIE=447, COUNT=448,
COUNT_BIG=449, COUNTER=450, CPU=451, CREATE_NEW=452, CREATION_DISPOSITION=453,
CREDENTIAL=454, CRYPTOGRAPHIC=455, CURSOR_CLOSE_ON_COMMIT=456, CURSOR_DEFAULT=457,
DATE_CORRELATION_OPTIMIZATION=458, DATEADD=459, DATEDIFF=460, DATENAME=461,
DATEPART=462, DAYS=463, DB_CHAINING=464, DB_FAILOVER=465, DECRYPTION=466,
DEFAULT_DOUBLE_QUOTE=467, DEFAULT_FULLTEXT_LANGUAGE=468, DEFAULT_LANGUAGE=469,
DELAY=470, DELAYED_DURABILITY=471, DELETED=472, DENSE_RANK=473, DEPENDENTS=474,
DES=475, DESCRIPTION=476, DESX=477, DHCP=478, DIALOG=479, DIRECTORY_NAME=480,
DISABLE=481, DISABLE_BROKER=482, DISABLED=483, DISK_DRIVE=484, DOCUMENT=485,
DYNAMIC=486, ELEMENTS=487, EMERGENCY=488, EMPTY=489, ENABLE=490, ENABLE_BROKER=491,
ENCRYPTED_VALUE=492, ENCRYPTION=493, ENDPOINT_URL=494, ERROR_BROKER_CONVERSATIONS=495,
EXCLUSIVE=496, EXECUTABLE=497, EXIST=498, EXPAND=499, EXPIRY_DATE=500,
EXPLICIT=501, FAIL_OPERATION=502, FAILOVER_MODE=503, FAILURE=504, FAILURE_CONDITION_LEVEL=505,
FAST=506, FAST_FORWARD=507, FILEGROUP=508, FILEGROWTH=509, FILEPATH=510,
FILESTREAM=511, FILTER=512, FIRST=513, FIRST_VALUE=514, FOLLOWING=515,
FORCE=516, FORCE_FAILOVER_ALLOW_DATA_LOSS=517, FORCED=518, FORMAT=519,
FORWARD_ONLY=520, FULLSCAN=521, FULLTEXT=522, GB=523, GETDATE=524, GETUTCDATE=525,
GLOBAL=526, GO=527, GROUP_MAX_REQUESTS=528, GROUPING=529, GROUPING_ID=530,
HADR=531, HASH=532, HEALTH_CHECK_TIMEOUT=533, HIGH=534, HONOR_BROKER_PRIORITY=535,
HOURS=536, IDENTITY_VALUE=537, IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX=538,
IMMEDIATE=539, IMPERSONATE=540, IMPORTANCE=541, INCLUDE_NULL_VALUES=542,
INCREMENTAL=543, INITIATOR=544, INPUT=545, INSENSITIVE=546, INSERTED=547,
INT=548, IP=549, ISOLATION=550, JSON=551, KB=552, KEEP=553, KEEPFIXED=554,
KEY_SOURCE=555, KEYS=556, KEYSET=557, LAG=558, LAST=559, LAST_VALUE=560,
LEAD=561, LEVEL=562, LIST=563, LISTENER=564, LISTENER_URL=565, LOB_COMPACTION=566,
LOCAL=567, LOCATION=568, LOCK=569, LOCK_ESCALATION=570, LOGIN=571, LOOP=572,
LOW=573, MANUAL=574, MARK=575, MATERIALIZED=576, MAX=577, MAX_CPU_PERCENT=578,
MAX_DOP=579, MAX_FILES=580, MAX_IOPS_PER_VOLUME=581, MAX_MEMORY_PERCENT=582,
MAX_PROCESSES=583, MAX_QUEUE_READERS=584, MAX_ROLLOVER_FILES=585, MAXDOP=586,
MAXRECURSION=587, MAXSIZE=588, MB=589, MEDIUM=590, MEMORY_OPTIMIZED_DATA=591,
MESSAGE=592, MIN=593, MIN_ACTIVE_ROWVERSION=594, MIN_CPU_PERCENT=595,
MIN_IOPS_PER_VOLUME=596, MIN_MEMORY_PERCENT=597, MINUTES=598, MIRROR_ADDRESS=599,
MIXED_PAGE_ALLOCATION=600, MODE=601, MODIFY=602, MOVE=603, MULTI_USER=604,
NAME=605, NESTED_TRIGGERS=606, NEW_ACCOUNT=607, NEW_BROKER=608, NEW_PASSWORD=609,
NEXT=610, NO=611, NO_TRUNCATE=612, NO_WAIT=613, NOCOUNT=614, NODES=615,
NOEXPAND=616, NON_TRANSACTED_ACCESS=617, NORECOMPUTE=618, NORECOVERY=619,
NOWAIT=620, NTILE=621, NUMANODE=622, NUMBER=623, NUMERIC_ROUNDABORT=624,
OBJECT=625, OFFLINE=626, OFFSET=627, OLD_ACCOUNT=628, ONLINE=629, ONLY=630,
OPEN_EXISTING=631, OPTIMISTIC=632, OPTIMIZE=633, OUT=634, OUTPUT=635,
OWNER=636, PAGE_VERIFY=637, PARAMETERIZATION=638, PARTITION=639, PARTITIONS=640,
PARTNER=641, PATH=642, POISON_MESSAGE_HANDLING=643, POOL=644, PORT=645,
PRECEDING=646, PRIMARY_ROLE=647, PRIOR=648, PRIORITY=649, PRIORITY_LEVEL=650,
PRIVATE=651, PRIVATE_KEY=652, PRIVILEGES=653, PROCEDURE_NAME=654, PROPERTY=655,
PROVIDER=656, PROVIDER_KEY_NAME=657, QUERY=658, QUEUE=659, QUEUE_DELAY=660,
QUOTED_IDENTIFIER=661, RANGE=662, RANK=663, RC2=664, RC4=665, RC4_128=666,
READ_COMMITTED_SNAPSHOT=667, READ_ONLY=668, READ_ONLY_ROUTING_LIST=669,
READ_WRITE=670, READONLY=671, REBUILD=672, RECEIVE=673, RECOMPILE=674,
RECOVERY=675, RECURSIVE_TRIGGERS=676, RELATIVE=677, REMOTE=678, REMOTE_SERVICE_NAME=679,
REMOVE=680, REORGANIZE=681, REPEATABLE=682, REPLICA=683, REQUEST_MAX_CPU_TIME_SEC=684,
REQUEST_MAX_MEMORY_GRANT_PERCENT=685, REQUEST_MEMORY_GRANT_TIMEOUT_SEC=686,
REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT=687, RESERVE_DISK_SPACE=688,
RESOURCE=689, RESOURCE_MANAGER_LOCATION=690, RESTRICTED_USER=691, RETENTION=692,
ROBUST=693, ROOT=694, ROUTE=695, ROW=696, ROW_NUMBER=697, ROWGUID=698,
ROWS=699, SAMPLE=700, SCHEMABINDING=701, SCOPED=702, SCROLL=703, SCROLL_LOCKS=704,
SEARCH=705, SECONDARY=706, SECONDARY_ONLY=707, SECONDARY_ROLE=708, SECONDS=709,
SECRET=710, SECURITY_LOG=711, SEEDING_MODE=712, SELF=713, SEMI_SENSITIVE=714,
SEND=715, SENT=716, SERIALIZABLE=717, SESSION_TIMEOUT=718, SETERROR=719,
SHARE=720, SHOWPLAN=721, SIGNATURE=722, SIMPLE=723, SINGLE_USER=724, SIZE=725,
SMALLINT=726, SNAPSHOT=727, SPATIAL_WINDOW_MAX_CELLS=728, STANDBY=729,
START_DATE=730, STATIC=731, STATS_STREAM=732, STATUS=733, STDEV=734, STDEVP=735,
STOPLIST=736, STUFF=737, SUBJECT=738, SUM=739, SUSPEND=740, SYMMETRIC=741,
SYNCHRONOUS_COMMIT=742, SYNONYM=743, TAKE=744, TARGET_RECOVERY_TIME=745,
TB=746, TEXTIMAGE_ON=747, THROW=748, TIES=749, TIME=750, TIMEOUT=751,
TIMER=752, TINYINT=753, TORN_PAGE_DETECTION=754, TRANSFORM_NOISE_WORDS=755,
TRIPLE_DES=756, TRIPLE_DES_3KEY=757, TRUSTWORTHY=758, TRY=759, TSQL=760,
TWO_DIGIT_YEAR_CUTOFF=761, TYPE=762, TYPE_WARNING=763, UNBOUNDED=764,
UNCOMMITTED=765, UNKNOWN=766, UNLIMITED=767, USING=768, VALID_XML=769,
VALIDATION=770, VALUE=771, VAR=772, VARP=773, VIEW_METADATA=774, VIEWS=775,
WAIT=776, WELL_FORMED_XML=777, WITHOUT_ARRAY_WRAPPER=778, WORK=779, WORKLOAD=780,
XML=781, XMLDATA=782, XMLNAMESPACES=783, XMLSCHEMA=784, XSINIL=785, DOLLAR_ACTION=786,
SPACE=787, COMMENT=788, LINE_COMMENT=789, DOUBLE_QUOTE_ID=790, SINGLE_QUOTE=791,
SQUARE_BRACKET_ID=792, LOCAL_ID=793, DECIMAL=794, ID=795, QUOTED_URL=796,
QUOTED_HOST_AND_PORT=797, STRING=798, BINARY=799, FLOAT=800, REAL=801,
EQUAL=802, GREATER=803, LESS=804, EXCLAMATION=805, PLUS_ASSIGN=806, MINUS_ASSIGN=807,
MULT_ASSIGN=808, DIV_ASSIGN=809, MOD_ASSIGN=810, AND_ASSIGN=811, XOR_ASSIGN=812,
OR_ASSIGN=813, DOUBLE_BAR=814, DOT=815, UNDERLINE=816, AT=817, SHARP=818,
DOLLAR=819, LR_BRACKET=820, RR_BRACKET=821, COMMA=822, SEMI=823, COLON=824,
STAR=825, DIVIDE=826, MODULE=827, PLUS=828, MINUS=829, BIT_NOT=830, BIT_OR=831,
BIT_AND=832, BIT_XOR=833, IPV4_OCTECT=834;
public static final int
RULE_tsql_file = 0, RULE_batch = 1, RULE_sql_clauses = 2, RULE_sql_clause = 3,
RULE_dml_clause = 4, RULE_ddl_clause = 5, RULE_backup_statement = 6, RULE_cfl_statement = 7,
RULE_block_statement = 8, RULE_break_statement = 9, RULE_continue_statement = 10,
RULE_goto_statement = 11, RULE_return_statement = 12, RULE_if_statement = 13,
RULE_throw_statement = 14, RULE_throw_error_number = 15, RULE_throw_message = 16,
RULE_throw_state = 17, RULE_try_catch_statement = 18, RULE_waitfor_statement = 19,
RULE_while_statement = 20, RULE_print_statement = 21, RULE_raiseerror_statement = 22,
RULE_empty_statement = 23, RULE_another_statement = 24, RULE_alter_application_role = 25,
RULE_create_application_role = 26, RULE_drop_aggregate = 27, RULE_drop_application_role = 28,
RULE_alter_assembly = 29, RULE_alter_assembly_start = 30, RULE_alter_assembly_clause = 31,
RULE_alter_assembly_from_clause = 32, RULE_alter_assembly_from_clause_start = 33,
RULE_alter_assembly_drop_clause = 34, RULE_alter_assembly_drop_multiple_files = 35,
RULE_alter_assembly_drop = 36, RULE_alter_assembly_add_clause = 37, RULE_alter_asssembly_add_clause_start = 38,
RULE_alter_assembly_client_file_clause = 39, RULE_alter_assembly_file_name = 40,
RULE_alter_assembly_file_bits = 41, RULE_alter_assembly_as = 42, RULE_alter_assembly_with_clause = 43,
RULE_alter_assembly_with = 44, RULE_client_assembly_specifier = 45, RULE_assembly_option = 46,
RULE_network_file_share = 47, RULE_network_computer = 48, RULE_network_file_start = 49,
RULE_file_path = 50, RULE_file_directory_path_separator = 51, RULE_local_file = 52,
RULE_local_drive = 53, RULE_multiple_local_files = 54, RULE_multiple_local_file_start = 55,
RULE_create_assembly = 56, RULE_drop_assembly = 57, RULE_alter_asymmetric_key = 58,
RULE_alter_asymmetric_key_start = 59, RULE_asymmetric_key_option = 60,
RULE_asymmetric_key_option_start = 61, RULE_asymmetric_key_password_change_option = 62,
RULE_create_asymmetric_key = 63, RULE_drop_asymmetric_key = 64, RULE_alter_authorization = 65,
RULE_authorization_grantee = 66, RULE_entity_to = 67, RULE_colon_colon = 68,
RULE_alter_authorization_start = 69, RULE_alter_authorization_for_sql_database = 70,
RULE_alter_authorization_for_azure_dw = 71, RULE_alter_authorization_for_parallel_dw = 72,
RULE_class_type = 73, RULE_class_type_for_sql_database = 74, RULE_class_type_for_azure_dw = 75,
RULE_class_type_for_parallel_dw = 76, RULE_drop_availability_group = 77,
RULE_alter_availability_group = 78, RULE_alter_availability_group_start = 79,
RULE_alter_availability_group_options = 80, RULE_create_or_alter_broker_priority = 81,
RULE_drop_broker_priority = 82, RULE_alter_certificate = 83, RULE_alter_column_encryption_key = 84,
RULE_create_column_encryption_key = 85, RULE_drop_certificate = 86, RULE_drop_column_encryption_key = 87,
RULE_drop_column_master_key = 88, RULE_drop_contract = 89, RULE_drop_credential = 90,
RULE_drop_cryptograhic_provider = 91, RULE_drop_database = 92, RULE_drop_database_audit_specification = 93,
RULE_drop_database_scoped_credential = 94, RULE_drop_default = 95, RULE_drop_endpoint = 96,
RULE_drop_external_data_source = 97, RULE_drop_external_file_format = 98,
RULE_drop_external_library = 99, RULE_drop_external_resource_pool = 100,
RULE_drop_external_table = 101, RULE_drop_event_notifications = 102, RULE_drop_event_session = 103,
RULE_drop_fulltext_catalog = 104, RULE_drop_fulltext_index = 105, RULE_drop_fulltext_stoplist = 106,
RULE_drop_login = 107, RULE_drop_master_key = 108, RULE_drop_message_type = 109,
RULE_drop_partition_function = 110, RULE_drop_partition_scheme = 111,
RULE_drop_queue = 112, RULE_drop_remote_service_binding = 113, RULE_drop_resource_pool = 114,
RULE_drop_db_role = 115, RULE_drop_route = 116, RULE_drop_rule = 117,
RULE_drop_schema = 118, RULE_drop_search_property_list = 119, RULE_drop_security_policy = 120,
RULE_drop_sequence = 121, RULE_drop_server_audit = 122, RULE_drop_server_audit_specification = 123,
RULE_drop_server_role = 124, RULE_drop_service = 125, RULE_drop_signature = 126,
RULE_drop_statistics_name_azure_dw_and_pdw = 127, RULE_drop_symmetric_key = 128,
RULE_drop_synonym = 129, RULE_drop_user = 130, RULE_drop_workload_group = 131,
RULE_drop_xml_schema_collection = 132, RULE_disable_trigger = 133, RULE_enable_trigger = 134,
RULE_lock_table = 135, RULE_truncate_table = 136, RULE_create_column_master_key = 137,
RULE_alter_credential = 138, RULE_create_credential = 139, RULE_alter_cryptographic_provider = 140,
RULE_create_cryptographic_provider = 141, RULE_create_event_notification = 142,
RULE_create_or_alter_event_session = 143, RULE_event_session_predicate_expression = 144,
RULE_event_session_predicate_factor = 145, RULE_event_session_predicate_leaf = 146,
RULE_alter_external_data_source = 147, RULE_alter_external_library = 148,
RULE_create_external_library = 149, RULE_alter_external_resource_pool = 150,
RULE_create_external_resource_pool = 151, RULE_alter_fulltext_catalog = 152,
RULE_create_fulltext_catalog = 153, RULE_alter_fulltext_stoplist = 154,
RULE_create_fulltext_stoplist = 155, RULE_alter_login_sql_server = 156,
RULE_create_login_sql_server = 157, RULE_alter_login_azure_sql = 158,
RULE_create_login_azure_sql = 159, RULE_alter_login_azure_sql_dw_and_pdw = 160,
RULE_create_login_pdw = 161, RULE_alter_master_key_sql_server = 162, RULE_create_master_key_sql_server = 163,
RULE_alter_master_key_azure_sql = 164, RULE_create_master_key_azure_sql = 165,
RULE_alter_message_type = 166, RULE_alter_partition_function = 167, RULE_alter_partition_scheme = 168,
RULE_alter_remote_service_binding = 169, RULE_create_remote_service_binding = 170,
RULE_create_resource_pool = 171, RULE_alter_resource_governor = 172, RULE_alter_db_role = 173,
RULE_create_db_role = 174, RULE_create_route = 175, RULE_create_rule = 176,
RULE_alter_schema_sql = 177, RULE_create_schema = 178, RULE_create_schema_azure_sql_dw_and_pdw = 179,
RULE_alter_schema_azure_sql_dw_and_pdw = 180, RULE_create_search_property_list = 181,
RULE_create_security_policy = 182, RULE_alter_sequence = 183, RULE_create_sequence = 184,
RULE_alter_server_audit = 185, RULE_create_server_audit = 186, RULE_alter_server_audit_specification = 187,
RULE_create_server_audit_specification = 188, RULE_alter_server_configuration = 189,
RULE_alter_server_role = 190, RULE_create_server_role = 191, RULE_alter_server_role_pdw = 192,
RULE_alter_service = 193, RULE_create_service = 194, RULE_alter_service_master_key = 195,
RULE_alter_symmetric_key = 196, RULE_create_symmetric_key = 197, RULE_create_synonym = 198,
RULE_alter_user = 199, RULE_create_user = 200, RULE_create_user_azure_sql_dw = 201,
RULE_alter_user_azure_sql = 202, RULE_alter_workload_group = 203, RULE_create_workload_group = 204,
RULE_create_xml_schema_collection = 205, RULE_create_queue = 206, RULE_queue_settings = 207,
RULE_alter_queue = 208, RULE_queue_action = 209, RULE_queue_rebuild_options = 210,
RULE_create_contract = 211, RULE_conversation_statement = 212, RULE_message_statement = 213,
RULE_merge_statement = 214, RULE_merge_matched = 215, RULE_merge_not_matched = 216,
RULE_delete_statement = 217, RULE_delete_statement_from = 218, RULE_insert_statement = 219,
RULE_insert_statement_value = 220, RULE_receive_statement = 221, RULE_select_statement = 222,
RULE_time = 223, RULE_update_statement = 224, RULE_output_clause = 225,
RULE_output_dml_list_elem = 226, RULE_output_column_name = 227, RULE_create_database = 228,
RULE_create_index = 229, RULE_create_or_alter_procedure = 230, RULE_create_or_alter_trigger = 231,
RULE_create_or_alter_dml_trigger = 232, RULE_dml_trigger_option = 233,
RULE_dml_trigger_operation = 234, RULE_create_or_alter_ddl_trigger = 235,
RULE_ddl_trigger_operation = 236, RULE_create_or_alter_function = 237,
RULE_func_body_returns_select = 238, RULE_func_body_returns_table = 239,
RULE_func_body_returns_scalar = 240, RULE_procedure_param = 241, RULE_procedure_option = 242,
RULE_function_option = 243, RULE_create_statistics = 244, RULE_update_statistics = 245,
RULE_create_table = 246, RULE_table_options = 247, RULE_create_view = 248,
RULE_view_attribute = 249, RULE_alter_table = 250, RULE_alter_database = 251,
RULE_database_optionspec = 252, RULE_auto_option = 253, RULE_change_tracking_option = 254,
RULE_change_tracking_option_list = 255, RULE_containment_option = 256,
RULE_cursor_option = 257, RULE_alter_endpoint = 258, RULE_database_mirroring_option = 259,
RULE_mirroring_set_option = 260, RULE_mirroring_partner = 261, RULE_mirroring_witness = 262,
RULE_witness_partner_equal = 263, RULE_partner_option = 264, RULE_witness_option = 265,
RULE_witness_server = 266, RULE_partner_server = 267, RULE_mirroring_host_port_seperator = 268,
RULE_partner_server_tcp_prefix = 269, RULE_port_number = 270, RULE_host = 271,
RULE_date_correlation_optimization_option = 272, RULE_db_encryption_option = 273,
RULE_db_state_option = 274, RULE_db_update_option = 275, RULE_db_user_access_option = 276,
RULE_delayed_durability_option = 277, RULE_external_access_option = 278,
RULE_hadr_options = 279, RULE_mixed_page_allocation_option = 280, RULE_parameterization_option = 281,
RULE_recovery_option = 282, RULE_service_broker_option = 283, RULE_snapshot_option = 284,
RULE_sql_option = 285, RULE_target_recovery_time_option = 286, RULE_termination = 287,
RULE_drop_index = 288, RULE_drop_relational_or_xml_or_spatial_index = 289,
RULE_drop_backward_compatible_index = 290, RULE_drop_procedure = 291,
RULE_drop_trigger = 292, RULE_drop_dml_trigger = 293, RULE_drop_ddl_trigger = 294,
RULE_drop_function = 295, RULE_drop_statistics = 296, RULE_drop_table = 297,
RULE_drop_view = 298, RULE_create_type = 299, RULE_drop_type = 300, RULE_rowset_function_limited = 301,
RULE_openquery = 302, RULE_opendatasource = 303, RULE_declare_statement = 304,
RULE_cursor_statement = 305, RULE_backup_database = 306, RULE_backup_log = 307,
RULE_backup_certificate = 308, RULE_backup_master_key = 309, RULE_backup_service_master_key = 310,
RULE_execute_statement = 311, RULE_execute_body = 312, RULE_execute_statement_arg = 313,
RULE_execute_var_string = 314, RULE_security_statement = 315, RULE_create_certificate = 316,
RULE_existing_keys = 317, RULE_private_key_options = 318, RULE_generate_new_keys = 319,
RULE_date_options = 320, RULE_open_key = 321, RULE_close_key = 322, RULE_create_key = 323,
RULE_key_options = 324, RULE_algorithm = 325, RULE_encryption_mechanism = 326,
RULE_decryption_mechanism = 327, RULE_grant_permission = 328, RULE_set_statement = 329,
RULE_transaction_statement = 330, RULE_go_statement = 331, RULE_use_statement = 332,
RULE_setuser_statement = 333, RULE_dbcc_clause = 334, RULE_dbcc_options = 335,
RULE_execute_clause = 336, RULE_declare_local = 337, RULE_table_type_definition = 338,
RULE_xml_type_definition = 339, RULE_xml_schema_collection = 340, RULE_column_def_table_constraints = 341,
RULE_column_def_table_constraint = 342, RULE_column_definition = 343,
RULE_materialized_column_definition = 344, RULE_column_constraint = 345,
RULE_table_constraint = 346, RULE_on_delete = 347, RULE_on_update = 348,
RULE_index_options = 349, RULE_index_option = 350, RULE_declare_cursor = 351,
RULE_declare_set_cursor_common = 352, RULE_declare_set_cursor_common_partial = 353,
RULE_fetch_cursor = 354, RULE_set_special = 355, RULE_constant_LOCAL_ID = 356,
RULE_expression = 357, RULE_primitive_expression = 358, RULE_case_expression = 359,
RULE_unary_operator_expression = 360, RULE_bracket_expression = 361, RULE_constant_expression = 362,
RULE_subquery = 363, RULE_with_expression = 364, RULE_common_table_expression = 365,
RULE_update_elem = 366, RULE_search_condition_list = 367, RULE_search_condition = 368,
RULE_search_condition_and = 369, RULE_search_condition_not = 370, RULE_predicate = 371,
RULE_query_expression = 372, RULE_sql_union = 373, RULE_query_specification = 374,
RULE_top_clause = 375, RULE_top_percent = 376, RULE_top_count = 377, RULE_order_by_clause = 378,
RULE_for_clause = 379, RULE_xml_common_directives = 380, RULE_order_by_expression = 381,
RULE_group_by_item = 382, RULE_option_clause = 383, RULE_option = 384,
RULE_optimize_for_arg = 385, RULE_select_list = 386, RULE_udt_method_arguments = 387,
RULE_asterisk = 388, RULE_column_elem = 389, RULE_udt_elem = 390, RULE_expression_elem = 391,
RULE_select_list_elem = 392, RULE_table_sources = 393, RULE_table_source = 394,
RULE_table_source_item_joined = 395, RULE_table_source_item = 396, RULE_open_xml = 397,
RULE_schema_declaration = 398, RULE_column_declaration = 399, RULE_change_table = 400,
RULE_join_part = 401, RULE_pivot_clause = 402, RULE_unpivot_clause = 403,
RULE_full_column_name_list = 404, RULE_table_name_with_hint = 405, RULE_rowset_function = 406,
RULE_bulk_option = 407, RULE_derived_table = 408, RULE_function_call = 409,
RULE_xml_data_type_methods = 410, RULE_value_method = 411, RULE_query_method = 412,
RULE_exist_method = 413, RULE_modify_method = 414, RULE_nodes_method = 415,
RULE_switch_section = 416, RULE_switch_search_condition_section = 417,
RULE_as_column_alias = 418, RULE_as_table_alias = 419, RULE_table_alias = 420,
RULE_with_table_hints = 421, RULE_insert_with_table_hints = 422, RULE_table_hint = 423,
RULE_index_value = 424, RULE_column_alias_list = 425, RULE_column_alias = 426,
RULE_table_value_constructor = 427, RULE_expression_list = 428, RULE_ranking_windowed_function = 429,
RULE_aggregate_windowed_function = 430, RULE_analytic_windowed_function = 431,
RULE_all_distinct_expression = 432, RULE_over_clause = 433, RULE_row_or_range_clause = 434,
RULE_window_frame_extent = 435, RULE_window_frame_bound = 436, RULE_window_frame_preceding = 437,
RULE_window_frame_following = 438, RULE_create_database_option = 439,
RULE_database_filestream_option = 440, RULE_database_file_spec = 441,
RULE_file_group = 442, RULE_file_spec = 443, RULE_entity_name = 444, RULE_entity_name_for_azure_dw = 445,
RULE_entity_name_for_parallel_dw = 446, RULE_full_table_name = 447, RULE_table_name = 448,
RULE_simple_name = 449, RULE_func_proc_name_schema = 450, RULE_func_proc_name_database_schema = 451,
RULE_func_proc_name_server_database_schema = 452, RULE_ddl_object = 453,
RULE_full_column_name = 454, RULE_column_name_list_with_order = 455, RULE_column_name_list = 456,
RULE_cursor_name = 457, RULE_on_off = 458, RULE_clustered = 459, RULE_null_notnull = 460,
RULE_null_or_default = 461, RULE_scalar_function_name = 462, RULE_begin_conversation_timer = 463,
RULE_begin_conversation_dialog = 464, RULE_contract_name = 465, RULE_service_name = 466,
RULE_end_conversation = 467, RULE_waitfor_conversation = 468, RULE_get_conversation = 469,
RULE_queue_id = 470, RULE_send_conversation = 471, RULE_data_type = 472,
RULE_default_value = 473, RULE_constant = 474, RULE_sign = 475, RULE_id = 476,
RULE_simple_id = 477, RULE_comparison_operator = 478, RULE_assignment_operator = 479,
RULE_file_size = 480;
private static String[] makeRuleNames() {
return new String[] {
"tsql_file", "batch", "sql_clauses", "sql_clause", "dml_clause", "ddl_clause",
"backup_statement", "cfl_statement", "block_statement", "break_statement",
"continue_statement", "goto_statement", "return_statement", "if_statement",
"throw_statement", "throw_error_number", "throw_message", "throw_state",
"try_catch_statement", "waitfor_statement", "while_statement", "print_statement",
"raiseerror_statement", "empty_statement", "another_statement", "alter_application_role",
"create_application_role", "drop_aggregate", "drop_application_role",
"alter_assembly", "alter_assembly_start", "alter_assembly_clause", "alter_assembly_from_clause",
"alter_assembly_from_clause_start", "alter_assembly_drop_clause", "alter_assembly_drop_multiple_files",
"alter_assembly_drop", "alter_assembly_add_clause", "alter_asssembly_add_clause_start",
"alter_assembly_client_file_clause", "alter_assembly_file_name", "alter_assembly_file_bits",
"alter_assembly_as", "alter_assembly_with_clause", "alter_assembly_with",
"client_assembly_specifier", "assembly_option", "network_file_share",
"network_computer", "network_file_start", "file_path", "file_directory_path_separator",
"local_file", "local_drive", "multiple_local_files", "multiple_local_file_start",
"create_assembly", "drop_assembly", "alter_asymmetric_key", "alter_asymmetric_key_start",
"asymmetric_key_option", "asymmetric_key_option_start", "asymmetric_key_password_change_option",
"create_asymmetric_key", "drop_asymmetric_key", "alter_authorization",
"authorization_grantee", "entity_to", "colon_colon", "alter_authorization_start",
"alter_authorization_for_sql_database", "alter_authorization_for_azure_dw",
"alter_authorization_for_parallel_dw", "class_type", "class_type_for_sql_database",
"class_type_for_azure_dw", "class_type_for_parallel_dw", "drop_availability_group",
"alter_availability_group", "alter_availability_group_start", "alter_availability_group_options",
"create_or_alter_broker_priority", "drop_broker_priority", "alter_certificate",
"alter_column_encryption_key", "create_column_encryption_key", "drop_certificate",
"drop_column_encryption_key", "drop_column_master_key", "drop_contract",
"drop_credential", "drop_cryptograhic_provider", "drop_database", "drop_database_audit_specification",
"drop_database_scoped_credential", "drop_default", "drop_endpoint", "drop_external_data_source",
"drop_external_file_format", "drop_external_library", "drop_external_resource_pool",
"drop_external_table", "drop_event_notifications", "drop_event_session",
"drop_fulltext_catalog", "drop_fulltext_index", "drop_fulltext_stoplist",
"drop_login", "drop_master_key", "drop_message_type", "drop_partition_function",
"drop_partition_scheme", "drop_queue", "drop_remote_service_binding",
"drop_resource_pool", "drop_db_role", "drop_route", "drop_rule", "drop_schema",
"drop_search_property_list", "drop_security_policy", "drop_sequence",
"drop_server_audit", "drop_server_audit_specification", "drop_server_role",
"drop_service", "drop_signature", "drop_statistics_name_azure_dw_and_pdw",
"drop_symmetric_key", "drop_synonym", "drop_user", "drop_workload_group",
"drop_xml_schema_collection", "disable_trigger", "enable_trigger", "lock_table",
"truncate_table", "create_column_master_key", "alter_credential", "create_credential",
"alter_cryptographic_provider", "create_cryptographic_provider", "create_event_notification",
"create_or_alter_event_session", "event_session_predicate_expression",
"event_session_predicate_factor", "event_session_predicate_leaf", "alter_external_data_source",
"alter_external_library", "create_external_library", "alter_external_resource_pool",
"create_external_resource_pool", "alter_fulltext_catalog", "create_fulltext_catalog",
"alter_fulltext_stoplist", "create_fulltext_stoplist", "alter_login_sql_server",
"create_login_sql_server", "alter_login_azure_sql", "create_login_azure_sql",
"alter_login_azure_sql_dw_and_pdw", "create_login_pdw", "alter_master_key_sql_server",
"create_master_key_sql_server", "alter_master_key_azure_sql", "create_master_key_azure_sql",
"alter_message_type", "alter_partition_function", "alter_partition_scheme",
"alter_remote_service_binding", "create_remote_service_binding", "create_resource_pool",
"alter_resource_governor", "alter_db_role", "create_db_role", "create_route",
"create_rule", "alter_schema_sql", "create_schema", "create_schema_azure_sql_dw_and_pdw",
"alter_schema_azure_sql_dw_and_pdw", "create_search_property_list", "create_security_policy",
"alter_sequence", "create_sequence", "alter_server_audit", "create_server_audit",
"alter_server_audit_specification", "create_server_audit_specification",
"alter_server_configuration", "alter_server_role", "create_server_role",
"alter_server_role_pdw", "alter_service", "create_service", "alter_service_master_key",
"alter_symmetric_key", "create_symmetric_key", "create_synonym", "alter_user",
"create_user", "create_user_azure_sql_dw", "alter_user_azure_sql", "alter_workload_group",
"create_workload_group", "create_xml_schema_collection", "create_queue",
"queue_settings", "alter_queue", "queue_action", "queue_rebuild_options",
"create_contract", "conversation_statement", "message_statement", "merge_statement",
"merge_matched", "merge_not_matched", "delete_statement", "delete_statement_from",
"insert_statement", "insert_statement_value", "receive_statement", "select_statement",
"time", "update_statement", "output_clause", "output_dml_list_elem",
"output_column_name", "create_database", "create_index", "create_or_alter_procedure",
"create_or_alter_trigger", "create_or_alter_dml_trigger", "dml_trigger_option",
"dml_trigger_operation", "create_or_alter_ddl_trigger", "ddl_trigger_operation",
"create_or_alter_function", "func_body_returns_select", "func_body_returns_table",
"func_body_returns_scalar", "procedure_param", "procedure_option", "function_option",
"create_statistics", "update_statistics", "create_table", "table_options",
"create_view", "view_attribute", "alter_table", "alter_database", "database_optionspec",
"auto_option", "change_tracking_option", "change_tracking_option_list",
"containment_option", "cursor_option", "alter_endpoint", "database_mirroring_option",
"mirroring_set_option", "mirroring_partner", "mirroring_witness", "witness_partner_equal",
"partner_option", "witness_option", "witness_server", "partner_server",
"mirroring_host_port_seperator", "partner_server_tcp_prefix", "port_number",
"host", "date_correlation_optimization_option", "db_encryption_option",
"db_state_option", "db_update_option", "db_user_access_option", "delayed_durability_option",
"external_access_option", "hadr_options", "mixed_page_allocation_option",
"parameterization_option", "recovery_option", "service_broker_option",
"snapshot_option", "sql_option", "target_recovery_time_option", "termination",
"drop_index", "drop_relational_or_xml_or_spatial_index", "drop_backward_compatible_index",
"drop_procedure", "drop_trigger", "drop_dml_trigger", "drop_ddl_trigger",
"drop_function", "drop_statistics", "drop_table", "drop_view", "create_type",
"drop_type", "rowset_function_limited", "openquery", "opendatasource",
"declare_statement", "cursor_statement", "backup_database", "backup_log",
"backup_certificate", "backup_master_key", "backup_service_master_key",
"execute_statement", "execute_body", "execute_statement_arg", "execute_var_string",
"security_statement", "create_certificate", "existing_keys", "private_key_options",
"generate_new_keys", "date_options", "open_key", "close_key", "create_key",
"key_options", "algorithm", "encryption_mechanism", "decryption_mechanism",
"grant_permission", "set_statement", "transaction_statement", "go_statement",
"use_statement", "setuser_statement", "dbcc_clause", "dbcc_options",
"execute_clause", "declare_local", "table_type_definition", "xml_type_definition",
"xml_schema_collection", "column_def_table_constraints", "column_def_table_constraint",
"column_definition", "materialized_column_definition", "column_constraint",
"table_constraint", "on_delete", "on_update", "index_options", "index_option",
"declare_cursor", "declare_set_cursor_common", "declare_set_cursor_common_partial",
"fetch_cursor", "set_special", "constant_LOCAL_ID", "expression", "primitive_expression",
"case_expression", "unary_operator_expression", "bracket_expression",
"constant_expression", "subquery", "with_expression", "common_table_expression",
"update_elem", "search_condition_list", "search_condition", "search_condition_and",
"search_condition_not", "predicate", "query_expression", "sql_union",
"query_specification", "top_clause", "top_percent", "top_count", "order_by_clause",
"for_clause", "xml_common_directives", "order_by_expression", "group_by_item",
"option_clause", "option", "optimize_for_arg", "select_list", "udt_method_arguments",
"asterisk", "column_elem", "udt_elem", "expression_elem", "select_list_elem",
"table_sources", "table_source", "table_source_item_joined", "table_source_item",
"open_xml", "schema_declaration", "column_declaration", "change_table",
"join_part", "pivot_clause", "unpivot_clause", "full_column_name_list",
"table_name_with_hint", "rowset_function", "bulk_option", "derived_table",
"function_call", "xml_data_type_methods", "value_method", "query_method",
"exist_method", "modify_method", "nodes_method", "switch_section", "switch_search_condition_section",
"as_column_alias", "as_table_alias", "table_alias", "with_table_hints",
"insert_with_table_hints", "table_hint", "index_value", "column_alias_list",
"column_alias", "table_value_constructor", "expression_list", "ranking_windowed_function",
"aggregate_windowed_function", "analytic_windowed_function", "all_distinct_expression",
"over_clause", "row_or_range_clause", "window_frame_extent", "window_frame_bound",
"window_frame_preceding", "window_frame_following", "create_database_option",
"database_filestream_option", "database_file_spec", "file_group", "file_spec",
"entity_name", "entity_name_for_azure_dw", "entity_name_for_parallel_dw",
"full_table_name", "table_name", "simple_name", "func_proc_name_schema",
"func_proc_name_database_schema", "func_proc_name_server_database_schema",
"ddl_object", "full_column_name", "column_name_list_with_order", "column_name_list",
"cursor_name", "on_off", "clustered", "null_notnull", "null_or_default",
"scalar_function_name", "begin_conversation_timer", "begin_conversation_dialog",
"contract_name", "service_name", "end_conversation", "waitfor_conversation",
"get_conversation", "queue_id", "send_conversation", "data_type", "default_value",
"constant", "sign", "id", "simple_id", "comparison_operator", "assignment_operator",
"file_size"
};
}
public static final String[] ruleNames = makeRuleNames();
private static String[] makeLiteralNames() {
return new String[] {
null, "'ABSENT'", "'ADD'", "'AES'", "'ALL'", "'ALLOW_CONNECTIONS'", "'ALLOW_MULTIPLE_EVENT_LOSS'",
"'ALLOW_SINGLE_EVENT_LOSS'", "'ALTER'", "'AND'", "'ANONYMOUS'", "'ANY'",
"'APPEND'", "'APPLICATION'", "'AS'", "'ASC'", "'ASYMMETRIC'", "'ASYNCHRONOUS_COMMIT'",
"'AUTHORIZATION'", "'AUTHENTICATION'", "'AUTOMATED_BACKUP_PREFERENCE'",
"'AUTOMATIC'", "'AVAILABILITY_MODE'", "'\\'", "'BACKUP'", "'BEFORE'",
"'BEGIN'", "'BETWEEN'", "'BLOCK'", "'BLOCKSIZE'", "'BLOCKING_HIERARCHY'",
"'BREAK'", "'BROWSE'", "'BUFFER'", "'BUFFERCOUNT'", "'BULK'", "'BY'",
"'CACHE'", "'CALLED'", "'CASCADE'", "'CASE'", "'CERTIFICATE'", "'CHANGETABLE'",
"'CHANGES'", "'CHECK'", "'CHECKPOINT'", "'CHECK_POLICY'", "'CHECK_EXPIRATION'",
"'CLASSIFIER_FUNCTION'", "'CLOSE'", "'CLUSTER'", "'CLUSTERED'", "'COALESCE'",
"'COLLATE'", "'COLUMN'", "'COMPRESSION'", "'COMMIT'", "'COMPUTE'", "'CONFIGURATION'",
"'CONSTRAINT'", "'CONTAINMENT'", "'CONTAINS'", "'CONTAINSTABLE'", "'CONTEXT'",
"'CONTINUE'", "'CONTINUE_AFTER_ERROR'", "'CONTRACT'", "'CONTRACT_NAME'",
"'CONVERSATION'", null, "'COPY_ONLY'", "'CREATE'", "'CROSS'", "'CURRENT'",
"'CURRENT_DATE'", "'CURRENT_TIME'", "'CURRENT_TIMESTAMP'", "'CURRENT_USER'",
"'CURSOR'", "'CYCLE'", "'DATA'", "'DATA_COMPRESSION'", "'DATA_SOURCE'",
"'DATABASE'", "'DATABASE_MIRRORING'", "'DBCC'", "'DEALLOCATE'", "'DECLARE'",
"'DEFAULT'", "'DEFAULT_DATABASE'", "'DEFAULT_SCHEMA'", "'DELETE'", "'DENY'",
"'DESC'", "'DIAGNOSTICS'", "'DIFFERENTIAL'", "'DISK'", "'DISTINCT'",
"'DISTRIBUTED'", "'DOUBLE'", "'\\\\'", "'//'", "'DROP'", "'DTC_SUPPORT'",
"'DUMP'", "'ELSE'", "'ENABLED'", "'END'", "'ENDPOINT'", "'ERRLVL'", "'ESCAPE'",
"'ERROR'", "'EVENT'", null, "'EVENT_RETENTION_MODE'", "'EXCEPT'", "'EXECUTABLE_FILE'",
null, "'EXISTS'", "'EXPIREDATE'", "'EXIT'", "'EXTENSION'", "'EXTERNAL'",
"'EXTERNAL_ACCESS'", "'FAILOVER'", "'FAILURECONDITIONLEVEL'", "'FAN_IN'",
"'FETCH'", "'FILE'", "'FILENAME'", "'FILLFACTOR'", "'FILE_SNAPSHOT'",
"'FOR'", "'FORCESEEK'", "'FORCE_SERVICE_ALLOW_DATA_LOSS'", "'FOREIGN'",
"'FREETEXT'", "'FREETEXTTABLE'", "'FROM'", "'FULL'", "'FUNCTION'", "'GET'",
"'GOTO'", "'GOVERNOR'", "'GRANT'", "'GROUP'", "'HAVING'", "'HASHED'",
"'HEALTHCHECKTIMEOUT'", "'IDENTITY'", "'IDENTITYCOL'", "'IDENTITY_INSERT'",
"'IF'", "'IIF'", "'IN'", "'INCLUDE'", "'INCREMENT'", "'INDEX'", "'INFINITE'",
"'INIT'", "'INNER'", "'INSERT'", "'INSTEAD'", "'INTERSECT'", "'INTO'",
null, null, "'IS'", "'ISNULL'", "'JOIN'", "'KERBEROS'", "'KEY'", "'KEY_PATH'",
"'KEY_STORE_PROVIDER_NAME'", "'KILL'", "'LANGUAGE'", "'LEFT'", "'LIBRARY'",
"'LIFETIME'", "'LIKE'", "'LINENO'", "'LINUX'", "'LISTENER_IP'", "'LISTENER_PORT'",
"'LOAD'", "'LOCAL_SERVICE_NAME'", "'LOG'", "'MATCHED'", "'MASTER'", "'MAX_MEMORY'",
"'MAXTRANSFER'", "'MAXVALUE'", "'MAX_DISPATCH_LATENCY'", "'MAX_EVENT_SIZE'",
"'MAX_SIZE'", "'MAX_OUTSTANDING_IO_PER_VOLUME'", "'MEDIADESCRIPTION'",
"'MEDIANAME'", "'MEMBER'", "'MEMORY_PARTITION_MODE'", "'MERGE'", "'MESSAGE_FORWARDING'",
"'MESSAGE_FORWARD_SIZE'", "'MINVALUE'", "'MIRROR'", "'MUST_CHANGE'",
"'NATIONAL'", "'NEGOTIATE'", "'NOCHECK'", "'NOFORMAT'", "'NOINIT'", "'NONCLUSTERED'",
"'NONE'", "'NOREWIND'", "'NOSKIP'", "'NOUNLOAD'", "'NO_CHECKSUM'", "'NO_COMPRESSION'",
"'NO_EVENT_LOSS'", "'NOT'", "'NOTIFICATION'", "'NTLM'", "'NULL'", "'NULLIF'",
"'OF'", "'OFF'", "'OFFSETS'", "'OLD_PASSWORD'", "'ON'", "'ON_FAILURE'",
"'OPEN'", "'OPENDATASOURCE'", "'OPENQUERY'", "'OPENROWSET'", "'OPENXML'",
"'OPTION'", "'OR'", "'ORDER'", "'OUTER'", "'OVER'", "'PAGE'", "'PARAM_NODE'",
"'PARTIAL'", "'PASSWORD'", "'PERCENT'", "'PERMISSION_SET'", "'PER_CPU'",
"'PER_DB'", "'PER_NODE'", "'PIVOT'", "'PLAN'", "'PLATFORM'", "'POLICY'",
"'PRECISION'", "'PREDICATE'", "'PRIMARY'", "'PRINT'", "'PROC'", "'PROCEDURE'",
"'PROCESS'", "'PUBLIC'", "'PYTHON'", "'R'", "'RAISERROR'", "'RAW'", "'READ'",
"'READTEXT'", "'READ_WRITE_FILEGROUPS'", "'RECONFIGURE'", "'REFERENCES'",
"'REGENERATE'", "'RELATED_CONVERSATION'", "'RELATED_CONVERSATION_GROUP'",
"'REPLICATION'", "'REQUIRED'", "'RESET'", "'RESTART'", "'RESTORE'", "'RESTRICT'",
"'RESUME'", "'RETAINDAYS'", "'RETURN'", "'RETURNS'", "'REVERT'", "'REVOKE'",
"'REWIND'", "'RIGHT'", "'ROLLBACK'", "'ROLE'", "'ROWCOUNT'", "'ROWGUIDCOL'",
"'RSA_512'", "'RSA_1024'", "'RSA_2048'", "'RSA_3072'", "'RSA_4096'",
"'SAFETY'", "'RULE'", "'SAFE'", "'SAVE'", "'SCHEDULER'", "'SCHEMA'",
"'SCHEME'", "'SECURITY'", "'SECURITYAUDIT'", "'SELECT'", "'SEMANTICKEYPHRASETABLE'",
"'SEMANTICSIMILARITYDETAILSTABLE'", "'SEMANTICSIMILARITYTABLE'", "'SEQUENCE'",
"'SERVER'", "'SERVICE'", "'SERVICE_BROKER'", "'SERVICE_NAME'", "'SESSION'",
"'SESSION_USER'", "'SET'", "'SETUSER'", "'SHUTDOWN'", "'SID'", "'SKIP'",
"'SOFTNUMA'", "'SOME'", "'SOURCE'", "'SPECIFICATION'", "'SPLIT'", "'SQLDUMPERFLAGS'",
"'SQLDUMPERPATH'", "'SQLDUMPERTIMEOUTS'", "'STATISTICS'", "'STATE'",
"'STATS'", "'START'", "'STARTED'", "'STARTUP_STATE'", "'STOP'", "'STOPPED'",
"'STOP_ON_ERROR'", "'SUPPORTED'", "'SYSTEM'", "'SYSTEM_USER'", "'TABLE'",
"'TABLESAMPLE'", "'TAPE'", "'TARGET'", "'TCP'", "'TEXTSIZE'", "'THEN'",
"'TO'", "'TOP'", "'TRACK_CAUSALITY'", "'TRAN'", "'TRANSACTION'", "'TRANSFER'",
"'TRIGGER'", "'TRUNCATE'", "'TSEQUAL'", "'UNCHECKED'", "'UNION'", "'UNIQUE'",
"'UNLOCK'", "'UNPIVOT'", "'UNSAFE'", "'UPDATE'", "'UPDATETEXT'", "'URL'",
"'USE'", "'USED'", "'USER'", "'VALUES'", "'VARYING'", "'VERBOSELOGGING'",
"'VIEW'", "'VISIBILITY'", "'WAITFOR'", "'WHEN'", "'WHERE'", "'WHILE'",
"'WINDOWS'", "'WITH'", "'WITHIN'", "'WITHOUT'", "'WITNESS'", "'WRITETEXT'",
"'ABSOLUTE'", "'ACCENT_SENSITIVITY'", "'ACTION'", "'ACTIVATION'", "'ACTIVE'",
"'ADDRESS'", "'AES_128'", "'AES_192'", "'AES_256'", "'AFFINITY'", "'AFTER'",
"'AGGREGATE'", "'ALGORITHM'", "'ALLOW_ENCRYPTED_VALUE_MODIFICATIONS'",
"'ALLOW_SNAPSHOT_ISOLATION'", "'ALLOWED'", "'ANSI_NULL_DEFAULT'", "'ANSI_NULLS'",
"'ANSI_PADDING'", "'ANSI_WARNINGS'", "'APPLICATION_LOG'", "'APPLY'",
"'ARITHABORT'", "'ASSEMBLY'", "'AUDIT'", "'AUDIT_GUID'", "'AUTO'", "'AUTO_CLEANUP'",
"'AUTO_CLOSE'", "'AUTO_CREATE_STATISTICS'", "'AUTO_SHRINK'", "'AUTO_UPDATE_STATISTICS'",
"'AUTO_UPDATE_STATISTICS_ASYNC'", "'AVAILABILITY'", "'AVG'", "'BACKUP_PRIORITY'",
"'BEGIN_DIALOG'", "'BIGINT'", "'BINARY BASE64'", "'BINARY_CHECKSUM'",
"'BINDING'", "'BLOB_STORAGE'", "'BROKER'", "'BROKER_INSTANCE'", "'BULK_LOGGED'",
"'CALLER'", "'CAP_CPU_PERCENT'", null, "'CATALOG'", "'CATCH'", "'CHANGE_RETENTION'",
"'CHANGE_TRACKING'", "'CHECKSUM'", "'CHECKSUM_AGG'", "'CLEANUP'", "'COLLECTION'",
"'COLUMN_MASTER_KEY'", "'COMMITTED'", "'COMPATIBILITY_LEVEL'", "'CONCAT'",
"'CONCAT_NULL_YIELDS_NULL'", "'CONTENT'", "'CONTROL'", "'COOKIE'", "'COUNT'",
"'COUNT_BIG'", "'COUNTER'", "'CPU'", "'CREATE_NEW'", "'CREATION_DISPOSITION'",
"'CREDENTIAL'", "'CRYPTOGRAPHIC'", "'CURSOR_CLOSE_ON_COMMIT'", "'CURSOR_DEFAULT'",
"'DATE_CORRELATION_OPTIMIZATION'", "'DATEADD'", "'DATEDIFF'", "'DATENAME'",
"'DATEPART'", "'DAYS'", "'DB_CHAINING'", "'DB_FAILOVER'", "'DECRYPTION'",
null, "'DEFAULT_FULLTEXT_LANGUAGE'", "'DEFAULT_LANGUAGE'", "'DELAY'",
"'DELAYED_DURABILITY'", "'DELETED'", "'DENSE_RANK'", "'DEPENDENTS'",
"'DES'", "'DESCRIPTION'", "'DESX'", "'DHCP'", "'DIALOG'", "'DIRECTORY_NAME'",
"'DISABLE'", "'DISABLE_BROKER'", "'DISABLED'", null, "'DOCUMENT'", "'DYNAMIC'",
"'ELEMENTS'", "'EMERGENCY'", "'EMPTY'", "'ENABLE'", "'ENABLE_BROKER'",
"'ENCRYPTED_VALUE'", "'ENCRYPTION'", "'ENDPOINT_URL'", "'ERROR_BROKER_CONVERSATIONS'",
"'EXCLUSIVE'", "'EXECUTABLE'", "'EXIST'", "'EXPAND'", "'EXPIRY_DATE'",
"'EXPLICIT'", "'FAIL_OPERATION'", "'FAILOVER_MODE'", "'FAILURE'", "'FAILURE_CONDITION_LEVEL'",
"'FAST'", "'FAST_FORWARD'", "'FILEGROUP'", "'FILEGROWTH'", "'FILEPATH'",
"'FILESTREAM'", "'FILTER'", "'FIRST'", "'FIRST_VALUE'", "'FOLLOWING'",
"'FORCE'", "'FORCE_FAILOVER_ALLOW_DATA_LOSS'", "'FORCED'", "'FORMAT'",
"'FORWARD_ONLY'", "'FULLSCAN'", "'FULLTEXT'", "'GB'", "'GETDATE'", "'GETUTCDATE'",
"'GLOBAL'", "'GO'", "'GROUP_MAX_REQUESTS'", "'GROUPING'", "'GROUPING_ID'",
"'HADR'", "'HASH'", "'HEALTH_CHECK_TIMEOUT'", "'HIGH'", "'HONOR_BROKER_PRIORITY'",
"'HOURS'", "'IDENTITY_VALUE'", "'IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX'",
"'IMMEDIATE'", "'IMPERSONATE'", "'IMPORTANCE'", "'INCLUDE_NULL_VALUES'",
"'INCREMENTAL'", "'INITIATOR'", "'INPUT'", "'INSENSITIVE'", "'INSERTED'",
"'INT'", "'IP'", "'ISOLATION'", "'JSON'", "'KB'", "'KEEP'", "'KEEPFIXED'",
"'KEY_SOURCE'", "'KEYS'", "'KEYSET'", "'LAG'", "'LAST'", "'LAST_VALUE'",
"'LEAD'", "'LEVEL'", "'LIST'", "'LISTENER'", "'LISTENER_URL'", "'LOB_COMPACTION'",
"'LOCAL'", "'LOCATION'", "'LOCK'", "'LOCK_ESCALATION'", "'LOGIN'", "'LOOP'",
"'LOW'", "'MANUAL'", "'MARK'", "'MATERIALIZED'", "'MAX'", "'MAX_CPU_PERCENT'",
"'MAX_DOP'", "'MAX_FILES'", "'MAX_IOPS_PER_VOLUME'", "'MAX_MEMORY_PERCENT'",
"'MAX_PROCESSES'", "'MAX_QUEUE_READERS'", "'MAX_ROLLOVER_FILES'", "'MAXDOP'",
"'MAXRECURSION'", "'MAXSIZE'", "'MB'", "'MEDIUM'", "'MEMORY_OPTIMIZED_DATA'",
"'MESSAGE'", "'MIN'", "'MIN_ACTIVE_ROWVERSION'", "'MIN_CPU_PERCENT'",
"'MIN_IOPS_PER_VOLUME'", "'MIN_MEMORY_PERCENT'", "'MINUTES'", "'MIRROR_ADDRESS'",
"'MIXED_PAGE_ALLOCATION'", "'MODE'", "'MODIFY'", "'MOVE'", "'MULTI_USER'",
"'NAME'", "'NESTED_TRIGGERS'", "'NEW_ACCOUNT'", "'NEW_BROKER'", "'NEW_PASSWORD'",
"'NEXT'", "'NO'", "'NO_TRUNCATE'", "'NO_WAIT'", "'NOCOUNT'", "'NODES'",
"'NOEXPAND'", "'NON_TRANSACTED_ACCESS'", "'NORECOMPUTE'", "'NORECOVERY'",
"'NOWAIT'", "'NTILE'", "'NUMANODE'", "'NUMBER'", "'NUMERIC_ROUNDABORT'",
"'OBJECT'", "'OFFLINE'", "'OFFSET'", "'OLD_ACCOUNT'", "'ONLINE'", "'ONLY'",
"'OPEN_EXISTING'", "'OPTIMISTIC'", "'OPTIMIZE'", "'OUT'", "'OUTPUT'",
"'OWNER'", "'PAGE_VERIFY'", "'PARAMETERIZATION'", "'PARTITION'", "'PARTITIONS'",
"'PARTNER'", "'PATH'", "'POISON_MESSAGE_HANDLING'", "'POOL'", "'PORT'",
"'PRECEDING'", "'PRIMARY_ROLE'", "'PRIOR'", "'PRIORITY'", "'PRIORITY_LEVEL'",
"'PRIVATE'", "'PRIVATE_KEY'", "'PRIVILEGES'", "'PROCEDURE_NAME'", "'PROPERTY'",
"'PROVIDER'", "'PROVIDER_KEY_NAME'", "'QUERY'", "'QUEUE'", "'QUEUE_DELAY'",
"'QUOTED_IDENTIFIER'", "'RANGE'", "'RANK'", "'RC2'", "'RC4'", "'RC4_128'",
"'READ_COMMITTED_SNAPSHOT'", "'READ_ONLY'", "'READ_ONLY_ROUTING_LIST'",
"'READ_WRITE'", "'READONLY'", "'REBUILD'", "'RECEIVE'", "'RECOMPILE'",
"'RECOVERY'", "'RECURSIVE_TRIGGERS'", "'RELATIVE'", "'REMOTE'", "'REMOTE_SERVICE_NAME'",
"'REMOVE'", "'REORGANIZE'", "'REPEATABLE'", "'REPLICA'", "'REQUEST_MAX_CPU_TIME_SEC'",
"'REQUEST_MAX_MEMORY_GRANT_PERCENT'", "'REQUEST_MEMORY_GRANT_TIMEOUT_SEC'",
"'REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT'", "'RESERVE_DISK_SPACE'",
"'RESOURCE'", "'RESOURCE_MANAGER_LOCATION'", "'RESTRICTED_USER'", "'RETENTION'",
"'ROBUST'", "'ROOT'", "'ROUTE'", "'ROW'", "'ROW_NUMBER'", "'ROWGUID'",
"'ROWS'", "'SAMPLE'", "'SCHEMABINDING'", "'SCOPED'", "'SCROLL'", "'SCROLL_LOCKS'",
"'SEARCH'", "'SECONDARY'", "'SECONDARY_ONLY'", "'SECONDARY_ROLE'", "'SECONDS'",
"'SECRET'", "'SECURITY_LOG'", "'SEEDING_MODE'", "'SELF'", "'SEMI_SENSITIVE'",
"'SEND'", "'SENT'", "'SERIALIZABLE'", "'SESSION_TIMEOUT'", "'SETERROR'",
"'SHARE'", "'SHOWPLAN'", "'SIGNATURE'", "'SIMPLE'", "'SINGLE_USER'",
"'SIZE'", "'SMALLINT'", "'SNAPSHOT'", "'SPATIAL_WINDOW_MAX_CELLS'", "'STANDBY'",
"'START_DATE'", "'STATIC'", "'STATS_STREAM'", "'STATUS'", "'STDEV'",
"'STDEVP'", "'STOPLIST'", "'STUFF'", "'SUBJECT'", "'SUM'", "'SUSPEND'",
"'SYMMETRIC'", "'SYNCHRONOUS_COMMIT'", "'SYNONYM'", "'TAKE'", "'TARGET_RECOVERY_TIME'",
"'TB'", "'TEXTIMAGE_ON'", "'THROW'", "'TIES'", "'TIME'", "'TIMEOUT'",
"'TIMER'", "'TINYINT'", "'TORN_PAGE_DETECTION'", "'TRANSFORM_NOISE_WORDS'",
"'TRIPLE_DES'", "'TRIPLE_DES_3KEY'", "'TRUSTWORTHY'", "'TRY'", "'TSQL'",
"'TWO_DIGIT_YEAR_CUTOFF'", "'TYPE'", "'TYPE_WARNING'", "'UNBOUNDED'",
"'UNCOMMITTED'", "'UNKNOWN'", "'UNLIMITED'", "'USING'", "'VALID_XML'",
"'VALIDATION'", "'VALUE'", "'VAR'", "'VARP'", "'VIEW_METADATA'", "'VIEWS'",
"'WAIT'", "'WELL_FORMED_XML'", "'WITHOUT_ARRAY_WRAPPER'", "'WORK'", "'WORKLOAD'",
"'XML'", "'XMLDATA'", "'XMLNAMESPACES'", "'XMLSCHEMA'", "'XSINIL'", "'$ACTION'",
null, null, null, null, "'''", null, null, null, null, null, null, null,
null, null, null, "'='", "'>'", "'<'", "'!'", "'+='", "'-='", "'*='",
"'/='", "'%='", "'&='", "'^='", "'|='", "'||'", "'.'", "'_'", "'@'",
"'#'", "'$'", "'('", "')'", "','", "';'", "':'", "'*'", "'/'", "'%'",
"'+'", "'-'", "'~'", "'|'", "'&'", "'^'"
};
}
private static final String[] _LITERAL_NAMES = makeLiteralNames();
private static String[] makeSymbolicNames() {
return new String[] {
null, "ABSENT", "ADD", "AES", "ALL", "ALLOW_CONNECTIONS", "ALLOW_MULTIPLE_EVENT_LOSS",
"ALLOW_SINGLE_EVENT_LOSS", "ALTER", "AND", "ANONYMOUS", "ANY", "APPEND",
"APPLICATION", "AS", "ASC", "ASYMMETRIC", "ASYNCHRONOUS_COMMIT", "AUTHORIZATION",
"AUTHENTICATION", "AUTOMATED_BACKUP_PREFERENCE", "AUTOMATIC", "AVAILABILITY_MODE",
"BACKSLASH", "BACKUP", "BEFORE", "BEGIN", "BETWEEN", "BLOCK", "BLOCKSIZE",
"BLOCKING_HIERARCHY", "BREAK", "BROWSE", "BUFFER", "BUFFERCOUNT", "BULK",
"BY", "CACHE", "CALLED", "CASCADE", "CASE", "CERTIFICATE", "CHANGETABLE",
"CHANGES", "CHECK", "CHECKPOINT", "CHECK_POLICY", "CHECK_EXPIRATION",
"CLASSIFIER_FUNCTION", "CLOSE", "CLUSTER", "CLUSTERED", "COALESCE", "COLLATE",
"COLUMN", "COMPRESSION", "COMMIT", "COMPUTE", "CONFIGURATION", "CONSTRAINT",
"CONTAINMENT", "CONTAINS", "CONTAINSTABLE", "CONTEXT", "CONTINUE", "CONTINUE_AFTER_ERROR",
"CONTRACT", "CONTRACT_NAME", "CONVERSATION", "CONVERT", "COPY_ONLY",
"CREATE", "CROSS", "CURRENT", "CURRENT_DATE", "CURRENT_TIME", "CURRENT_TIMESTAMP",
"CURRENT_USER", "CURSOR", "CYCLE", "DATA", "DATA_COMPRESSION", "DATA_SOURCE",
"DATABASE", "DATABASE_MIRRORING", "DBCC", "DEALLOCATE", "DECLARE", "DEFAULT",
"DEFAULT_DATABASE", "DEFAULT_SCHEMA", "DELETE", "DENY", "DESC", "DIAGNOSTICS",
"DIFFERENTIAL", "DISK", "DISTINCT", "DISTRIBUTED", "DOUBLE", "DOUBLE_BACK_SLASH",
"DOUBLE_FORWARD_SLASH", "DROP", "DTC_SUPPORT", "DUMP", "ELSE", "ENABLED",
"END", "ENDPOINT", "ERRLVL", "ESCAPE", "ERROR", "EVENT", "EVENTDATA",
"EVENT_RETENTION_MODE", "EXCEPT", "EXECUTABLE_FILE", "EXECUTE", "EXISTS",
"EXPIREDATE", "EXIT", "EXTENSION", "EXTERNAL", "EXTERNAL_ACCESS", "FAILOVER",
"FAILURECONDITIONLEVEL", "FAN_IN", "FETCH", "FILE", "FILENAME", "FILLFACTOR",
"FILE_SNAPSHOT", "FOR", "FORCESEEK", "FORCE_SERVICE_ALLOW_DATA_LOSS",
"FOREIGN", "FREETEXT", "FREETEXTTABLE", "FROM", "FULL", "FUNCTION", "GET",
"GOTO", "GOVERNOR", "GRANT", "GROUP", "HAVING", "HASHED", "HEALTHCHECKTIMEOUT",
"IDENTITY", "IDENTITYCOL", "IDENTITY_INSERT", "IF", "IIF", "IN", "INCLUDE",
"INCREMENT", "INDEX", "INFINITE", "INIT", "INNER", "INSERT", "INSTEAD",
"INTERSECT", "INTO", "IPV4_ADDR", "IPV6_ADDR", "IS", "ISNULL", "JOIN",
"KERBEROS", "KEY", "KEY_PATH", "KEY_STORE_PROVIDER_NAME", "KILL", "LANGUAGE",
"LEFT", "LIBRARY", "LIFETIME", "LIKE", "LINENO", "LINUX", "LISTENER_IP",
"LISTENER_PORT", "LOAD", "LOCAL_SERVICE_NAME", "LOG", "MATCHED", "MASTER",
"MAX_MEMORY", "MAXTRANSFER", "MAXVALUE", "MAX_DISPATCH_LATENCY", "MAX_EVENT_SIZE",
"MAX_SIZE", "MAX_OUTSTANDING_IO_PER_VOLUME", "MEDIADESCRIPTION", "MEDIANAME",
"MEMBER", "MEMORY_PARTITION_MODE", "MERGE", "MESSAGE_FORWARDING", "MESSAGE_FORWARD_SIZE",
"MINVALUE", "MIRROR", "MUST_CHANGE", "NATIONAL", "NEGOTIATE", "NOCHECK",
"NOFORMAT", "NOINIT", "NONCLUSTERED", "NONE", "NOREWIND", "NOSKIP", "NOUNLOAD",
"NO_CHECKSUM", "NO_COMPRESSION", "NO_EVENT_LOSS", "NOT", "NOTIFICATION",
"NTLM", "NULL", "NULLIF", "OF", "OFF", "OFFSETS", "OLD_PASSWORD", "ON",
"ON_FAILURE", "OPEN", "OPENDATASOURCE", "OPENQUERY", "OPENROWSET", "OPENXML",
"OPTION", "OR", "ORDER", "OUTER", "OVER", "PAGE", "PARAM_NODE", "PARTIAL",
"PASSWORD", "PERCENT", "PERMISSION_SET", "PER_CPU", "PER_DB", "PER_NODE",
"PIVOT", "PLAN", "PLATFORM", "POLICY", "PRECISION", "PREDICATE", "PRIMARY",
"PRINT", "PROC", "PROCEDURE", "PROCESS", "PUBLIC", "PYTHON", "R", "RAISERROR",
"RAW", "READ", "READTEXT", "READ_WRITE_FILEGROUPS", "RECONFIGURE", "REFERENCES",
"REGENERATE", "RELATED_CONVERSATION", "RELATED_CONVERSATION_GROUP", "REPLICATION",
"REQUIRED", "RESET", "RESTART", "RESTORE", "RESTRICT", "RESUME", "RETAINDAYS",
"RETURN", "RETURNS", "REVERT", "REVOKE", "REWIND", "RIGHT", "ROLLBACK",
"ROLE", "ROWCOUNT", "ROWGUIDCOL", "RSA_512", "RSA_1024", "RSA_2048",
"RSA_3072", "RSA_4096", "SAFETY", "RULE", "SAFE", "SAVE", "SCHEDULER",
"SCHEMA", "SCHEME", "SECURITY", "SECURITYAUDIT", "SELECT", "SEMANTICKEYPHRASETABLE",
"SEMANTICSIMILARITYDETAILSTABLE", "SEMANTICSIMILARITYTABLE", "SEQUENCE",
"SERVER", "SERVICE", "SERVICE_BROKER", "SERVICE_NAME", "SESSION", "SESSION_USER",
"SET", "SETUSER", "SHUTDOWN", "SID", "SKIP_KEYWORD", "SOFTNUMA", "SOME",
"SOURCE", "SPECIFICATION", "SPLIT", "SQLDUMPERFLAGS", "SQLDUMPERPATH",
"SQLDUMPERTIMEOUT", "STATISTICS", "STATE", "STATS", "START", "STARTED",
"STARTUP_STATE", "STOP", "STOPPED", "STOP_ON_ERROR", "SUPPORTED", "SYSTEM",
"SYSTEM_USER", "TABLE", "TABLESAMPLE", "TAPE", "TARGET", "TCP", "TEXTSIZE",
"THEN", "TO", "TOP", "TRACK_CAUSALITY", "TRAN", "TRANSACTION", "TRANSFER",
"TRIGGER", "TRUNCATE", "TSEQUAL", "UNCHECKED", "UNION", "UNIQUE", "UNLOCK",
"UNPIVOT", "UNSAFE", "UPDATE", "UPDATETEXT", "URL", "USE", "USED", "USER",
"VALUES", "VARYING", "VERBOSELOGGING", "VIEW", "VISIBILITY", "WAITFOR",
"WHEN", "WHERE", "WHILE", "WINDOWS", "WITH", "WITHIN", "WITHOUT", "WITNESS",
"WRITETEXT", "ABSOLUTE", "ACCENT_SENSITIVITY", "ACTION", "ACTIVATION",
"ACTIVE", "ADDRESS", "AES_128", "AES_192", "AES_256", "AFFINITY", "AFTER",
"AGGREGATE", "ALGORITHM", "ALLOW_ENCRYPTED_VALUE_MODIFICATIONS", "ALLOW_SNAPSHOT_ISOLATION",
"ALLOWED", "ANSI_NULL_DEFAULT", "ANSI_NULLS", "ANSI_PADDING", "ANSI_WARNINGS",
"APPLICATION_LOG", "APPLY", "ARITHABORT", "ASSEMBLY", "AUDIT", "AUDIT_GUID",
"AUTO", "AUTO_CLEANUP", "AUTO_CLOSE", "AUTO_CREATE_STATISTICS", "AUTO_SHRINK",
"AUTO_UPDATE_STATISTICS", "AUTO_UPDATE_STATISTICS_ASYNC", "AVAILABILITY",
"AVG", "BACKUP_PRIORITY", "BEGIN_DIALOG", "BIGINT", "BINARY_BASE64",
"BINARY_CHECKSUM", "BINDING", "BLOB_STORAGE", "BROKER", "BROKER_INSTANCE",
"BULK_LOGGED", "CALLER", "CAP_CPU_PERCENT", "CAST", "CATALOG", "CATCH",
"CHANGE_RETENTION", "CHANGE_TRACKING", "CHECKSUM", "CHECKSUM_AGG", "CLEANUP",
"COLLECTION", "COLUMN_MASTER_KEY", "COMMITTED", "COMPATIBILITY_LEVEL",
"CONCAT", "CONCAT_NULL_YIELDS_NULL", "CONTENT", "CONTROL", "COOKIE",
"COUNT", "COUNT_BIG", "COUNTER", "CPU", "CREATE_NEW", "CREATION_DISPOSITION",
"CREDENTIAL", "CRYPTOGRAPHIC", "CURSOR_CLOSE_ON_COMMIT", "CURSOR_DEFAULT",
"DATE_CORRELATION_OPTIMIZATION", "DATEADD", "DATEDIFF", "DATENAME", "DATEPART",
"DAYS", "DB_CHAINING", "DB_FAILOVER", "DECRYPTION", "DEFAULT_DOUBLE_QUOTE",
"DEFAULT_FULLTEXT_LANGUAGE", "DEFAULT_LANGUAGE", "DELAY", "DELAYED_DURABILITY",
"DELETED", "DENSE_RANK", "DEPENDENTS", "DES", "DESCRIPTION", "DESX",
"DHCP", "DIALOG", "DIRECTORY_NAME", "DISABLE", "DISABLE_BROKER", "DISABLED",
"DISK_DRIVE", "DOCUMENT", "DYNAMIC", "ELEMENTS", "EMERGENCY", "EMPTY",
"ENABLE", "ENABLE_BROKER", "ENCRYPTED_VALUE", "ENCRYPTION", "ENDPOINT_URL",
"ERROR_BROKER_CONVERSATIONS", "EXCLUSIVE", "EXECUTABLE", "EXIST", "EXPAND",
"EXPIRY_DATE", "EXPLICIT", "FAIL_OPERATION", "FAILOVER_MODE", "FAILURE",
"FAILURE_CONDITION_LEVEL", "FAST", "FAST_FORWARD", "FILEGROUP", "FILEGROWTH",
"FILEPATH", "FILESTREAM", "FILTER", "FIRST", "FIRST_VALUE", "FOLLOWING",
"FORCE", "FORCE_FAILOVER_ALLOW_DATA_LOSS", "FORCED", "FORMAT", "FORWARD_ONLY",
"FULLSCAN", "FULLTEXT", "GB", "GETDATE", "GETUTCDATE", "GLOBAL", "GO",
"GROUP_MAX_REQUESTS", "GROUPING", "GROUPING_ID", "HADR", "HASH", "HEALTH_CHECK_TIMEOUT",
"HIGH", "HONOR_BROKER_PRIORITY", "HOURS", "IDENTITY_VALUE", "IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX",
"IMMEDIATE", "IMPERSONATE", "IMPORTANCE", "INCLUDE_NULL_VALUES", "INCREMENTAL",
"INITIATOR", "INPUT", "INSENSITIVE", "INSERTED", "INT", "IP", "ISOLATION",
"JSON", "KB", "KEEP", "KEEPFIXED", "KEY_SOURCE", "KEYS", "KEYSET", "LAG",
"LAST", "LAST_VALUE", "LEAD", "LEVEL", "LIST", "LISTENER", "LISTENER_URL",
"LOB_COMPACTION", "LOCAL", "LOCATION", "LOCK", "LOCK_ESCALATION", "LOGIN",
"LOOP", "LOW", "MANUAL", "MARK", "MATERIALIZED", "MAX", "MAX_CPU_PERCENT",
"MAX_DOP", "MAX_FILES", "MAX_IOPS_PER_VOLUME", "MAX_MEMORY_PERCENT",
"MAX_PROCESSES", "MAX_QUEUE_READERS", "MAX_ROLLOVER_FILES", "MAXDOP",
"MAXRECURSION", "MAXSIZE", "MB", "MEDIUM", "MEMORY_OPTIMIZED_DATA", "MESSAGE",
"MIN", "MIN_ACTIVE_ROWVERSION", "MIN_CPU_PERCENT", "MIN_IOPS_PER_VOLUME",
"MIN_MEMORY_PERCENT", "MINUTES", "MIRROR_ADDRESS", "MIXED_PAGE_ALLOCATION",
"MODE", "MODIFY", "MOVE", "MULTI_USER", "NAME", "NESTED_TRIGGERS", "NEW_ACCOUNT",
"NEW_BROKER", "NEW_PASSWORD", "NEXT", "NO", "NO_TRUNCATE", "NO_WAIT",
"NOCOUNT", "NODES", "NOEXPAND", "NON_TRANSACTED_ACCESS", "NORECOMPUTE",
"NORECOVERY", "NOWAIT", "NTILE", "NUMANODE", "NUMBER", "NUMERIC_ROUNDABORT",
"OBJECT", "OFFLINE", "OFFSET", "OLD_ACCOUNT", "ONLINE", "ONLY", "OPEN_EXISTING",
"OPTIMISTIC", "OPTIMIZE", "OUT", "OUTPUT", "OWNER", "PAGE_VERIFY", "PARAMETERIZATION",
"PARTITION", "PARTITIONS", "PARTNER", "PATH", "POISON_MESSAGE_HANDLING",
"POOL", "PORT", "PRECEDING", "PRIMARY_ROLE", "PRIOR", "PRIORITY", "PRIORITY_LEVEL",
"PRIVATE", "PRIVATE_KEY", "PRIVILEGES", "PROCEDURE_NAME", "PROPERTY",
"PROVIDER", "PROVIDER_KEY_NAME", "QUERY", "QUEUE", "QUEUE_DELAY", "QUOTED_IDENTIFIER",
"RANGE", "RANK", "RC2", "RC4", "RC4_128", "READ_COMMITTED_SNAPSHOT",
"READ_ONLY", "READ_ONLY_ROUTING_LIST", "READ_WRITE", "READONLY", "REBUILD",
"RECEIVE", "RECOMPILE", "RECOVERY", "RECURSIVE_TRIGGERS", "RELATIVE",
"REMOTE", "REMOTE_SERVICE_NAME", "REMOVE", "REORGANIZE", "REPEATABLE",
"REPLICA", "REQUEST_MAX_CPU_TIME_SEC", "REQUEST_MAX_MEMORY_GRANT_PERCENT",
"REQUEST_MEMORY_GRANT_TIMEOUT_SEC", "REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT",
"RESERVE_DISK_SPACE", "RESOURCE", "RESOURCE_MANAGER_LOCATION", "RESTRICTED_USER",
"RETENTION", "ROBUST", "ROOT", "ROUTE", "ROW", "ROW_NUMBER", "ROWGUID",
"ROWS", "SAMPLE", "SCHEMABINDING", "SCOPED", "SCROLL", "SCROLL_LOCKS",
"SEARCH", "SECONDARY", "SECONDARY_ONLY", "SECONDARY_ROLE", "SECONDS",
"SECRET", "SECURITY_LOG", "SEEDING_MODE", "SELF", "SEMI_SENSITIVE", "SEND",
"SENT", "SERIALIZABLE", "SESSION_TIMEOUT", "SETERROR", "SHARE", "SHOWPLAN",
"SIGNATURE", "SIMPLE", "SINGLE_USER", "SIZE", "SMALLINT", "SNAPSHOT",
"SPATIAL_WINDOW_MAX_CELLS", "STANDBY", "START_DATE", "STATIC", "STATS_STREAM",
"STATUS", "STDEV", "STDEVP", "STOPLIST", "STUFF", "SUBJECT", "SUM", "SUSPEND",
"SYMMETRIC", "SYNCHRONOUS_COMMIT", "SYNONYM", "TAKE", "TARGET_RECOVERY_TIME",
"TB", "TEXTIMAGE_ON", "THROW", "TIES", "TIME", "TIMEOUT", "TIMER", "TINYINT",
"TORN_PAGE_DETECTION", "TRANSFORM_NOISE_WORDS", "TRIPLE_DES", "TRIPLE_DES_3KEY",
"TRUSTWORTHY", "TRY", "TSQL", "TWO_DIGIT_YEAR_CUTOFF", "TYPE", "TYPE_WARNING",
"UNBOUNDED", "UNCOMMITTED", "UNKNOWN", "UNLIMITED", "USING", "VALID_XML",
"VALIDATION", "VALUE", "VAR", "VARP", "VIEW_METADATA", "VIEWS", "WAIT",
"WELL_FORMED_XML", "WITHOUT_ARRAY_WRAPPER", "WORK", "WORKLOAD", "XML",
"XMLDATA", "XMLNAMESPACES", "XMLSCHEMA", "XSINIL", "DOLLAR_ACTION", "SPACE",
"COMMENT", "LINE_COMMENT", "DOUBLE_QUOTE_ID", "SINGLE_QUOTE", "SQUARE_BRACKET_ID",
"LOCAL_ID", "DECIMAL", "ID", "QUOTED_URL", "QUOTED_HOST_AND_PORT", "STRING",
"BINARY", "FLOAT", "REAL", "EQUAL", "GREATER", "LESS", "EXCLAMATION",
"PLUS_ASSIGN", "MINUS_ASSIGN", "MULT_ASSIGN", "DIV_ASSIGN", "MOD_ASSIGN",
"AND_ASSIGN", "XOR_ASSIGN", "OR_ASSIGN", "DOUBLE_BAR", "DOT", "UNDERLINE",
"AT", "SHARP", "DOLLAR", "LR_BRACKET", "RR_BRACKET", "COMMA", "SEMI",
"COLON", "STAR", "DIVIDE", "MODULE", "PLUS", "MINUS", "BIT_NOT", "BIT_OR",
"BIT_AND", "BIT_XOR", "IPV4_OCTECT"
};
}
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 "TSqlParser.g4"; }
@Override
public String[] getRuleNames() { return ruleNames; }
@Override
public String getSerializedATN() { return _serializedATN; }
@Override
public ATN getATN() { return _ATN; }
public TSqlParser(TokenStream input) {
super(input);
_interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
}
public static class Tsql_fileContext extends ParserRuleContext {
public TerminalNode EOF() { return getToken(TSqlParser.EOF, 0); }
public List batch() {
return getRuleContexts(BatchContext.class);
}
public BatchContext batch(int i) {
return getRuleContext(BatchContext.class,i);
}
public Tsql_fileContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tsql_file; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterTsql_file(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitTsql_file(this);
}
}
public final Tsql_fileContext tsql_file() throws RecognitionException {
Tsql_fileContext _localctx = new Tsql_fileContext(_ctx, getState());
enterRule(_localctx, 0, RULE_tsql_file);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(965);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ALTER) | (1L << BACKUP) | (1L << BEGIN) | (1L << BLOCKING_HIERARCHY) | (1L << BREAK) | (1L << CALLED) | (1L << CASE) | (1L << CLOSE) | (1L << COALESCE) | (1L << COMMIT))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (CONTINUE - 64)) | (1L << (CONVERT - 64)) | (1L << (CREATE - 64)) | (1L << (CURRENT_TIMESTAMP - 64)) | (1L << (CURRENT_USER - 64)) | (1L << (DATA_COMPRESSION - 64)) | (1L << (DBCC - 64)) | (1L << (DEALLOCATE - 64)) | (1L << (DECLARE - 64)) | (1L << (DEFAULT - 64)) | (1L << (DELETE - 64)) | (1L << (DROP - 64)) | (1L << (END - 64)) | (1L << (EVENTDATA - 64)) | (1L << (EXECUTE - 64)) | (1L << (FETCH - 64)))) != 0) || ((((_la - 129)) & ~0x3f) == 0 && ((1L << (_la - 129)) & ((1L << (FILENAME - 129)) | (1L << (FILLFACTOR - 129)) | (1L << (FORCESEEK - 129)) | (1L << (GET - 129)) | (1L << (GOTO - 129)) | (1L << (GRANT - 129)) | (1L << (IDENTITY - 129)) | (1L << (IF - 129)) | (1L << (IIF - 129)) | (1L << (INIT - 129)) | (1L << (INSERT - 129)) | (1L << (ISNULL - 129)) | (1L << (KEY - 129)) | (1L << (LEFT - 129)) | (1L << (MASTER - 129)) | (1L << (MAX_MEMORY - 129)))) != 0) || ((((_la - 200)) & ~0x3f) == 0 && ((1L << (_la - 200)) & ((1L << (MERGE - 200)) | (1L << (NULL - 200)) | (1L << (NULLIF - 200)) | (1L << (OFFSETS - 200)) | (1L << (OPEN - 200)) | (1L << (OVER - 200)) | (1L << (PAGE - 200)) | (1L << (PRINT - 200)) | (1L << (PUBLIC - 200)) | (1L << (R - 200)) | (1L << (RAISERROR - 200)))) != 0) || ((((_la - 264)) & ~0x3f) == 0 && ((1L << (_la - 264)) & ((1L << (RAW - 264)) | (1L << (RETURN - 264)) | (1L << (RETURNS - 264)) | (1L << (REVERT - 264)) | (1L << (RIGHT - 264)) | (1L << (ROLLBACK - 264)) | (1L << (ROWCOUNT - 264)) | (1L << (SAFETY - 264)) | (1L << (SAVE - 264)) | (1L << (SELECT - 264)) | (1L << (SERVER - 264)) | (1L << (SESSION_USER - 264)) | (1L << (SET - 264)) | (1L << (SETUSER - 264)) | (1L << (SID - 264)) | (1L << (SOURCE - 264)))) != 0) || ((((_la - 330)) & ~0x3f) == 0 && ((1L << (_la - 330)) & ((1L << (STATE - 330)) | (1L << (START - 330)) | (1L << (SYSTEM_USER - 330)) | (1L << (TARGET - 330)) | (1L << (TRUNCATE - 330)) | (1L << (UPDATE - 330)) | (1L << (USE - 330)) | (1L << (WAITFOR - 330)) | (1L << (WHILE - 330)) | (1L << (WITH - 330)) | (1L << (ABSOLUTE - 330)) | (1L << (ACCENT_SENSITIVITY - 330)) | (1L << (ACTION - 330)) | (1L << (ACTIVATION - 330)) | (1L << (ACTIVE - 330)) | (1L << (ADDRESS - 330)) | (1L << (AES_128 - 330)) | (1L << (AES_192 - 330)) | (1L << (AES_256 - 330)) | (1L << (AFFINITY - 330)))) != 0) || ((((_la - 394)) & ~0x3f) == 0 && ((1L << (_la - 394)) & ((1L << (AFTER - 394)) | (1L << (AGGREGATE - 394)) | (1L << (ALGORITHM - 394)) | (1L << (ALLOW_ENCRYPTED_VALUE_MODIFICATIONS - 394)) | (1L << (ALLOW_SNAPSHOT_ISOLATION - 394)) | (1L << (ALLOWED - 394)) | (1L << (ANSI_NULL_DEFAULT - 394)) | (1L << (ANSI_NULLS - 394)) | (1L << (ANSI_PADDING - 394)) | (1L << (ANSI_WARNINGS - 394)) | (1L << (APPLICATION_LOG - 394)) | (1L << (APPLY - 394)) | (1L << (ARITHABORT - 394)) | (1L << (ASSEMBLY - 394)) | (1L << (AUDIT - 394)) | (1L << (AUDIT_GUID - 394)) | (1L << (AUTO - 394)) | (1L << (AUTO_CLEANUP - 394)) | (1L << (AUTO_CLOSE - 394)) | (1L << (AUTO_CREATE_STATISTICS - 394)) | (1L << (AUTO_SHRINK - 394)) | (1L << (AUTO_UPDATE_STATISTICS - 394)) | (1L << (AUTO_UPDATE_STATISTICS_ASYNC - 394)) | (1L << (AVAILABILITY - 394)) | (1L << (AVG - 394)) | (1L << (BACKUP_PRIORITY - 394)) | (1L << (BEGIN_DIALOG - 394)) | (1L << (BIGINT - 394)) | (1L << (BINARY_BASE64 - 394)) | (1L << (BINARY_CHECKSUM - 394)) | (1L << (BINDING - 394)) | (1L << (BLOB_STORAGE - 394)) | (1L << (BROKER - 394)) | (1L << (BROKER_INSTANCE - 394)) | (1L << (BULK_LOGGED - 394)) | (1L << (CALLER - 394)) | (1L << (CAP_CPU_PERCENT - 394)) | (1L << (CAST - 394)) | (1L << (CATALOG - 394)) | (1L << (CATCH - 394)) | (1L << (CHANGE_RETENTION - 394)) | (1L << (CHANGE_TRACKING - 394)) | (1L << (CHECKSUM - 394)) | (1L << (CHECKSUM_AGG - 394)) | (1L << (CLEANUP - 394)) | (1L << (COLLECTION - 394)) | (1L << (COLUMN_MASTER_KEY - 394)) | (1L << (COMMITTED - 394)) | (1L << (COMPATIBILITY_LEVEL - 394)) | (1L << (CONCAT - 394)) | (1L << (CONCAT_NULL_YIELDS_NULL - 394)) | (1L << (CONTENT - 394)) | (1L << (CONTROL - 394)) | (1L << (COOKIE - 394)) | (1L << (COUNT - 394)) | (1L << (COUNT_BIG - 394)) | (1L << (COUNTER - 394)) | (1L << (CPU - 394)) | (1L << (CREATE_NEW - 394)) | (1L << (CREATION_DISPOSITION - 394)) | (1L << (CREDENTIAL - 394)) | (1L << (CRYPTOGRAPHIC - 394)) | (1L << (CURSOR_CLOSE_ON_COMMIT - 394)) | (1L << (CURSOR_DEFAULT - 394)))) != 0) || ((((_la - 458)) & ~0x3f) == 0 && ((1L << (_la - 458)) & ((1L << (DATE_CORRELATION_OPTIMIZATION - 458)) | (1L << (DATEADD - 458)) | (1L << (DATEDIFF - 458)) | (1L << (DATENAME - 458)) | (1L << (DATEPART - 458)) | (1L << (DAYS - 458)) | (1L << (DB_CHAINING - 458)) | (1L << (DB_FAILOVER - 458)) | (1L << (DECRYPTION - 458)) | (1L << (DEFAULT_DOUBLE_QUOTE - 458)) | (1L << (DEFAULT_FULLTEXT_LANGUAGE - 458)) | (1L << (DEFAULT_LANGUAGE - 458)) | (1L << (DELAY - 458)) | (1L << (DELAYED_DURABILITY - 458)) | (1L << (DELETED - 458)) | (1L << (DENSE_RANK - 458)) | (1L << (DEPENDENTS - 458)) | (1L << (DES - 458)) | (1L << (DESCRIPTION - 458)) | (1L << (DESX - 458)) | (1L << (DHCP - 458)) | (1L << (DIALOG - 458)) | (1L << (DIRECTORY_NAME - 458)) | (1L << (DISABLE - 458)) | (1L << (DISABLE_BROKER - 458)) | (1L << (DISABLED - 458)) | (1L << (DISK_DRIVE - 458)) | (1L << (DOCUMENT - 458)) | (1L << (DYNAMIC - 458)) | (1L << (EMERGENCY - 458)) | (1L << (EMPTY - 458)) | (1L << (ENABLE - 458)) | (1L << (ENABLE_BROKER - 458)) | (1L << (ENCRYPTED_VALUE - 458)) | (1L << (ENCRYPTION - 458)) | (1L << (ENDPOINT_URL - 458)) | (1L << (ERROR_BROKER_CONVERSATIONS - 458)) | (1L << (EXCLUSIVE - 458)) | (1L << (EXECUTABLE - 458)) | (1L << (EXIST - 458)) | (1L << (EXPAND - 458)) | (1L << (EXPIRY_DATE - 458)) | (1L << (EXPLICIT - 458)) | (1L << (FAIL_OPERATION - 458)) | (1L << (FAILOVER_MODE - 458)) | (1L << (FAILURE - 458)) | (1L << (FAILURE_CONDITION_LEVEL - 458)) | (1L << (FAST - 458)) | (1L << (FAST_FORWARD - 458)) | (1L << (FILEGROUP - 458)) | (1L << (FILEGROWTH - 458)) | (1L << (FILEPATH - 458)) | (1L << (FILESTREAM - 458)) | (1L << (FILTER - 458)) | (1L << (FIRST - 458)) | (1L << (FIRST_VALUE - 458)) | (1L << (FOLLOWING - 458)) | (1L << (FORCE - 458)) | (1L << (FORCE_FAILOVER_ALLOW_DATA_LOSS - 458)) | (1L << (FORCED - 458)) | (1L << (FORMAT - 458)) | (1L << (FORWARD_ONLY - 458)) | (1L << (FULLSCAN - 458)))) != 0) || ((((_la - 522)) & ~0x3f) == 0 && ((1L << (_la - 522)) & ((1L << (FULLTEXT - 522)) | (1L << (GB - 522)) | (1L << (GETDATE - 522)) | (1L << (GETUTCDATE - 522)) | (1L << (GLOBAL - 522)) | (1L << (GO - 522)) | (1L << (GROUP_MAX_REQUESTS - 522)) | (1L << (GROUPING - 522)) | (1L << (GROUPING_ID - 522)) | (1L << (HADR - 522)) | (1L << (HASH - 522)) | (1L << (HEALTH_CHECK_TIMEOUT - 522)) | (1L << (HIGH - 522)) | (1L << (HONOR_BROKER_PRIORITY - 522)) | (1L << (HOURS - 522)) | (1L << (IDENTITY_VALUE - 522)) | (1L << (IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX - 522)) | (1L << (IMMEDIATE - 522)) | (1L << (IMPERSONATE - 522)) | (1L << (IMPORTANCE - 522)) | (1L << (INCREMENTAL - 522)) | (1L << (INITIATOR - 522)) | (1L << (INPUT - 522)) | (1L << (INSENSITIVE - 522)) | (1L << (INSERTED - 522)) | (1L << (INT - 522)) | (1L << (IP - 522)) | (1L << (ISOLATION - 522)) | (1L << (KB - 522)) | (1L << (KEEP - 522)) | (1L << (KEEPFIXED - 522)) | (1L << (KEY_SOURCE - 522)) | (1L << (KEYS - 522)) | (1L << (KEYSET - 522)) | (1L << (LAG - 522)) | (1L << (LAST - 522)) | (1L << (LAST_VALUE - 522)) | (1L << (LEAD - 522)) | (1L << (LEVEL - 522)) | (1L << (LIST - 522)) | (1L << (LISTENER - 522)) | (1L << (LISTENER_URL - 522)) | (1L << (LOB_COMPACTION - 522)) | (1L << (LOCAL - 522)) | (1L << (LOCATION - 522)) | (1L << (LOCK - 522)) | (1L << (LOCK_ESCALATION - 522)) | (1L << (LOGIN - 522)) | (1L << (LOOP - 522)) | (1L << (LOW - 522)) | (1L << (MANUAL - 522)) | (1L << (MARK - 522)) | (1L << (MATERIALIZED - 522)) | (1L << (MAX - 522)) | (1L << (MAX_CPU_PERCENT - 522)) | (1L << (MAX_DOP - 522)) | (1L << (MAX_FILES - 522)) | (1L << (MAX_IOPS_PER_VOLUME - 522)) | (1L << (MAX_MEMORY_PERCENT - 522)) | (1L << (MAX_PROCESSES - 522)) | (1L << (MAX_QUEUE_READERS - 522)) | (1L << (MAX_ROLLOVER_FILES - 522)))) != 0) || ((((_la - 586)) & ~0x3f) == 0 && ((1L << (_la - 586)) & ((1L << (MAXDOP - 586)) | (1L << (MAXRECURSION - 586)) | (1L << (MAXSIZE - 586)) | (1L << (MB - 586)) | (1L << (MEDIUM - 586)) | (1L << (MEMORY_OPTIMIZED_DATA - 586)) | (1L << (MESSAGE - 586)) | (1L << (MIN - 586)) | (1L << (MIN_ACTIVE_ROWVERSION - 586)) | (1L << (MIN_CPU_PERCENT - 586)) | (1L << (MIN_IOPS_PER_VOLUME - 586)) | (1L << (MIN_MEMORY_PERCENT - 586)) | (1L << (MINUTES - 586)) | (1L << (MIRROR_ADDRESS - 586)) | (1L << (MIXED_PAGE_ALLOCATION - 586)) | (1L << (MODE - 586)) | (1L << (MODIFY - 586)) | (1L << (MOVE - 586)) | (1L << (MULTI_USER - 586)) | (1L << (NAME - 586)) | (1L << (NESTED_TRIGGERS - 586)) | (1L << (NEW_ACCOUNT - 586)) | (1L << (NEW_BROKER - 586)) | (1L << (NEW_PASSWORD - 586)) | (1L << (NEXT - 586)) | (1L << (NO - 586)) | (1L << (NO_TRUNCATE - 586)) | (1L << (NO_WAIT - 586)) | (1L << (NOCOUNT - 586)) | (1L << (NODES - 586)) | (1L << (NOEXPAND - 586)) | (1L << (NON_TRANSACTED_ACCESS - 586)) | (1L << (NORECOMPUTE - 586)) | (1L << (NORECOVERY - 586)) | (1L << (NOWAIT - 586)) | (1L << (NTILE - 586)) | (1L << (NUMANODE - 586)) | (1L << (NUMBER - 586)) | (1L << (NUMERIC_ROUNDABORT - 586)) | (1L << (OBJECT - 586)) | (1L << (OFFLINE - 586)) | (1L << (OFFSET - 586)) | (1L << (OLD_ACCOUNT - 586)) | (1L << (ONLINE - 586)) | (1L << (ONLY - 586)) | (1L << (OPEN_EXISTING - 586)) | (1L << (OPTIMISTIC - 586)) | (1L << (OPTIMIZE - 586)) | (1L << (OUT - 586)) | (1L << (OUTPUT - 586)) | (1L << (OWNER - 586)) | (1L << (PAGE_VERIFY - 586)) | (1L << (PARAMETERIZATION - 586)) | (1L << (PARTITION - 586)) | (1L << (PARTITIONS - 586)) | (1L << (PARTNER - 586)) | (1L << (PATH - 586)) | (1L << (POISON_MESSAGE_HANDLING - 586)) | (1L << (POOL - 586)) | (1L << (PORT - 586)) | (1L << (PRECEDING - 586)) | (1L << (PRIMARY_ROLE - 586)) | (1L << (PRIOR - 586)) | (1L << (PRIORITY - 586)))) != 0) || ((((_la - 650)) & ~0x3f) == 0 && ((1L << (_la - 650)) & ((1L << (PRIORITY_LEVEL - 650)) | (1L << (PRIVATE - 650)) | (1L << (PRIVATE_KEY - 650)) | (1L << (PRIVILEGES - 650)) | (1L << (PROCEDURE_NAME - 650)) | (1L << (PROPERTY - 650)) | (1L << (PROVIDER - 650)) | (1L << (PROVIDER_KEY_NAME - 650)) | (1L << (QUERY - 650)) | (1L << (QUEUE - 650)) | (1L << (QUEUE_DELAY - 650)) | (1L << (QUOTED_IDENTIFIER - 650)) | (1L << (RANGE - 650)) | (1L << (RANK - 650)) | (1L << (RC2 - 650)) | (1L << (RC4 - 650)) | (1L << (RC4_128 - 650)) | (1L << (READ_COMMITTED_SNAPSHOT - 650)) | (1L << (READ_ONLY - 650)) | (1L << (READ_ONLY_ROUTING_LIST - 650)) | (1L << (READ_WRITE - 650)) | (1L << (READONLY - 650)) | (1L << (REBUILD - 650)) | (1L << (RECEIVE - 650)) | (1L << (RECOMPILE - 650)) | (1L << (RECOVERY - 650)) | (1L << (RECURSIVE_TRIGGERS - 650)) | (1L << (RELATIVE - 650)) | (1L << (REMOTE - 650)) | (1L << (REMOTE_SERVICE_NAME - 650)) | (1L << (REMOVE - 650)) | (1L << (REORGANIZE - 650)) | (1L << (REPEATABLE - 650)) | (1L << (REPLICA - 650)) | (1L << (REQUEST_MAX_CPU_TIME_SEC - 650)) | (1L << (REQUEST_MAX_MEMORY_GRANT_PERCENT - 650)) | (1L << (REQUEST_MEMORY_GRANT_TIMEOUT_SEC - 650)) | (1L << (REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT - 650)) | (1L << (RESERVE_DISK_SPACE - 650)) | (1L << (RESOURCE - 650)) | (1L << (RESOURCE_MANAGER_LOCATION - 650)) | (1L << (RESTRICTED_USER - 650)) | (1L << (RETENTION - 650)) | (1L << (ROBUST - 650)) | (1L << (ROOT - 650)) | (1L << (ROUTE - 650)) | (1L << (ROW - 650)) | (1L << (ROW_NUMBER - 650)) | (1L << (ROWGUID - 650)) | (1L << (ROWS - 650)) | (1L << (SAMPLE - 650)) | (1L << (SCHEMABINDING - 650)) | (1L << (SCOPED - 650)) | (1L << (SCROLL - 650)) | (1L << (SCROLL_LOCKS - 650)) | (1L << (SEARCH - 650)) | (1L << (SECONDARY - 650)) | (1L << (SECONDARY_ONLY - 650)) | (1L << (SECONDARY_ROLE - 650)) | (1L << (SECONDS - 650)) | (1L << (SECRET - 650)) | (1L << (SECURITY_LOG - 650)) | (1L << (SEEDING_MODE - 650)) | (1L << (SELF - 650)))) != 0) || ((((_la - 714)) & ~0x3f) == 0 && ((1L << (_la - 714)) & ((1L << (SEMI_SENSITIVE - 714)) | (1L << (SEND - 714)) | (1L << (SENT - 714)) | (1L << (SERIALIZABLE - 714)) | (1L << (SESSION_TIMEOUT - 714)) | (1L << (SETERROR - 714)) | (1L << (SHARE - 714)) | (1L << (SHOWPLAN - 714)) | (1L << (SIGNATURE - 714)) | (1L << (SIMPLE - 714)) | (1L << (SINGLE_USER - 714)) | (1L << (SIZE - 714)) | (1L << (SMALLINT - 714)) | (1L << (SNAPSHOT - 714)) | (1L << (SPATIAL_WINDOW_MAX_CELLS - 714)) | (1L << (STANDBY - 714)) | (1L << (START_DATE - 714)) | (1L << (STATIC - 714)) | (1L << (STATS_STREAM - 714)) | (1L << (STATUS - 714)) | (1L << (STDEV - 714)) | (1L << (STDEVP - 714)) | (1L << (STOPLIST - 714)) | (1L << (STUFF - 714)) | (1L << (SUBJECT - 714)) | (1L << (SUM - 714)) | (1L << (SUSPEND - 714)) | (1L << (SYMMETRIC - 714)) | (1L << (SYNCHRONOUS_COMMIT - 714)) | (1L << (SYNONYM - 714)) | (1L << (TAKE - 714)) | (1L << (TARGET_RECOVERY_TIME - 714)) | (1L << (TB - 714)) | (1L << (TEXTIMAGE_ON - 714)) | (1L << (THROW - 714)) | (1L << (TIES - 714)) | (1L << (TIME - 714)) | (1L << (TIMEOUT - 714)) | (1L << (TIMER - 714)) | (1L << (TINYINT - 714)) | (1L << (TORN_PAGE_DETECTION - 714)) | (1L << (TRANSFORM_NOISE_WORDS - 714)) | (1L << (TRIPLE_DES - 714)) | (1L << (TRIPLE_DES_3KEY - 714)) | (1L << (TRUSTWORTHY - 714)) | (1L << (TRY - 714)) | (1L << (TSQL - 714)) | (1L << (TWO_DIGIT_YEAR_CUTOFF - 714)) | (1L << (TYPE - 714)) | (1L << (TYPE_WARNING - 714)) | (1L << (UNBOUNDED - 714)) | (1L << (UNCOMMITTED - 714)) | (1L << (UNKNOWN - 714)) | (1L << (UNLIMITED - 714)) | (1L << (USING - 714)) | (1L << (VALID_XML - 714)) | (1L << (VALIDATION - 714)) | (1L << (VALUE - 714)) | (1L << (VAR - 714)) | (1L << (VARP - 714)) | (1L << (VIEW_METADATA - 714)) | (1L << (VIEWS - 714)) | (1L << (WAIT - 714)) | (1L << (WELL_FORMED_XML - 714)))) != 0) || ((((_la - 779)) & ~0x3f) == 0 && ((1L << (_la - 779)) & ((1L << (WORK - 779)) | (1L << (WORKLOAD - 779)) | (1L << (XML - 779)) | (1L << (XMLNAMESPACES - 779)) | (1L << (DOUBLE_QUOTE_ID - 779)) | (1L << (SQUARE_BRACKET_ID - 779)) | (1L << (LOCAL_ID - 779)) | (1L << (DECIMAL - 779)) | (1L << (ID - 779)) | (1L << (STRING - 779)) | (1L << (BINARY - 779)) | (1L << (FLOAT - 779)) | (1L << (REAL - 779)) | (1L << (DOLLAR - 779)) | (1L << (LR_BRACKET - 779)) | (1L << (SEMI - 779)) | (1L << (PLUS - 779)) | (1L << (MINUS - 779)) | (1L << (BIT_NOT - 779)))) != 0)) {
{
{
setState(962);
batch();
}
}
setState(967);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(968);
match(EOF);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class BatchContext extends ParserRuleContext {
public Execute_bodyContext execute_body() {
return getRuleContext(Execute_bodyContext.class,0);
}
public List go_statement() {
return getRuleContexts(Go_statementContext.class);
}
public Go_statementContext go_statement(int i) {
return getRuleContext(Go_statementContext.class,i);
}
public Sql_clausesContext sql_clauses() {
return getRuleContext(Sql_clausesContext.class,0);
}
public BatchContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_batch; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterBatch(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitBatch(this);
}
}
public final BatchContext batch() throws RecognitionException {
BatchContext _localctx = new BatchContext(_ctx, getState());
enterRule(_localctx, 2, RULE_batch);
try {
int _alt;
setState(987);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,4,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(970);
execute_body();
setState(974);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,1,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(971);
go_statement();
}
}
}
setState(976);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,1,_ctx);
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(978);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,2,_ctx) ) {
case 1:
{
setState(977);
execute_body();
}
break;
}
setState(980);
sql_clauses();
setState(984);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,3,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(981);
go_statement();
}
}
}
setState(986);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,3,_ctx);
}
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Sql_clausesContext extends ParserRuleContext {
public List sql_clause() {
return getRuleContexts(Sql_clauseContext.class);
}
public Sql_clauseContext sql_clause(int i) {
return getRuleContext(Sql_clauseContext.class,i);
}
public List SEMI() { return getTokens(TSqlParser.SEMI); }
public TerminalNode SEMI(int i) {
return getToken(TSqlParser.SEMI, i);
}
public Sql_clausesContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_sql_clauses; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterSql_clauses(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitSql_clauses(this);
}
}
public final Sql_clausesContext sql_clauses() throws RecognitionException {
Sql_clausesContext _localctx = new Sql_clausesContext(_ctx, getState());
enterRule(_localctx, 4, RULE_sql_clauses);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(993);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
{
setState(989);
sql_clause();
setState(991);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,5,_ctx) ) {
case 1:
{
setState(990);
match(SEMI);
}
break;
}
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(995);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,6,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Sql_clauseContext extends ParserRuleContext {
public Dml_clauseContext dml_clause() {
return getRuleContext(Dml_clauseContext.class,0);
}
public Ddl_clauseContext ddl_clause() {
return getRuleContext(Ddl_clauseContext.class,0);
}
public Cfl_statementContext cfl_statement() {
return getRuleContext(Cfl_statementContext.class,0);
}
public Dbcc_clauseContext dbcc_clause() {
return getRuleContext(Dbcc_clauseContext.class,0);
}
public Empty_statementContext empty_statement() {
return getRuleContext(Empty_statementContext.class,0);
}
public Another_statementContext another_statement() {
return getRuleContext(Another_statementContext.class,0);
}
public Backup_statementContext backup_statement() {
return getRuleContext(Backup_statementContext.class,0);
}
public Sql_clauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_sql_clause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterSql_clause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitSql_clause(this);
}
}
public final Sql_clauseContext sql_clause() throws RecognitionException {
Sql_clauseContext _localctx = new Sql_clauseContext(_ctx, getState());
enterRule(_localctx, 6, RULE_sql_clause);
try {
setState(1004);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,7,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(997);
dml_clause();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(998);
ddl_clause();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(999);
cfl_statement();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1000);
dbcc_clause();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(1001);
empty_statement();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(1002);
another_statement();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(1003);
backup_statement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Dml_clauseContext extends ParserRuleContext {
public Merge_statementContext merge_statement() {
return getRuleContext(Merge_statementContext.class,0);
}
public Delete_statementContext delete_statement() {
return getRuleContext(Delete_statementContext.class,0);
}
public Insert_statementContext insert_statement() {
return getRuleContext(Insert_statementContext.class,0);
}
public Select_statementContext select_statement() {
return getRuleContext(Select_statementContext.class,0);
}
public Update_statementContext update_statement() {
return getRuleContext(Update_statementContext.class,0);
}
public Dml_clauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dml_clause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDml_clause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDml_clause(this);
}
}
public final Dml_clauseContext dml_clause() throws RecognitionException {
Dml_clauseContext _localctx = new Dml_clauseContext(_ctx, getState());
enterRule(_localctx, 8, RULE_dml_clause);
try {
setState(1011);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,8,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1006);
merge_statement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1007);
delete_statement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1008);
insert_statement();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1009);
select_statement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(1010);
update_statement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Ddl_clauseContext extends ParserRuleContext {
public Alter_application_roleContext alter_application_role() {
return getRuleContext(Alter_application_roleContext.class,0);
}
public Alter_assemblyContext alter_assembly() {
return getRuleContext(Alter_assemblyContext.class,0);
}
public Alter_asymmetric_keyContext alter_asymmetric_key() {
return getRuleContext(Alter_asymmetric_keyContext.class,0);
}
public Alter_authorizationContext alter_authorization() {
return getRuleContext(Alter_authorizationContext.class,0);
}
public Alter_authorization_for_azure_dwContext alter_authorization_for_azure_dw() {
return getRuleContext(Alter_authorization_for_azure_dwContext.class,0);
}
public Alter_authorization_for_parallel_dwContext alter_authorization_for_parallel_dw() {
return getRuleContext(Alter_authorization_for_parallel_dwContext.class,0);
}
public Alter_authorization_for_sql_databaseContext alter_authorization_for_sql_database() {
return getRuleContext(Alter_authorization_for_sql_databaseContext.class,0);
}
public Alter_availability_groupContext alter_availability_group() {
return getRuleContext(Alter_availability_groupContext.class,0);
}
public Alter_certificateContext alter_certificate() {
return getRuleContext(Alter_certificateContext.class,0);
}
public Alter_column_encryption_keyContext alter_column_encryption_key() {
return getRuleContext(Alter_column_encryption_keyContext.class,0);
}
public Alter_credentialContext alter_credential() {
return getRuleContext(Alter_credentialContext.class,0);
}
public Alter_cryptographic_providerContext alter_cryptographic_provider() {
return getRuleContext(Alter_cryptographic_providerContext.class,0);
}
public Alter_databaseContext alter_database() {
return getRuleContext(Alter_databaseContext.class,0);
}
public Alter_db_roleContext alter_db_role() {
return getRuleContext(Alter_db_roleContext.class,0);
}
public Alter_endpointContext alter_endpoint() {
return getRuleContext(Alter_endpointContext.class,0);
}
public Create_or_alter_event_sessionContext create_or_alter_event_session() {
return getRuleContext(Create_or_alter_event_sessionContext.class,0);
}
public Alter_external_data_sourceContext alter_external_data_source() {
return getRuleContext(Alter_external_data_sourceContext.class,0);
}
public Alter_external_libraryContext alter_external_library() {
return getRuleContext(Alter_external_libraryContext.class,0);
}
public Alter_external_resource_poolContext alter_external_resource_pool() {
return getRuleContext(Alter_external_resource_poolContext.class,0);
}
public Alter_fulltext_catalogContext alter_fulltext_catalog() {
return getRuleContext(Alter_fulltext_catalogContext.class,0);
}
public Alter_fulltext_stoplistContext alter_fulltext_stoplist() {
return getRuleContext(Alter_fulltext_stoplistContext.class,0);
}
public Alter_login_azure_sqlContext alter_login_azure_sql() {
return getRuleContext(Alter_login_azure_sqlContext.class,0);
}
public Alter_login_azure_sql_dw_and_pdwContext alter_login_azure_sql_dw_and_pdw() {
return getRuleContext(Alter_login_azure_sql_dw_and_pdwContext.class,0);
}
public Alter_login_sql_serverContext alter_login_sql_server() {
return getRuleContext(Alter_login_sql_serverContext.class,0);
}
public Alter_master_key_azure_sqlContext alter_master_key_azure_sql() {
return getRuleContext(Alter_master_key_azure_sqlContext.class,0);
}
public Alter_master_key_sql_serverContext alter_master_key_sql_server() {
return getRuleContext(Alter_master_key_sql_serverContext.class,0);
}
public Alter_message_typeContext alter_message_type() {
return getRuleContext(Alter_message_typeContext.class,0);
}
public Alter_partition_functionContext alter_partition_function() {
return getRuleContext(Alter_partition_functionContext.class,0);
}
public Alter_partition_schemeContext alter_partition_scheme() {
return getRuleContext(Alter_partition_schemeContext.class,0);
}
public Alter_remote_service_bindingContext alter_remote_service_binding() {
return getRuleContext(Alter_remote_service_bindingContext.class,0);
}
public Alter_resource_governorContext alter_resource_governor() {
return getRuleContext(Alter_resource_governorContext.class,0);
}
public Alter_schema_azure_sql_dw_and_pdwContext alter_schema_azure_sql_dw_and_pdw() {
return getRuleContext(Alter_schema_azure_sql_dw_and_pdwContext.class,0);
}
public Alter_schema_sqlContext alter_schema_sql() {
return getRuleContext(Alter_schema_sqlContext.class,0);
}
public Alter_sequenceContext alter_sequence() {
return getRuleContext(Alter_sequenceContext.class,0);
}
public Alter_server_auditContext alter_server_audit() {
return getRuleContext(Alter_server_auditContext.class,0);
}
public Alter_server_audit_specificationContext alter_server_audit_specification() {
return getRuleContext(Alter_server_audit_specificationContext.class,0);
}
public Alter_server_configurationContext alter_server_configuration() {
return getRuleContext(Alter_server_configurationContext.class,0);
}
public Alter_server_roleContext alter_server_role() {
return getRuleContext(Alter_server_roleContext.class,0);
}
public Alter_server_role_pdwContext alter_server_role_pdw() {
return getRuleContext(Alter_server_role_pdwContext.class,0);
}
public Alter_serviceContext alter_service() {
return getRuleContext(Alter_serviceContext.class,0);
}
public Alter_service_master_keyContext alter_service_master_key() {
return getRuleContext(Alter_service_master_keyContext.class,0);
}
public Alter_symmetric_keyContext alter_symmetric_key() {
return getRuleContext(Alter_symmetric_keyContext.class,0);
}
public Alter_tableContext alter_table() {
return getRuleContext(Alter_tableContext.class,0);
}
public Alter_userContext alter_user() {
return getRuleContext(Alter_userContext.class,0);
}
public Alter_user_azure_sqlContext alter_user_azure_sql() {
return getRuleContext(Alter_user_azure_sqlContext.class,0);
}
public Alter_workload_groupContext alter_workload_group() {
return getRuleContext(Alter_workload_groupContext.class,0);
}
public Create_application_roleContext create_application_role() {
return getRuleContext(Create_application_roleContext.class,0);
}
public Create_assemblyContext create_assembly() {
return getRuleContext(Create_assemblyContext.class,0);
}
public Create_asymmetric_keyContext create_asymmetric_key() {
return getRuleContext(Create_asymmetric_keyContext.class,0);
}
public Create_column_encryption_keyContext create_column_encryption_key() {
return getRuleContext(Create_column_encryption_keyContext.class,0);
}
public Create_column_master_keyContext create_column_master_key() {
return getRuleContext(Create_column_master_keyContext.class,0);
}
public Create_credentialContext create_credential() {
return getRuleContext(Create_credentialContext.class,0);
}
public Create_cryptographic_providerContext create_cryptographic_provider() {
return getRuleContext(Create_cryptographic_providerContext.class,0);
}
public Create_databaseContext create_database() {
return getRuleContext(Create_databaseContext.class,0);
}
public Create_db_roleContext create_db_role() {
return getRuleContext(Create_db_roleContext.class,0);
}
public Create_event_notificationContext create_event_notification() {
return getRuleContext(Create_event_notificationContext.class,0);
}
public Create_external_libraryContext create_external_library() {
return getRuleContext(Create_external_libraryContext.class,0);
}
public Create_external_resource_poolContext create_external_resource_pool() {
return getRuleContext(Create_external_resource_poolContext.class,0);
}
public Create_fulltext_catalogContext create_fulltext_catalog() {
return getRuleContext(Create_fulltext_catalogContext.class,0);
}
public Create_fulltext_stoplistContext create_fulltext_stoplist() {
return getRuleContext(Create_fulltext_stoplistContext.class,0);
}
public Create_indexContext create_index() {
return getRuleContext(Create_indexContext.class,0);
}
public Create_login_azure_sqlContext create_login_azure_sql() {
return getRuleContext(Create_login_azure_sqlContext.class,0);
}
public Create_login_pdwContext create_login_pdw() {
return getRuleContext(Create_login_pdwContext.class,0);
}
public Create_login_sql_serverContext create_login_sql_server() {
return getRuleContext(Create_login_sql_serverContext.class,0);
}
public Create_master_key_azure_sqlContext create_master_key_azure_sql() {
return getRuleContext(Create_master_key_azure_sqlContext.class,0);
}
public Create_master_key_sql_serverContext create_master_key_sql_server() {
return getRuleContext(Create_master_key_sql_serverContext.class,0);
}
public Create_or_alter_broker_priorityContext create_or_alter_broker_priority() {
return getRuleContext(Create_or_alter_broker_priorityContext.class,0);
}
public Create_or_alter_functionContext create_or_alter_function() {
return getRuleContext(Create_or_alter_functionContext.class,0);
}
public Create_or_alter_procedureContext create_or_alter_procedure() {
return getRuleContext(Create_or_alter_procedureContext.class,0);
}
public Create_or_alter_triggerContext create_or_alter_trigger() {
return getRuleContext(Create_or_alter_triggerContext.class,0);
}
public Create_remote_service_bindingContext create_remote_service_binding() {
return getRuleContext(Create_remote_service_bindingContext.class,0);
}
public Create_resource_poolContext create_resource_pool() {
return getRuleContext(Create_resource_poolContext.class,0);
}
public Create_routeContext create_route() {
return getRuleContext(Create_routeContext.class,0);
}
public Create_ruleContext create_rule() {
return getRuleContext(Create_ruleContext.class,0);
}
public Create_schemaContext create_schema() {
return getRuleContext(Create_schemaContext.class,0);
}
public Create_schema_azure_sql_dw_and_pdwContext create_schema_azure_sql_dw_and_pdw() {
return getRuleContext(Create_schema_azure_sql_dw_and_pdwContext.class,0);
}
public Create_search_property_listContext create_search_property_list() {
return getRuleContext(Create_search_property_listContext.class,0);
}
public Create_security_policyContext create_security_policy() {
return getRuleContext(Create_security_policyContext.class,0);
}
public Create_sequenceContext create_sequence() {
return getRuleContext(Create_sequenceContext.class,0);
}
public Create_server_auditContext create_server_audit() {
return getRuleContext(Create_server_auditContext.class,0);
}
public Create_server_audit_specificationContext create_server_audit_specification() {
return getRuleContext(Create_server_audit_specificationContext.class,0);
}
public Create_server_roleContext create_server_role() {
return getRuleContext(Create_server_roleContext.class,0);
}
public Create_serviceContext create_service() {
return getRuleContext(Create_serviceContext.class,0);
}
public Create_statisticsContext create_statistics() {
return getRuleContext(Create_statisticsContext.class,0);
}
public Create_symmetric_keyContext create_symmetric_key() {
return getRuleContext(Create_symmetric_keyContext.class,0);
}
public Create_synonymContext create_synonym() {
return getRuleContext(Create_synonymContext.class,0);
}
public Create_tableContext create_table() {
return getRuleContext(Create_tableContext.class,0);
}
public Create_typeContext create_type() {
return getRuleContext(Create_typeContext.class,0);
}
public Create_userContext create_user() {
return getRuleContext(Create_userContext.class,0);
}
public Create_user_azure_sql_dwContext create_user_azure_sql_dw() {
return getRuleContext(Create_user_azure_sql_dwContext.class,0);
}
public Create_viewContext create_view() {
return getRuleContext(Create_viewContext.class,0);
}
public Create_workload_groupContext create_workload_group() {
return getRuleContext(Create_workload_groupContext.class,0);
}
public Create_xml_schema_collectionContext create_xml_schema_collection() {
return getRuleContext(Create_xml_schema_collectionContext.class,0);
}
public Drop_aggregateContext drop_aggregate() {
return getRuleContext(Drop_aggregateContext.class,0);
}
public Drop_application_roleContext drop_application_role() {
return getRuleContext(Drop_application_roleContext.class,0);
}
public Drop_assemblyContext drop_assembly() {
return getRuleContext(Drop_assemblyContext.class,0);
}
public Drop_asymmetric_keyContext drop_asymmetric_key() {
return getRuleContext(Drop_asymmetric_keyContext.class,0);
}
public Drop_availability_groupContext drop_availability_group() {
return getRuleContext(Drop_availability_groupContext.class,0);
}
public Drop_broker_priorityContext drop_broker_priority() {
return getRuleContext(Drop_broker_priorityContext.class,0);
}
public Drop_certificateContext drop_certificate() {
return getRuleContext(Drop_certificateContext.class,0);
}
public Drop_column_encryption_keyContext drop_column_encryption_key() {
return getRuleContext(Drop_column_encryption_keyContext.class,0);
}
public Drop_column_master_keyContext drop_column_master_key() {
return getRuleContext(Drop_column_master_keyContext.class,0);
}
public Drop_contractContext drop_contract() {
return getRuleContext(Drop_contractContext.class,0);
}
public Drop_credentialContext drop_credential() {
return getRuleContext(Drop_credentialContext.class,0);
}
public Drop_cryptograhic_providerContext drop_cryptograhic_provider() {
return getRuleContext(Drop_cryptograhic_providerContext.class,0);
}
public Drop_databaseContext drop_database() {
return getRuleContext(Drop_databaseContext.class,0);
}
public Drop_database_audit_specificationContext drop_database_audit_specification() {
return getRuleContext(Drop_database_audit_specificationContext.class,0);
}
public Drop_database_scoped_credentialContext drop_database_scoped_credential() {
return getRuleContext(Drop_database_scoped_credentialContext.class,0);
}
public Drop_db_roleContext drop_db_role() {
return getRuleContext(Drop_db_roleContext.class,0);
}
public Drop_defaultContext drop_default() {
return getRuleContext(Drop_defaultContext.class,0);
}
public Drop_endpointContext drop_endpoint() {
return getRuleContext(Drop_endpointContext.class,0);
}
public Drop_event_notificationsContext drop_event_notifications() {
return getRuleContext(Drop_event_notificationsContext.class,0);
}
public Drop_event_sessionContext drop_event_session() {
return getRuleContext(Drop_event_sessionContext.class,0);
}
public Drop_external_data_sourceContext drop_external_data_source() {
return getRuleContext(Drop_external_data_sourceContext.class,0);
}
public Drop_external_file_formatContext drop_external_file_format() {
return getRuleContext(Drop_external_file_formatContext.class,0);
}
public Drop_external_libraryContext drop_external_library() {
return getRuleContext(Drop_external_libraryContext.class,0);
}
public Drop_external_resource_poolContext drop_external_resource_pool() {
return getRuleContext(Drop_external_resource_poolContext.class,0);
}
public Drop_external_tableContext drop_external_table() {
return getRuleContext(Drop_external_tableContext.class,0);
}
public Drop_fulltext_catalogContext drop_fulltext_catalog() {
return getRuleContext(Drop_fulltext_catalogContext.class,0);
}
public Drop_fulltext_indexContext drop_fulltext_index() {
return getRuleContext(Drop_fulltext_indexContext.class,0);
}
public Drop_fulltext_stoplistContext drop_fulltext_stoplist() {
return getRuleContext(Drop_fulltext_stoplistContext.class,0);
}
public Drop_functionContext drop_function() {
return getRuleContext(Drop_functionContext.class,0);
}
public Drop_indexContext drop_index() {
return getRuleContext(Drop_indexContext.class,0);
}
public Drop_loginContext drop_login() {
return getRuleContext(Drop_loginContext.class,0);
}
public Drop_master_keyContext drop_master_key() {
return getRuleContext(Drop_master_keyContext.class,0);
}
public Drop_message_typeContext drop_message_type() {
return getRuleContext(Drop_message_typeContext.class,0);
}
public Drop_partition_functionContext drop_partition_function() {
return getRuleContext(Drop_partition_functionContext.class,0);
}
public Drop_partition_schemeContext drop_partition_scheme() {
return getRuleContext(Drop_partition_schemeContext.class,0);
}
public Drop_procedureContext drop_procedure() {
return getRuleContext(Drop_procedureContext.class,0);
}
public Drop_queueContext drop_queue() {
return getRuleContext(Drop_queueContext.class,0);
}
public Drop_remote_service_bindingContext drop_remote_service_binding() {
return getRuleContext(Drop_remote_service_bindingContext.class,0);
}
public Drop_resource_poolContext drop_resource_pool() {
return getRuleContext(Drop_resource_poolContext.class,0);
}
public Drop_routeContext drop_route() {
return getRuleContext(Drop_routeContext.class,0);
}
public Drop_ruleContext drop_rule() {
return getRuleContext(Drop_ruleContext.class,0);
}
public Drop_schemaContext drop_schema() {
return getRuleContext(Drop_schemaContext.class,0);
}
public Drop_search_property_listContext drop_search_property_list() {
return getRuleContext(Drop_search_property_listContext.class,0);
}
public Drop_security_policyContext drop_security_policy() {
return getRuleContext(Drop_security_policyContext.class,0);
}
public Drop_sequenceContext drop_sequence() {
return getRuleContext(Drop_sequenceContext.class,0);
}
public Drop_server_auditContext drop_server_audit() {
return getRuleContext(Drop_server_auditContext.class,0);
}
public Drop_server_audit_specificationContext drop_server_audit_specification() {
return getRuleContext(Drop_server_audit_specificationContext.class,0);
}
public Drop_server_roleContext drop_server_role() {
return getRuleContext(Drop_server_roleContext.class,0);
}
public Drop_serviceContext drop_service() {
return getRuleContext(Drop_serviceContext.class,0);
}
public Drop_signatureContext drop_signature() {
return getRuleContext(Drop_signatureContext.class,0);
}
public Drop_statisticsContext drop_statistics() {
return getRuleContext(Drop_statisticsContext.class,0);
}
public Drop_statistics_name_azure_dw_and_pdwContext drop_statistics_name_azure_dw_and_pdw() {
return getRuleContext(Drop_statistics_name_azure_dw_and_pdwContext.class,0);
}
public Drop_symmetric_keyContext drop_symmetric_key() {
return getRuleContext(Drop_symmetric_keyContext.class,0);
}
public Drop_synonymContext drop_synonym() {
return getRuleContext(Drop_synonymContext.class,0);
}
public Drop_tableContext drop_table() {
return getRuleContext(Drop_tableContext.class,0);
}
public Drop_triggerContext drop_trigger() {
return getRuleContext(Drop_triggerContext.class,0);
}
public Drop_typeContext drop_type() {
return getRuleContext(Drop_typeContext.class,0);
}
public Drop_userContext drop_user() {
return getRuleContext(Drop_userContext.class,0);
}
public Drop_viewContext drop_view() {
return getRuleContext(Drop_viewContext.class,0);
}
public Drop_workload_groupContext drop_workload_group() {
return getRuleContext(Drop_workload_groupContext.class,0);
}
public Drop_xml_schema_collectionContext drop_xml_schema_collection() {
return getRuleContext(Drop_xml_schema_collectionContext.class,0);
}
public Disable_triggerContext disable_trigger() {
return getRuleContext(Disable_triggerContext.class,0);
}
public Enable_triggerContext enable_trigger() {
return getRuleContext(Enable_triggerContext.class,0);
}
public Lock_tableContext lock_table() {
return getRuleContext(Lock_tableContext.class,0);
}
public Truncate_tableContext truncate_table() {
return getRuleContext(Truncate_tableContext.class,0);
}
public Update_statisticsContext update_statistics() {
return getRuleContext(Update_statisticsContext.class,0);
}
public Ddl_clauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_ddl_clause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDdl_clause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDdl_clause(this);
}
}
public final Ddl_clauseContext ddl_clause() throws RecognitionException {
Ddl_clauseContext _localctx = new Ddl_clauseContext(_ctx, getState());
enterRule(_localctx, 10, RULE_ddl_clause);
try {
setState(1172);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,9,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1013);
alter_application_role();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1014);
alter_assembly();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1015);
alter_asymmetric_key();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1016);
alter_authorization();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(1017);
alter_authorization_for_azure_dw();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(1018);
alter_authorization_for_parallel_dw();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(1019);
alter_authorization_for_sql_database();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(1020);
alter_availability_group();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(1021);
alter_certificate();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(1022);
alter_column_encryption_key();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(1023);
alter_credential();
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(1024);
alter_cryptographic_provider();
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(1025);
alter_database();
}
break;
case 14:
enterOuterAlt(_localctx, 14);
{
setState(1026);
alter_db_role();
}
break;
case 15:
enterOuterAlt(_localctx, 15);
{
setState(1027);
alter_endpoint();
}
break;
case 16:
enterOuterAlt(_localctx, 16);
{
setState(1028);
create_or_alter_event_session();
}
break;
case 17:
enterOuterAlt(_localctx, 17);
{
setState(1029);
alter_external_data_source();
}
break;
case 18:
enterOuterAlt(_localctx, 18);
{
setState(1030);
alter_external_library();
}
break;
case 19:
enterOuterAlt(_localctx, 19);
{
setState(1031);
alter_external_resource_pool();
}
break;
case 20:
enterOuterAlt(_localctx, 20);
{
setState(1032);
alter_fulltext_catalog();
}
break;
case 21:
enterOuterAlt(_localctx, 21);
{
setState(1033);
alter_fulltext_stoplist();
}
break;
case 22:
enterOuterAlt(_localctx, 22);
{
setState(1034);
alter_login_azure_sql();
}
break;
case 23:
enterOuterAlt(_localctx, 23);
{
setState(1035);
alter_login_azure_sql_dw_and_pdw();
}
break;
case 24:
enterOuterAlt(_localctx, 24);
{
setState(1036);
alter_login_sql_server();
}
break;
case 25:
enterOuterAlt(_localctx, 25);
{
setState(1037);
alter_master_key_azure_sql();
}
break;
case 26:
enterOuterAlt(_localctx, 26);
{
setState(1038);
alter_master_key_sql_server();
}
break;
case 27:
enterOuterAlt(_localctx, 27);
{
setState(1039);
alter_message_type();
}
break;
case 28:
enterOuterAlt(_localctx, 28);
{
setState(1040);
alter_partition_function();
}
break;
case 29:
enterOuterAlt(_localctx, 29);
{
setState(1041);
alter_partition_scheme();
}
break;
case 30:
enterOuterAlt(_localctx, 30);
{
setState(1042);
alter_remote_service_binding();
}
break;
case 31:
enterOuterAlt(_localctx, 31);
{
setState(1043);
alter_resource_governor();
}
break;
case 32:
enterOuterAlt(_localctx, 32);
{
setState(1044);
alter_schema_azure_sql_dw_and_pdw();
}
break;
case 33:
enterOuterAlt(_localctx, 33);
{
setState(1045);
alter_schema_sql();
}
break;
case 34:
enterOuterAlt(_localctx, 34);
{
setState(1046);
alter_sequence();
}
break;
case 35:
enterOuterAlt(_localctx, 35);
{
setState(1047);
alter_server_audit();
}
break;
case 36:
enterOuterAlt(_localctx, 36);
{
setState(1048);
alter_server_audit_specification();
}
break;
case 37:
enterOuterAlt(_localctx, 37);
{
setState(1049);
alter_server_configuration();
}
break;
case 38:
enterOuterAlt(_localctx, 38);
{
setState(1050);
alter_server_role();
}
break;
case 39:
enterOuterAlt(_localctx, 39);
{
setState(1051);
alter_server_role_pdw();
}
break;
case 40:
enterOuterAlt(_localctx, 40);
{
setState(1052);
alter_service();
}
break;
case 41:
enterOuterAlt(_localctx, 41);
{
setState(1053);
alter_service_master_key();
}
break;
case 42:
enterOuterAlt(_localctx, 42);
{
setState(1054);
alter_symmetric_key();
}
break;
case 43:
enterOuterAlt(_localctx, 43);
{
setState(1055);
alter_table();
}
break;
case 44:
enterOuterAlt(_localctx, 44);
{
setState(1056);
alter_user();
}
break;
case 45:
enterOuterAlt(_localctx, 45);
{
setState(1057);
alter_user_azure_sql();
}
break;
case 46:
enterOuterAlt(_localctx, 46);
{
setState(1058);
alter_workload_group();
}
break;
case 47:
enterOuterAlt(_localctx, 47);
{
setState(1059);
create_application_role();
}
break;
case 48:
enterOuterAlt(_localctx, 48);
{
setState(1060);
create_assembly();
}
break;
case 49:
enterOuterAlt(_localctx, 49);
{
setState(1061);
create_asymmetric_key();
}
break;
case 50:
enterOuterAlt(_localctx, 50);
{
setState(1062);
create_column_encryption_key();
}
break;
case 51:
enterOuterAlt(_localctx, 51);
{
setState(1063);
create_column_master_key();
}
break;
case 52:
enterOuterAlt(_localctx, 52);
{
setState(1064);
create_credential();
}
break;
case 53:
enterOuterAlt(_localctx, 53);
{
setState(1065);
create_cryptographic_provider();
}
break;
case 54:
enterOuterAlt(_localctx, 54);
{
setState(1066);
create_database();
}
break;
case 55:
enterOuterAlt(_localctx, 55);
{
setState(1067);
create_db_role();
}
break;
case 56:
enterOuterAlt(_localctx, 56);
{
setState(1068);
create_event_notification();
}
break;
case 57:
enterOuterAlt(_localctx, 57);
{
setState(1069);
create_external_library();
}
break;
case 58:
enterOuterAlt(_localctx, 58);
{
setState(1070);
create_external_resource_pool();
}
break;
case 59:
enterOuterAlt(_localctx, 59);
{
setState(1071);
create_fulltext_catalog();
}
break;
case 60:
enterOuterAlt(_localctx, 60);
{
setState(1072);
create_fulltext_stoplist();
}
break;
case 61:
enterOuterAlt(_localctx, 61);
{
setState(1073);
create_index();
}
break;
case 62:
enterOuterAlt(_localctx, 62);
{
setState(1074);
create_login_azure_sql();
}
break;
case 63:
enterOuterAlt(_localctx, 63);
{
setState(1075);
create_login_pdw();
}
break;
case 64:
enterOuterAlt(_localctx, 64);
{
setState(1076);
create_login_sql_server();
}
break;
case 65:
enterOuterAlt(_localctx, 65);
{
setState(1077);
create_master_key_azure_sql();
}
break;
case 66:
enterOuterAlt(_localctx, 66);
{
setState(1078);
create_master_key_sql_server();
}
break;
case 67:
enterOuterAlt(_localctx, 67);
{
setState(1079);
create_or_alter_broker_priority();
}
break;
case 68:
enterOuterAlt(_localctx, 68);
{
setState(1080);
create_or_alter_function();
}
break;
case 69:
enterOuterAlt(_localctx, 69);
{
setState(1081);
create_or_alter_procedure();
}
break;
case 70:
enterOuterAlt(_localctx, 70);
{
setState(1082);
create_or_alter_trigger();
}
break;
case 71:
enterOuterAlt(_localctx, 71);
{
setState(1083);
create_remote_service_binding();
}
break;
case 72:
enterOuterAlt(_localctx, 72);
{
setState(1084);
create_resource_pool();
}
break;
case 73:
enterOuterAlt(_localctx, 73);
{
setState(1085);
create_route();
}
break;
case 74:
enterOuterAlt(_localctx, 74);
{
setState(1086);
create_rule();
}
break;
case 75:
enterOuterAlt(_localctx, 75);
{
setState(1087);
create_schema();
}
break;
case 76:
enterOuterAlt(_localctx, 76);
{
setState(1088);
create_schema_azure_sql_dw_and_pdw();
}
break;
case 77:
enterOuterAlt(_localctx, 77);
{
setState(1089);
create_search_property_list();
}
break;
case 78:
enterOuterAlt(_localctx, 78);
{
setState(1090);
create_security_policy();
}
break;
case 79:
enterOuterAlt(_localctx, 79);
{
setState(1091);
create_sequence();
}
break;
case 80:
enterOuterAlt(_localctx, 80);
{
setState(1092);
create_server_audit();
}
break;
case 81:
enterOuterAlt(_localctx, 81);
{
setState(1093);
create_server_audit_specification();
}
break;
case 82:
enterOuterAlt(_localctx, 82);
{
setState(1094);
create_server_role();
}
break;
case 83:
enterOuterAlt(_localctx, 83);
{
setState(1095);
create_service();
}
break;
case 84:
enterOuterAlt(_localctx, 84);
{
setState(1096);
create_statistics();
}
break;
case 85:
enterOuterAlt(_localctx, 85);
{
setState(1097);
create_symmetric_key();
}
break;
case 86:
enterOuterAlt(_localctx, 86);
{
setState(1098);
create_synonym();
}
break;
case 87:
enterOuterAlt(_localctx, 87);
{
setState(1099);
create_table();
}
break;
case 88:
enterOuterAlt(_localctx, 88);
{
setState(1100);
create_type();
}
break;
case 89:
enterOuterAlt(_localctx, 89);
{
setState(1101);
create_user();
}
break;
case 90:
enterOuterAlt(_localctx, 90);
{
setState(1102);
create_user_azure_sql_dw();
}
break;
case 91:
enterOuterAlt(_localctx, 91);
{
setState(1103);
create_view();
}
break;
case 92:
enterOuterAlt(_localctx, 92);
{
setState(1104);
create_workload_group();
}
break;
case 93:
enterOuterAlt(_localctx, 93);
{
setState(1105);
create_xml_schema_collection();
}
break;
case 94:
enterOuterAlt(_localctx, 94);
{
setState(1106);
drop_aggregate();
}
break;
case 95:
enterOuterAlt(_localctx, 95);
{
setState(1107);
drop_application_role();
}
break;
case 96:
enterOuterAlt(_localctx, 96);
{
setState(1108);
drop_assembly();
}
break;
case 97:
enterOuterAlt(_localctx, 97);
{
setState(1109);
drop_asymmetric_key();
}
break;
case 98:
enterOuterAlt(_localctx, 98);
{
setState(1110);
drop_availability_group();
}
break;
case 99:
enterOuterAlt(_localctx, 99);
{
setState(1111);
drop_broker_priority();
}
break;
case 100:
enterOuterAlt(_localctx, 100);
{
setState(1112);
drop_certificate();
}
break;
case 101:
enterOuterAlt(_localctx, 101);
{
setState(1113);
drop_column_encryption_key();
}
break;
case 102:
enterOuterAlt(_localctx, 102);
{
setState(1114);
drop_column_master_key();
}
break;
case 103:
enterOuterAlt(_localctx, 103);
{
setState(1115);
drop_contract();
}
break;
case 104:
enterOuterAlt(_localctx, 104);
{
setState(1116);
drop_credential();
}
break;
case 105:
enterOuterAlt(_localctx, 105);
{
setState(1117);
drop_cryptograhic_provider();
}
break;
case 106:
enterOuterAlt(_localctx, 106);
{
setState(1118);
drop_database();
}
break;
case 107:
enterOuterAlt(_localctx, 107);
{
setState(1119);
drop_database_audit_specification();
}
break;
case 108:
enterOuterAlt(_localctx, 108);
{
setState(1120);
drop_database_scoped_credential();
}
break;
case 109:
enterOuterAlt(_localctx, 109);
{
setState(1121);
drop_db_role();
}
break;
case 110:
enterOuterAlt(_localctx, 110);
{
setState(1122);
drop_default();
}
break;
case 111:
enterOuterAlt(_localctx, 111);
{
setState(1123);
drop_endpoint();
}
break;
case 112:
enterOuterAlt(_localctx, 112);
{
setState(1124);
drop_event_notifications();
}
break;
case 113:
enterOuterAlt(_localctx, 113);
{
setState(1125);
drop_event_session();
}
break;
case 114:
enterOuterAlt(_localctx, 114);
{
setState(1126);
drop_external_data_source();
}
break;
case 115:
enterOuterAlt(_localctx, 115);
{
setState(1127);
drop_external_file_format();
}
break;
case 116:
enterOuterAlt(_localctx, 116);
{
setState(1128);
drop_external_library();
}
break;
case 117:
enterOuterAlt(_localctx, 117);
{
setState(1129);
drop_external_resource_pool();
}
break;
case 118:
enterOuterAlt(_localctx, 118);
{
setState(1130);
drop_external_table();
}
break;
case 119:
enterOuterAlt(_localctx, 119);
{
setState(1131);
drop_fulltext_catalog();
}
break;
case 120:
enterOuterAlt(_localctx, 120);
{
setState(1132);
drop_fulltext_index();
}
break;
case 121:
enterOuterAlt(_localctx, 121);
{
setState(1133);
drop_fulltext_stoplist();
}
break;
case 122:
enterOuterAlt(_localctx, 122);
{
setState(1134);
drop_function();
}
break;
case 123:
enterOuterAlt(_localctx, 123);
{
setState(1135);
drop_index();
}
break;
case 124:
enterOuterAlt(_localctx, 124);
{
setState(1136);
drop_login();
}
break;
case 125:
enterOuterAlt(_localctx, 125);
{
setState(1137);
drop_master_key();
}
break;
case 126:
enterOuterAlt(_localctx, 126);
{
setState(1138);
drop_message_type();
}
break;
case 127:
enterOuterAlt(_localctx, 127);
{
setState(1139);
drop_partition_function();
}
break;
case 128:
enterOuterAlt(_localctx, 128);
{
setState(1140);
drop_partition_scheme();
}
break;
case 129:
enterOuterAlt(_localctx, 129);
{
setState(1141);
drop_procedure();
}
break;
case 130:
enterOuterAlt(_localctx, 130);
{
setState(1142);
drop_queue();
}
break;
case 131:
enterOuterAlt(_localctx, 131);
{
setState(1143);
drop_remote_service_binding();
}
break;
case 132:
enterOuterAlt(_localctx, 132);
{
setState(1144);
drop_resource_pool();
}
break;
case 133:
enterOuterAlt(_localctx, 133);
{
setState(1145);
drop_route();
}
break;
case 134:
enterOuterAlt(_localctx, 134);
{
setState(1146);
drop_rule();
}
break;
case 135:
enterOuterAlt(_localctx, 135);
{
setState(1147);
drop_schema();
}
break;
case 136:
enterOuterAlt(_localctx, 136);
{
setState(1148);
drop_search_property_list();
}
break;
case 137:
enterOuterAlt(_localctx, 137);
{
setState(1149);
drop_security_policy();
}
break;
case 138:
enterOuterAlt(_localctx, 138);
{
setState(1150);
drop_sequence();
}
break;
case 139:
enterOuterAlt(_localctx, 139);
{
setState(1151);
drop_server_audit();
}
break;
case 140:
enterOuterAlt(_localctx, 140);
{
setState(1152);
drop_server_audit_specification();
}
break;
case 141:
enterOuterAlt(_localctx, 141);
{
setState(1153);
drop_server_role();
}
break;
case 142:
enterOuterAlt(_localctx, 142);
{
setState(1154);
drop_service();
}
break;
case 143:
enterOuterAlt(_localctx, 143);
{
setState(1155);
drop_signature();
}
break;
case 144:
enterOuterAlt(_localctx, 144);
{
setState(1156);
drop_statistics();
}
break;
case 145:
enterOuterAlt(_localctx, 145);
{
setState(1157);
drop_statistics_name_azure_dw_and_pdw();
}
break;
case 146:
enterOuterAlt(_localctx, 146);
{
setState(1158);
drop_symmetric_key();
}
break;
case 147:
enterOuterAlt(_localctx, 147);
{
setState(1159);
drop_synonym();
}
break;
case 148:
enterOuterAlt(_localctx, 148);
{
setState(1160);
drop_table();
}
break;
case 149:
enterOuterAlt(_localctx, 149);
{
setState(1161);
drop_trigger();
}
break;
case 150:
enterOuterAlt(_localctx, 150);
{
setState(1162);
drop_type();
}
break;
case 151:
enterOuterAlt(_localctx, 151);
{
setState(1163);
drop_user();
}
break;
case 152:
enterOuterAlt(_localctx, 152);
{
setState(1164);
drop_view();
}
break;
case 153:
enterOuterAlt(_localctx, 153);
{
setState(1165);
drop_workload_group();
}
break;
case 154:
enterOuterAlt(_localctx, 154);
{
setState(1166);
drop_xml_schema_collection();
}
break;
case 155:
enterOuterAlt(_localctx, 155);
{
setState(1167);
disable_trigger();
}
break;
case 156:
enterOuterAlt(_localctx, 156);
{
setState(1168);
enable_trigger();
}
break;
case 157:
enterOuterAlt(_localctx, 157);
{
setState(1169);
lock_table();
}
break;
case 158:
enterOuterAlt(_localctx, 158);
{
setState(1170);
truncate_table();
}
break;
case 159:
enterOuterAlt(_localctx, 159);
{
setState(1171);
update_statistics();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Backup_statementContext extends ParserRuleContext {
public Backup_databaseContext backup_database() {
return getRuleContext(Backup_databaseContext.class,0);
}
public Backup_logContext backup_log() {
return getRuleContext(Backup_logContext.class,0);
}
public Backup_certificateContext backup_certificate() {
return getRuleContext(Backup_certificateContext.class,0);
}
public Backup_master_keyContext backup_master_key() {
return getRuleContext(Backup_master_keyContext.class,0);
}
public Backup_service_master_keyContext backup_service_master_key() {
return getRuleContext(Backup_service_master_keyContext.class,0);
}
public Backup_statementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_backup_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterBackup_statement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitBackup_statement(this);
}
}
public final Backup_statementContext backup_statement() throws RecognitionException {
Backup_statementContext _localctx = new Backup_statementContext(_ctx, getState());
enterRule(_localctx, 12, RULE_backup_statement);
try {
setState(1179);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,10,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1174);
backup_database();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1175);
backup_log();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1176);
backup_certificate();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1177);
backup_master_key();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(1178);
backup_service_master_key();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Cfl_statementContext extends ParserRuleContext {
public Block_statementContext block_statement() {
return getRuleContext(Block_statementContext.class,0);
}
public Break_statementContext break_statement() {
return getRuleContext(Break_statementContext.class,0);
}
public Continue_statementContext continue_statement() {
return getRuleContext(Continue_statementContext.class,0);
}
public Goto_statementContext goto_statement() {
return getRuleContext(Goto_statementContext.class,0);
}
public If_statementContext if_statement() {
return getRuleContext(If_statementContext.class,0);
}
public Return_statementContext return_statement() {
return getRuleContext(Return_statementContext.class,0);
}
public Throw_statementContext throw_statement() {
return getRuleContext(Throw_statementContext.class,0);
}
public Try_catch_statementContext try_catch_statement() {
return getRuleContext(Try_catch_statementContext.class,0);
}
public Waitfor_statementContext waitfor_statement() {
return getRuleContext(Waitfor_statementContext.class,0);
}
public While_statementContext while_statement() {
return getRuleContext(While_statementContext.class,0);
}
public Print_statementContext print_statement() {
return getRuleContext(Print_statementContext.class,0);
}
public Raiseerror_statementContext raiseerror_statement() {
return getRuleContext(Raiseerror_statementContext.class,0);
}
public Cfl_statementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_cfl_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCfl_statement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCfl_statement(this);
}
}
public final Cfl_statementContext cfl_statement() throws RecognitionException {
Cfl_statementContext _localctx = new Cfl_statementContext(_ctx, getState());
enterRule(_localctx, 14, RULE_cfl_statement);
try {
setState(1193);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,11,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1181);
block_statement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1182);
break_statement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1183);
continue_statement();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1184);
goto_statement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(1185);
if_statement();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(1186);
return_statement();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(1187);
throw_statement();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(1188);
try_catch_statement();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(1189);
waitfor_statement();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(1190);
while_statement();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(1191);
print_statement();
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(1192);
raiseerror_statement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Block_statementContext extends ParserRuleContext {
public TerminalNode BEGIN() { return getToken(TSqlParser.BEGIN, 0); }
public TerminalNode END() { return getToken(TSqlParser.END, 0); }
public List SEMI() { return getTokens(TSqlParser.SEMI); }
public TerminalNode SEMI(int i) {
return getToken(TSqlParser.SEMI, i);
}
public Sql_clausesContext sql_clauses() {
return getRuleContext(Sql_clausesContext.class,0);
}
public Block_statementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_block_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterBlock_statement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitBlock_statement(this);
}
}
public final Block_statementContext block_statement() throws RecognitionException {
Block_statementContext _localctx = new Block_statementContext(_ctx, getState());
enterRule(_localctx, 16, RULE_block_statement);
try {
enterOuterAlt(_localctx, 1);
{
setState(1195);
match(BEGIN);
setState(1197);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,12,_ctx) ) {
case 1:
{
setState(1196);
match(SEMI);
}
break;
}
setState(1200);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,13,_ctx) ) {
case 1:
{
setState(1199);
sql_clauses();
}
break;
}
setState(1202);
match(END);
setState(1204);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,14,_ctx) ) {
case 1:
{
setState(1203);
match(SEMI);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Break_statementContext extends ParserRuleContext {
public TerminalNode BREAK() { return getToken(TSqlParser.BREAK, 0); }
public TerminalNode SEMI() { return getToken(TSqlParser.SEMI, 0); }
public Break_statementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_break_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterBreak_statement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitBreak_statement(this);
}
}
public final Break_statementContext break_statement() throws RecognitionException {
Break_statementContext _localctx = new Break_statementContext(_ctx, getState());
enterRule(_localctx, 18, RULE_break_statement);
try {
enterOuterAlt(_localctx, 1);
{
setState(1206);
match(BREAK);
setState(1208);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,15,_ctx) ) {
case 1:
{
setState(1207);
match(SEMI);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Continue_statementContext extends ParserRuleContext {
public TerminalNode CONTINUE() { return getToken(TSqlParser.CONTINUE, 0); }
public TerminalNode SEMI() { return getToken(TSqlParser.SEMI, 0); }
public Continue_statementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_continue_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterContinue_statement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitContinue_statement(this);
}
}
public final Continue_statementContext continue_statement() throws RecognitionException {
Continue_statementContext _localctx = new Continue_statementContext(_ctx, getState());
enterRule(_localctx, 20, RULE_continue_statement);
try {
enterOuterAlt(_localctx, 1);
{
setState(1210);
match(CONTINUE);
setState(1212);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,16,_ctx) ) {
case 1:
{
setState(1211);
match(SEMI);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Goto_statementContext extends ParserRuleContext {
public TerminalNode GOTO() { return getToken(TSqlParser.GOTO, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode SEMI() { return getToken(TSqlParser.SEMI, 0); }
public TerminalNode COLON() { return getToken(TSqlParser.COLON, 0); }
public Goto_statementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_goto_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterGoto_statement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitGoto_statement(this);
}
}
public final Goto_statementContext goto_statement() throws RecognitionException {
Goto_statementContext _localctx = new Goto_statementContext(_ctx, getState());
enterRule(_localctx, 22, RULE_goto_statement);
try {
setState(1224);
_errHandler.sync(this);
switch (_input.LA(1)) {
case GOTO:
enterOuterAlt(_localctx, 1);
{
setState(1214);
match(GOTO);
setState(1215);
id();
setState(1217);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,17,_ctx) ) {
case 1:
{
setState(1216);
match(SEMI);
}
break;
}
}
break;
case CALLED:
case DATA_COMPRESSION:
case EVENTDATA:
case FILENAME:
case FILLFACTOR:
case FORCESEEK:
case INIT:
case KEY:
case MASTER:
case MAX_MEMORY:
case OFFSETS:
case PAGE:
case PUBLIC:
case R:
case RAW:
case RETURN:
case RETURNS:
case ROWCOUNT:
case SAFETY:
case SERVER:
case SID:
case SOURCE:
case STATE:
case START:
case TARGET:
case ABSOLUTE:
case ACCENT_SENSITIVITY:
case ACTION:
case ACTIVATION:
case ACTIVE:
case ADDRESS:
case AES_128:
case AES_192:
case AES_256:
case AFFINITY:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ALLOW_ENCRYPTED_VALUE_MODIFICATIONS:
case ALLOW_SNAPSHOT_ISOLATION:
case ALLOWED:
case ANSI_NULL_DEFAULT:
case ANSI_NULLS:
case ANSI_PADDING:
case ANSI_WARNINGS:
case APPLICATION_LOG:
case APPLY:
case ARITHABORT:
case ASSEMBLY:
case AUDIT:
case AUDIT_GUID:
case AUTO:
case AUTO_CLEANUP:
case AUTO_CLOSE:
case AUTO_CREATE_STATISTICS:
case AUTO_SHRINK:
case AUTO_UPDATE_STATISTICS:
case AUTO_UPDATE_STATISTICS_ASYNC:
case AVAILABILITY:
case AVG:
case BACKUP_PRIORITY:
case BEGIN_DIALOG:
case BIGINT:
case BINARY_BASE64:
case BINARY_CHECKSUM:
case BINDING:
case BLOB_STORAGE:
case BROKER:
case BROKER_INSTANCE:
case BULK_LOGGED:
case CALLER:
case CAP_CPU_PERCENT:
case CAST:
case CATALOG:
case CATCH:
case CHANGE_RETENTION:
case CHANGE_TRACKING:
case CHECKSUM:
case CHECKSUM_AGG:
case CLEANUP:
case COLLECTION:
case COLUMN_MASTER_KEY:
case COMMITTED:
case COMPATIBILITY_LEVEL:
case CONCAT:
case CONCAT_NULL_YIELDS_NULL:
case CONTENT:
case CONTROL:
case COOKIE:
case COUNT:
case COUNT_BIG:
case COUNTER:
case CPU:
case CREATE_NEW:
case CREATION_DISPOSITION:
case CREDENTIAL:
case CRYPTOGRAPHIC:
case CURSOR_CLOSE_ON_COMMIT:
case CURSOR_DEFAULT:
case DATE_CORRELATION_OPTIMIZATION:
case DATEADD:
case DATEDIFF:
case DATENAME:
case DATEPART:
case DAYS:
case DB_CHAINING:
case DB_FAILOVER:
case DECRYPTION:
case DEFAULT_DOUBLE_QUOTE:
case DEFAULT_FULLTEXT_LANGUAGE:
case DEFAULT_LANGUAGE:
case DELAY:
case DELAYED_DURABILITY:
case DELETED:
case DENSE_RANK:
case DEPENDENTS:
case DES:
case DESCRIPTION:
case DESX:
case DHCP:
case DIALOG:
case DIRECTORY_NAME:
case DISABLE:
case DISABLE_BROKER:
case DISABLED:
case DISK_DRIVE:
case DOCUMENT:
case DYNAMIC:
case EMERGENCY:
case EMPTY:
case ENABLE:
case ENABLE_BROKER:
case ENCRYPTED_VALUE:
case ENCRYPTION:
case ENDPOINT_URL:
case ERROR_BROKER_CONVERSATIONS:
case EXCLUSIVE:
case EXECUTABLE:
case EXIST:
case EXPAND:
case EXPIRY_DATE:
case EXPLICIT:
case FAIL_OPERATION:
case FAILOVER_MODE:
case FAILURE:
case FAILURE_CONDITION_LEVEL:
case FAST:
case FAST_FORWARD:
case FILEGROUP:
case FILEGROWTH:
case FILEPATH:
case FILESTREAM:
case FILTER:
case FIRST:
case FIRST_VALUE:
case FOLLOWING:
case FORCE:
case FORCE_FAILOVER_ALLOW_DATA_LOSS:
case FORCED:
case FORMAT:
case FORWARD_ONLY:
case FULLSCAN:
case FULLTEXT:
case GB:
case GETDATE:
case GETUTCDATE:
case GLOBAL:
case GO:
case GROUP_MAX_REQUESTS:
case GROUPING:
case GROUPING_ID:
case HADR:
case HASH:
case HEALTH_CHECK_TIMEOUT:
case HIGH:
case HONOR_BROKER_PRIORITY:
case HOURS:
case IDENTITY_VALUE:
case IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX:
case IMMEDIATE:
case IMPERSONATE:
case IMPORTANCE:
case INCREMENTAL:
case INITIATOR:
case INPUT:
case INSENSITIVE:
case INSERTED:
case INT:
case IP:
case ISOLATION:
case KB:
case KEEP:
case KEEPFIXED:
case KEY_SOURCE:
case KEYS:
case KEYSET:
case LAG:
case LAST:
case LAST_VALUE:
case LEAD:
case LEVEL:
case LIST:
case LISTENER:
case LISTENER_URL:
case LOB_COMPACTION:
case LOCAL:
case LOCATION:
case LOCK:
case LOCK_ESCALATION:
case LOGIN:
case LOOP:
case LOW:
case MANUAL:
case MARK:
case MATERIALIZED:
case MAX:
case MAX_CPU_PERCENT:
case MAX_DOP:
case MAX_FILES:
case MAX_IOPS_PER_VOLUME:
case MAX_MEMORY_PERCENT:
case MAX_PROCESSES:
case MAX_QUEUE_READERS:
case MAX_ROLLOVER_FILES:
case MAXDOP:
case MAXRECURSION:
case MAXSIZE:
case MB:
case MEDIUM:
case MEMORY_OPTIMIZED_DATA:
case MESSAGE:
case MIN:
case MIN_ACTIVE_ROWVERSION:
case MIN_CPU_PERCENT:
case MIN_IOPS_PER_VOLUME:
case MIN_MEMORY_PERCENT:
case MINUTES:
case MIRROR_ADDRESS:
case MIXED_PAGE_ALLOCATION:
case MODE:
case MODIFY:
case MOVE:
case MULTI_USER:
case NAME:
case NESTED_TRIGGERS:
case NEW_ACCOUNT:
case NEW_BROKER:
case NEW_PASSWORD:
case NEXT:
case NO:
case NO_TRUNCATE:
case NO_WAIT:
case NOCOUNT:
case NODES:
case NOEXPAND:
case NON_TRANSACTED_ACCESS:
case NORECOMPUTE:
case NORECOVERY:
case NOWAIT:
case NTILE:
case NUMANODE:
case NUMBER:
case NUMERIC_ROUNDABORT:
case OBJECT:
case OFFLINE:
case OFFSET:
case OLD_ACCOUNT:
case ONLINE:
case ONLY:
case OPEN_EXISTING:
case OPTIMISTIC:
case OPTIMIZE:
case OUT:
case OUTPUT:
case OWNER:
case PAGE_VERIFY:
case PARAMETERIZATION:
case PARTITION:
case PARTITIONS:
case PARTNER:
case PATH:
case POISON_MESSAGE_HANDLING:
case POOL:
case PORT:
case PRECEDING:
case PRIMARY_ROLE:
case PRIOR:
case PRIORITY:
case PRIORITY_LEVEL:
case PRIVATE:
case PRIVATE_KEY:
case PRIVILEGES:
case PROCEDURE_NAME:
case PROPERTY:
case PROVIDER:
case PROVIDER_KEY_NAME:
case QUERY:
case QUEUE:
case QUEUE_DELAY:
case QUOTED_IDENTIFIER:
case RANGE:
case RANK:
case RC2:
case RC4:
case RC4_128:
case READ_COMMITTED_SNAPSHOT:
case READ_ONLY:
case READ_ONLY_ROUTING_LIST:
case READ_WRITE:
case READONLY:
case REBUILD:
case RECEIVE:
case RECOMPILE:
case RECOVERY:
case RECURSIVE_TRIGGERS:
case RELATIVE:
case REMOTE:
case REMOTE_SERVICE_NAME:
case REMOVE:
case REORGANIZE:
case REPEATABLE:
case REPLICA:
case REQUEST_MAX_CPU_TIME_SEC:
case REQUEST_MAX_MEMORY_GRANT_PERCENT:
case REQUEST_MEMORY_GRANT_TIMEOUT_SEC:
case REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT:
case RESERVE_DISK_SPACE:
case RESOURCE:
case RESOURCE_MANAGER_LOCATION:
case RESTRICTED_USER:
case RETENTION:
case ROBUST:
case ROOT:
case ROUTE:
case ROW:
case ROW_NUMBER:
case ROWGUID:
case ROWS:
case SAMPLE:
case SCHEMABINDING:
case SCOPED:
case SCROLL:
case SCROLL_LOCKS:
case SEARCH:
case SECONDARY:
case SECONDARY_ONLY:
case SECONDARY_ROLE:
case SECONDS:
case SECRET:
case SECURITY_LOG:
case SEEDING_MODE:
case SELF:
case SEMI_SENSITIVE:
case SEND:
case SENT:
case SERIALIZABLE:
case SESSION_TIMEOUT:
case SETERROR:
case SHARE:
case SHOWPLAN:
case SIGNATURE:
case SIMPLE:
case SINGLE_USER:
case SIZE:
case SMALLINT:
case SNAPSHOT:
case SPATIAL_WINDOW_MAX_CELLS:
case STANDBY:
case START_DATE:
case STATIC:
case STATS_STREAM:
case STATUS:
case STDEV:
case STDEVP:
case STOPLIST:
case STUFF:
case SUBJECT:
case SUM:
case SUSPEND:
case SYMMETRIC:
case SYNCHRONOUS_COMMIT:
case SYNONYM:
case TAKE:
case TARGET_RECOVERY_TIME:
case TB:
case TEXTIMAGE_ON:
case THROW:
case TIES:
case TIME:
case TIMEOUT:
case TIMER:
case TINYINT:
case TORN_PAGE_DETECTION:
case TRANSFORM_NOISE_WORDS:
case TRIPLE_DES:
case TRIPLE_DES_3KEY:
case TRUSTWORTHY:
case TRY:
case TSQL:
case TWO_DIGIT_YEAR_CUTOFF:
case TYPE:
case TYPE_WARNING:
case UNBOUNDED:
case UNCOMMITTED:
case UNKNOWN:
case UNLIMITED:
case USING:
case VALID_XML:
case VALIDATION:
case VALUE:
case VAR:
case VARP:
case VIEW_METADATA:
case VIEWS:
case WAIT:
case WELL_FORMED_XML:
case WORK:
case WORKLOAD:
case XML:
case XMLNAMESPACES:
case DOUBLE_QUOTE_ID:
case SQUARE_BRACKET_ID:
case ID:
enterOuterAlt(_localctx, 2);
{
setState(1219);
id();
setState(1220);
match(COLON);
setState(1222);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,18,_ctx) ) {
case 1:
{
setState(1221);
match(SEMI);
}
break;
}
}
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 Return_statementContext extends ParserRuleContext {
public TerminalNode RETURN() { return getToken(TSqlParser.RETURN, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode SEMI() { return getToken(TSqlParser.SEMI, 0); }
public Return_statementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_return_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterReturn_statement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitReturn_statement(this);
}
}
public final Return_statementContext return_statement() throws RecognitionException {
Return_statementContext _localctx = new Return_statementContext(_ctx, getState());
enterRule(_localctx, 24, RULE_return_statement);
try {
enterOuterAlt(_localctx, 1);
{
setState(1226);
match(RETURN);
setState(1228);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,20,_ctx) ) {
case 1:
{
setState(1227);
expression(0);
}
break;
}
setState(1231);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,21,_ctx) ) {
case 1:
{
setState(1230);
match(SEMI);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class If_statementContext extends ParserRuleContext {
public TerminalNode IF() { return getToken(TSqlParser.IF, 0); }
public Search_conditionContext search_condition() {
return getRuleContext(Search_conditionContext.class,0);
}
public List sql_clause() {
return getRuleContexts(Sql_clauseContext.class);
}
public Sql_clauseContext sql_clause(int i) {
return getRuleContext(Sql_clauseContext.class,i);
}
public TerminalNode ELSE() { return getToken(TSqlParser.ELSE, 0); }
public TerminalNode SEMI() { return getToken(TSqlParser.SEMI, 0); }
public If_statementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_if_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterIf_statement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitIf_statement(this);
}
}
public final If_statementContext if_statement() throws RecognitionException {
If_statementContext _localctx = new If_statementContext(_ctx, getState());
enterRule(_localctx, 26, RULE_if_statement);
try {
enterOuterAlt(_localctx, 1);
{
setState(1233);
match(IF);
setState(1234);
search_condition();
setState(1235);
sql_clause();
setState(1238);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,22,_ctx) ) {
case 1:
{
setState(1236);
match(ELSE);
setState(1237);
sql_clause();
}
break;
}
setState(1241);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,23,_ctx) ) {
case 1:
{
setState(1240);
match(SEMI);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Throw_statementContext extends ParserRuleContext {
public TerminalNode THROW() { return getToken(TSqlParser.THROW, 0); }
public Throw_error_numberContext throw_error_number() {
return getRuleContext(Throw_error_numberContext.class,0);
}
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public Throw_messageContext throw_message() {
return getRuleContext(Throw_messageContext.class,0);
}
public Throw_stateContext throw_state() {
return getRuleContext(Throw_stateContext.class,0);
}
public TerminalNode SEMI() { return getToken(TSqlParser.SEMI, 0); }
public Throw_statementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_throw_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterThrow_statement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitThrow_statement(this);
}
}
public final Throw_statementContext throw_statement() throws RecognitionException {
Throw_statementContext _localctx = new Throw_statementContext(_ctx, getState());
enterRule(_localctx, 28, RULE_throw_statement);
try {
enterOuterAlt(_localctx, 1);
{
setState(1243);
match(THROW);
setState(1250);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,24,_ctx) ) {
case 1:
{
setState(1244);
throw_error_number();
setState(1245);
match(COMMA);
setState(1246);
throw_message();
setState(1247);
match(COMMA);
setState(1248);
throw_state();
}
break;
}
setState(1253);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,25,_ctx) ) {
case 1:
{
setState(1252);
match(SEMI);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Throw_error_numberContext extends ParserRuleContext {
public TerminalNode DECIMAL() { return getToken(TSqlParser.DECIMAL, 0); }
public TerminalNode LOCAL_ID() { return getToken(TSqlParser.LOCAL_ID, 0); }
public Throw_error_numberContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_throw_error_number; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterThrow_error_number(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitThrow_error_number(this);
}
}
public final Throw_error_numberContext throw_error_number() throws RecognitionException {
Throw_error_numberContext _localctx = new Throw_error_numberContext(_ctx, getState());
enterRule(_localctx, 30, RULE_throw_error_number);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1255);
_la = _input.LA(1);
if ( !(_la==LOCAL_ID || _la==DECIMAL) ) {
_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 Throw_messageContext extends ParserRuleContext {
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public TerminalNode LOCAL_ID() { return getToken(TSqlParser.LOCAL_ID, 0); }
public Throw_messageContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_throw_message; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterThrow_message(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitThrow_message(this);
}
}
public final Throw_messageContext throw_message() throws RecognitionException {
Throw_messageContext _localctx = new Throw_messageContext(_ctx, getState());
enterRule(_localctx, 32, RULE_throw_message);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1257);
_la = _input.LA(1);
if ( !(_la==LOCAL_ID || _la==STRING) ) {
_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 Throw_stateContext extends ParserRuleContext {
public TerminalNode DECIMAL() { return getToken(TSqlParser.DECIMAL, 0); }
public TerminalNode LOCAL_ID() { return getToken(TSqlParser.LOCAL_ID, 0); }
public Throw_stateContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_throw_state; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterThrow_state(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitThrow_state(this);
}
}
public final Throw_stateContext throw_state() throws RecognitionException {
Throw_stateContext _localctx = new Throw_stateContext(_ctx, getState());
enterRule(_localctx, 34, RULE_throw_state);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1259);
_la = _input.LA(1);
if ( !(_la==LOCAL_ID || _la==DECIMAL) ) {
_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 Try_catch_statementContext extends ParserRuleContext {
public Sql_clausesContext try_clauses;
public Sql_clausesContext catch_clauses;
public List BEGIN() { return getTokens(TSqlParser.BEGIN); }
public TerminalNode BEGIN(int i) {
return getToken(TSqlParser.BEGIN, i);
}
public List TRY() { return getTokens(TSqlParser.TRY); }
public TerminalNode TRY(int i) {
return getToken(TSqlParser.TRY, i);
}
public List END() { return getTokens(TSqlParser.END); }
public TerminalNode END(int i) {
return getToken(TSqlParser.END, i);
}
public List CATCH() { return getTokens(TSqlParser.CATCH); }
public TerminalNode CATCH(int i) {
return getToken(TSqlParser.CATCH, i);
}
public List SEMI() { return getTokens(TSqlParser.SEMI); }
public TerminalNode SEMI(int i) {
return getToken(TSqlParser.SEMI, i);
}
public List sql_clauses() {
return getRuleContexts(Sql_clausesContext.class);
}
public Sql_clausesContext sql_clauses(int i) {
return getRuleContext(Sql_clausesContext.class,i);
}
public Try_catch_statementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_try_catch_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterTry_catch_statement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitTry_catch_statement(this);
}
}
public final Try_catch_statementContext try_catch_statement() throws RecognitionException {
Try_catch_statementContext _localctx = new Try_catch_statementContext(_ctx, getState());
enterRule(_localctx, 36, RULE_try_catch_statement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1261);
match(BEGIN);
setState(1262);
match(TRY);
setState(1264);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,26,_ctx) ) {
case 1:
{
setState(1263);
match(SEMI);
}
break;
}
setState(1267);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,27,_ctx) ) {
case 1:
{
setState(1266);
((Try_catch_statementContext)_localctx).try_clauses = sql_clauses();
}
break;
}
setState(1269);
match(END);
setState(1270);
match(TRY);
setState(1272);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==SEMI) {
{
setState(1271);
match(SEMI);
}
}
setState(1274);
match(BEGIN);
setState(1275);
match(CATCH);
setState(1277);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,29,_ctx) ) {
case 1:
{
setState(1276);
match(SEMI);
}
break;
}
setState(1280);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,30,_ctx) ) {
case 1:
{
setState(1279);
((Try_catch_statementContext)_localctx).catch_clauses = sql_clauses();
}
break;
}
setState(1282);
match(END);
setState(1283);
match(CATCH);
setState(1285);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,31,_ctx) ) {
case 1:
{
setState(1284);
match(SEMI);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Waitfor_statementContext extends ParserRuleContext {
public TerminalNode WAITFOR() { return getToken(TSqlParser.WAITFOR, 0); }
public Receive_statementContext receive_statement() {
return getRuleContext(Receive_statementContext.class,0);
}
public TerminalNode COMMA() { return getToken(TSqlParser.COMMA, 0); }
public TimeContext time() {
return getRuleContext(TimeContext.class,0);
}
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode SEMI() { return getToken(TSqlParser.SEMI, 0); }
public TerminalNode DELAY() { return getToken(TSqlParser.DELAY, 0); }
public TerminalNode TIME() { return getToken(TSqlParser.TIME, 0); }
public TerminalNode TIMEOUT() { return getToken(TSqlParser.TIMEOUT, 0); }
public Waitfor_statementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_waitfor_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterWaitfor_statement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitWaitfor_statement(this);
}
}
public final Waitfor_statementContext waitfor_statement() throws RecognitionException {
Waitfor_statementContext _localctx = new Waitfor_statementContext(_ctx, getState());
enterRule(_localctx, 38, RULE_waitfor_statement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1287);
match(WAITFOR);
setState(1289);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,32,_ctx) ) {
case 1:
{
setState(1288);
receive_statement();
}
break;
}
setState(1292);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1291);
match(COMMA);
}
}
setState(1296);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,34,_ctx) ) {
case 1:
{
setState(1294);
_la = _input.LA(1);
if ( !(_la==DELAY || _la==TIME || _la==TIMEOUT) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(1295);
time();
}
break;
}
setState(1299);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,35,_ctx) ) {
case 1:
{
setState(1298);
expression(0);
}
break;
}
setState(1302);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,36,_ctx) ) {
case 1:
{
setState(1301);
match(SEMI);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class While_statementContext extends ParserRuleContext {
public TerminalNode WHILE() { return getToken(TSqlParser.WHILE, 0); }
public Search_conditionContext search_condition() {
return getRuleContext(Search_conditionContext.class,0);
}
public Sql_clauseContext sql_clause() {
return getRuleContext(Sql_clauseContext.class,0);
}
public TerminalNode BREAK() { return getToken(TSqlParser.BREAK, 0); }
public TerminalNode CONTINUE() { return getToken(TSqlParser.CONTINUE, 0); }
public TerminalNode SEMI() { return getToken(TSqlParser.SEMI, 0); }
public While_statementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_while_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterWhile_statement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitWhile_statement(this);
}
}
public final While_statementContext while_statement() throws RecognitionException {
While_statementContext _localctx = new While_statementContext(_ctx, getState());
enterRule(_localctx, 40, RULE_while_statement);
try {
enterOuterAlt(_localctx, 1);
{
setState(1304);
match(WHILE);
setState(1305);
search_condition();
setState(1315);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,39,_ctx) ) {
case 1:
{
setState(1306);
sql_clause();
}
break;
case 2:
{
setState(1307);
match(BREAK);
setState(1309);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,37,_ctx) ) {
case 1:
{
setState(1308);
match(SEMI);
}
break;
}
}
break;
case 3:
{
setState(1311);
match(CONTINUE);
setState(1313);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,38,_ctx) ) {
case 1:
{
setState(1312);
match(SEMI);
}
break;
}
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Print_statementContext extends ParserRuleContext {
public TerminalNode PRINT() { return getToken(TSqlParser.PRINT, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode DOUBLE_QUOTE_ID() { return getToken(TSqlParser.DOUBLE_QUOTE_ID, 0); }
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public List LOCAL_ID() { return getTokens(TSqlParser.LOCAL_ID); }
public TerminalNode LOCAL_ID(int i) {
return getToken(TSqlParser.LOCAL_ID, i);
}
public TerminalNode SEMI() { return getToken(TSqlParser.SEMI, 0); }
public Print_statementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_print_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterPrint_statement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitPrint_statement(this);
}
}
public final Print_statementContext print_statement() throws RecognitionException {
Print_statementContext _localctx = new Print_statementContext(_ctx, getState());
enterRule(_localctx, 42, RULE_print_statement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1317);
match(PRINT);
setState(1320);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,40,_ctx) ) {
case 1:
{
setState(1318);
expression(0);
}
break;
case 2:
{
setState(1319);
match(DOUBLE_QUOTE_ID);
}
break;
}
setState(1326);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1322);
match(COMMA);
setState(1323);
match(LOCAL_ID);
}
}
setState(1328);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1330);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,42,_ctx) ) {
case 1:
{
setState(1329);
match(SEMI);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Raiseerror_statementContext extends ParserRuleContext {
public Token msg;
public Constant_LOCAL_IDContext severity;
public Constant_LOCAL_IDContext state;
public Token formatstring;
public Token argument;
public TerminalNode RAISERROR() { return getToken(TSqlParser.RAISERROR, 0); }
public TerminalNode LR_BRACKET() { return getToken(TSqlParser.LR_BRACKET, 0); }
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public TerminalNode RR_BRACKET() { return getToken(TSqlParser.RR_BRACKET, 0); }
public List constant_LOCAL_ID() {
return getRuleContexts(Constant_LOCAL_IDContext.class);
}
public Constant_LOCAL_IDContext constant_LOCAL_ID(int i) {
return getRuleContext(Constant_LOCAL_IDContext.class,i);
}
public List DECIMAL() { return getTokens(TSqlParser.DECIMAL); }
public TerminalNode DECIMAL(int i) {
return getToken(TSqlParser.DECIMAL, i);
}
public List STRING() { return getTokens(TSqlParser.STRING); }
public TerminalNode STRING(int i) {
return getToken(TSqlParser.STRING, i);
}
public List LOCAL_ID() { return getTokens(TSqlParser.LOCAL_ID); }
public TerminalNode LOCAL_ID(int i) {
return getToken(TSqlParser.LOCAL_ID, i);
}
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode SEMI() { return getToken(TSqlParser.SEMI, 0); }
public TerminalNode LOG() { return getToken(TSqlParser.LOG, 0); }
public TerminalNode SETERROR() { return getToken(TSqlParser.SETERROR, 0); }
public TerminalNode DOUBLE_QUOTE_ID() { return getToken(TSqlParser.DOUBLE_QUOTE_ID, 0); }
public Raiseerror_statementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_raiseerror_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterRaiseerror_statement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitRaiseerror_statement(this);
}
}
public final Raiseerror_statementContext raiseerror_statement() throws RecognitionException {
Raiseerror_statementContext _localctx = new Raiseerror_statementContext(_ctx, getState());
enterRule(_localctx, 44, RULE_raiseerror_statement);
int _la;
try {
setState(1364);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,47,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1332);
match(RAISERROR);
setState(1333);
match(LR_BRACKET);
setState(1334);
((Raiseerror_statementContext)_localctx).msg = _input.LT(1);
_la = _input.LA(1);
if ( !(((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (LOCAL_ID - 793)) | (1L << (DECIMAL - 793)) | (1L << (STRING - 793)))) != 0)) ) {
((Raiseerror_statementContext)_localctx).msg = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(1335);
match(COMMA);
setState(1336);
((Raiseerror_statementContext)_localctx).severity = constant_LOCAL_ID();
setState(1337);
match(COMMA);
setState(1338);
((Raiseerror_statementContext)_localctx).state = constant_LOCAL_ID();
setState(1343);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1339);
match(COMMA);
setState(1340);
constant_LOCAL_ID();
}
}
setState(1345);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1346);
match(RR_BRACKET);
setState(1349);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,44,_ctx) ) {
case 1:
{
setState(1347);
match(WITH);
setState(1348);
_la = _input.LA(1);
if ( !(_la==LOG || _la==SETERROR) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
setState(1352);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,45,_ctx) ) {
case 1:
{
setState(1351);
match(SEMI);
}
break;
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1354);
match(RAISERROR);
setState(1355);
match(DECIMAL);
setState(1356);
((Raiseerror_statementContext)_localctx).formatstring = _input.LT(1);
_la = _input.LA(1);
if ( !(((((_la - 790)) & ~0x3f) == 0 && ((1L << (_la - 790)) & ((1L << (DOUBLE_QUOTE_ID - 790)) | (1L << (LOCAL_ID - 790)) | (1L << (STRING - 790)))) != 0)) ) {
((Raiseerror_statementContext)_localctx).formatstring = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(1361);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1357);
match(COMMA);
setState(1358);
((Raiseerror_statementContext)_localctx).argument = _input.LT(1);
_la = _input.LA(1);
if ( !(((((_la - 793)) & ~0x3f) == 0 && ((1L << (_la - 793)) & ((1L << (LOCAL_ID - 793)) | (1L << (DECIMAL - 793)) | (1L << (STRING - 793)))) != 0)) ) {
((Raiseerror_statementContext)_localctx).argument = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(1363);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Empty_statementContext extends ParserRuleContext {
public TerminalNode SEMI() { return getToken(TSqlParser.SEMI, 0); }
public Empty_statementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_empty_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterEmpty_statement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitEmpty_statement(this);
}
}
public final Empty_statementContext empty_statement() throws RecognitionException {
Empty_statementContext _localctx = new Empty_statementContext(_ctx, getState());
enterRule(_localctx, 46, RULE_empty_statement);
try {
enterOuterAlt(_localctx, 1);
{
setState(1366);
match(SEMI);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Another_statementContext extends ParserRuleContext {
public Declare_statementContext declare_statement() {
return getRuleContext(Declare_statementContext.class,0);
}
public Cursor_statementContext cursor_statement() {
return getRuleContext(Cursor_statementContext.class,0);
}
public Conversation_statementContext conversation_statement() {
return getRuleContext(Conversation_statementContext.class,0);
}
public Create_contractContext create_contract() {
return getRuleContext(Create_contractContext.class,0);
}
public Create_queueContext create_queue() {
return getRuleContext(Create_queueContext.class,0);
}
public Alter_queueContext alter_queue() {
return getRuleContext(Alter_queueContext.class,0);
}
public Execute_statementContext execute_statement() {
return getRuleContext(Execute_statementContext.class,0);
}
public Message_statementContext message_statement() {
return getRuleContext(Message_statementContext.class,0);
}
public Security_statementContext security_statement() {
return getRuleContext(Security_statementContext.class,0);
}
public Set_statementContext set_statement() {
return getRuleContext(Set_statementContext.class,0);
}
public Transaction_statementContext transaction_statement() {
return getRuleContext(Transaction_statementContext.class,0);
}
public Use_statementContext use_statement() {
return getRuleContext(Use_statementContext.class,0);
}
public Setuser_statementContext setuser_statement() {
return getRuleContext(Setuser_statementContext.class,0);
}
public Another_statementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_another_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAnother_statement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAnother_statement(this);
}
}
public final Another_statementContext another_statement() throws RecognitionException {
Another_statementContext _localctx = new Another_statementContext(_ctx, getState());
enterRule(_localctx, 48, RULE_another_statement);
try {
setState(1381);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,48,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1368);
declare_statement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1369);
cursor_statement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1370);
conversation_statement();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1371);
create_contract();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(1372);
create_queue();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(1373);
alter_queue();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(1374);
execute_statement();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(1375);
message_statement();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(1376);
security_statement();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(1377);
set_statement();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(1378);
transaction_statement();
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(1379);
use_statement();
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(1380);
setuser_statement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_application_roleContext extends ParserRuleContext {
public IdContext appliction_role;
public IdContext new_application_role_name;
public Token application_role_password;
public IdContext app_role_default_schema;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode APPLICATION() { return getToken(TSqlParser.APPLICATION, 0); }
public TerminalNode ROLE() { return getToken(TSqlParser.ROLE, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode NAME() { return getToken(TSqlParser.NAME, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public TerminalNode PASSWORD() { return getToken(TSqlParser.PASSWORD, 0); }
public TerminalNode DEFAULT_SCHEMA() { return getToken(TSqlParser.DEFAULT_SCHEMA, 0); }
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public Alter_application_roleContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_application_role; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_application_role(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_application_role(this);
}
}
public final Alter_application_roleContext alter_application_role() throws RecognitionException {
Alter_application_roleContext _localctx = new Alter_application_roleContext(_ctx, getState());
enterRule(_localctx, 50, RULE_alter_application_role);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1383);
match(ALTER);
setState(1384);
match(APPLICATION);
setState(1385);
match(ROLE);
setState(1386);
((Alter_application_roleContext)_localctx).appliction_role = id();
setState(1387);
match(WITH);
setState(1394);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,50,_ctx) ) {
case 1:
{
setState(1389);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1388);
match(COMMA);
}
}
setState(1391);
match(NAME);
setState(1392);
match(EQUAL);
setState(1393);
((Alter_application_roleContext)_localctx).new_application_role_name = id();
}
break;
}
setState(1402);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,52,_ctx) ) {
case 1:
{
setState(1397);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1396);
match(COMMA);
}
}
setState(1399);
match(PASSWORD);
setState(1400);
match(EQUAL);
setState(1401);
((Alter_application_roleContext)_localctx).application_role_password = match(STRING);
}
break;
}
setState(1410);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT_SCHEMA || _la==COMMA) {
{
setState(1405);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1404);
match(COMMA);
}
}
setState(1407);
match(DEFAULT_SCHEMA);
setState(1408);
match(EQUAL);
setState(1409);
((Alter_application_roleContext)_localctx).app_role_default_schema = id();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Create_application_roleContext extends ParserRuleContext {
public IdContext appliction_role;
public Token application_role_password;
public IdContext app_role_default_schema;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode APPLICATION() { return getToken(TSqlParser.APPLICATION, 0); }
public TerminalNode ROLE() { return getToken(TSqlParser.ROLE, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode PASSWORD() { return getToken(TSqlParser.PASSWORD, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public TerminalNode DEFAULT_SCHEMA() { return getToken(TSqlParser.DEFAULT_SCHEMA, 0); }
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public Create_application_roleContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_application_role; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_application_role(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_application_role(this);
}
}
public final Create_application_roleContext create_application_role() throws RecognitionException {
Create_application_roleContext _localctx = new Create_application_roleContext(_ctx, getState());
enterRule(_localctx, 52, RULE_create_application_role);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1412);
match(CREATE);
setState(1413);
match(APPLICATION);
setState(1414);
match(ROLE);
setState(1415);
((Create_application_roleContext)_localctx).appliction_role = id();
setState(1416);
match(WITH);
setState(1423);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,56,_ctx) ) {
case 1:
{
setState(1418);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1417);
match(COMMA);
}
}
setState(1420);
match(PASSWORD);
setState(1421);
match(EQUAL);
setState(1422);
((Create_application_roleContext)_localctx).application_role_password = match(STRING);
}
break;
}
setState(1431);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT_SCHEMA || _la==COMMA) {
{
setState(1426);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1425);
match(COMMA);
}
}
setState(1428);
match(DEFAULT_SCHEMA);
setState(1429);
match(EQUAL);
setState(1430);
((Create_application_roleContext)_localctx).app_role_default_schema = id();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_aggregateContext extends ParserRuleContext {
public IdContext schema_name;
public IdContext aggregate_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode AGGREGATE() { return getToken(TSqlParser.AGGREGATE, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode IF() { return getToken(TSqlParser.IF, 0); }
public TerminalNode EXISTS() { return getToken(TSqlParser.EXISTS, 0); }
public TerminalNode DOT() { return getToken(TSqlParser.DOT, 0); }
public Drop_aggregateContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_aggregate; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_aggregate(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_aggregate(this);
}
}
public final Drop_aggregateContext drop_aggregate() throws RecognitionException {
Drop_aggregateContext _localctx = new Drop_aggregateContext(_ctx, getState());
enterRule(_localctx, 54, RULE_drop_aggregate);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1433);
match(DROP);
setState(1434);
match(AGGREGATE);
setState(1437);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(1435);
match(IF);
setState(1436);
match(EXISTS);
}
}
setState(1442);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,60,_ctx) ) {
case 1:
{
setState(1439);
((Drop_aggregateContext)_localctx).schema_name = id();
setState(1440);
match(DOT);
}
break;
}
setState(1444);
((Drop_aggregateContext)_localctx).aggregate_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_application_roleContext extends ParserRuleContext {
public IdContext rolename;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode APPLICATION() { return getToken(TSqlParser.APPLICATION, 0); }
public TerminalNode ROLE() { return getToken(TSqlParser.ROLE, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_application_roleContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_application_role; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_application_role(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_application_role(this);
}
}
public final Drop_application_roleContext drop_application_role() throws RecognitionException {
Drop_application_roleContext _localctx = new Drop_application_roleContext(_ctx, getState());
enterRule(_localctx, 56, RULE_drop_application_role);
try {
enterOuterAlt(_localctx, 1);
{
setState(1446);
match(DROP);
setState(1447);
match(APPLICATION);
setState(1448);
match(ROLE);
setState(1449);
((Drop_application_roleContext)_localctx).rolename = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_assemblyContext extends ParserRuleContext {
public IdContext assembly_name;
public Alter_assembly_startContext alter_assembly_start() {
return getRuleContext(Alter_assembly_startContext.class,0);
}
public Alter_assembly_clauseContext alter_assembly_clause() {
return getRuleContext(Alter_assembly_clauseContext.class,0);
}
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Alter_assemblyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_assembly; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_assembly(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_assembly(this);
}
}
public final Alter_assemblyContext alter_assembly() throws RecognitionException {
Alter_assemblyContext _localctx = new Alter_assemblyContext(_ctx, getState());
enterRule(_localctx, 58, RULE_alter_assembly);
try {
enterOuterAlt(_localctx, 1);
{
setState(1451);
alter_assembly_start();
setState(1452);
((Alter_assemblyContext)_localctx).assembly_name = id();
setState(1453);
alter_assembly_clause();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_assembly_startContext extends ParserRuleContext {
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode ASSEMBLY() { return getToken(TSqlParser.ASSEMBLY, 0); }
public Alter_assembly_startContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_assembly_start; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_assembly_start(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_assembly_start(this);
}
}
public final Alter_assembly_startContext alter_assembly_start() throws RecognitionException {
Alter_assembly_startContext _localctx = new Alter_assembly_startContext(_ctx, getState());
enterRule(_localctx, 60, RULE_alter_assembly_start);
try {
enterOuterAlt(_localctx, 1);
{
setState(1455);
match(ALTER);
setState(1456);
match(ASSEMBLY);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_assembly_clauseContext extends ParserRuleContext {
public Alter_assembly_from_clauseContext alter_assembly_from_clause() {
return getRuleContext(Alter_assembly_from_clauseContext.class,0);
}
public Alter_assembly_with_clauseContext alter_assembly_with_clause() {
return getRuleContext(Alter_assembly_with_clauseContext.class,0);
}
public Alter_assembly_drop_clauseContext alter_assembly_drop_clause() {
return getRuleContext(Alter_assembly_drop_clauseContext.class,0);
}
public Alter_assembly_add_clauseContext alter_assembly_add_clause() {
return getRuleContext(Alter_assembly_add_clauseContext.class,0);
}
public Alter_assembly_clauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_assembly_clause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_assembly_clause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_assembly_clause(this);
}
}
public final Alter_assembly_clauseContext alter_assembly_clause() throws RecognitionException {
Alter_assembly_clauseContext _localctx = new Alter_assembly_clauseContext(_ctx, getState());
enterRule(_localctx, 62, RULE_alter_assembly_clause);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1459);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FROM) {
{
setState(1458);
alter_assembly_from_clause();
}
}
setState(1462);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,62,_ctx) ) {
case 1:
{
setState(1461);
alter_assembly_with_clause();
}
break;
}
setState(1465);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,63,_ctx) ) {
case 1:
{
setState(1464);
alter_assembly_drop_clause();
}
break;
}
setState(1468);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ADD) {
{
setState(1467);
alter_assembly_add_clause();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_assembly_from_clauseContext extends ParserRuleContext {
public Alter_assembly_from_clause_startContext alter_assembly_from_clause_start() {
return getRuleContext(Alter_assembly_from_clause_startContext.class,0);
}
public Client_assembly_specifierContext client_assembly_specifier() {
return getRuleContext(Client_assembly_specifierContext.class,0);
}
public Alter_assembly_file_bitsContext alter_assembly_file_bits() {
return getRuleContext(Alter_assembly_file_bitsContext.class,0);
}
public Alter_assembly_from_clauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_assembly_from_clause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_assembly_from_clause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_assembly_from_clause(this);
}
}
public final Alter_assembly_from_clauseContext alter_assembly_from_clause() throws RecognitionException {
Alter_assembly_from_clauseContext _localctx = new Alter_assembly_from_clauseContext(_ctx, getState());
enterRule(_localctx, 64, RULE_alter_assembly_from_clause);
try {
enterOuterAlt(_localctx, 1);
{
setState(1470);
alter_assembly_from_clause_start();
setState(1473);
_errHandler.sync(this);
switch (_input.LA(1)) {
case DOUBLE_BACK_SLASH:
case DISK_DRIVE:
case STRING:
{
setState(1471);
client_assembly_specifier();
}
break;
case AS:
{
setState(1472);
alter_assembly_file_bits();
}
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 Alter_assembly_from_clause_startContext extends ParserRuleContext {
public TerminalNode FROM() { return getToken(TSqlParser.FROM, 0); }
public Alter_assembly_from_clause_startContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_assembly_from_clause_start; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_assembly_from_clause_start(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_assembly_from_clause_start(this);
}
}
public final Alter_assembly_from_clause_startContext alter_assembly_from_clause_start() throws RecognitionException {
Alter_assembly_from_clause_startContext _localctx = new Alter_assembly_from_clause_startContext(_ctx, getState());
enterRule(_localctx, 66, RULE_alter_assembly_from_clause_start);
try {
enterOuterAlt(_localctx, 1);
{
setState(1475);
match(FROM);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_assembly_drop_clauseContext extends ParserRuleContext {
public Alter_assembly_dropContext alter_assembly_drop() {
return getRuleContext(Alter_assembly_dropContext.class,0);
}
public Alter_assembly_drop_multiple_filesContext alter_assembly_drop_multiple_files() {
return getRuleContext(Alter_assembly_drop_multiple_filesContext.class,0);
}
public Alter_assembly_drop_clauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_assembly_drop_clause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_assembly_drop_clause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_assembly_drop_clause(this);
}
}
public final Alter_assembly_drop_clauseContext alter_assembly_drop_clause() throws RecognitionException {
Alter_assembly_drop_clauseContext _localctx = new Alter_assembly_drop_clauseContext(_ctx, getState());
enterRule(_localctx, 68, RULE_alter_assembly_drop_clause);
try {
enterOuterAlt(_localctx, 1);
{
setState(1477);
alter_assembly_drop();
setState(1478);
alter_assembly_drop_multiple_files();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_assembly_drop_multiple_filesContext extends ParserRuleContext {
public TerminalNode ALL() { return getToken(TSqlParser.ALL, 0); }
public Multiple_local_filesContext multiple_local_files() {
return getRuleContext(Multiple_local_filesContext.class,0);
}
public Alter_assembly_drop_multiple_filesContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_assembly_drop_multiple_files; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_assembly_drop_multiple_files(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_assembly_drop_multiple_files(this);
}
}
public final Alter_assembly_drop_multiple_filesContext alter_assembly_drop_multiple_files() throws RecognitionException {
Alter_assembly_drop_multiple_filesContext _localctx = new Alter_assembly_drop_multiple_filesContext(_ctx, getState());
enterRule(_localctx, 70, RULE_alter_assembly_drop_multiple_files);
try {
setState(1482);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ALL:
enterOuterAlt(_localctx, 1);
{
setState(1480);
match(ALL);
}
break;
case DISK_DRIVE:
case SINGLE_QUOTE:
enterOuterAlt(_localctx, 2);
{
setState(1481);
multiple_local_files();
}
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 Alter_assembly_dropContext extends ParserRuleContext {
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public Alter_assembly_dropContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_assembly_drop; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_assembly_drop(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_assembly_drop(this);
}
}
public final Alter_assembly_dropContext alter_assembly_drop() throws RecognitionException {
Alter_assembly_dropContext _localctx = new Alter_assembly_dropContext(_ctx, getState());
enterRule(_localctx, 72, RULE_alter_assembly_drop);
try {
enterOuterAlt(_localctx, 1);
{
setState(1484);
match(DROP);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_assembly_add_clauseContext extends ParserRuleContext {
public Alter_asssembly_add_clause_startContext alter_asssembly_add_clause_start() {
return getRuleContext(Alter_asssembly_add_clause_startContext.class,0);
}
public Alter_assembly_client_file_clauseContext alter_assembly_client_file_clause() {
return getRuleContext(Alter_assembly_client_file_clauseContext.class,0);
}
public Alter_assembly_add_clauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_assembly_add_clause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_assembly_add_clause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_assembly_add_clause(this);
}
}
public final Alter_assembly_add_clauseContext alter_assembly_add_clause() throws RecognitionException {
Alter_assembly_add_clauseContext _localctx = new Alter_assembly_add_clauseContext(_ctx, getState());
enterRule(_localctx, 74, RULE_alter_assembly_add_clause);
try {
enterOuterAlt(_localctx, 1);
{
setState(1486);
alter_asssembly_add_clause_start();
setState(1487);
alter_assembly_client_file_clause();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_asssembly_add_clause_startContext extends ParserRuleContext {
public TerminalNode ADD() { return getToken(TSqlParser.ADD, 0); }
public TerminalNode FILE() { return getToken(TSqlParser.FILE, 0); }
public TerminalNode FROM() { return getToken(TSqlParser.FROM, 0); }
public Alter_asssembly_add_clause_startContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_asssembly_add_clause_start; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_asssembly_add_clause_start(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_asssembly_add_clause_start(this);
}
}
public final Alter_asssembly_add_clause_startContext alter_asssembly_add_clause_start() throws RecognitionException {
Alter_asssembly_add_clause_startContext _localctx = new Alter_asssembly_add_clause_startContext(_ctx, getState());
enterRule(_localctx, 76, RULE_alter_asssembly_add_clause_start);
try {
enterOuterAlt(_localctx, 1);
{
setState(1489);
match(ADD);
setState(1490);
match(FILE);
setState(1491);
match(FROM);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_assembly_client_file_clauseContext extends ParserRuleContext {
public Alter_assembly_file_nameContext alter_assembly_file_name() {
return getRuleContext(Alter_assembly_file_nameContext.class,0);
}
public Alter_assembly_asContext alter_assembly_as() {
return getRuleContext(Alter_assembly_asContext.class,0);
}
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Alter_assembly_client_file_clauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_assembly_client_file_clause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_assembly_client_file_clause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_assembly_client_file_clause(this);
}
}
public final Alter_assembly_client_file_clauseContext alter_assembly_client_file_clause() throws RecognitionException {
Alter_assembly_client_file_clauseContext _localctx = new Alter_assembly_client_file_clauseContext(_ctx, getState());
enterRule(_localctx, 78, RULE_alter_assembly_client_file_clause);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1493);
alter_assembly_file_name();
setState(1497);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(1494);
alter_assembly_as();
setState(1495);
id();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_assembly_file_nameContext extends ParserRuleContext {
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public Alter_assembly_file_nameContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_assembly_file_name; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_assembly_file_name(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_assembly_file_name(this);
}
}
public final Alter_assembly_file_nameContext alter_assembly_file_name() throws RecognitionException {
Alter_assembly_file_nameContext _localctx = new Alter_assembly_file_nameContext(_ctx, getState());
enterRule(_localctx, 80, RULE_alter_assembly_file_name);
try {
enterOuterAlt(_localctx, 1);
{
setState(1499);
match(STRING);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_assembly_file_bitsContext extends ParserRuleContext {
public Alter_assembly_asContext alter_assembly_as() {
return getRuleContext(Alter_assembly_asContext.class,0);
}
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Alter_assembly_file_bitsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_assembly_file_bits; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_assembly_file_bits(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_assembly_file_bits(this);
}
}
public final Alter_assembly_file_bitsContext alter_assembly_file_bits() throws RecognitionException {
Alter_assembly_file_bitsContext _localctx = new Alter_assembly_file_bitsContext(_ctx, getState());
enterRule(_localctx, 82, RULE_alter_assembly_file_bits);
try {
enterOuterAlt(_localctx, 1);
{
setState(1501);
alter_assembly_as();
setState(1502);
id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_assembly_asContext extends ParserRuleContext {
public TerminalNode AS() { return getToken(TSqlParser.AS, 0); }
public Alter_assembly_asContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_assembly_as; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_assembly_as(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_assembly_as(this);
}
}
public final Alter_assembly_asContext alter_assembly_as() throws RecognitionException {
Alter_assembly_asContext _localctx = new Alter_assembly_asContext(_ctx, getState());
enterRule(_localctx, 84, RULE_alter_assembly_as);
try {
enterOuterAlt(_localctx, 1);
{
setState(1504);
match(AS);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_assembly_with_clauseContext extends ParserRuleContext {
public Alter_assembly_withContext alter_assembly_with() {
return getRuleContext(Alter_assembly_withContext.class,0);
}
public Assembly_optionContext assembly_option() {
return getRuleContext(Assembly_optionContext.class,0);
}
public Alter_assembly_with_clauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_assembly_with_clause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_assembly_with_clause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_assembly_with_clause(this);
}
}
public final Alter_assembly_with_clauseContext alter_assembly_with_clause() throws RecognitionException {
Alter_assembly_with_clauseContext _localctx = new Alter_assembly_with_clauseContext(_ctx, getState());
enterRule(_localctx, 86, RULE_alter_assembly_with_clause);
try {
enterOuterAlt(_localctx, 1);
{
setState(1506);
alter_assembly_with();
setState(1507);
assembly_option(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_assembly_withContext extends ParserRuleContext {
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public Alter_assembly_withContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_assembly_with; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_assembly_with(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_assembly_with(this);
}
}
public final Alter_assembly_withContext alter_assembly_with() throws RecognitionException {
Alter_assembly_withContext _localctx = new Alter_assembly_withContext(_ctx, getState());
enterRule(_localctx, 88, RULE_alter_assembly_with);
try {
enterOuterAlt(_localctx, 1);
{
setState(1509);
match(WITH);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Client_assembly_specifierContext extends ParserRuleContext {
public Network_file_shareContext network_file_share() {
return getRuleContext(Network_file_shareContext.class,0);
}
public Local_fileContext local_file() {
return getRuleContext(Local_fileContext.class,0);
}
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public Client_assembly_specifierContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_client_assembly_specifier; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterClient_assembly_specifier(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitClient_assembly_specifier(this);
}
}
public final Client_assembly_specifierContext client_assembly_specifier() throws RecognitionException {
Client_assembly_specifierContext _localctx = new Client_assembly_specifierContext(_ctx, getState());
enterRule(_localctx, 90, RULE_client_assembly_specifier);
try {
setState(1514);
_errHandler.sync(this);
switch (_input.LA(1)) {
case DOUBLE_BACK_SLASH:
enterOuterAlt(_localctx, 1);
{
setState(1511);
network_file_share();
}
break;
case DISK_DRIVE:
enterOuterAlt(_localctx, 2);
{
setState(1512);
local_file();
}
break;
case STRING:
enterOuterAlt(_localctx, 3);
{
setState(1513);
match(STRING);
}
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 Assembly_optionContext extends ParserRuleContext {
public TerminalNode PERMISSION_SET() { return getToken(TSqlParser.PERMISSION_SET, 0); }
public TerminalNode EQUAL() { return getToken(TSqlParser.EQUAL, 0); }
public TerminalNode SAFE() { return getToken(TSqlParser.SAFE, 0); }
public TerminalNode EXTERNAL_ACCESS() { return getToken(TSqlParser.EXTERNAL_ACCESS, 0); }
public TerminalNode UNSAFE() { return getToken(TSqlParser.UNSAFE, 0); }
public TerminalNode VISIBILITY() { return getToken(TSqlParser.VISIBILITY, 0); }
public TerminalNode ON() { return getToken(TSqlParser.ON, 0); }
public TerminalNode OFF() { return getToken(TSqlParser.OFF, 0); }
public TerminalNode UNCHECKED() { return getToken(TSqlParser.UNCHECKED, 0); }
public TerminalNode DATA() { return getToken(TSqlParser.DATA, 0); }
public Assembly_optionContext assembly_option() {
return getRuleContext(Assembly_optionContext.class,0);
}
public TerminalNode COMMA() { return getToken(TSqlParser.COMMA, 0); }
public Assembly_optionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_assembly_option; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAssembly_option(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAssembly_option(this);
}
}
public final Assembly_optionContext assembly_option() throws RecognitionException {
return assembly_option(0);
}
private Assembly_optionContext assembly_option(int _p) throws RecognitionException {
ParserRuleContext _parentctx = _ctx;
int _parentState = getState();
Assembly_optionContext _localctx = new Assembly_optionContext(_ctx, _parentState);
Assembly_optionContext _prevctx = _localctx;
int _startState = 92;
enterRecursionRule(_localctx, 92, RULE_assembly_option, _p);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(1525);
_errHandler.sync(this);
switch (_input.LA(1)) {
case PERMISSION_SET:
{
setState(1517);
match(PERMISSION_SET);
setState(1518);
match(EQUAL);
setState(1519);
_la = _input.LA(1);
if ( !(_la==EXTERNAL_ACCESS || _la==SAFE || _la==UNSAFE) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case VISIBILITY:
{
setState(1520);
match(VISIBILITY);
setState(1521);
match(EQUAL);
setState(1522);
_la = _input.LA(1);
if ( !(_la==OFF || _la==ON) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case UNCHECKED:
{
setState(1523);
match(UNCHECKED);
setState(1524);
match(DATA);
}
break;
default:
throw new NoViableAltException(this);
}
_ctx.stop = _input.LT(-1);
setState(1531);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,70,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
if ( _parseListeners!=null ) triggerExitRuleEvent();
_prevctx = _localctx;
{
{
_localctx = new Assembly_optionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_assembly_option);
setState(1527);
if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
setState(1528);
match(COMMA);
}
}
}
setState(1533);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,70,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
unrollRecursionContexts(_parentctx);
}
return _localctx;
}
public static class Network_file_shareContext extends ParserRuleContext {
public Network_file_startContext network_file_start() {
return getRuleContext(Network_file_startContext.class,0);
}
public Network_computerContext network_computer() {
return getRuleContext(Network_computerContext.class,0);
}
public File_pathContext file_path() {
return getRuleContext(File_pathContext.class,0);
}
public Network_file_shareContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_network_file_share; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterNetwork_file_share(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitNetwork_file_share(this);
}
}
public final Network_file_shareContext network_file_share() throws RecognitionException {
Network_file_shareContext _localctx = new Network_file_shareContext(_ctx, getState());
enterRule(_localctx, 94, RULE_network_file_share);
try {
enterOuterAlt(_localctx, 1);
{
setState(1534);
network_file_start();
setState(1535);
network_computer();
setState(1536);
file_path();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Network_computerContext extends ParserRuleContext {
public IdContext computer_name;
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Network_computerContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_network_computer; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterNetwork_computer(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitNetwork_computer(this);
}
}
public final Network_computerContext network_computer() throws RecognitionException {
Network_computerContext _localctx = new Network_computerContext(_ctx, getState());
enterRule(_localctx, 96, RULE_network_computer);
try {
enterOuterAlt(_localctx, 1);
{
setState(1538);
((Network_computerContext)_localctx).computer_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Network_file_startContext extends ParserRuleContext {
public TerminalNode DOUBLE_BACK_SLASH() { return getToken(TSqlParser.DOUBLE_BACK_SLASH, 0); }
public Network_file_startContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_network_file_start; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterNetwork_file_start(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitNetwork_file_start(this);
}
}
public final Network_file_startContext network_file_start() throws RecognitionException {
Network_file_startContext _localctx = new Network_file_startContext(_ctx, getState());
enterRule(_localctx, 98, RULE_network_file_start);
try {
enterOuterAlt(_localctx, 1);
{
setState(1540);
match(DOUBLE_BACK_SLASH);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class File_pathContext extends ParserRuleContext {
public File_directory_path_separatorContext file_directory_path_separator() {
return getRuleContext(File_directory_path_separatorContext.class,0);
}
public File_pathContext file_path() {
return getRuleContext(File_pathContext.class,0);
}
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public File_pathContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_file_path; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterFile_path(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitFile_path(this);
}
}
public final File_pathContext file_path() throws RecognitionException {
File_pathContext _localctx = new File_pathContext(_ctx, getState());
enterRule(_localctx, 100, RULE_file_path);
try {
setState(1546);
_errHandler.sync(this);
switch (_input.LA(1)) {
case BACKSLASH:
enterOuterAlt(_localctx, 1);
{
setState(1542);
file_directory_path_separator();
setState(1543);
file_path();
}
break;
case CALLED:
case DATA_COMPRESSION:
case EVENTDATA:
case FILENAME:
case FILLFACTOR:
case FORCESEEK:
case INIT:
case KEY:
case MASTER:
case MAX_MEMORY:
case OFFSETS:
case PAGE:
case PUBLIC:
case R:
case RAW:
case RETURN:
case RETURNS:
case ROWCOUNT:
case SAFETY:
case SERVER:
case SID:
case SOURCE:
case STATE:
case START:
case TARGET:
case ABSOLUTE:
case ACCENT_SENSITIVITY:
case ACTION:
case ACTIVATION:
case ACTIVE:
case ADDRESS:
case AES_128:
case AES_192:
case AES_256:
case AFFINITY:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ALLOW_ENCRYPTED_VALUE_MODIFICATIONS:
case ALLOW_SNAPSHOT_ISOLATION:
case ALLOWED:
case ANSI_NULL_DEFAULT:
case ANSI_NULLS:
case ANSI_PADDING:
case ANSI_WARNINGS:
case APPLICATION_LOG:
case APPLY:
case ARITHABORT:
case ASSEMBLY:
case AUDIT:
case AUDIT_GUID:
case AUTO:
case AUTO_CLEANUP:
case AUTO_CLOSE:
case AUTO_CREATE_STATISTICS:
case AUTO_SHRINK:
case AUTO_UPDATE_STATISTICS:
case AUTO_UPDATE_STATISTICS_ASYNC:
case AVAILABILITY:
case AVG:
case BACKUP_PRIORITY:
case BEGIN_DIALOG:
case BIGINT:
case BINARY_BASE64:
case BINARY_CHECKSUM:
case BINDING:
case BLOB_STORAGE:
case BROKER:
case BROKER_INSTANCE:
case BULK_LOGGED:
case CALLER:
case CAP_CPU_PERCENT:
case CAST:
case CATALOG:
case CATCH:
case CHANGE_RETENTION:
case CHANGE_TRACKING:
case CHECKSUM:
case CHECKSUM_AGG:
case CLEANUP:
case COLLECTION:
case COLUMN_MASTER_KEY:
case COMMITTED:
case COMPATIBILITY_LEVEL:
case CONCAT:
case CONCAT_NULL_YIELDS_NULL:
case CONTENT:
case CONTROL:
case COOKIE:
case COUNT:
case COUNT_BIG:
case COUNTER:
case CPU:
case CREATE_NEW:
case CREATION_DISPOSITION:
case CREDENTIAL:
case CRYPTOGRAPHIC:
case CURSOR_CLOSE_ON_COMMIT:
case CURSOR_DEFAULT:
case DATE_CORRELATION_OPTIMIZATION:
case DATEADD:
case DATEDIFF:
case DATENAME:
case DATEPART:
case DAYS:
case DB_CHAINING:
case DB_FAILOVER:
case DECRYPTION:
case DEFAULT_DOUBLE_QUOTE:
case DEFAULT_FULLTEXT_LANGUAGE:
case DEFAULT_LANGUAGE:
case DELAY:
case DELAYED_DURABILITY:
case DELETED:
case DENSE_RANK:
case DEPENDENTS:
case DES:
case DESCRIPTION:
case DESX:
case DHCP:
case DIALOG:
case DIRECTORY_NAME:
case DISABLE:
case DISABLE_BROKER:
case DISABLED:
case DISK_DRIVE:
case DOCUMENT:
case DYNAMIC:
case EMERGENCY:
case EMPTY:
case ENABLE:
case ENABLE_BROKER:
case ENCRYPTED_VALUE:
case ENCRYPTION:
case ENDPOINT_URL:
case ERROR_BROKER_CONVERSATIONS:
case EXCLUSIVE:
case EXECUTABLE:
case EXIST:
case EXPAND:
case EXPIRY_DATE:
case EXPLICIT:
case FAIL_OPERATION:
case FAILOVER_MODE:
case FAILURE:
case FAILURE_CONDITION_LEVEL:
case FAST:
case FAST_FORWARD:
case FILEGROUP:
case FILEGROWTH:
case FILEPATH:
case FILESTREAM:
case FILTER:
case FIRST:
case FIRST_VALUE:
case FOLLOWING:
case FORCE:
case FORCE_FAILOVER_ALLOW_DATA_LOSS:
case FORCED:
case FORMAT:
case FORWARD_ONLY:
case FULLSCAN:
case FULLTEXT:
case GB:
case GETDATE:
case GETUTCDATE:
case GLOBAL:
case GO:
case GROUP_MAX_REQUESTS:
case GROUPING:
case GROUPING_ID:
case HADR:
case HASH:
case HEALTH_CHECK_TIMEOUT:
case HIGH:
case HONOR_BROKER_PRIORITY:
case HOURS:
case IDENTITY_VALUE:
case IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX:
case IMMEDIATE:
case IMPERSONATE:
case IMPORTANCE:
case INCREMENTAL:
case INITIATOR:
case INPUT:
case INSENSITIVE:
case INSERTED:
case INT:
case IP:
case ISOLATION:
case KB:
case KEEP:
case KEEPFIXED:
case KEY_SOURCE:
case KEYS:
case KEYSET:
case LAG:
case LAST:
case LAST_VALUE:
case LEAD:
case LEVEL:
case LIST:
case LISTENER:
case LISTENER_URL:
case LOB_COMPACTION:
case LOCAL:
case LOCATION:
case LOCK:
case LOCK_ESCALATION:
case LOGIN:
case LOOP:
case LOW:
case MANUAL:
case MARK:
case MATERIALIZED:
case MAX:
case MAX_CPU_PERCENT:
case MAX_DOP:
case MAX_FILES:
case MAX_IOPS_PER_VOLUME:
case MAX_MEMORY_PERCENT:
case MAX_PROCESSES:
case MAX_QUEUE_READERS:
case MAX_ROLLOVER_FILES:
case MAXDOP:
case MAXRECURSION:
case MAXSIZE:
case MB:
case MEDIUM:
case MEMORY_OPTIMIZED_DATA:
case MESSAGE:
case MIN:
case MIN_ACTIVE_ROWVERSION:
case MIN_CPU_PERCENT:
case MIN_IOPS_PER_VOLUME:
case MIN_MEMORY_PERCENT:
case MINUTES:
case MIRROR_ADDRESS:
case MIXED_PAGE_ALLOCATION:
case MODE:
case MODIFY:
case MOVE:
case MULTI_USER:
case NAME:
case NESTED_TRIGGERS:
case NEW_ACCOUNT:
case NEW_BROKER:
case NEW_PASSWORD:
case NEXT:
case NO:
case NO_TRUNCATE:
case NO_WAIT:
case NOCOUNT:
case NODES:
case NOEXPAND:
case NON_TRANSACTED_ACCESS:
case NORECOMPUTE:
case NORECOVERY:
case NOWAIT:
case NTILE:
case NUMANODE:
case NUMBER:
case NUMERIC_ROUNDABORT:
case OBJECT:
case OFFLINE:
case OFFSET:
case OLD_ACCOUNT:
case ONLINE:
case ONLY:
case OPEN_EXISTING:
case OPTIMISTIC:
case OPTIMIZE:
case OUT:
case OUTPUT:
case OWNER:
case PAGE_VERIFY:
case PARAMETERIZATION:
case PARTITION:
case PARTITIONS:
case PARTNER:
case PATH:
case POISON_MESSAGE_HANDLING:
case POOL:
case PORT:
case PRECEDING:
case PRIMARY_ROLE:
case PRIOR:
case PRIORITY:
case PRIORITY_LEVEL:
case PRIVATE:
case PRIVATE_KEY:
case PRIVILEGES:
case PROCEDURE_NAME:
case PROPERTY:
case PROVIDER:
case PROVIDER_KEY_NAME:
case QUERY:
case QUEUE:
case QUEUE_DELAY:
case QUOTED_IDENTIFIER:
case RANGE:
case RANK:
case RC2:
case RC4:
case RC4_128:
case READ_COMMITTED_SNAPSHOT:
case READ_ONLY:
case READ_ONLY_ROUTING_LIST:
case READ_WRITE:
case READONLY:
case REBUILD:
case RECEIVE:
case RECOMPILE:
case RECOVERY:
case RECURSIVE_TRIGGERS:
case RELATIVE:
case REMOTE:
case REMOTE_SERVICE_NAME:
case REMOVE:
case REORGANIZE:
case REPEATABLE:
case REPLICA:
case REQUEST_MAX_CPU_TIME_SEC:
case REQUEST_MAX_MEMORY_GRANT_PERCENT:
case REQUEST_MEMORY_GRANT_TIMEOUT_SEC:
case REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT:
case RESERVE_DISK_SPACE:
case RESOURCE:
case RESOURCE_MANAGER_LOCATION:
case RESTRICTED_USER:
case RETENTION:
case ROBUST:
case ROOT:
case ROUTE:
case ROW:
case ROW_NUMBER:
case ROWGUID:
case ROWS:
case SAMPLE:
case SCHEMABINDING:
case SCOPED:
case SCROLL:
case SCROLL_LOCKS:
case SEARCH:
case SECONDARY:
case SECONDARY_ONLY:
case SECONDARY_ROLE:
case SECONDS:
case SECRET:
case SECURITY_LOG:
case SEEDING_MODE:
case SELF:
case SEMI_SENSITIVE:
case SEND:
case SENT:
case SERIALIZABLE:
case SESSION_TIMEOUT:
case SETERROR:
case SHARE:
case SHOWPLAN:
case SIGNATURE:
case SIMPLE:
case SINGLE_USER:
case SIZE:
case SMALLINT:
case SNAPSHOT:
case SPATIAL_WINDOW_MAX_CELLS:
case STANDBY:
case START_DATE:
case STATIC:
case STATS_STREAM:
case STATUS:
case STDEV:
case STDEVP:
case STOPLIST:
case STUFF:
case SUBJECT:
case SUM:
case SUSPEND:
case SYMMETRIC:
case SYNCHRONOUS_COMMIT:
case SYNONYM:
case TAKE:
case TARGET_RECOVERY_TIME:
case TB:
case TEXTIMAGE_ON:
case THROW:
case TIES:
case TIME:
case TIMEOUT:
case TIMER:
case TINYINT:
case TORN_PAGE_DETECTION:
case TRANSFORM_NOISE_WORDS:
case TRIPLE_DES:
case TRIPLE_DES_3KEY:
case TRUSTWORTHY:
case TRY:
case TSQL:
case TWO_DIGIT_YEAR_CUTOFF:
case TYPE:
case TYPE_WARNING:
case UNBOUNDED:
case UNCOMMITTED:
case UNKNOWN:
case UNLIMITED:
case USING:
case VALID_XML:
case VALIDATION:
case VALUE:
case VAR:
case VARP:
case VIEW_METADATA:
case VIEWS:
case WAIT:
case WELL_FORMED_XML:
case WORK:
case WORKLOAD:
case XML:
case XMLNAMESPACES:
case DOUBLE_QUOTE_ID:
case SQUARE_BRACKET_ID:
case ID:
enterOuterAlt(_localctx, 2);
{
setState(1545);
id();
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class File_directory_path_separatorContext extends ParserRuleContext {
public TerminalNode BACKSLASH() { return getToken(TSqlParser.BACKSLASH, 0); }
public File_directory_path_separatorContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_file_directory_path_separator; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterFile_directory_path_separator(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitFile_directory_path_separator(this);
}
}
public final File_directory_path_separatorContext file_directory_path_separator() throws RecognitionException {
File_directory_path_separatorContext _localctx = new File_directory_path_separatorContext(_ctx, getState());
enterRule(_localctx, 102, RULE_file_directory_path_separator);
try {
enterOuterAlt(_localctx, 1);
{
setState(1548);
match(BACKSLASH);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Local_fileContext extends ParserRuleContext {
public Local_driveContext local_drive() {
return getRuleContext(Local_driveContext.class,0);
}
public File_pathContext file_path() {
return getRuleContext(File_pathContext.class,0);
}
public Local_fileContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_local_file; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterLocal_file(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitLocal_file(this);
}
}
public final Local_fileContext local_file() throws RecognitionException {
Local_fileContext _localctx = new Local_fileContext(_ctx, getState());
enterRule(_localctx, 104, RULE_local_file);
try {
enterOuterAlt(_localctx, 1);
{
setState(1550);
local_drive();
setState(1551);
file_path();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Local_driveContext extends ParserRuleContext {
public TerminalNode DISK_DRIVE() { return getToken(TSqlParser.DISK_DRIVE, 0); }
public Local_driveContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_local_drive; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterLocal_drive(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitLocal_drive(this);
}
}
public final Local_driveContext local_drive() throws RecognitionException {
Local_driveContext _localctx = new Local_driveContext(_ctx, getState());
enterRule(_localctx, 106, RULE_local_drive);
try {
enterOuterAlt(_localctx, 1);
{
setState(1553);
match(DISK_DRIVE);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Multiple_local_filesContext extends ParserRuleContext {
public Multiple_local_file_startContext multiple_local_file_start() {
return getRuleContext(Multiple_local_file_startContext.class,0);
}
public Local_fileContext local_file() {
return getRuleContext(Local_fileContext.class,0);
}
public TerminalNode SINGLE_QUOTE() { return getToken(TSqlParser.SINGLE_QUOTE, 0); }
public TerminalNode COMMA() { return getToken(TSqlParser.COMMA, 0); }
public Multiple_local_filesContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_multiple_local_files; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterMultiple_local_files(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitMultiple_local_files(this);
}
}
public final Multiple_local_filesContext multiple_local_files() throws RecognitionException {
Multiple_local_filesContext _localctx = new Multiple_local_filesContext(_ctx, getState());
enterRule(_localctx, 108, RULE_multiple_local_files);
try {
setState(1561);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SINGLE_QUOTE:
enterOuterAlt(_localctx, 1);
{
setState(1555);
multiple_local_file_start();
setState(1556);
local_file();
setState(1557);
match(SINGLE_QUOTE);
setState(1558);
match(COMMA);
}
break;
case DISK_DRIVE:
enterOuterAlt(_localctx, 2);
{
setState(1560);
local_file();
}
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 Multiple_local_file_startContext extends ParserRuleContext {
public TerminalNode SINGLE_QUOTE() { return getToken(TSqlParser.SINGLE_QUOTE, 0); }
public Multiple_local_file_startContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_multiple_local_file_start; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterMultiple_local_file_start(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitMultiple_local_file_start(this);
}
}
public final Multiple_local_file_startContext multiple_local_file_start() throws RecognitionException {
Multiple_local_file_startContext _localctx = new Multiple_local_file_startContext(_ctx, getState());
enterRule(_localctx, 110, RULE_multiple_local_file_start);
try {
enterOuterAlt(_localctx, 1);
{
setState(1563);
match(SINGLE_QUOTE);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Create_assemblyContext extends ParserRuleContext {
public IdContext assembly_name;
public IdContext owner_name;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode ASSEMBLY() { return getToken(TSqlParser.ASSEMBLY, 0); }
public TerminalNode FROM() { return getToken(TSqlParser.FROM, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode AUTHORIZATION() { return getToken(TSqlParser.AUTHORIZATION, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode PERMISSION_SET() { return getToken(TSqlParser.PERMISSION_SET, 0); }
public TerminalNode EQUAL() { return getToken(TSqlParser.EQUAL, 0); }
public List STRING() { return getTokens(TSqlParser.STRING); }
public TerminalNode STRING(int i) {
return getToken(TSqlParser.STRING, i);
}
public List BINARY() { return getTokens(TSqlParser.BINARY); }
public TerminalNode BINARY(int i) {
return getToken(TSqlParser.BINARY, i);
}
public TerminalNode SAFE() { return getToken(TSqlParser.SAFE, 0); }
public TerminalNode EXTERNAL_ACCESS() { return getToken(TSqlParser.EXTERNAL_ACCESS, 0); }
public TerminalNode UNSAFE() { return getToken(TSqlParser.UNSAFE, 0); }
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public Create_assemblyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_assembly; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_assembly(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_assembly(this);
}
}
public final Create_assemblyContext create_assembly() throws RecognitionException {
Create_assemblyContext _localctx = new Create_assemblyContext(_ctx, getState());
enterRule(_localctx, 112, RULE_create_assembly);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(1565);
match(CREATE);
setState(1566);
match(ASSEMBLY);
setState(1567);
((Create_assemblyContext)_localctx).assembly_name = id();
setState(1570);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AUTHORIZATION) {
{
setState(1568);
match(AUTHORIZATION);
setState(1569);
((Create_assemblyContext)_localctx).owner_name = id();
}
}
setState(1572);
match(FROM);
setState(1577);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
{
setState(1574);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1573);
match(COMMA);
}
}
setState(1576);
_la = _input.LA(1);
if ( !(_la==STRING || _la==BINARY) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(1579);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,75,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
setState(1585);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,76,_ctx) ) {
case 1:
{
setState(1581);
match(WITH);
setState(1582);
match(PERMISSION_SET);
setState(1583);
match(EQUAL);
setState(1584);
_la = _input.LA(1);
if ( !(_la==EXTERNAL_ACCESS || _la==SAFE || _la==UNSAFE) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_assemblyContext extends ParserRuleContext {
public IdContext assembly_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode ASSEMBLY() { return getToken(TSqlParser.ASSEMBLY, 0); }
public TerminalNode IF() { return getToken(TSqlParser.IF, 0); }
public TerminalNode EXISTS() { return getToken(TSqlParser.EXISTS, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode NO() { return getToken(TSqlParser.NO, 0); }
public TerminalNode DEPENDENTS() { return getToken(TSqlParser.DEPENDENTS, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public Drop_assemblyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_assembly; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_assembly(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_assembly(this);
}
}
public final Drop_assemblyContext drop_assembly() throws RecognitionException {
Drop_assemblyContext _localctx = new Drop_assemblyContext(_ctx, getState());
enterRule(_localctx, 114, RULE_drop_assembly);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(1587);
match(DROP);
setState(1588);
match(ASSEMBLY);
setState(1591);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(1589);
match(IF);
setState(1590);
match(EXISTS);
}
}
setState(1597);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
{
setState(1594);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1593);
match(COMMA);
}
}
setState(1596);
((Drop_assemblyContext)_localctx).assembly_name = id();
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(1599);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,79,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
setState(1604);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,80,_ctx) ) {
case 1:
{
setState(1601);
match(WITH);
setState(1602);
match(NO);
setState(1603);
match(DEPENDENTS);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_asymmetric_keyContext extends ParserRuleContext {
public IdContext Asym_Key_Name;
public Alter_asymmetric_key_startContext alter_asymmetric_key_start() {
return getRuleContext(Alter_asymmetric_key_startContext.class,0);
}
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Asymmetric_key_optionContext asymmetric_key_option() {
return getRuleContext(Asymmetric_key_optionContext.class,0);
}
public TerminalNode REMOVE() { return getToken(TSqlParser.REMOVE, 0); }
public TerminalNode PRIVATE() { return getToken(TSqlParser.PRIVATE, 0); }
public TerminalNode KEY() { return getToken(TSqlParser.KEY, 0); }
public Alter_asymmetric_keyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_asymmetric_key; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_asymmetric_key(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_asymmetric_key(this);
}
}
public final Alter_asymmetric_keyContext alter_asymmetric_key() throws RecognitionException {
Alter_asymmetric_keyContext _localctx = new Alter_asymmetric_keyContext(_ctx, getState());
enterRule(_localctx, 116, RULE_alter_asymmetric_key);
try {
enterOuterAlt(_localctx, 1);
{
setState(1606);
alter_asymmetric_key_start();
setState(1607);
((Alter_asymmetric_keyContext)_localctx).Asym_Key_Name = id();
setState(1612);
_errHandler.sync(this);
switch (_input.LA(1)) {
case WITH:
{
setState(1608);
asymmetric_key_option();
}
break;
case REMOVE:
{
setState(1609);
match(REMOVE);
setState(1610);
match(PRIVATE);
setState(1611);
match(KEY);
}
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 Alter_asymmetric_key_startContext extends ParserRuleContext {
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode ASYMMETRIC() { return getToken(TSqlParser.ASYMMETRIC, 0); }
public TerminalNode KEY() { return getToken(TSqlParser.KEY, 0); }
public Alter_asymmetric_key_startContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_asymmetric_key_start; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_asymmetric_key_start(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_asymmetric_key_start(this);
}
}
public final Alter_asymmetric_key_startContext alter_asymmetric_key_start() throws RecognitionException {
Alter_asymmetric_key_startContext _localctx = new Alter_asymmetric_key_startContext(_ctx, getState());
enterRule(_localctx, 118, RULE_alter_asymmetric_key_start);
try {
enterOuterAlt(_localctx, 1);
{
setState(1614);
match(ALTER);
setState(1615);
match(ASYMMETRIC);
setState(1616);
match(KEY);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Asymmetric_key_optionContext extends ParserRuleContext {
public Asymmetric_key_option_startContext asymmetric_key_option_start() {
return getRuleContext(Asymmetric_key_option_startContext.class,0);
}
public List asymmetric_key_password_change_option() {
return getRuleContexts(Asymmetric_key_password_change_optionContext.class);
}
public Asymmetric_key_password_change_optionContext asymmetric_key_password_change_option(int i) {
return getRuleContext(Asymmetric_key_password_change_optionContext.class,i);
}
public TerminalNode RR_BRACKET() { return getToken(TSqlParser.RR_BRACKET, 0); }
public TerminalNode COMMA() { return getToken(TSqlParser.COMMA, 0); }
public Asymmetric_key_optionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_asymmetric_key_option; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAsymmetric_key_option(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAsymmetric_key_option(this);
}
}
public final Asymmetric_key_optionContext asymmetric_key_option() throws RecognitionException {
Asymmetric_key_optionContext _localctx = new Asymmetric_key_optionContext(_ctx, getState());
enterRule(_localctx, 120, RULE_asymmetric_key_option);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1618);
asymmetric_key_option_start();
setState(1619);
asymmetric_key_password_change_option();
setState(1622);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1620);
match(COMMA);
setState(1621);
asymmetric_key_password_change_option();
}
}
setState(1624);
match(RR_BRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Asymmetric_key_option_startContext extends ParserRuleContext {
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode PRIVATE() { return getToken(TSqlParser.PRIVATE, 0); }
public TerminalNode KEY() { return getToken(TSqlParser.KEY, 0); }
public TerminalNode LR_BRACKET() { return getToken(TSqlParser.LR_BRACKET, 0); }
public Asymmetric_key_option_startContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_asymmetric_key_option_start; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAsymmetric_key_option_start(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAsymmetric_key_option_start(this);
}
}
public final Asymmetric_key_option_startContext asymmetric_key_option_start() throws RecognitionException {
Asymmetric_key_option_startContext _localctx = new Asymmetric_key_option_startContext(_ctx, getState());
enterRule(_localctx, 122, RULE_asymmetric_key_option_start);
try {
enterOuterAlt(_localctx, 1);
{
setState(1626);
match(WITH);
setState(1627);
match(PRIVATE);
setState(1628);
match(KEY);
setState(1629);
match(LR_BRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Asymmetric_key_password_change_optionContext extends ParserRuleContext {
public TerminalNode DECRYPTION() { return getToken(TSqlParser.DECRYPTION, 0); }
public TerminalNode BY() { return getToken(TSqlParser.BY, 0); }
public TerminalNode PASSWORD() { return getToken(TSqlParser.PASSWORD, 0); }
public TerminalNode EQUAL() { return getToken(TSqlParser.EQUAL, 0); }
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public TerminalNode ENCRYPTION() { return getToken(TSqlParser.ENCRYPTION, 0); }
public Asymmetric_key_password_change_optionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_asymmetric_key_password_change_option; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAsymmetric_key_password_change_option(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAsymmetric_key_password_change_option(this);
}
}
public final Asymmetric_key_password_change_optionContext asymmetric_key_password_change_option() throws RecognitionException {
Asymmetric_key_password_change_optionContext _localctx = new Asymmetric_key_password_change_optionContext(_ctx, getState());
enterRule(_localctx, 124, RULE_asymmetric_key_password_change_option);
try {
setState(1641);
_errHandler.sync(this);
switch (_input.LA(1)) {
case DECRYPTION:
enterOuterAlt(_localctx, 1);
{
setState(1631);
match(DECRYPTION);
setState(1632);
match(BY);
setState(1633);
match(PASSWORD);
setState(1634);
match(EQUAL);
setState(1635);
match(STRING);
}
break;
case ENCRYPTION:
enterOuterAlt(_localctx, 2);
{
setState(1636);
match(ENCRYPTION);
setState(1637);
match(BY);
setState(1638);
match(PASSWORD);
setState(1639);
match(EQUAL);
setState(1640);
match(STRING);
}
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 Create_asymmetric_keyContext extends ParserRuleContext {
public IdContext Asym_Key_Nam;
public IdContext database_principal_name;
public IdContext Assembly_Name;
public IdContext Provider_Name;
public Token provider_key_name;
public Token asymmetric_key_password;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode ASYMMETRIC() { return getToken(TSqlParser.ASYMMETRIC, 0); }
public TerminalNode KEY() { return getToken(TSqlParser.KEY, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode AUTHORIZATION() { return getToken(TSqlParser.AUTHORIZATION, 0); }
public TerminalNode FROM() { return getToken(TSqlParser.FROM, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode ENCRYPTION() { return getToken(TSqlParser.ENCRYPTION, 0); }
public TerminalNode BY() { return getToken(TSqlParser.BY, 0); }
public TerminalNode PASSWORD() { return getToken(TSqlParser.PASSWORD, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public List STRING() { return getTokens(TSqlParser.STRING); }
public TerminalNode STRING(int i) {
return getToken(TSqlParser.STRING, i);
}
public TerminalNode FILE() { return getToken(TSqlParser.FILE, 0); }
public TerminalNode EXECUTABLE_FILE() { return getToken(TSqlParser.EXECUTABLE_FILE, 0); }
public TerminalNode ASSEMBLY() { return getToken(TSqlParser.ASSEMBLY, 0); }
public TerminalNode PROVIDER() { return getToken(TSqlParser.PROVIDER, 0); }
public TerminalNode ALGORITHM() { return getToken(TSqlParser.ALGORITHM, 0); }
public TerminalNode PROVIDER_KEY_NAME() { return getToken(TSqlParser.PROVIDER_KEY_NAME, 0); }
public TerminalNode CREATION_DISPOSITION() { return getToken(TSqlParser.CREATION_DISPOSITION, 0); }
public TerminalNode RSA_4096() { return getToken(TSqlParser.RSA_4096, 0); }
public TerminalNode RSA_3072() { return getToken(TSqlParser.RSA_3072, 0); }
public TerminalNode RSA_2048() { return getToken(TSqlParser.RSA_2048, 0); }
public TerminalNode RSA_1024() { return getToken(TSqlParser.RSA_1024, 0); }
public TerminalNode RSA_512() { return getToken(TSqlParser.RSA_512, 0); }
public TerminalNode CREATE_NEW() { return getToken(TSqlParser.CREATE_NEW, 0); }
public TerminalNode OPEN_EXISTING() { return getToken(TSqlParser.OPEN_EXISTING, 0); }
public Create_asymmetric_keyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_asymmetric_key; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_asymmetric_key(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_asymmetric_key(this);
}
}
public final Create_asymmetric_keyContext create_asymmetric_key() throws RecognitionException {
Create_asymmetric_keyContext _localctx = new Create_asymmetric_keyContext(_ctx, getState());
enterRule(_localctx, 126, RULE_create_asymmetric_key);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1643);
match(CREATE);
setState(1644);
match(ASYMMETRIC);
setState(1645);
match(KEY);
setState(1646);
((Create_asymmetric_keyContext)_localctx).Asym_Key_Nam = id();
setState(1649);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AUTHORIZATION) {
{
setState(1647);
match(AUTHORIZATION);
setState(1648);
((Create_asymmetric_keyContext)_localctx).database_principal_name = id();
}
}
setState(1664);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FROM) {
{
setState(1651);
match(FROM);
setState(1662);
_errHandler.sync(this);
switch (_input.LA(1)) {
case FILE:
{
setState(1652);
match(FILE);
setState(1653);
match(EQUAL);
setState(1654);
match(STRING);
}
break;
case EXECUTABLE_FILE:
{
setState(1655);
match(EXECUTABLE_FILE);
setState(1656);
match(EQUAL);
setState(1657);
match(STRING);
}
break;
case ASSEMBLY:
{
setState(1658);
match(ASSEMBLY);
setState(1659);
((Create_asymmetric_keyContext)_localctx).Assembly_Name = id();
}
break;
case PROVIDER:
{
setState(1660);
match(PROVIDER);
setState(1661);
((Create_asymmetric_keyContext)_localctx).Provider_Name = id();
}
break;
default:
throw new NoViableAltException(this);
}
}
}
setState(1678);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,88,_ctx) ) {
case 1:
{
setState(1666);
match(WITH);
setState(1676);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ALGORITHM:
{
setState(1667);
match(ALGORITHM);
setState(1668);
match(EQUAL);
setState(1669);
_la = _input.LA(1);
if ( !(((((_la - 291)) & ~0x3f) == 0 && ((1L << (_la - 291)) & ((1L << (RSA_512 - 291)) | (1L << (RSA_1024 - 291)) | (1L << (RSA_2048 - 291)) | (1L << (RSA_3072 - 291)) | (1L << (RSA_4096 - 291)))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case PROVIDER_KEY_NAME:
{
setState(1670);
match(PROVIDER_KEY_NAME);
setState(1671);
match(EQUAL);
setState(1672);
((Create_asymmetric_keyContext)_localctx).provider_key_name = match(STRING);
}
break;
case CREATION_DISPOSITION:
{
setState(1673);
match(CREATION_DISPOSITION);
setState(1674);
match(EQUAL);
setState(1675);
_la = _input.LA(1);
if ( !(_la==CREATE_NEW || _la==OPEN_EXISTING) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
}
setState(1685);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,89,_ctx) ) {
case 1:
{
setState(1680);
match(ENCRYPTION);
setState(1681);
match(BY);
setState(1682);
match(PASSWORD);
setState(1683);
match(EQUAL);
setState(1684);
((Create_asymmetric_keyContext)_localctx).asymmetric_key_password = match(STRING);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_asymmetric_keyContext extends ParserRuleContext {
public IdContext key_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode ASYMMETRIC() { return getToken(TSqlParser.ASYMMETRIC, 0); }
public List KEY() { return getTokens(TSqlParser.KEY); }
public TerminalNode KEY(int i) {
return getToken(TSqlParser.KEY, i);
}
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode REMOVE() { return getToken(TSqlParser.REMOVE, 0); }
public TerminalNode PROVIDER() { return getToken(TSqlParser.PROVIDER, 0); }
public Drop_asymmetric_keyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_asymmetric_key; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_asymmetric_key(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_asymmetric_key(this);
}
}
public final Drop_asymmetric_keyContext drop_asymmetric_key() throws RecognitionException {
Drop_asymmetric_keyContext _localctx = new Drop_asymmetric_keyContext(_ctx, getState());
enterRule(_localctx, 128, RULE_drop_asymmetric_key);
try {
enterOuterAlt(_localctx, 1);
{
setState(1687);
match(DROP);
setState(1688);
match(ASYMMETRIC);
setState(1689);
match(KEY);
setState(1690);
((Drop_asymmetric_keyContext)_localctx).key_name = id();
setState(1694);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,90,_ctx) ) {
case 1:
{
setState(1691);
match(REMOVE);
setState(1692);
match(PROVIDER);
setState(1693);
match(KEY);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_authorizationContext extends ParserRuleContext {
public Entity_nameContext entity;
public Alter_authorization_startContext alter_authorization_start() {
return getRuleContext(Alter_authorization_startContext.class,0);
}
public Entity_toContext entity_to() {
return getRuleContext(Entity_toContext.class,0);
}
public Authorization_granteeContext authorization_grantee() {
return getRuleContext(Authorization_granteeContext.class,0);
}
public Entity_nameContext entity_name() {
return getRuleContext(Entity_nameContext.class,0);
}
public Class_typeContext class_type() {
return getRuleContext(Class_typeContext.class,0);
}
public Colon_colonContext colon_colon() {
return getRuleContext(Colon_colonContext.class,0);
}
public Alter_authorizationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_authorization; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_authorization(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_authorization(this);
}
}
public final Alter_authorizationContext alter_authorization() throws RecognitionException {
Alter_authorizationContext _localctx = new Alter_authorizationContext(_ctx, getState());
enterRule(_localctx, 130, RULE_alter_authorization);
try {
enterOuterAlt(_localctx, 1);
{
setState(1696);
alter_authorization_start();
setState(1700);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,91,_ctx) ) {
case 1:
{
setState(1697);
class_type();
setState(1698);
colon_colon();
}
break;
}
setState(1702);
((Alter_authorizationContext)_localctx).entity = entity_name();
setState(1703);
entity_to();
setState(1704);
authorization_grantee();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Authorization_granteeContext extends ParserRuleContext {
public IdContext principal_name;
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode SCHEMA() { return getToken(TSqlParser.SCHEMA, 0); }
public TerminalNode OWNER() { return getToken(TSqlParser.OWNER, 0); }
public Authorization_granteeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_authorization_grantee; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAuthorization_grantee(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAuthorization_grantee(this);
}
}
public final Authorization_granteeContext authorization_grantee() throws RecognitionException {
Authorization_granteeContext _localctx = new Authorization_granteeContext(_ctx, getState());
enterRule(_localctx, 132, RULE_authorization_grantee);
try {
setState(1709);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CALLED:
case DATA_COMPRESSION:
case EVENTDATA:
case FILENAME:
case FILLFACTOR:
case FORCESEEK:
case INIT:
case KEY:
case MASTER:
case MAX_MEMORY:
case OFFSETS:
case PAGE:
case PUBLIC:
case R:
case RAW:
case RETURN:
case RETURNS:
case ROWCOUNT:
case SAFETY:
case SERVER:
case SID:
case SOURCE:
case STATE:
case START:
case TARGET:
case ABSOLUTE:
case ACCENT_SENSITIVITY:
case ACTION:
case ACTIVATION:
case ACTIVE:
case ADDRESS:
case AES_128:
case AES_192:
case AES_256:
case AFFINITY:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ALLOW_ENCRYPTED_VALUE_MODIFICATIONS:
case ALLOW_SNAPSHOT_ISOLATION:
case ALLOWED:
case ANSI_NULL_DEFAULT:
case ANSI_NULLS:
case ANSI_PADDING:
case ANSI_WARNINGS:
case APPLICATION_LOG:
case APPLY:
case ARITHABORT:
case ASSEMBLY:
case AUDIT:
case AUDIT_GUID:
case AUTO:
case AUTO_CLEANUP:
case AUTO_CLOSE:
case AUTO_CREATE_STATISTICS:
case AUTO_SHRINK:
case AUTO_UPDATE_STATISTICS:
case AUTO_UPDATE_STATISTICS_ASYNC:
case AVAILABILITY:
case AVG:
case BACKUP_PRIORITY:
case BEGIN_DIALOG:
case BIGINT:
case BINARY_BASE64:
case BINARY_CHECKSUM:
case BINDING:
case BLOB_STORAGE:
case BROKER:
case BROKER_INSTANCE:
case BULK_LOGGED:
case CALLER:
case CAP_CPU_PERCENT:
case CAST:
case CATALOG:
case CATCH:
case CHANGE_RETENTION:
case CHANGE_TRACKING:
case CHECKSUM:
case CHECKSUM_AGG:
case CLEANUP:
case COLLECTION:
case COLUMN_MASTER_KEY:
case COMMITTED:
case COMPATIBILITY_LEVEL:
case CONCAT:
case CONCAT_NULL_YIELDS_NULL:
case CONTENT:
case CONTROL:
case COOKIE:
case COUNT:
case COUNT_BIG:
case COUNTER:
case CPU:
case CREATE_NEW:
case CREATION_DISPOSITION:
case CREDENTIAL:
case CRYPTOGRAPHIC:
case CURSOR_CLOSE_ON_COMMIT:
case CURSOR_DEFAULT:
case DATE_CORRELATION_OPTIMIZATION:
case DATEADD:
case DATEDIFF:
case DATENAME:
case DATEPART:
case DAYS:
case DB_CHAINING:
case DB_FAILOVER:
case DECRYPTION:
case DEFAULT_DOUBLE_QUOTE:
case DEFAULT_FULLTEXT_LANGUAGE:
case DEFAULT_LANGUAGE:
case DELAY:
case DELAYED_DURABILITY:
case DELETED:
case DENSE_RANK:
case DEPENDENTS:
case DES:
case DESCRIPTION:
case DESX:
case DHCP:
case DIALOG:
case DIRECTORY_NAME:
case DISABLE:
case DISABLE_BROKER:
case DISABLED:
case DISK_DRIVE:
case DOCUMENT:
case DYNAMIC:
case EMERGENCY:
case EMPTY:
case ENABLE:
case ENABLE_BROKER:
case ENCRYPTED_VALUE:
case ENCRYPTION:
case ENDPOINT_URL:
case ERROR_BROKER_CONVERSATIONS:
case EXCLUSIVE:
case EXECUTABLE:
case EXIST:
case EXPAND:
case EXPIRY_DATE:
case EXPLICIT:
case FAIL_OPERATION:
case FAILOVER_MODE:
case FAILURE:
case FAILURE_CONDITION_LEVEL:
case FAST:
case FAST_FORWARD:
case FILEGROUP:
case FILEGROWTH:
case FILEPATH:
case FILESTREAM:
case FILTER:
case FIRST:
case FIRST_VALUE:
case FOLLOWING:
case FORCE:
case FORCE_FAILOVER_ALLOW_DATA_LOSS:
case FORCED:
case FORMAT:
case FORWARD_ONLY:
case FULLSCAN:
case FULLTEXT:
case GB:
case GETDATE:
case GETUTCDATE:
case GLOBAL:
case GO:
case GROUP_MAX_REQUESTS:
case GROUPING:
case GROUPING_ID:
case HADR:
case HASH:
case HEALTH_CHECK_TIMEOUT:
case HIGH:
case HONOR_BROKER_PRIORITY:
case HOURS:
case IDENTITY_VALUE:
case IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX:
case IMMEDIATE:
case IMPERSONATE:
case IMPORTANCE:
case INCREMENTAL:
case INITIATOR:
case INPUT:
case INSENSITIVE:
case INSERTED:
case INT:
case IP:
case ISOLATION:
case KB:
case KEEP:
case KEEPFIXED:
case KEY_SOURCE:
case KEYS:
case KEYSET:
case LAG:
case LAST:
case LAST_VALUE:
case LEAD:
case LEVEL:
case LIST:
case LISTENER:
case LISTENER_URL:
case LOB_COMPACTION:
case LOCAL:
case LOCATION:
case LOCK:
case LOCK_ESCALATION:
case LOGIN:
case LOOP:
case LOW:
case MANUAL:
case MARK:
case MATERIALIZED:
case MAX:
case MAX_CPU_PERCENT:
case MAX_DOP:
case MAX_FILES:
case MAX_IOPS_PER_VOLUME:
case MAX_MEMORY_PERCENT:
case MAX_PROCESSES:
case MAX_QUEUE_READERS:
case MAX_ROLLOVER_FILES:
case MAXDOP:
case MAXRECURSION:
case MAXSIZE:
case MB:
case MEDIUM:
case MEMORY_OPTIMIZED_DATA:
case MESSAGE:
case MIN:
case MIN_ACTIVE_ROWVERSION:
case MIN_CPU_PERCENT:
case MIN_IOPS_PER_VOLUME:
case MIN_MEMORY_PERCENT:
case MINUTES:
case MIRROR_ADDRESS:
case MIXED_PAGE_ALLOCATION:
case MODE:
case MODIFY:
case MOVE:
case MULTI_USER:
case NAME:
case NESTED_TRIGGERS:
case NEW_ACCOUNT:
case NEW_BROKER:
case NEW_PASSWORD:
case NEXT:
case NO:
case NO_TRUNCATE:
case NO_WAIT:
case NOCOUNT:
case NODES:
case NOEXPAND:
case NON_TRANSACTED_ACCESS:
case NORECOMPUTE:
case NORECOVERY:
case NOWAIT:
case NTILE:
case NUMANODE:
case NUMBER:
case NUMERIC_ROUNDABORT:
case OBJECT:
case OFFLINE:
case OFFSET:
case OLD_ACCOUNT:
case ONLINE:
case ONLY:
case OPEN_EXISTING:
case OPTIMISTIC:
case OPTIMIZE:
case OUT:
case OUTPUT:
case OWNER:
case PAGE_VERIFY:
case PARAMETERIZATION:
case PARTITION:
case PARTITIONS:
case PARTNER:
case PATH:
case POISON_MESSAGE_HANDLING:
case POOL:
case PORT:
case PRECEDING:
case PRIMARY_ROLE:
case PRIOR:
case PRIORITY:
case PRIORITY_LEVEL:
case PRIVATE:
case PRIVATE_KEY:
case PRIVILEGES:
case PROCEDURE_NAME:
case PROPERTY:
case PROVIDER:
case PROVIDER_KEY_NAME:
case QUERY:
case QUEUE:
case QUEUE_DELAY:
case QUOTED_IDENTIFIER:
case RANGE:
case RANK:
case RC2:
case RC4:
case RC4_128:
case READ_COMMITTED_SNAPSHOT:
case READ_ONLY:
case READ_ONLY_ROUTING_LIST:
case READ_WRITE:
case READONLY:
case REBUILD:
case RECEIVE:
case RECOMPILE:
case RECOVERY:
case RECURSIVE_TRIGGERS:
case RELATIVE:
case REMOTE:
case REMOTE_SERVICE_NAME:
case REMOVE:
case REORGANIZE:
case REPEATABLE:
case REPLICA:
case REQUEST_MAX_CPU_TIME_SEC:
case REQUEST_MAX_MEMORY_GRANT_PERCENT:
case REQUEST_MEMORY_GRANT_TIMEOUT_SEC:
case REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT:
case RESERVE_DISK_SPACE:
case RESOURCE:
case RESOURCE_MANAGER_LOCATION:
case RESTRICTED_USER:
case RETENTION:
case ROBUST:
case ROOT:
case ROUTE:
case ROW:
case ROW_NUMBER:
case ROWGUID:
case ROWS:
case SAMPLE:
case SCHEMABINDING:
case SCOPED:
case SCROLL:
case SCROLL_LOCKS:
case SEARCH:
case SECONDARY:
case SECONDARY_ONLY:
case SECONDARY_ROLE:
case SECONDS:
case SECRET:
case SECURITY_LOG:
case SEEDING_MODE:
case SELF:
case SEMI_SENSITIVE:
case SEND:
case SENT:
case SERIALIZABLE:
case SESSION_TIMEOUT:
case SETERROR:
case SHARE:
case SHOWPLAN:
case SIGNATURE:
case SIMPLE:
case SINGLE_USER:
case SIZE:
case SMALLINT:
case SNAPSHOT:
case SPATIAL_WINDOW_MAX_CELLS:
case STANDBY:
case START_DATE:
case STATIC:
case STATS_STREAM:
case STATUS:
case STDEV:
case STDEVP:
case STOPLIST:
case STUFF:
case SUBJECT:
case SUM:
case SUSPEND:
case SYMMETRIC:
case SYNCHRONOUS_COMMIT:
case SYNONYM:
case TAKE:
case TARGET_RECOVERY_TIME:
case TB:
case TEXTIMAGE_ON:
case THROW:
case TIES:
case TIME:
case TIMEOUT:
case TIMER:
case TINYINT:
case TORN_PAGE_DETECTION:
case TRANSFORM_NOISE_WORDS:
case TRIPLE_DES:
case TRIPLE_DES_3KEY:
case TRUSTWORTHY:
case TRY:
case TSQL:
case TWO_DIGIT_YEAR_CUTOFF:
case TYPE:
case TYPE_WARNING:
case UNBOUNDED:
case UNCOMMITTED:
case UNKNOWN:
case UNLIMITED:
case USING:
case VALID_XML:
case VALIDATION:
case VALUE:
case VAR:
case VARP:
case VIEW_METADATA:
case VIEWS:
case WAIT:
case WELL_FORMED_XML:
case WORK:
case WORKLOAD:
case XML:
case XMLNAMESPACES:
case DOUBLE_QUOTE_ID:
case SQUARE_BRACKET_ID:
case ID:
enterOuterAlt(_localctx, 1);
{
setState(1706);
((Authorization_granteeContext)_localctx).principal_name = id();
}
break;
case SCHEMA:
enterOuterAlt(_localctx, 2);
{
setState(1707);
match(SCHEMA);
setState(1708);
match(OWNER);
}
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 Entity_toContext extends ParserRuleContext {
public TerminalNode TO() { return getToken(TSqlParser.TO, 0); }
public Entity_toContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_entity_to; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterEntity_to(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitEntity_to(this);
}
}
public final Entity_toContext entity_to() throws RecognitionException {
Entity_toContext _localctx = new Entity_toContext(_ctx, getState());
enterRule(_localctx, 134, RULE_entity_to);
try {
enterOuterAlt(_localctx, 1);
{
setState(1711);
match(TO);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Colon_colonContext extends ParserRuleContext {
public List COLON() { return getTokens(TSqlParser.COLON); }
public TerminalNode COLON(int i) {
return getToken(TSqlParser.COLON, i);
}
public Colon_colonContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_colon_colon; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterColon_colon(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitColon_colon(this);
}
}
public final Colon_colonContext colon_colon() throws RecognitionException {
Colon_colonContext _localctx = new Colon_colonContext(_ctx, getState());
enterRule(_localctx, 136, RULE_colon_colon);
try {
enterOuterAlt(_localctx, 1);
{
setState(1713);
match(COLON);
setState(1714);
match(COLON);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_authorization_startContext extends ParserRuleContext {
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode AUTHORIZATION() { return getToken(TSqlParser.AUTHORIZATION, 0); }
public TerminalNode ON() { return getToken(TSqlParser.ON, 0); }
public Alter_authorization_startContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_authorization_start; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_authorization_start(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_authorization_start(this);
}
}
public final Alter_authorization_startContext alter_authorization_start() throws RecognitionException {
Alter_authorization_startContext _localctx = new Alter_authorization_startContext(_ctx, getState());
enterRule(_localctx, 138, RULE_alter_authorization_start);
try {
enterOuterAlt(_localctx, 1);
{
setState(1716);
match(ALTER);
setState(1717);
match(AUTHORIZATION);
setState(1718);
match(ON);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_authorization_for_sql_databaseContext extends ParserRuleContext {
public Entity_nameContext entity;
public Alter_authorization_startContext alter_authorization_start() {
return getRuleContext(Alter_authorization_startContext.class,0);
}
public Entity_toContext entity_to() {
return getRuleContext(Entity_toContext.class,0);
}
public Authorization_granteeContext authorization_grantee() {
return getRuleContext(Authorization_granteeContext.class,0);
}
public Entity_nameContext entity_name() {
return getRuleContext(Entity_nameContext.class,0);
}
public Class_type_for_sql_databaseContext class_type_for_sql_database() {
return getRuleContext(Class_type_for_sql_databaseContext.class,0);
}
public Colon_colonContext colon_colon() {
return getRuleContext(Colon_colonContext.class,0);
}
public Alter_authorization_for_sql_databaseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_authorization_for_sql_database; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_authorization_for_sql_database(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_authorization_for_sql_database(this);
}
}
public final Alter_authorization_for_sql_databaseContext alter_authorization_for_sql_database() throws RecognitionException {
Alter_authorization_for_sql_databaseContext _localctx = new Alter_authorization_for_sql_databaseContext(_ctx, getState());
enterRule(_localctx, 140, RULE_alter_authorization_for_sql_database);
try {
enterOuterAlt(_localctx, 1);
{
setState(1720);
alter_authorization_start();
setState(1724);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,93,_ctx) ) {
case 1:
{
setState(1721);
class_type_for_sql_database();
setState(1722);
colon_colon();
}
break;
}
setState(1726);
((Alter_authorization_for_sql_databaseContext)_localctx).entity = entity_name();
setState(1727);
entity_to();
setState(1728);
authorization_grantee();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_authorization_for_azure_dwContext extends ParserRuleContext {
public Entity_name_for_azure_dwContext entity;
public Alter_authorization_startContext alter_authorization_start() {
return getRuleContext(Alter_authorization_startContext.class,0);
}
public Entity_toContext entity_to() {
return getRuleContext(Entity_toContext.class,0);
}
public Authorization_granteeContext authorization_grantee() {
return getRuleContext(Authorization_granteeContext.class,0);
}
public Entity_name_for_azure_dwContext entity_name_for_azure_dw() {
return getRuleContext(Entity_name_for_azure_dwContext.class,0);
}
public Class_type_for_azure_dwContext class_type_for_azure_dw() {
return getRuleContext(Class_type_for_azure_dwContext.class,0);
}
public Colon_colonContext colon_colon() {
return getRuleContext(Colon_colonContext.class,0);
}
public Alter_authorization_for_azure_dwContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_authorization_for_azure_dw; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_authorization_for_azure_dw(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_authorization_for_azure_dw(this);
}
}
public final Alter_authorization_for_azure_dwContext alter_authorization_for_azure_dw() throws RecognitionException {
Alter_authorization_for_azure_dwContext _localctx = new Alter_authorization_for_azure_dwContext(_ctx, getState());
enterRule(_localctx, 142, RULE_alter_authorization_for_azure_dw);
try {
enterOuterAlt(_localctx, 1);
{
setState(1730);
alter_authorization_start();
setState(1734);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,94,_ctx) ) {
case 1:
{
setState(1731);
class_type_for_azure_dw();
setState(1732);
colon_colon();
}
break;
}
setState(1736);
((Alter_authorization_for_azure_dwContext)_localctx).entity = entity_name_for_azure_dw();
setState(1737);
entity_to();
setState(1738);
authorization_grantee();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_authorization_for_parallel_dwContext extends ParserRuleContext {
public Entity_name_for_parallel_dwContext entity;
public Alter_authorization_startContext alter_authorization_start() {
return getRuleContext(Alter_authorization_startContext.class,0);
}
public Entity_toContext entity_to() {
return getRuleContext(Entity_toContext.class,0);
}
public Authorization_granteeContext authorization_grantee() {
return getRuleContext(Authorization_granteeContext.class,0);
}
public Entity_name_for_parallel_dwContext entity_name_for_parallel_dw() {
return getRuleContext(Entity_name_for_parallel_dwContext.class,0);
}
public Class_type_for_parallel_dwContext class_type_for_parallel_dw() {
return getRuleContext(Class_type_for_parallel_dwContext.class,0);
}
public Colon_colonContext colon_colon() {
return getRuleContext(Colon_colonContext.class,0);
}
public Alter_authorization_for_parallel_dwContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_authorization_for_parallel_dw; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_authorization_for_parallel_dw(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_authorization_for_parallel_dw(this);
}
}
public final Alter_authorization_for_parallel_dwContext alter_authorization_for_parallel_dw() throws RecognitionException {
Alter_authorization_for_parallel_dwContext _localctx = new Alter_authorization_for_parallel_dwContext(_ctx, getState());
enterRule(_localctx, 144, RULE_alter_authorization_for_parallel_dw);
try {
enterOuterAlt(_localctx, 1);
{
setState(1740);
alter_authorization_start();
setState(1744);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,95,_ctx) ) {
case 1:
{
setState(1741);
class_type_for_parallel_dw();
setState(1742);
colon_colon();
}
break;
}
setState(1746);
((Alter_authorization_for_parallel_dwContext)_localctx).entity = entity_name_for_parallel_dw();
setState(1747);
entity_to();
setState(1748);
authorization_grantee();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Class_typeContext extends ParserRuleContext {
public TerminalNode OBJECT() { return getToken(TSqlParser.OBJECT, 0); }
public TerminalNode ASSEMBLY() { return getToken(TSqlParser.ASSEMBLY, 0); }
public TerminalNode ASYMMETRIC() { return getToken(TSqlParser.ASYMMETRIC, 0); }
public TerminalNode KEY() { return getToken(TSqlParser.KEY, 0); }
public TerminalNode AVAILABILITY() { return getToken(TSqlParser.AVAILABILITY, 0); }
public TerminalNode GROUP() { return getToken(TSqlParser.GROUP, 0); }
public TerminalNode CERTIFICATE() { return getToken(TSqlParser.CERTIFICATE, 0); }
public TerminalNode CONTRACT() { return getToken(TSqlParser.CONTRACT, 0); }
public TerminalNode TYPE() { return getToken(TSqlParser.TYPE, 0); }
public TerminalNode DATABASE() { return getToken(TSqlParser.DATABASE, 0); }
public TerminalNode ENDPOINT() { return getToken(TSqlParser.ENDPOINT, 0); }
public TerminalNode FULLTEXT() { return getToken(TSqlParser.FULLTEXT, 0); }
public TerminalNode CATALOG() { return getToken(TSqlParser.CATALOG, 0); }
public TerminalNode STOPLIST() { return getToken(TSqlParser.STOPLIST, 0); }
public TerminalNode MESSAGE() { return getToken(TSqlParser.MESSAGE, 0); }
public TerminalNode REMOTE() { return getToken(TSqlParser.REMOTE, 0); }
public TerminalNode SERVICE() { return getToken(TSqlParser.SERVICE, 0); }
public TerminalNode BINDING() { return getToken(TSqlParser.BINDING, 0); }
public TerminalNode ROLE() { return getToken(TSqlParser.ROLE, 0); }
public TerminalNode ROUTE() { return getToken(TSqlParser.ROUTE, 0); }
public TerminalNode SCHEMA() { return getToken(TSqlParser.SCHEMA, 0); }
public TerminalNode SEARCH() { return getToken(TSqlParser.SEARCH, 0); }
public TerminalNode PROPERTY() { return getToken(TSqlParser.PROPERTY, 0); }
public TerminalNode LIST() { return getToken(TSqlParser.LIST, 0); }
public TerminalNode SERVER() { return getToken(TSqlParser.SERVER, 0); }
public TerminalNode SYMMETRIC() { return getToken(TSqlParser.SYMMETRIC, 0); }
public TerminalNode XML() { return getToken(TSqlParser.XML, 0); }
public TerminalNode COLLECTION() { return getToken(TSqlParser.COLLECTION, 0); }
public Class_typeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_class_type; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterClass_type(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitClass_type(this);
}
}
public final Class_typeContext class_type() throws RecognitionException {
Class_typeContext _localctx = new Class_typeContext(_ctx, getState());
enterRule(_localctx, 146, RULE_class_type);
try {
setState(1784);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,96,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1750);
match(OBJECT);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1751);
match(ASSEMBLY);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1752);
match(ASYMMETRIC);
setState(1753);
match(KEY);
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1754);
match(AVAILABILITY);
setState(1755);
match(GROUP);
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(1756);
match(CERTIFICATE);
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(1757);
match(CONTRACT);
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(1758);
match(TYPE);
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(1759);
match(DATABASE);
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(1760);
match(ENDPOINT);
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(1761);
match(FULLTEXT);
setState(1762);
match(CATALOG);
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(1763);
match(FULLTEXT);
setState(1764);
match(STOPLIST);
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(1765);
match(MESSAGE);
setState(1766);
match(TYPE);
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(1767);
match(REMOTE);
setState(1768);
match(SERVICE);
setState(1769);
match(BINDING);
}
break;
case 14:
enterOuterAlt(_localctx, 14);
{
setState(1770);
match(ROLE);
}
break;
case 15:
enterOuterAlt(_localctx, 15);
{
setState(1771);
match(ROUTE);
}
break;
case 16:
enterOuterAlt(_localctx, 16);
{
setState(1772);
match(SCHEMA);
}
break;
case 17:
enterOuterAlt(_localctx, 17);
{
setState(1773);
match(SEARCH);
setState(1774);
match(PROPERTY);
setState(1775);
match(LIST);
}
break;
case 18:
enterOuterAlt(_localctx, 18);
{
setState(1776);
match(SERVER);
setState(1777);
match(ROLE);
}
break;
case 19:
enterOuterAlt(_localctx, 19);
{
setState(1778);
match(SERVICE);
}
break;
case 20:
enterOuterAlt(_localctx, 20);
{
setState(1779);
match(SYMMETRIC);
setState(1780);
match(KEY);
}
break;
case 21:
enterOuterAlt(_localctx, 21);
{
setState(1781);
match(XML);
setState(1782);
match(SCHEMA);
setState(1783);
match(COLLECTION);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Class_type_for_sql_databaseContext extends ParserRuleContext {
public TerminalNode OBJECT() { return getToken(TSqlParser.OBJECT, 0); }
public TerminalNode ASSEMBLY() { return getToken(TSqlParser.ASSEMBLY, 0); }
public TerminalNode ASYMMETRIC() { return getToken(TSqlParser.ASYMMETRIC, 0); }
public TerminalNode KEY() { return getToken(TSqlParser.KEY, 0); }
public TerminalNode CERTIFICATE() { return getToken(TSqlParser.CERTIFICATE, 0); }
public TerminalNode TYPE() { return getToken(TSqlParser.TYPE, 0); }
public TerminalNode DATABASE() { return getToken(TSqlParser.DATABASE, 0); }
public TerminalNode FULLTEXT() { return getToken(TSqlParser.FULLTEXT, 0); }
public TerminalNode CATALOG() { return getToken(TSqlParser.CATALOG, 0); }
public TerminalNode STOPLIST() { return getToken(TSqlParser.STOPLIST, 0); }
public TerminalNode ROLE() { return getToken(TSqlParser.ROLE, 0); }
public TerminalNode SCHEMA() { return getToken(TSqlParser.SCHEMA, 0); }
public TerminalNode SEARCH() { return getToken(TSqlParser.SEARCH, 0); }
public TerminalNode PROPERTY() { return getToken(TSqlParser.PROPERTY, 0); }
public TerminalNode LIST() { return getToken(TSqlParser.LIST, 0); }
public TerminalNode SYMMETRIC() { return getToken(TSqlParser.SYMMETRIC, 0); }
public TerminalNode XML() { return getToken(TSqlParser.XML, 0); }
public TerminalNode COLLECTION() { return getToken(TSqlParser.COLLECTION, 0); }
public Class_type_for_sql_databaseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_class_type_for_sql_database; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterClass_type_for_sql_database(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitClass_type_for_sql_database(this);
}
}
public final Class_type_for_sql_databaseContext class_type_for_sql_database() throws RecognitionException {
Class_type_for_sql_databaseContext _localctx = new Class_type_for_sql_databaseContext(_ctx, getState());
enterRule(_localctx, 148, RULE_class_type_for_sql_database);
try {
setState(1807);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,97,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1786);
match(OBJECT);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1787);
match(ASSEMBLY);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1788);
match(ASYMMETRIC);
setState(1789);
match(KEY);
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1790);
match(CERTIFICATE);
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(1791);
match(TYPE);
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(1792);
match(DATABASE);
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(1793);
match(FULLTEXT);
setState(1794);
match(CATALOG);
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(1795);
match(FULLTEXT);
setState(1796);
match(STOPLIST);
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(1797);
match(ROLE);
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(1798);
match(SCHEMA);
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(1799);
match(SEARCH);
setState(1800);
match(PROPERTY);
setState(1801);
match(LIST);
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(1802);
match(SYMMETRIC);
setState(1803);
match(KEY);
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(1804);
match(XML);
setState(1805);
match(SCHEMA);
setState(1806);
match(COLLECTION);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Class_type_for_azure_dwContext extends ParserRuleContext {
public TerminalNode SCHEMA() { return getToken(TSqlParser.SCHEMA, 0); }
public TerminalNode OBJECT() { return getToken(TSqlParser.OBJECT, 0); }
public Class_type_for_azure_dwContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_class_type_for_azure_dw; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterClass_type_for_azure_dw(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitClass_type_for_azure_dw(this);
}
}
public final Class_type_for_azure_dwContext class_type_for_azure_dw() throws RecognitionException {
Class_type_for_azure_dwContext _localctx = new Class_type_for_azure_dwContext(_ctx, getState());
enterRule(_localctx, 150, RULE_class_type_for_azure_dw);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1809);
_la = _input.LA(1);
if ( !(_la==SCHEMA || _la==OBJECT) ) {
_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 Class_type_for_parallel_dwContext extends ParserRuleContext {
public TerminalNode DATABASE() { return getToken(TSqlParser.DATABASE, 0); }
public TerminalNode SCHEMA() { return getToken(TSqlParser.SCHEMA, 0); }
public TerminalNode OBJECT() { return getToken(TSqlParser.OBJECT, 0); }
public Class_type_for_parallel_dwContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_class_type_for_parallel_dw; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterClass_type_for_parallel_dw(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitClass_type_for_parallel_dw(this);
}
}
public final Class_type_for_parallel_dwContext class_type_for_parallel_dw() throws RecognitionException {
Class_type_for_parallel_dwContext _localctx = new Class_type_for_parallel_dwContext(_ctx, getState());
enterRule(_localctx, 152, RULE_class_type_for_parallel_dw);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1811);
_la = _input.LA(1);
if ( !(_la==DATABASE || _la==SCHEMA || _la==OBJECT) ) {
_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 Drop_availability_groupContext extends ParserRuleContext {
public IdContext group_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode AVAILABILITY() { return getToken(TSqlParser.AVAILABILITY, 0); }
public TerminalNode GROUP() { return getToken(TSqlParser.GROUP, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_availability_groupContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_availability_group; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_availability_group(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_availability_group(this);
}
}
public final Drop_availability_groupContext drop_availability_group() throws RecognitionException {
Drop_availability_groupContext _localctx = new Drop_availability_groupContext(_ctx, getState());
enterRule(_localctx, 154, RULE_drop_availability_group);
try {
enterOuterAlt(_localctx, 1);
{
setState(1813);
match(DROP);
setState(1814);
match(AVAILABILITY);
setState(1815);
match(GROUP);
setState(1816);
((Drop_availability_groupContext)_localctx).group_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_availability_groupContext extends ParserRuleContext {
public Alter_availability_group_startContext alter_availability_group_start() {
return getRuleContext(Alter_availability_group_startContext.class,0);
}
public Alter_availability_group_optionsContext alter_availability_group_options() {
return getRuleContext(Alter_availability_group_optionsContext.class,0);
}
public Alter_availability_groupContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_availability_group; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_availability_group(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_availability_group(this);
}
}
public final Alter_availability_groupContext alter_availability_group() throws RecognitionException {
Alter_availability_groupContext _localctx = new Alter_availability_groupContext(_ctx, getState());
enterRule(_localctx, 156, RULE_alter_availability_group);
try {
enterOuterAlt(_localctx, 1);
{
setState(1818);
alter_availability_group_start();
setState(1819);
alter_availability_group_options();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_availability_group_startContext extends ParserRuleContext {
public IdContext group_name;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode AVAILABILITY() { return getToken(TSqlParser.AVAILABILITY, 0); }
public TerminalNode GROUP() { return getToken(TSqlParser.GROUP, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Alter_availability_group_startContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_availability_group_start; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_availability_group_start(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_availability_group_start(this);
}
}
public final Alter_availability_group_startContext alter_availability_group_start() throws RecognitionException {
Alter_availability_group_startContext _localctx = new Alter_availability_group_startContext(_ctx, getState());
enterRule(_localctx, 158, RULE_alter_availability_group_start);
try {
enterOuterAlt(_localctx, 1);
{
setState(1821);
match(ALTER);
setState(1822);
match(AVAILABILITY);
setState(1823);
match(GROUP);
setState(1824);
((Alter_availability_group_startContext)_localctx).group_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_availability_group_optionsContext extends ParserRuleContext {
public Token milliseconds;
public IdContext database_name;
public Token server_instance;
public Token session_timeout;
public Token ag_name;
public Token ag_name_modified;
public Token listener_name;
public TerminalNode SET() { return getToken(TSqlParser.SET, 0); }
public List LR_BRACKET() { return getTokens(TSqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(TSqlParser.LR_BRACKET, i);
}
public List RR_BRACKET() { return getTokens(TSqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(TSqlParser.RR_BRACKET, i);
}
public TerminalNode AUTOMATED_BACKUP_PREFERENCE() { return getToken(TSqlParser.AUTOMATED_BACKUP_PREFERENCE, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public TerminalNode FAILURE_CONDITION_LEVEL() { return getToken(TSqlParser.FAILURE_CONDITION_LEVEL, 0); }
public TerminalNode DECIMAL() { return getToken(TSqlParser.DECIMAL, 0); }
public TerminalNode HEALTH_CHECK_TIMEOUT() { return getToken(TSqlParser.HEALTH_CHECK_TIMEOUT, 0); }
public TerminalNode DB_FAILOVER() { return getToken(TSqlParser.DB_FAILOVER, 0); }
public TerminalNode REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT() { return getToken(TSqlParser.REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT, 0); }
public TerminalNode PRIMARY() { return getToken(TSqlParser.PRIMARY, 0); }
public TerminalNode SECONDARY_ONLY() { return getToken(TSqlParser.SECONDARY_ONLY, 0); }
public TerminalNode SECONDARY() { return getToken(TSqlParser.SECONDARY, 0); }
public TerminalNode NONE() { return getToken(TSqlParser.NONE, 0); }
public TerminalNode ON() { return getToken(TSqlParser.ON, 0); }
public TerminalNode OFF() { return getToken(TSqlParser.OFF, 0); }
public TerminalNode ADD() { return getToken(TSqlParser.ADD, 0); }
public TerminalNode DATABASE() { return getToken(TSqlParser.DATABASE, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode REMOVE() { return getToken(TSqlParser.REMOVE, 0); }
public TerminalNode REPLICA() { return getToken(TSqlParser.REPLICA, 0); }
public List STRING() { return getTokens(TSqlParser.STRING); }
public TerminalNode STRING(int i) {
return getToken(TSqlParser.STRING, i);
}
public List WITH() { return getTokens(TSqlParser.WITH); }
public TerminalNode WITH(int i) {
return getToken(TSqlParser.WITH, i);
}
public TerminalNode ENDPOINT_URL() { return getToken(TSqlParser.ENDPOINT_URL, 0); }
public List AVAILABILITY_MODE() { return getTokens(TSqlParser.AVAILABILITY_MODE); }
public TerminalNode AVAILABILITY_MODE(int i) {
return getToken(TSqlParser.AVAILABILITY_MODE, i);
}
public List FAILOVER_MODE() { return getTokens(TSqlParser.FAILOVER_MODE); }
public TerminalNode FAILOVER_MODE(int i) {
return getToken(TSqlParser.FAILOVER_MODE, i);
}
public List SEEDING_MODE() { return getTokens(TSqlParser.SEEDING_MODE); }
public TerminalNode SEEDING_MODE(int i) {
return getToken(TSqlParser.SEEDING_MODE, i);
}
public TerminalNode BACKUP_PRIORITY() { return getToken(TSqlParser.BACKUP_PRIORITY, 0); }
public TerminalNode PRIMARY_ROLE() { return getToken(TSqlParser.PRIMARY_ROLE, 0); }
public List ALLOW_CONNECTIONS() { return getTokens(TSqlParser.ALLOW_CONNECTIONS); }
public TerminalNode ALLOW_CONNECTIONS(int i) {
return getToken(TSqlParser.ALLOW_CONNECTIONS, i);
}
public TerminalNode SECONDARY_ROLE() { return getToken(TSqlParser.SECONDARY_ROLE, 0); }
public List SYNCHRONOUS_COMMIT() { return getTokens(TSqlParser.SYNCHRONOUS_COMMIT); }
public TerminalNode SYNCHRONOUS_COMMIT(int i) {
return getToken(TSqlParser.SYNCHRONOUS_COMMIT, i);
}
public List ASYNCHRONOUS_COMMIT() { return getTokens(TSqlParser.ASYNCHRONOUS_COMMIT); }
public TerminalNode ASYNCHRONOUS_COMMIT(int i) {
return getToken(TSqlParser.ASYNCHRONOUS_COMMIT, i);
}
public List AUTOMATIC() { return getTokens(TSqlParser.AUTOMATIC); }
public TerminalNode AUTOMATIC(int i) {
return getToken(TSqlParser.AUTOMATIC, i);
}
public List MANUAL() { return getTokens(TSqlParser.MANUAL); }
public TerminalNode MANUAL(int i) {
return getToken(TSqlParser.MANUAL, i);
}
public TerminalNode READ_WRITE() { return getToken(TSqlParser.READ_WRITE, 0); }
public TerminalNode ALL() { return getToken(TSqlParser.ALL, 0); }
public TerminalNode READ_ONLY() { return getToken(TSqlParser.READ_ONLY, 0); }
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public TerminalNode READ_ONLY_ROUTING_LIST() { return getToken(TSqlParser.READ_ONLY_ROUTING_LIST, 0); }
public TerminalNode NO() { return getToken(TSqlParser.NO, 0); }
public TerminalNode SESSION_TIMEOUT() { return getToken(TSqlParser.SESSION_TIMEOUT, 0); }
public TerminalNode MODIFY() { return getToken(TSqlParser.MODIFY, 0); }
public TerminalNode JOIN() { return getToken(TSqlParser.JOIN, 0); }
public TerminalNode AVAILABILITY() { return getToken(TSqlParser.AVAILABILITY, 0); }
public TerminalNode GROUP() { return getToken(TSqlParser.GROUP, 0); }
public List LISTENER_URL() { return getTokens(TSqlParser.LISTENER_URL); }
public TerminalNode LISTENER_URL(int i) {
return getToken(TSqlParser.LISTENER_URL, i);
}
public TerminalNode GRANT() { return getToken(TSqlParser.GRANT, 0); }
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode ANY() { return getToken(TSqlParser.ANY, 0); }
public TerminalNode DENY() { return getToken(TSqlParser.DENY, 0); }
public TerminalNode FAILOVER() { return getToken(TSqlParser.FAILOVER, 0); }
public TerminalNode FORCE_FAILOVER_ALLOW_DATA_LOSS() { return getToken(TSqlParser.FORCE_FAILOVER_ALLOW_DATA_LOSS, 0); }
public TerminalNode LISTENER() { return getToken(TSqlParser.LISTENER, 0); }
public TerminalNode DHCP() { return getToken(TSqlParser.DHCP, 0); }
public TerminalNode IP() { return getToken(TSqlParser.IP, 0); }
public List IPV4_ADDR() { return getTokens(TSqlParser.IPV4_ADDR); }
public TerminalNode IPV4_ADDR(int i) {
return getToken(TSqlParser.IPV4_ADDR, i);
}
public TerminalNode PORT() { return getToken(TSqlParser.PORT, 0); }
public List IPV6_ADDR() { return getTokens(TSqlParser.IPV6_ADDR); }
public TerminalNode IPV6_ADDR(int i) {
return getToken(TSqlParser.IPV6_ADDR, i);
}
public TerminalNode RESTART() { return getToken(TSqlParser.RESTART, 0); }
public TerminalNode OFFLINE() { return getToken(TSqlParser.OFFLINE, 0); }
public TerminalNode DTC_SUPPORT() { return getToken(TSqlParser.DTC_SUPPORT, 0); }
public TerminalNode PER_DB() { return getToken(TSqlParser.PER_DB, 0); }
public Alter_availability_group_optionsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_availability_group_options; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_availability_group_options(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_availability_group_options(this);
}
}
public final Alter_availability_group_optionsContext alter_availability_group_options() throws RecognitionException {
Alter_availability_group_optionsContext _localctx = new Alter_availability_group_optionsContext(_ctx, getState());
enterRule(_localctx, 160, RULE_alter_availability_group_options);
int _la;
try {
int _alt;
setState(2176);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,141,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1826);
match(SET);
setState(1827);
match(LR_BRACKET);
{
setState(1843);
_errHandler.sync(this);
switch (_input.LA(1)) {
case AUTOMATED_BACKUP_PREFERENCE:
{
setState(1828);
match(AUTOMATED_BACKUP_PREFERENCE);
setState(1829);
match(EQUAL);
setState(1830);
_la = _input.LA(1);
if ( !(_la==NONE || _la==PRIMARY || _la==SECONDARY || _la==SECONDARY_ONLY) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case FAILURE_CONDITION_LEVEL:
{
setState(1831);
match(FAILURE_CONDITION_LEVEL);
setState(1832);
match(EQUAL);
setState(1833);
match(DECIMAL);
}
break;
case HEALTH_CHECK_TIMEOUT:
{
setState(1834);
match(HEALTH_CHECK_TIMEOUT);
setState(1835);
match(EQUAL);
setState(1836);
((Alter_availability_group_optionsContext)_localctx).milliseconds = match(DECIMAL);
}
break;
case DB_FAILOVER:
{
setState(1837);
match(DB_FAILOVER);
setState(1838);
match(EQUAL);
setState(1839);
_la = _input.LA(1);
if ( !(_la==OFF || _la==ON) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT:
{
setState(1840);
match(REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT);
setState(1841);
match(EQUAL);
setState(1842);
match(DECIMAL);
}
break;
default:
throw new NoViableAltException(this);
}
setState(1845);
match(RR_BRACKET);
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1846);
match(ADD);
setState(1847);
match(DATABASE);
setState(1848);
((Alter_availability_group_optionsContext)_localctx).database_name = id();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1849);
match(REMOVE);
setState(1850);
match(DATABASE);
setState(1851);
((Alter_availability_group_optionsContext)_localctx).database_name = id();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1852);
match(ADD);
setState(1853);
match(REPLICA);
setState(1854);
match(ON);
setState(1855);
((Alter_availability_group_optionsContext)_localctx).server_instance = match(STRING);
{
setState(1856);
match(WITH);
setState(1857);
match(LR_BRACKET);
{
setState(1861);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ENDPOINT_URL) {
{
setState(1858);
match(ENDPOINT_URL);
setState(1859);
match(EQUAL);
setState(1860);
match(STRING);
}
}
setState(1869);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,101,_ctx) ) {
case 1:
{
setState(1864);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1863);
match(COMMA);
}
}
setState(1866);
match(AVAILABILITY_MODE);
setState(1867);
match(EQUAL);
setState(1868);
_la = _input.LA(1);
if ( !(_la==ASYNCHRONOUS_COMMIT || _la==SYNCHRONOUS_COMMIT) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
setState(1877);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,103,_ctx) ) {
case 1:
{
setState(1872);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1871);
match(COMMA);
}
}
setState(1874);
match(FAILOVER_MODE);
setState(1875);
match(EQUAL);
setState(1876);
_la = _input.LA(1);
if ( !(_la==AUTOMATIC || _la==MANUAL) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
setState(1885);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,105,_ctx) ) {
case 1:
{
setState(1880);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1879);
match(COMMA);
}
}
setState(1882);
match(SEEDING_MODE);
setState(1883);
match(EQUAL);
setState(1884);
_la = _input.LA(1);
if ( !(_la==AUTOMATIC || _la==MANUAL) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
setState(1893);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,107,_ctx) ) {
case 1:
{
setState(1888);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1887);
match(COMMA);
}
}
setState(1890);
match(BACKUP_PRIORITY);
setState(1891);
match(EQUAL);
setState(1892);
match(DECIMAL);
}
break;
}
setState(1904);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,109,_ctx) ) {
case 1:
{
setState(1896);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1895);
match(COMMA);
}
}
setState(1898);
match(PRIMARY_ROLE);
setState(1899);
match(LR_BRACKET);
setState(1900);
match(ALLOW_CONNECTIONS);
setState(1901);
match(EQUAL);
setState(1902);
_la = _input.LA(1);
if ( !(_la==ALL || _la==READ_WRITE) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(1903);
match(RR_BRACKET);
}
break;
}
setState(1915);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==SECONDARY_ROLE || _la==COMMA) {
{
setState(1907);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1906);
match(COMMA);
}
}
setState(1909);
match(SECONDARY_ROLE);
setState(1910);
match(LR_BRACKET);
setState(1911);
match(ALLOW_CONNECTIONS);
setState(1912);
match(EQUAL);
{
setState(1913);
match(READ_ONLY);
}
setState(1914);
match(RR_BRACKET);
}
}
}
}
setState(1917);
match(RR_BRACKET);
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(1918);
match(SECONDARY_ROLE);
setState(1919);
match(LR_BRACKET);
setState(1928);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ALLOW_CONNECTIONS:
{
setState(1920);
match(ALLOW_CONNECTIONS);
setState(1921);
match(EQUAL);
setState(1922);
_la = _input.LA(1);
if ( !(_la==ALL || _la==NO || _la==READ_ONLY) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case READ_ONLY_ROUTING_LIST:
{
setState(1923);
match(READ_ONLY_ROUTING_LIST);
setState(1924);
match(EQUAL);
{
setState(1925);
match(LR_BRACKET);
{
{
setState(1926);
match(STRING);
}
}
setState(1927);
match(RR_BRACKET);
}
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(1930);
match(PRIMARY_ROLE);
setState(1931);
match(LR_BRACKET);
setState(1954);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ALLOW_CONNECTIONS:
{
setState(1932);
match(ALLOW_CONNECTIONS);
setState(1933);
match(EQUAL);
setState(1934);
_la = _input.LA(1);
if ( !(_la==ALL || _la==NO || _la==READ_ONLY) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case READ_ONLY_ROUTING_LIST:
{
setState(1935);
match(READ_ONLY_ROUTING_LIST);
setState(1936);
match(EQUAL);
{
setState(1937);
match(LR_BRACKET);
setState(1948);
_errHandler.sync(this);
switch (_input.LA(1)) {
case STRING:
case RR_BRACKET:
case COMMA:
{
setState(1944);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==STRING || _la==COMMA) {
{
{
setState(1939);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1938);
match(COMMA);
}
}
setState(1941);
match(STRING);
}
}
setState(1946);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case NONE:
{
setState(1947);
match(NONE);
}
break;
default:
throw new NoViableAltException(this);
}
setState(1950);
match(RR_BRACKET);
}
}
break;
case SESSION_TIMEOUT:
{
setState(1951);
match(SESSION_TIMEOUT);
setState(1952);
match(EQUAL);
setState(1953);
((Alter_availability_group_optionsContext)_localctx).session_timeout = match(DECIMAL);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(1956);
match(MODIFY);
setState(1957);
match(REPLICA);
setState(1958);
match(ON);
setState(1959);
((Alter_availability_group_optionsContext)_localctx).server_instance = match(STRING);
setState(2017);
_errHandler.sync(this);
switch (_input.LA(1)) {
case WITH:
{
setState(1960);
match(WITH);
setState(1961);
match(LR_BRACKET);
setState(1977);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ENDPOINT_URL:
{
setState(1962);
match(ENDPOINT_URL);
setState(1963);
match(EQUAL);
setState(1964);
match(STRING);
}
break;
case AVAILABILITY_MODE:
{
setState(1965);
match(AVAILABILITY_MODE);
setState(1966);
match(EQUAL);
setState(1967);
_la = _input.LA(1);
if ( !(_la==ASYNCHRONOUS_COMMIT || _la==SYNCHRONOUS_COMMIT) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case FAILOVER_MODE:
{
setState(1968);
match(FAILOVER_MODE);
setState(1969);
match(EQUAL);
setState(1970);
_la = _input.LA(1);
if ( !(_la==AUTOMATIC || _la==MANUAL) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case SEEDING_MODE:
{
setState(1971);
match(SEEDING_MODE);
setState(1972);
match(EQUAL);
setState(1973);
_la = _input.LA(1);
if ( !(_la==AUTOMATIC || _la==MANUAL) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case BACKUP_PRIORITY:
{
setState(1974);
match(BACKUP_PRIORITY);
setState(1975);
match(EQUAL);
setState(1976);
match(DECIMAL);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case SECONDARY_ROLE:
{
setState(1979);
match(SECONDARY_ROLE);
setState(1980);
match(LR_BRACKET);
setState(1989);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ALLOW_CONNECTIONS:
{
setState(1981);
match(ALLOW_CONNECTIONS);
setState(1982);
match(EQUAL);
setState(1983);
_la = _input.LA(1);
if ( !(_la==ALL || _la==NO || _la==READ_ONLY) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case READ_ONLY_ROUTING_LIST:
{
setState(1984);
match(READ_ONLY_ROUTING_LIST);
setState(1985);
match(EQUAL);
{
setState(1986);
match(LR_BRACKET);
{
{
setState(1987);
match(STRING);
}
}
setState(1988);
match(RR_BRACKET);
}
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case PRIMARY_ROLE:
{
setState(1991);
match(PRIMARY_ROLE);
setState(1992);
match(LR_BRACKET);
setState(2015);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ALLOW_CONNECTIONS:
{
setState(1993);
match(ALLOW_CONNECTIONS);
setState(1994);
match(EQUAL);
setState(1995);
_la = _input.LA(1);
if ( !(_la==ALL || _la==NO || _la==READ_ONLY) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case READ_ONLY_ROUTING_LIST:
{
setState(1996);
match(READ_ONLY_ROUTING_LIST);
setState(1997);
match(EQUAL);
{
setState(1998);
match(LR_BRACKET);
setState(2009);
_errHandler.sync(this);
switch (_input.LA(1)) {
case STRING:
case RR_BRACKET:
case COMMA:
{
setState(2005);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==STRING || _la==COMMA) {
{
{
setState(2000);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1999);
match(COMMA);
}
}
setState(2002);
match(STRING);
}
}
setState(2007);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case NONE:
{
setState(2008);
match(NONE);
}
break;
default:
throw new NoViableAltException(this);
}
setState(2011);
match(RR_BRACKET);
}
}
break;
case SESSION_TIMEOUT:
{
setState(2012);
match(SESSION_TIMEOUT);
setState(2013);
match(EQUAL);
setState(2014);
((Alter_availability_group_optionsContext)_localctx).session_timeout = match(DECIMAL);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(2019);
match(RR_BRACKET);
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(2020);
match(REMOVE);
setState(2021);
match(REPLICA);
setState(2022);
match(ON);
setState(2023);
match(STRING);
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(2024);
match(JOIN);
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(2025);
match(JOIN);
setState(2026);
match(AVAILABILITY);
setState(2027);
match(GROUP);
setState(2028);
match(ON);
setState(2051);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
{
setState(2030);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2029);
match(COMMA);
}
}
setState(2032);
((Alter_availability_group_optionsContext)_localctx).ag_name = match(STRING);
setState(2033);
match(WITH);
setState(2034);
match(LR_BRACKET);
{
setState(2035);
match(LISTENER_URL);
setState(2036);
match(EQUAL);
setState(2037);
match(STRING);
setState(2038);
match(COMMA);
setState(2039);
match(AVAILABILITY_MODE);
setState(2040);
match(EQUAL);
setState(2041);
_la = _input.LA(1);
if ( !(_la==ASYNCHRONOUS_COMMIT || _la==SYNCHRONOUS_COMMIT) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(2042);
match(COMMA);
setState(2043);
match(FAILOVER_MODE);
setState(2044);
match(EQUAL);
setState(2045);
match(MANUAL);
setState(2046);
match(COMMA);
setState(2047);
match(SEEDING_MODE);
setState(2048);
match(EQUAL);
setState(2049);
_la = _input.LA(1);
if ( !(_la==AUTOMATIC || _la==MANUAL) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(2050);
match(RR_BRACKET);
}
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(2053);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,125,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(2055);
match(MODIFY);
setState(2056);
match(AVAILABILITY);
setState(2057);
match(GROUP);
setState(2058);
match(ON);
setState(2093);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
{
setState(2060);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2059);
match(COMMA);
}
}
setState(2062);
((Alter_availability_group_optionsContext)_localctx).ag_name_modified = match(STRING);
setState(2063);
match(WITH);
setState(2064);
match(LR_BRACKET);
{
setState(2065);
match(LISTENER_URL);
setState(2066);
match(EQUAL);
setState(2067);
match(STRING);
setState(2074);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,128,_ctx) ) {
case 1:
{
setState(2069);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2068);
match(COMMA);
}
}
setState(2071);
match(AVAILABILITY_MODE);
setState(2072);
match(EQUAL);
setState(2073);
_la = _input.LA(1);
if ( !(_la==ASYNCHRONOUS_COMMIT || _la==SYNCHRONOUS_COMMIT) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
setState(2082);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,130,_ctx) ) {
case 1:
{
setState(2077);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2076);
match(COMMA);
}
}
setState(2079);
match(FAILOVER_MODE);
setState(2080);
match(EQUAL);
setState(2081);
match(MANUAL);
}
break;
}
setState(2090);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==SEEDING_MODE || _la==COMMA) {
{
setState(2085);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2084);
match(COMMA);
}
}
setState(2087);
match(SEEDING_MODE);
setState(2088);
match(EQUAL);
setState(2089);
_la = _input.LA(1);
if ( !(_la==AUTOMATIC || _la==MANUAL) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(2092);
match(RR_BRACKET);
}
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(2095);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,133,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(2097);
match(GRANT);
setState(2098);
match(CREATE);
setState(2099);
match(ANY);
setState(2100);
match(DATABASE);
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(2101);
match(DENY);
setState(2102);
match(CREATE);
setState(2103);
match(ANY);
setState(2104);
match(DATABASE);
}
break;
case 14:
enterOuterAlt(_localctx, 14);
{
setState(2105);
match(FAILOVER);
}
break;
case 15:
enterOuterAlt(_localctx, 15);
{
setState(2106);
match(FORCE_FAILOVER_ALLOW_DATA_LOSS);
}
break;
case 16:
enterOuterAlt(_localctx, 16);
{
setState(2107);
match(ADD);
setState(2108);
match(LISTENER);
setState(2109);
((Alter_availability_group_optionsContext)_localctx).listener_name = match(STRING);
setState(2110);
match(LR_BRACKET);
setState(2144);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,138,_ctx) ) {
case 1:
{
setState(2111);
match(WITH);
setState(2112);
match(DHCP);
{
setState(2113);
match(ON);
setState(2114);
match(LR_BRACKET);
{
setState(2115);
match(IPV4_ADDR);
setState(2116);
match(IPV4_ADDR);
}
setState(2118);
match(RR_BRACKET);
}
}
break;
case 2:
{
setState(2119);
match(WITH);
setState(2120);
match(IP);
setState(2121);
match(LR_BRACKET);
{
setState(2133);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(2123);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2122);
match(COMMA);
}
}
setState(2125);
match(LR_BRACKET);
setState(2130);
_errHandler.sync(this);
switch (_input.LA(1)) {
case IPV4_ADDR:
{
setState(2126);
match(IPV4_ADDR);
setState(2127);
match(COMMA);
setState(2128);
match(IPV4_ADDR);
}
break;
case IPV6_ADDR:
{
setState(2129);
match(IPV6_ADDR);
}
break;
default:
throw new NoViableAltException(this);
}
setState(2132);
match(RR_BRACKET);
}
}
setState(2135);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==LR_BRACKET || _la==COMMA );
setState(2137);
match(RR_BRACKET);
setState(2142);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2138);
match(COMMA);
setState(2139);
match(PORT);
setState(2140);
match(EQUAL);
setState(2141);
match(DECIMAL);
}
}
}
}
break;
}
setState(2146);
match(RR_BRACKET);
}
break;
case 17:
enterOuterAlt(_localctx, 17);
{
setState(2147);
match(MODIFY);
setState(2148);
match(LISTENER);
setState(2161);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ADD:
{
setState(2149);
match(ADD);
setState(2150);
match(IP);
setState(2151);
match(LR_BRACKET);
setState(2155);
_errHandler.sync(this);
switch (_input.LA(1)) {
case IPV4_ADDR:
{
setState(2152);
match(IPV4_ADDR);
setState(2153);
match(IPV4_ADDR);
}
break;
case IPV6_ADDR:
{
setState(2154);
match(IPV6_ADDR);
}
break;
default:
throw new NoViableAltException(this);
}
setState(2157);
match(RR_BRACKET);
}
break;
case PORT:
{
setState(2158);
match(PORT);
setState(2159);
match(EQUAL);
setState(2160);
match(DECIMAL);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 18:
enterOuterAlt(_localctx, 18);
{
setState(2163);
match(RESTART);
setState(2164);
match(LISTENER);
setState(2165);
match(STRING);
}
break;
case 19:
enterOuterAlt(_localctx, 19);
{
setState(2166);
match(REMOVE);
setState(2167);
match(LISTENER);
setState(2168);
match(STRING);
}
break;
case 20:
enterOuterAlt(_localctx, 20);
{
setState(2169);
match(OFFLINE);
}
break;
case 21:
enterOuterAlt(_localctx, 21);
{
setState(2170);
match(WITH);
setState(2171);
match(LR_BRACKET);
setState(2172);
match(DTC_SUPPORT);
setState(2173);
match(EQUAL);
setState(2174);
match(PER_DB);
setState(2175);
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 Create_or_alter_broker_priorityContext extends ParserRuleContext {
public IdContext ConversationPriorityName;
public Token RemoteServiceName;
public Token PriorityValue;
public TerminalNode BROKER() { return getToken(TSqlParser.BROKER, 0); }
public TerminalNode PRIORITY() { return getToken(TSqlParser.PRIORITY, 0); }
public TerminalNode FOR() { return getToken(TSqlParser.FOR, 0); }
public TerminalNode CONVERSATION() { return getToken(TSqlParser.CONVERSATION, 0); }
public TerminalNode SET() { return getToken(TSqlParser.SET, 0); }
public TerminalNode LR_BRACKET() { return getToken(TSqlParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(TSqlParser.RR_BRACKET, 0); }
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode CONTRACT_NAME() { return getToken(TSqlParser.CONTRACT_NAME, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public TerminalNode LOCAL_SERVICE_NAME() { return getToken(TSqlParser.LOCAL_SERVICE_NAME, 0); }
public TerminalNode REMOTE_SERVICE_NAME() { return getToken(TSqlParser.REMOTE_SERVICE_NAME, 0); }
public TerminalNode PRIORITY_LEVEL() { return getToken(TSqlParser.PRIORITY_LEVEL, 0); }
public List ANY() { return getTokens(TSqlParser.ANY); }
public TerminalNode ANY(int i) {
return getToken(TSqlParser.ANY, i);
}
public TerminalNode DEFAULT() { return getToken(TSqlParser.DEFAULT, 0); }
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public TerminalNode DECIMAL() { return getToken(TSqlParser.DECIMAL, 0); }
public TerminalNode DOUBLE_FORWARD_SLASH() { return getToken(TSqlParser.DOUBLE_FORWARD_SLASH, 0); }
public Create_or_alter_broker_priorityContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_or_alter_broker_priority; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_or_alter_broker_priority(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_or_alter_broker_priority(this);
}
}
public final Create_or_alter_broker_priorityContext create_or_alter_broker_priority() throws RecognitionException {
Create_or_alter_broker_priorityContext _localctx = new Create_or_alter_broker_priorityContext(_ctx, getState());
enterRule(_localctx, 162, RULE_create_or_alter_broker_priority);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2178);
_la = _input.LA(1);
if ( !(_la==ALTER || _la==CREATE) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(2179);
match(BROKER);
setState(2180);
match(PRIORITY);
setState(2181);
((Create_or_alter_broker_priorityContext)_localctx).ConversationPriorityName = id();
setState(2182);
match(FOR);
setState(2183);
match(CONVERSATION);
setState(2184);
match(SET);
setState(2185);
match(LR_BRACKET);
setState(2195);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONTRACT_NAME) {
{
setState(2186);
match(CONTRACT_NAME);
setState(2187);
match(EQUAL);
setState(2190);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CALLED:
case DATA_COMPRESSION:
case EVENTDATA:
case FILENAME:
case FILLFACTOR:
case FORCESEEK:
case INIT:
case KEY:
case MASTER:
case MAX_MEMORY:
case OFFSETS:
case PAGE:
case PUBLIC:
case R:
case RAW:
case RETURN:
case RETURNS:
case ROWCOUNT:
case SAFETY:
case SERVER:
case SID:
case SOURCE:
case STATE:
case START:
case TARGET:
case ABSOLUTE:
case ACCENT_SENSITIVITY:
case ACTION:
case ACTIVATION:
case ACTIVE:
case ADDRESS:
case AES_128:
case AES_192:
case AES_256:
case AFFINITY:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ALLOW_ENCRYPTED_VALUE_MODIFICATIONS:
case ALLOW_SNAPSHOT_ISOLATION:
case ALLOWED:
case ANSI_NULL_DEFAULT:
case ANSI_NULLS:
case ANSI_PADDING:
case ANSI_WARNINGS:
case APPLICATION_LOG:
case APPLY:
case ARITHABORT:
case ASSEMBLY:
case AUDIT:
case AUDIT_GUID:
case AUTO:
case AUTO_CLEANUP:
case AUTO_CLOSE:
case AUTO_CREATE_STATISTICS:
case AUTO_SHRINK:
case AUTO_UPDATE_STATISTICS:
case AUTO_UPDATE_STATISTICS_ASYNC:
case AVAILABILITY:
case AVG:
case BACKUP_PRIORITY:
case BEGIN_DIALOG:
case BIGINT:
case BINARY_BASE64:
case BINARY_CHECKSUM:
case BINDING:
case BLOB_STORAGE:
case BROKER:
case BROKER_INSTANCE:
case BULK_LOGGED:
case CALLER:
case CAP_CPU_PERCENT:
case CAST:
case CATALOG:
case CATCH:
case CHANGE_RETENTION:
case CHANGE_TRACKING:
case CHECKSUM:
case CHECKSUM_AGG:
case CLEANUP:
case COLLECTION:
case COLUMN_MASTER_KEY:
case COMMITTED:
case COMPATIBILITY_LEVEL:
case CONCAT:
case CONCAT_NULL_YIELDS_NULL:
case CONTENT:
case CONTROL:
case COOKIE:
case COUNT:
case COUNT_BIG:
case COUNTER:
case CPU:
case CREATE_NEW:
case CREATION_DISPOSITION:
case CREDENTIAL:
case CRYPTOGRAPHIC:
case CURSOR_CLOSE_ON_COMMIT:
case CURSOR_DEFAULT:
case DATE_CORRELATION_OPTIMIZATION:
case DATEADD:
case DATEDIFF:
case DATENAME:
case DATEPART:
case DAYS:
case DB_CHAINING:
case DB_FAILOVER:
case DECRYPTION:
case DEFAULT_DOUBLE_QUOTE:
case DEFAULT_FULLTEXT_LANGUAGE:
case DEFAULT_LANGUAGE:
case DELAY:
case DELAYED_DURABILITY:
case DELETED:
case DENSE_RANK:
case DEPENDENTS:
case DES:
case DESCRIPTION:
case DESX:
case DHCP:
case DIALOG:
case DIRECTORY_NAME:
case DISABLE:
case DISABLE_BROKER:
case DISABLED:
case DISK_DRIVE:
case DOCUMENT:
case DYNAMIC:
case EMERGENCY:
case EMPTY:
case ENABLE:
case ENABLE_BROKER:
case ENCRYPTED_VALUE:
case ENCRYPTION:
case ENDPOINT_URL:
case ERROR_BROKER_CONVERSATIONS:
case EXCLUSIVE:
case EXECUTABLE:
case EXIST:
case EXPAND:
case EXPIRY_DATE:
case EXPLICIT:
case FAIL_OPERATION:
case FAILOVER_MODE:
case FAILURE:
case FAILURE_CONDITION_LEVEL:
case FAST:
case FAST_FORWARD:
case FILEGROUP:
case FILEGROWTH:
case FILEPATH:
case FILESTREAM:
case FILTER:
case FIRST:
case FIRST_VALUE:
case FOLLOWING:
case FORCE:
case FORCE_FAILOVER_ALLOW_DATA_LOSS:
case FORCED:
case FORMAT:
case FORWARD_ONLY:
case FULLSCAN:
case FULLTEXT:
case GB:
case GETDATE:
case GETUTCDATE:
case GLOBAL:
case GO:
case GROUP_MAX_REQUESTS:
case GROUPING:
case GROUPING_ID:
case HADR:
case HASH:
case HEALTH_CHECK_TIMEOUT:
case HIGH:
case HONOR_BROKER_PRIORITY:
case HOURS:
case IDENTITY_VALUE:
case IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX:
case IMMEDIATE:
case IMPERSONATE:
case IMPORTANCE:
case INCREMENTAL:
case INITIATOR:
case INPUT:
case INSENSITIVE:
case INSERTED:
case INT:
case IP:
case ISOLATION:
case KB:
case KEEP:
case KEEPFIXED:
case KEY_SOURCE:
case KEYS:
case KEYSET:
case LAG:
case LAST:
case LAST_VALUE:
case LEAD:
case LEVEL:
case LIST:
case LISTENER:
case LISTENER_URL:
case LOB_COMPACTION:
case LOCAL:
case LOCATION:
case LOCK:
case LOCK_ESCALATION:
case LOGIN:
case LOOP:
case LOW:
case MANUAL:
case MARK:
case MATERIALIZED:
case MAX:
case MAX_CPU_PERCENT:
case MAX_DOP:
case MAX_FILES:
case MAX_IOPS_PER_VOLUME:
case MAX_MEMORY_PERCENT:
case MAX_PROCESSES:
case MAX_QUEUE_READERS:
case MAX_ROLLOVER_FILES:
case MAXDOP:
case MAXRECURSION:
case MAXSIZE:
case MB:
case MEDIUM:
case MEMORY_OPTIMIZED_DATA:
case MESSAGE:
case MIN:
case MIN_ACTIVE_ROWVERSION:
case MIN_CPU_PERCENT:
case MIN_IOPS_PER_VOLUME:
case MIN_MEMORY_PERCENT:
case MINUTES:
case MIRROR_ADDRESS:
case MIXED_PAGE_ALLOCATION:
case MODE:
case MODIFY:
case MOVE:
case MULTI_USER:
case NAME:
case NESTED_TRIGGERS:
case NEW_ACCOUNT:
case NEW_BROKER:
case NEW_PASSWORD:
case NEXT:
case NO:
case NO_TRUNCATE:
case NO_WAIT:
case NOCOUNT:
case NODES:
case NOEXPAND:
case NON_TRANSACTED_ACCESS:
case NORECOMPUTE:
case NORECOVERY:
case NOWAIT:
case NTILE:
case NUMANODE:
case NUMBER:
case NUMERIC_ROUNDABORT:
case OBJECT:
case OFFLINE:
case OFFSET:
case OLD_ACCOUNT:
case ONLINE:
case ONLY:
case OPEN_EXISTING:
case OPTIMISTIC:
case OPTIMIZE:
case OUT:
case OUTPUT:
case OWNER:
case PAGE_VERIFY:
case PARAMETERIZATION:
case PARTITION:
case PARTITIONS:
case PARTNER:
case PATH:
case POISON_MESSAGE_HANDLING:
case POOL:
case PORT:
case PRECEDING:
case PRIMARY_ROLE:
case PRIOR:
case PRIORITY:
case PRIORITY_LEVEL:
case PRIVATE:
case PRIVATE_KEY:
case PRIVILEGES:
case PROCEDURE_NAME:
case PROPERTY:
case PROVIDER:
case PROVIDER_KEY_NAME:
case QUERY:
case QUEUE:
case QUEUE_DELAY:
case QUOTED_IDENTIFIER:
case RANGE:
case RANK:
case RC2:
case RC4:
case RC4_128:
case READ_COMMITTED_SNAPSHOT:
case READ_ONLY:
case READ_ONLY_ROUTING_LIST:
case READ_WRITE:
case READONLY:
case REBUILD:
case RECEIVE:
case RECOMPILE:
case RECOVERY:
case RECURSIVE_TRIGGERS:
case RELATIVE:
case REMOTE:
case REMOTE_SERVICE_NAME:
case REMOVE:
case REORGANIZE:
case REPEATABLE:
case REPLICA:
case REQUEST_MAX_CPU_TIME_SEC:
case REQUEST_MAX_MEMORY_GRANT_PERCENT:
case REQUEST_MEMORY_GRANT_TIMEOUT_SEC:
case REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT:
case RESERVE_DISK_SPACE:
case RESOURCE:
case RESOURCE_MANAGER_LOCATION:
case RESTRICTED_USER:
case RETENTION:
case ROBUST:
case ROOT:
case ROUTE:
case ROW:
case ROW_NUMBER:
case ROWGUID:
case ROWS:
case SAMPLE:
case SCHEMABINDING:
case SCOPED:
case SCROLL:
case SCROLL_LOCKS:
case SEARCH:
case SECONDARY:
case SECONDARY_ONLY:
case SECONDARY_ROLE:
case SECONDS:
case SECRET:
case SECURITY_LOG:
case SEEDING_MODE:
case SELF:
case SEMI_SENSITIVE:
case SEND:
case SENT:
case SERIALIZABLE:
case SESSION_TIMEOUT:
case SETERROR:
case SHARE:
case SHOWPLAN:
case SIGNATURE:
case SIMPLE:
case SINGLE_USER:
case SIZE:
case SMALLINT:
case SNAPSHOT:
case SPATIAL_WINDOW_MAX_CELLS:
case STANDBY:
case START_DATE:
case STATIC:
case STATS_STREAM:
case STATUS:
case STDEV:
case STDEVP:
case STOPLIST:
case STUFF:
case SUBJECT:
case SUM:
case SUSPEND:
case SYMMETRIC:
case SYNCHRONOUS_COMMIT:
case SYNONYM:
case TAKE:
case TARGET_RECOVERY_TIME:
case TB:
case TEXTIMAGE_ON:
case THROW:
case TIES:
case TIME:
case TIMEOUT:
case TIMER:
case TINYINT:
case TORN_PAGE_DETECTION:
case TRANSFORM_NOISE_WORDS:
case TRIPLE_DES:
case TRIPLE_DES_3KEY:
case TRUSTWORTHY:
case TRY:
case TSQL:
case TWO_DIGIT_YEAR_CUTOFF:
case TYPE:
case TYPE_WARNING:
case UNBOUNDED:
case UNCOMMITTED:
case UNKNOWN:
case UNLIMITED:
case USING:
case VALID_XML:
case VALIDATION:
case VALUE:
case VAR:
case VARP:
case VIEW_METADATA:
case VIEWS:
case WAIT:
case WELL_FORMED_XML:
case WORK:
case WORKLOAD:
case XML:
case XMLNAMESPACES:
case DOUBLE_QUOTE_ID:
case SQUARE_BRACKET_ID:
case ID:
{
{
setState(2188);
id();
}
}
break;
case ANY:
{
setState(2189);
match(ANY);
}
break;
default:
throw new NoViableAltException(this);
}
setState(2193);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2192);
match(COMMA);
}
}
}
}
setState(2209);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LOCAL_SERVICE_NAME) {
{
setState(2197);
match(LOCAL_SERVICE_NAME);
setState(2198);
match(EQUAL);
setState(2204);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CALLED:
case DATA_COMPRESSION:
case DOUBLE_FORWARD_SLASH:
case EVENTDATA:
case FILENAME:
case FILLFACTOR:
case FORCESEEK:
case INIT:
case KEY:
case MASTER:
case MAX_MEMORY:
case OFFSETS:
case PAGE:
case PUBLIC:
case R:
case RAW:
case RETURN:
case RETURNS:
case ROWCOUNT:
case SAFETY:
case SERVER:
case SID:
case SOURCE:
case STATE:
case START:
case TARGET:
case ABSOLUTE:
case ACCENT_SENSITIVITY:
case ACTION:
case ACTIVATION:
case ACTIVE:
case ADDRESS:
case AES_128:
case AES_192:
case AES_256:
case AFFINITY:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ALLOW_ENCRYPTED_VALUE_MODIFICATIONS:
case ALLOW_SNAPSHOT_ISOLATION:
case ALLOWED:
case ANSI_NULL_DEFAULT:
case ANSI_NULLS:
case ANSI_PADDING:
case ANSI_WARNINGS:
case APPLICATION_LOG:
case APPLY:
case ARITHABORT:
case ASSEMBLY:
case AUDIT:
case AUDIT_GUID:
case AUTO:
case AUTO_CLEANUP:
case AUTO_CLOSE:
case AUTO_CREATE_STATISTICS:
case AUTO_SHRINK:
case AUTO_UPDATE_STATISTICS:
case AUTO_UPDATE_STATISTICS_ASYNC:
case AVAILABILITY:
case AVG:
case BACKUP_PRIORITY:
case BEGIN_DIALOG:
case BIGINT:
case BINARY_BASE64:
case BINARY_CHECKSUM:
case BINDING:
case BLOB_STORAGE:
case BROKER:
case BROKER_INSTANCE:
case BULK_LOGGED:
case CALLER:
case CAP_CPU_PERCENT:
case CAST:
case CATALOG:
case CATCH:
case CHANGE_RETENTION:
case CHANGE_TRACKING:
case CHECKSUM:
case CHECKSUM_AGG:
case CLEANUP:
case COLLECTION:
case COLUMN_MASTER_KEY:
case COMMITTED:
case COMPATIBILITY_LEVEL:
case CONCAT:
case CONCAT_NULL_YIELDS_NULL:
case CONTENT:
case CONTROL:
case COOKIE:
case COUNT:
case COUNT_BIG:
case COUNTER:
case CPU:
case CREATE_NEW:
case CREATION_DISPOSITION:
case CREDENTIAL:
case CRYPTOGRAPHIC:
case CURSOR_CLOSE_ON_COMMIT:
case CURSOR_DEFAULT:
case DATE_CORRELATION_OPTIMIZATION:
case DATEADD:
case DATEDIFF:
case DATENAME:
case DATEPART:
case DAYS:
case DB_CHAINING:
case DB_FAILOVER:
case DECRYPTION:
case DEFAULT_DOUBLE_QUOTE:
case DEFAULT_FULLTEXT_LANGUAGE:
case DEFAULT_LANGUAGE:
case DELAY:
case DELAYED_DURABILITY:
case DELETED:
case DENSE_RANK:
case DEPENDENTS:
case DES:
case DESCRIPTION:
case DESX:
case DHCP:
case DIALOG:
case DIRECTORY_NAME:
case DISABLE:
case DISABLE_BROKER:
case DISABLED:
case DISK_DRIVE:
case DOCUMENT:
case DYNAMIC:
case EMERGENCY:
case EMPTY:
case ENABLE:
case ENABLE_BROKER:
case ENCRYPTED_VALUE:
case ENCRYPTION:
case ENDPOINT_URL:
case ERROR_BROKER_CONVERSATIONS:
case EXCLUSIVE:
case EXECUTABLE:
case EXIST:
case EXPAND:
case EXPIRY_DATE:
case EXPLICIT:
case FAIL_OPERATION:
case FAILOVER_MODE:
case FAILURE:
case FAILURE_CONDITION_LEVEL:
case FAST:
case FAST_FORWARD:
case FILEGROUP:
case FILEGROWTH:
case FILEPATH:
case FILESTREAM:
case FILTER:
case FIRST:
case FIRST_VALUE:
case FOLLOWING:
case FORCE:
case FORCE_FAILOVER_ALLOW_DATA_LOSS:
case FORCED:
case FORMAT:
case FORWARD_ONLY:
case FULLSCAN:
case FULLTEXT:
case GB:
case GETDATE:
case GETUTCDATE:
case GLOBAL:
case GO:
case GROUP_MAX_REQUESTS:
case GROUPING:
case GROUPING_ID:
case HADR:
case HASH:
case HEALTH_CHECK_TIMEOUT:
case HIGH:
case HONOR_BROKER_PRIORITY:
case HOURS:
case IDENTITY_VALUE:
case IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX:
case IMMEDIATE:
case IMPERSONATE:
case IMPORTANCE:
case INCREMENTAL:
case INITIATOR:
case INPUT:
case INSENSITIVE:
case INSERTED:
case INT:
case IP:
case ISOLATION:
case KB:
case KEEP:
case KEEPFIXED:
case KEY_SOURCE:
case KEYS:
case KEYSET:
case LAG:
case LAST:
case LAST_VALUE:
case LEAD:
case LEVEL:
case LIST:
case LISTENER:
case LISTENER_URL:
case LOB_COMPACTION:
case LOCAL:
case LOCATION:
case LOCK:
case LOCK_ESCALATION:
case LOGIN:
case LOOP:
case LOW:
case MANUAL:
case MARK:
case MATERIALIZED:
case MAX:
case MAX_CPU_PERCENT:
case MAX_DOP:
case MAX_FILES:
case MAX_IOPS_PER_VOLUME:
case MAX_MEMORY_PERCENT:
case MAX_PROCESSES:
case MAX_QUEUE_READERS:
case MAX_ROLLOVER_FILES:
case MAXDOP:
case MAXRECURSION:
case MAXSIZE:
case MB:
case MEDIUM:
case MEMORY_OPTIMIZED_DATA:
case MESSAGE:
case MIN:
case MIN_ACTIVE_ROWVERSION:
case MIN_CPU_PERCENT:
case MIN_IOPS_PER_VOLUME:
case MIN_MEMORY_PERCENT:
case MINUTES:
case MIRROR_ADDRESS:
case MIXED_PAGE_ALLOCATION:
case MODE:
case MODIFY:
case MOVE:
case MULTI_USER:
case NAME:
case NESTED_TRIGGERS:
case NEW_ACCOUNT:
case NEW_BROKER:
case NEW_PASSWORD:
case NEXT:
case NO:
case NO_TRUNCATE:
case NO_WAIT:
case NOCOUNT:
case NODES:
case NOEXPAND:
case NON_TRANSACTED_ACCESS:
case NORECOMPUTE:
case NORECOVERY:
case NOWAIT:
case NTILE:
case NUMANODE:
case NUMBER:
case NUMERIC_ROUNDABORT:
case OBJECT:
case OFFLINE:
case OFFSET:
case OLD_ACCOUNT:
case ONLINE:
case ONLY:
case OPEN_EXISTING:
case OPTIMISTIC:
case OPTIMIZE:
case OUT:
case OUTPUT:
case OWNER:
case PAGE_VERIFY:
case PARAMETERIZATION:
case PARTITION:
case PARTITIONS:
case PARTNER:
case PATH:
case POISON_MESSAGE_HANDLING:
case POOL:
case PORT:
case PRECEDING:
case PRIMARY_ROLE:
case PRIOR:
case PRIORITY:
case PRIORITY_LEVEL:
case PRIVATE:
case PRIVATE_KEY:
case PRIVILEGES:
case PROCEDURE_NAME:
case PROPERTY:
case PROVIDER:
case PROVIDER_KEY_NAME:
case QUERY:
case QUEUE:
case QUEUE_DELAY:
case QUOTED_IDENTIFIER:
case RANGE:
case RANK:
case RC2:
case RC4:
case RC4_128:
case READ_COMMITTED_SNAPSHOT:
case READ_ONLY:
case READ_ONLY_ROUTING_LIST:
case READ_WRITE:
case READONLY:
case REBUILD:
case RECEIVE:
case RECOMPILE:
case RECOVERY:
case RECURSIVE_TRIGGERS:
case RELATIVE:
case REMOTE:
case REMOTE_SERVICE_NAME:
case REMOVE:
case REORGANIZE:
case REPEATABLE:
case REPLICA:
case REQUEST_MAX_CPU_TIME_SEC:
case REQUEST_MAX_MEMORY_GRANT_PERCENT:
case REQUEST_MEMORY_GRANT_TIMEOUT_SEC:
case REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT:
case RESERVE_DISK_SPACE:
case RESOURCE:
case RESOURCE_MANAGER_LOCATION:
case RESTRICTED_USER:
case RETENTION:
case ROBUST:
case ROOT:
case ROUTE:
case ROW:
case ROW_NUMBER:
case ROWGUID:
case ROWS:
case SAMPLE:
case SCHEMABINDING:
case SCOPED:
case SCROLL:
case SCROLL_LOCKS:
case SEARCH:
case SECONDARY:
case SECONDARY_ONLY:
case SECONDARY_ROLE:
case SECONDS:
case SECRET:
case SECURITY_LOG:
case SEEDING_MODE:
case SELF:
case SEMI_SENSITIVE:
case SEND:
case SENT:
case SERIALIZABLE:
case SESSION_TIMEOUT:
case SETERROR:
case SHARE:
case SHOWPLAN:
case SIGNATURE:
case SIMPLE:
case SINGLE_USER:
case SIZE:
case SMALLINT:
case SNAPSHOT:
case SPATIAL_WINDOW_MAX_CELLS:
case STANDBY:
case START_DATE:
case STATIC:
case STATS_STREAM:
case STATUS:
case STDEV:
case STDEVP:
case STOPLIST:
case STUFF:
case SUBJECT:
case SUM:
case SUSPEND:
case SYMMETRIC:
case SYNCHRONOUS_COMMIT:
case SYNONYM:
case TAKE:
case TARGET_RECOVERY_TIME:
case TB:
case TEXTIMAGE_ON:
case THROW:
case TIES:
case TIME:
case TIMEOUT:
case TIMER:
case TINYINT:
case TORN_PAGE_DETECTION:
case TRANSFORM_NOISE_WORDS:
case TRIPLE_DES:
case TRIPLE_DES_3KEY:
case TRUSTWORTHY:
case TRY:
case TSQL:
case TWO_DIGIT_YEAR_CUTOFF:
case TYPE:
case TYPE_WARNING:
case UNBOUNDED:
case UNCOMMITTED:
case UNKNOWN:
case UNLIMITED:
case USING:
case VALID_XML:
case VALIDATION:
case VALUE:
case VAR:
case VARP:
case VIEW_METADATA:
case VIEWS:
case WAIT:
case WELL_FORMED_XML:
case WORK:
case WORKLOAD:
case XML:
case XMLNAMESPACES:
case DOUBLE_QUOTE_ID:
case SQUARE_BRACKET_ID:
case ID:
{
setState(2200);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DOUBLE_FORWARD_SLASH) {
{
setState(2199);
match(DOUBLE_FORWARD_SLASH);
}
}
setState(2202);
id();
}
break;
case ANY:
{
setState(2203);
match(ANY);
}
break;
default:
throw new NoViableAltException(this);
}
setState(2207);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2206);
match(COMMA);
}
}
}
}
setState(2220);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==REMOTE_SERVICE_NAME) {
{
setState(2211);
match(REMOTE_SERVICE_NAME);
setState(2212);
match(EQUAL);
setState(2215);
_errHandler.sync(this);
switch (_input.LA(1)) {
case STRING:
{
setState(2213);
((Create_or_alter_broker_priorityContext)_localctx).RemoteServiceName = match(STRING);
}
break;
case ANY:
{
setState(2214);
match(ANY);
}
break;
default:
throw new NoViableAltException(this);
}
setState(2218);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2217);
match(COMMA);
}
}
}
}
setState(2228);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PRIORITY_LEVEL) {
{
setState(2222);
match(PRIORITY_LEVEL);
setState(2223);
match(EQUAL);
setState(2226);
_errHandler.sync(this);
switch (_input.LA(1)) {
case DECIMAL:
{
setState(2224);
((Create_or_alter_broker_priorityContext)_localctx).PriorityValue = match(DECIMAL);
}
break;
case DEFAULT:
{
setState(2225);
match(DEFAULT);
}
break;
default:
throw new NoViableAltException(this);
}
}
}
setState(2230);
match(RR_BRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_broker_priorityContext extends ParserRuleContext {
public IdContext ConversationPriorityName;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode BROKER() { return getToken(TSqlParser.BROKER, 0); }
public TerminalNode PRIORITY() { return getToken(TSqlParser.PRIORITY, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_broker_priorityContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_broker_priority; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_broker_priority(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_broker_priority(this);
}
}
public final Drop_broker_priorityContext drop_broker_priority() throws RecognitionException {
Drop_broker_priorityContext _localctx = new Drop_broker_priorityContext(_ctx, getState());
enterRule(_localctx, 164, RULE_drop_broker_priority);
try {
enterOuterAlt(_localctx, 1);
{
setState(2232);
match(DROP);
setState(2233);
match(BROKER);
setState(2234);
match(PRIORITY);
setState(2235);
((Drop_broker_priorityContext)_localctx).ConversationPriorityName = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_certificateContext extends ParserRuleContext {
public IdContext certificate_name;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode CERTIFICATE() { return getToken(TSqlParser.CERTIFICATE, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode REMOVE() { return getToken(TSqlParser.REMOVE, 0); }
public TerminalNode PRIVATE_KEY() { return getToken(TSqlParser.PRIVATE_KEY, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode PRIVATE() { return getToken(TSqlParser.PRIVATE, 0); }
public TerminalNode KEY() { return getToken(TSqlParser.KEY, 0); }
public TerminalNode LR_BRACKET() { return getToken(TSqlParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(TSqlParser.RR_BRACKET, 0); }
public TerminalNode ACTIVE() { return getToken(TSqlParser.ACTIVE, 0); }
public TerminalNode FOR() { return getToken(TSqlParser.FOR, 0); }
public TerminalNode BEGIN_DIALOG() { return getToken(TSqlParser.BEGIN_DIALOG, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public TerminalNode ON() { return getToken(TSqlParser.ON, 0); }
public TerminalNode OFF() { return getToken(TSqlParser.OFF, 0); }
public List FILE() { return getTokens(TSqlParser.FILE); }
public TerminalNode FILE(int i) {
return getToken(TSqlParser.FILE, i);
}
public List STRING() { return getTokens(TSqlParser.STRING); }
public TerminalNode STRING(int i) {
return getToken(TSqlParser.STRING, i);
}
public List DECRYPTION() { return getTokens(TSqlParser.DECRYPTION); }
public TerminalNode DECRYPTION(int i) {
return getToken(TSqlParser.DECRYPTION, i);
}
public List BY() { return getTokens(TSqlParser.BY); }
public TerminalNode BY(int i) {
return getToken(TSqlParser.BY, i);
}
public List PASSWORD() { return getTokens(TSqlParser.PASSWORD); }
public TerminalNode PASSWORD(int i) {
return getToken(TSqlParser.PASSWORD, i);
}
public List ENCRYPTION() { return getTokens(TSqlParser.ENCRYPTION); }
public TerminalNode ENCRYPTION(int i) {
return getToken(TSqlParser.ENCRYPTION, i);
}
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public Alter_certificateContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_certificate; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_certificate(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_certificate(this);
}
}
public final Alter_certificateContext alter_certificate() throws RecognitionException {
Alter_certificateContext _localctx = new Alter_certificateContext(_ctx, getState());
enterRule(_localctx, 166, RULE_alter_certificate);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2237);
match(ALTER);
setState(2238);
match(CERTIFICATE);
setState(2239);
((Alter_certificateContext)_localctx).certificate_name = id();
setState(2279);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,159,_ctx) ) {
case 1:
{
setState(2240);
match(REMOVE);
setState(2241);
match(PRIVATE_KEY);
}
break;
case 2:
{
setState(2242);
match(WITH);
setState(2243);
match(PRIVATE);
setState(2244);
match(KEY);
setState(2245);
match(LR_BRACKET);
setState(2268);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
setState(2268);
_errHandler.sync(this);
switch (_input.LA(1)) {
case FILE:
{
setState(2246);
match(FILE);
setState(2247);
match(EQUAL);
setState(2248);
match(STRING);
setState(2250);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2249);
match(COMMA);
}
}
}
break;
case DECRYPTION:
{
setState(2252);
match(DECRYPTION);
setState(2253);
match(BY);
setState(2254);
match(PASSWORD);
setState(2255);
match(EQUAL);
setState(2256);
match(STRING);
setState(2258);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2257);
match(COMMA);
}
}
}
break;
case ENCRYPTION:
{
setState(2260);
match(ENCRYPTION);
setState(2261);
match(BY);
setState(2262);
match(PASSWORD);
setState(2263);
match(EQUAL);
setState(2264);
match(STRING);
setState(2266);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2265);
match(COMMA);
}
}
}
break;
default:
throw new NoViableAltException(this);
}
}
setState(2270);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==FILE || _la==DECRYPTION || _la==ENCRYPTION );
setState(2272);
match(RR_BRACKET);
}
break;
case 3:
{
setState(2273);
match(WITH);
setState(2274);
match(ACTIVE);
setState(2275);
match(FOR);
setState(2276);
match(BEGIN_DIALOG);
setState(2277);
match(EQUAL);
setState(2278);
_la = _input.LA(1);
if ( !(_la==OFF || _la==ON) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_column_encryption_keyContext extends ParserRuleContext {
public IdContext column_encryption_key;
public IdContext column_master_key_name;
public Token algorithm_name;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode COLUMN() { return getToken(TSqlParser.COLUMN, 0); }
public TerminalNode ENCRYPTION() { return getToken(TSqlParser.ENCRYPTION, 0); }
public TerminalNode KEY() { return getToken(TSqlParser.KEY, 0); }
public TerminalNode VALUE() { return getToken(TSqlParser.VALUE, 0); }
public TerminalNode LR_BRACKET() { return getToken(TSqlParser.LR_BRACKET, 0); }
public TerminalNode COLUMN_MASTER_KEY() { return getToken(TSqlParser.COLUMN_MASTER_KEY, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public TerminalNode RR_BRACKET() { return getToken(TSqlParser.RR_BRACKET, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode ADD() { return getToken(TSqlParser.ADD, 0); }
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public TerminalNode ALGORITHM() { return getToken(TSqlParser.ALGORITHM, 0); }
public TerminalNode ENCRYPTED_VALUE() { return getToken(TSqlParser.ENCRYPTED_VALUE, 0); }
public TerminalNode BINARY() { return getToken(TSqlParser.BINARY, 0); }
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public Alter_column_encryption_keyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_column_encryption_key; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_column_encryption_key(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_column_encryption_key(this);
}
}
public final Alter_column_encryption_keyContext alter_column_encryption_key() throws RecognitionException {
Alter_column_encryption_keyContext _localctx = new Alter_column_encryption_keyContext(_ctx, getState());
enterRule(_localctx, 168, RULE_alter_column_encryption_key);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2281);
match(ALTER);
setState(2282);
match(COLUMN);
setState(2283);
match(ENCRYPTION);
setState(2284);
match(KEY);
setState(2285);
((Alter_column_encryption_keyContext)_localctx).column_encryption_key = id();
setState(2286);
_la = _input.LA(1);
if ( !(_la==ADD || _la==DROP) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(2287);
match(VALUE);
setState(2288);
match(LR_BRACKET);
setState(2289);
match(COLUMN_MASTER_KEY);
setState(2290);
match(EQUAL);
setState(2291);
((Alter_column_encryption_keyContext)_localctx).column_master_key_name = id();
setState(2300);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2292);
match(COMMA);
setState(2293);
match(ALGORITHM);
setState(2294);
match(EQUAL);
setState(2295);
((Alter_column_encryption_keyContext)_localctx).algorithm_name = match(STRING);
setState(2296);
match(COMMA);
setState(2297);
match(ENCRYPTED_VALUE);
setState(2298);
match(EQUAL);
setState(2299);
match(BINARY);
}
}
setState(2302);
match(RR_BRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Create_column_encryption_keyContext extends ParserRuleContext {
public IdContext column_encryption_key;
public IdContext column_master_key_name;
public Token algorithm_name;
public Token encrypted_value;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode COLUMN() { return getToken(TSqlParser.COLUMN, 0); }
public TerminalNode ENCRYPTION() { return getToken(TSqlParser.ENCRYPTION, 0); }
public TerminalNode KEY() { return getToken(TSqlParser.KEY, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode VALUES() { return getToken(TSqlParser.VALUES, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public List LR_BRACKET() { return getTokens(TSqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(TSqlParser.LR_BRACKET, i);
}
public List COLUMN_MASTER_KEY() { return getTokens(TSqlParser.COLUMN_MASTER_KEY); }
public TerminalNode COLUMN_MASTER_KEY(int i) {
return getToken(TSqlParser.COLUMN_MASTER_KEY, i);
}
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public List ALGORITHM() { return getTokens(TSqlParser.ALGORITHM); }
public TerminalNode ALGORITHM(int i) {
return getToken(TSqlParser.ALGORITHM, i);
}
public List ENCRYPTED_VALUE() { return getTokens(TSqlParser.ENCRYPTED_VALUE); }
public TerminalNode ENCRYPTED_VALUE(int i) {
return getToken(TSqlParser.ENCRYPTED_VALUE, i);
}
public List RR_BRACKET() { return getTokens(TSqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(TSqlParser.RR_BRACKET, i);
}
public List STRING() { return getTokens(TSqlParser.STRING); }
public TerminalNode STRING(int i) {
return getToken(TSqlParser.STRING, i);
}
public List BINARY() { return getTokens(TSqlParser.BINARY); }
public TerminalNode BINARY(int i) {
return getToken(TSqlParser.BINARY, i);
}
public Create_column_encryption_keyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_column_encryption_key; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_column_encryption_key(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_column_encryption_key(this);
}
}
public final Create_column_encryption_keyContext create_column_encryption_key() throws RecognitionException {
Create_column_encryption_keyContext _localctx = new Create_column_encryption_keyContext(_ctx, getState());
enterRule(_localctx, 170, RULE_create_column_encryption_key);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(2304);
match(CREATE);
setState(2305);
match(COLUMN);
setState(2306);
match(ENCRYPTION);
setState(2307);
match(KEY);
setState(2308);
((Create_column_encryption_keyContext)_localctx).column_encryption_key = id();
setState(2309);
match(WITH);
setState(2310);
match(VALUES);
setState(2330);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
{
setState(2311);
match(LR_BRACKET);
setState(2313);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2312);
match(COMMA);
}
}
setState(2315);
match(COLUMN_MASTER_KEY);
setState(2316);
match(EQUAL);
setState(2317);
((Create_column_encryption_keyContext)_localctx).column_master_key_name = id();
setState(2318);
match(COMMA);
setState(2319);
match(ALGORITHM);
setState(2320);
match(EQUAL);
setState(2321);
((Create_column_encryption_keyContext)_localctx).algorithm_name = match(STRING);
setState(2322);
match(COMMA);
setState(2323);
match(ENCRYPTED_VALUE);
setState(2324);
match(EQUAL);
setState(2325);
((Create_column_encryption_keyContext)_localctx).encrypted_value = match(BINARY);
setState(2326);
match(RR_BRACKET);
setState(2328);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2327);
match(COMMA);
}
}
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(2332);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,163,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_certificateContext extends ParserRuleContext {
public IdContext certificate_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode CERTIFICATE() { return getToken(TSqlParser.CERTIFICATE, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_certificateContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_certificate; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_certificate(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_certificate(this);
}
}
public final Drop_certificateContext drop_certificate() throws RecognitionException {
Drop_certificateContext _localctx = new Drop_certificateContext(_ctx, getState());
enterRule(_localctx, 172, RULE_drop_certificate);
try {
enterOuterAlt(_localctx, 1);
{
setState(2334);
match(DROP);
setState(2335);
match(CERTIFICATE);
setState(2336);
((Drop_certificateContext)_localctx).certificate_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_column_encryption_keyContext extends ParserRuleContext {
public IdContext key_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode COLUMN() { return getToken(TSqlParser.COLUMN, 0); }
public TerminalNode ENCRYPTION() { return getToken(TSqlParser.ENCRYPTION, 0); }
public TerminalNode KEY() { return getToken(TSqlParser.KEY, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_column_encryption_keyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_column_encryption_key; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_column_encryption_key(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_column_encryption_key(this);
}
}
public final Drop_column_encryption_keyContext drop_column_encryption_key() throws RecognitionException {
Drop_column_encryption_keyContext _localctx = new Drop_column_encryption_keyContext(_ctx, getState());
enterRule(_localctx, 174, RULE_drop_column_encryption_key);
try {
enterOuterAlt(_localctx, 1);
{
setState(2338);
match(DROP);
setState(2339);
match(COLUMN);
setState(2340);
match(ENCRYPTION);
setState(2341);
match(KEY);
setState(2342);
((Drop_column_encryption_keyContext)_localctx).key_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_column_master_keyContext extends ParserRuleContext {
public IdContext key_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode COLUMN() { return getToken(TSqlParser.COLUMN, 0); }
public TerminalNode MASTER() { return getToken(TSqlParser.MASTER, 0); }
public TerminalNode KEY() { return getToken(TSqlParser.KEY, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_column_master_keyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_column_master_key; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_column_master_key(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_column_master_key(this);
}
}
public final Drop_column_master_keyContext drop_column_master_key() throws RecognitionException {
Drop_column_master_keyContext _localctx = new Drop_column_master_keyContext(_ctx, getState());
enterRule(_localctx, 176, RULE_drop_column_master_key);
try {
enterOuterAlt(_localctx, 1);
{
setState(2344);
match(DROP);
setState(2345);
match(COLUMN);
setState(2346);
match(MASTER);
setState(2347);
match(KEY);
setState(2348);
((Drop_column_master_keyContext)_localctx).key_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_contractContext extends ParserRuleContext {
public IdContext dropped_contract_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode CONTRACT() { return getToken(TSqlParser.CONTRACT, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_contractContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_contract; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_contract(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_contract(this);
}
}
public final Drop_contractContext drop_contract() throws RecognitionException {
Drop_contractContext _localctx = new Drop_contractContext(_ctx, getState());
enterRule(_localctx, 178, RULE_drop_contract);
try {
enterOuterAlt(_localctx, 1);
{
setState(2350);
match(DROP);
setState(2351);
match(CONTRACT);
setState(2352);
((Drop_contractContext)_localctx).dropped_contract_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_credentialContext extends ParserRuleContext {
public IdContext credential_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode CREDENTIAL() { return getToken(TSqlParser.CREDENTIAL, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_credentialContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_credential; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_credential(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_credential(this);
}
}
public final Drop_credentialContext drop_credential() throws RecognitionException {
Drop_credentialContext _localctx = new Drop_credentialContext(_ctx, getState());
enterRule(_localctx, 180, RULE_drop_credential);
try {
enterOuterAlt(_localctx, 1);
{
setState(2354);
match(DROP);
setState(2355);
match(CREDENTIAL);
setState(2356);
((Drop_credentialContext)_localctx).credential_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_cryptograhic_providerContext extends ParserRuleContext {
public IdContext provider_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode CRYPTOGRAPHIC() { return getToken(TSqlParser.CRYPTOGRAPHIC, 0); }
public TerminalNode PROVIDER() { return getToken(TSqlParser.PROVIDER, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_cryptograhic_providerContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_cryptograhic_provider; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_cryptograhic_provider(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_cryptograhic_provider(this);
}
}
public final Drop_cryptograhic_providerContext drop_cryptograhic_provider() throws RecognitionException {
Drop_cryptograhic_providerContext _localctx = new Drop_cryptograhic_providerContext(_ctx, getState());
enterRule(_localctx, 182, RULE_drop_cryptograhic_provider);
try {
enterOuterAlt(_localctx, 1);
{
setState(2358);
match(DROP);
setState(2359);
match(CRYPTOGRAPHIC);
setState(2360);
match(PROVIDER);
setState(2361);
((Drop_cryptograhic_providerContext)_localctx).provider_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_databaseContext extends ParserRuleContext {
public IdContext database_name_or_database_snapshot_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode DATABASE() { return getToken(TSqlParser.DATABASE, 0); }
public TerminalNode IF() { return getToken(TSqlParser.IF, 0); }
public TerminalNode EXISTS() { return getToken(TSqlParser.EXISTS, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public Drop_databaseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_database; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_database(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_database(this);
}
}
public final Drop_databaseContext drop_database() throws RecognitionException {
Drop_databaseContext _localctx = new Drop_databaseContext(_ctx, getState());
enterRule(_localctx, 184, RULE_drop_database);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(2363);
match(DROP);
setState(2364);
match(DATABASE);
setState(2367);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(2365);
match(IF);
setState(2366);
match(EXISTS);
}
}
setState(2373);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
{
setState(2370);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2369);
match(COMMA);
}
}
setState(2372);
((Drop_databaseContext)_localctx).database_name_or_database_snapshot_name = id();
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(2375);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,166,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_database_audit_specificationContext extends ParserRuleContext {
public IdContext audit_specification_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode DATABASE() { return getToken(TSqlParser.DATABASE, 0); }
public TerminalNode AUDIT() { return getToken(TSqlParser.AUDIT, 0); }
public TerminalNode SPECIFICATION() { return getToken(TSqlParser.SPECIFICATION, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_database_audit_specificationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_database_audit_specification; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_database_audit_specification(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_database_audit_specification(this);
}
}
public final Drop_database_audit_specificationContext drop_database_audit_specification() throws RecognitionException {
Drop_database_audit_specificationContext _localctx = new Drop_database_audit_specificationContext(_ctx, getState());
enterRule(_localctx, 186, RULE_drop_database_audit_specification);
try {
enterOuterAlt(_localctx, 1);
{
setState(2377);
match(DROP);
setState(2378);
match(DATABASE);
setState(2379);
match(AUDIT);
setState(2380);
match(SPECIFICATION);
setState(2381);
((Drop_database_audit_specificationContext)_localctx).audit_specification_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_database_scoped_credentialContext extends ParserRuleContext {
public IdContext credential_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode DATABASE() { return getToken(TSqlParser.DATABASE, 0); }
public TerminalNode SCOPED() { return getToken(TSqlParser.SCOPED, 0); }
public TerminalNode CREDENTIAL() { return getToken(TSqlParser.CREDENTIAL, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_database_scoped_credentialContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_database_scoped_credential; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_database_scoped_credential(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_database_scoped_credential(this);
}
}
public final Drop_database_scoped_credentialContext drop_database_scoped_credential() throws RecognitionException {
Drop_database_scoped_credentialContext _localctx = new Drop_database_scoped_credentialContext(_ctx, getState());
enterRule(_localctx, 188, RULE_drop_database_scoped_credential);
try {
enterOuterAlt(_localctx, 1);
{
setState(2383);
match(DROP);
setState(2384);
match(DATABASE);
setState(2385);
match(SCOPED);
setState(2386);
match(CREDENTIAL);
setState(2387);
((Drop_database_scoped_credentialContext)_localctx).credential_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_defaultContext extends ParserRuleContext {
public IdContext schema_name;
public IdContext default_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode DEFAULT() { return getToken(TSqlParser.DEFAULT, 0); }
public TerminalNode IF() { return getToken(TSqlParser.IF, 0); }
public TerminalNode EXISTS() { return getToken(TSqlParser.EXISTS, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode COMMA() { return getToken(TSqlParser.COMMA, 0); }
public TerminalNode DOT() { return getToken(TSqlParser.DOT, 0); }
public Drop_defaultContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_default; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_default(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_default(this);
}
}
public final Drop_defaultContext drop_default() throws RecognitionException {
Drop_defaultContext _localctx = new Drop_defaultContext(_ctx, getState());
enterRule(_localctx, 190, RULE_drop_default);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2389);
match(DROP);
setState(2390);
match(DEFAULT);
setState(2393);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(2391);
match(IF);
setState(2392);
match(EXISTS);
}
}
{
setState(2396);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2395);
match(COMMA);
}
}
setState(2401);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,169,_ctx) ) {
case 1:
{
setState(2398);
((Drop_defaultContext)_localctx).schema_name = id();
setState(2399);
match(DOT);
}
break;
}
setState(2403);
((Drop_defaultContext)_localctx).default_name = id();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_endpointContext extends ParserRuleContext {
public IdContext endPointName;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode ENDPOINT() { return getToken(TSqlParser.ENDPOINT, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_endpointContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_endpoint; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_endpoint(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_endpoint(this);
}
}
public final Drop_endpointContext drop_endpoint() throws RecognitionException {
Drop_endpointContext _localctx = new Drop_endpointContext(_ctx, getState());
enterRule(_localctx, 192, RULE_drop_endpoint);
try {
enterOuterAlt(_localctx, 1);
{
setState(2405);
match(DROP);
setState(2406);
match(ENDPOINT);
setState(2407);
((Drop_endpointContext)_localctx).endPointName = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_external_data_sourceContext extends ParserRuleContext {
public IdContext external_data_source_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode EXTERNAL() { return getToken(TSqlParser.EXTERNAL, 0); }
public TerminalNode DATA() { return getToken(TSqlParser.DATA, 0); }
public TerminalNode SOURCE() { return getToken(TSqlParser.SOURCE, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_external_data_sourceContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_external_data_source; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_external_data_source(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_external_data_source(this);
}
}
public final Drop_external_data_sourceContext drop_external_data_source() throws RecognitionException {
Drop_external_data_sourceContext _localctx = new Drop_external_data_sourceContext(_ctx, getState());
enterRule(_localctx, 194, RULE_drop_external_data_source);
try {
enterOuterAlt(_localctx, 1);
{
setState(2409);
match(DROP);
setState(2410);
match(EXTERNAL);
setState(2411);
match(DATA);
setState(2412);
match(SOURCE);
setState(2413);
((Drop_external_data_sourceContext)_localctx).external_data_source_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_external_file_formatContext extends ParserRuleContext {
public IdContext external_file_format_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode EXTERNAL() { return getToken(TSqlParser.EXTERNAL, 0); }
public TerminalNode FILE() { return getToken(TSqlParser.FILE, 0); }
public TerminalNode FORMAT() { return getToken(TSqlParser.FORMAT, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_external_file_formatContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_external_file_format; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_external_file_format(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_external_file_format(this);
}
}
public final Drop_external_file_formatContext drop_external_file_format() throws RecognitionException {
Drop_external_file_formatContext _localctx = new Drop_external_file_formatContext(_ctx, getState());
enterRule(_localctx, 196, RULE_drop_external_file_format);
try {
enterOuterAlt(_localctx, 1);
{
setState(2415);
match(DROP);
setState(2416);
match(EXTERNAL);
setState(2417);
match(FILE);
setState(2418);
match(FORMAT);
setState(2419);
((Drop_external_file_formatContext)_localctx).external_file_format_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_external_libraryContext extends ParserRuleContext {
public IdContext library_name;
public IdContext owner_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode EXTERNAL() { return getToken(TSqlParser.EXTERNAL, 0); }
public TerminalNode LIBRARY() { return getToken(TSqlParser.LIBRARY, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode AUTHORIZATION() { return getToken(TSqlParser.AUTHORIZATION, 0); }
public Drop_external_libraryContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_external_library; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_external_library(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_external_library(this);
}
}
public final Drop_external_libraryContext drop_external_library() throws RecognitionException {
Drop_external_libraryContext _localctx = new Drop_external_libraryContext(_ctx, getState());
enterRule(_localctx, 198, RULE_drop_external_library);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2421);
match(DROP);
setState(2422);
match(EXTERNAL);
setState(2423);
match(LIBRARY);
setState(2424);
((Drop_external_libraryContext)_localctx).library_name = id();
setState(2427);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AUTHORIZATION) {
{
setState(2425);
match(AUTHORIZATION);
setState(2426);
((Drop_external_libraryContext)_localctx).owner_name = id();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_external_resource_poolContext extends ParserRuleContext {
public IdContext pool_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode EXTERNAL() { return getToken(TSqlParser.EXTERNAL, 0); }
public TerminalNode RESOURCE() { return getToken(TSqlParser.RESOURCE, 0); }
public TerminalNode POOL() { return getToken(TSqlParser.POOL, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_external_resource_poolContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_external_resource_pool; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_external_resource_pool(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_external_resource_pool(this);
}
}
public final Drop_external_resource_poolContext drop_external_resource_pool() throws RecognitionException {
Drop_external_resource_poolContext _localctx = new Drop_external_resource_poolContext(_ctx, getState());
enterRule(_localctx, 200, RULE_drop_external_resource_pool);
try {
enterOuterAlt(_localctx, 1);
{
setState(2429);
match(DROP);
setState(2430);
match(EXTERNAL);
setState(2431);
match(RESOURCE);
setState(2432);
match(POOL);
setState(2433);
((Drop_external_resource_poolContext)_localctx).pool_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_external_tableContext extends ParserRuleContext {
public IdContext database_name;
public IdContext schema_name;
public IdContext table;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode EXTERNAL() { return getToken(TSqlParser.EXTERNAL, 0); }
public TerminalNode TABLE() { return getToken(TSqlParser.TABLE, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public List DOT() { return getTokens(TSqlParser.DOT); }
public TerminalNode DOT(int i) {
return getToken(TSqlParser.DOT, i);
}
public Drop_external_tableContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_external_table; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_external_table(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_external_table(this);
}
}
public final Drop_external_tableContext drop_external_table() throws RecognitionException {
Drop_external_tableContext _localctx = new Drop_external_tableContext(_ctx, getState());
enterRule(_localctx, 202, RULE_drop_external_table);
try {
enterOuterAlt(_localctx, 1);
{
setState(2435);
match(DROP);
setState(2436);
match(EXTERNAL);
setState(2437);
match(TABLE);
setState(2441);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,171,_ctx) ) {
case 1:
{
setState(2438);
((Drop_external_tableContext)_localctx).database_name = id();
setState(2439);
match(DOT);
}
break;
}
setState(2446);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,172,_ctx) ) {
case 1:
{
setState(2443);
((Drop_external_tableContext)_localctx).schema_name = id();
setState(2444);
match(DOT);
}
break;
}
setState(2448);
((Drop_external_tableContext)_localctx).table = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_event_notificationsContext extends ParserRuleContext {
public IdContext notification_name;
public IdContext queue_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode EVENT() { return getToken(TSqlParser.EVENT, 0); }
public TerminalNode NOTIFICATION() { return getToken(TSqlParser.NOTIFICATION, 0); }
public TerminalNode ON() { return getToken(TSqlParser.ON, 0); }
public TerminalNode SERVER() { return getToken(TSqlParser.SERVER, 0); }
public TerminalNode DATABASE() { return getToken(TSqlParser.DATABASE, 0); }
public TerminalNode QUEUE() { return getToken(TSqlParser.QUEUE, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public Drop_event_notificationsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_event_notifications; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_event_notifications(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_event_notifications(this);
}
}
public final Drop_event_notificationsContext drop_event_notifications() throws RecognitionException {
Drop_event_notificationsContext _localctx = new Drop_event_notificationsContext(_ctx, getState());
enterRule(_localctx, 204, RULE_drop_event_notifications);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2450);
match(DROP);
setState(2451);
match(EVENT);
setState(2452);
match(NOTIFICATION);
setState(2457);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(2454);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2453);
match(COMMA);
}
}
setState(2456);
((Drop_event_notificationsContext)_localctx).notification_name = id();
}
}
setState(2459);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==CALLED || ((((_la - 81)) & ~0x3f) == 0 && ((1L << (_la - 81)) & ((1L << (DATA_COMPRESSION - 81)) | (1L << (EVENTDATA - 81)) | (1L << (FILENAME - 81)) | (1L << (FILLFACTOR - 81)) | (1L << (FORCESEEK - 81)))) != 0) || ((((_la - 159)) & ~0x3f) == 0 && ((1L << (_la - 159)) & ((1L << (INIT - 159)) | (1L << (KEY - 159)) | (1L << (MASTER - 159)) | (1L << (MAX_MEMORY - 159)))) != 0) || ((((_la - 226)) & ~0x3f) == 0 && ((1L << (_la - 226)) & ((1L << (OFFSETS - 226)) | (1L << (PAGE - 226)) | (1L << (PUBLIC - 226)) | (1L << (R - 226)) | (1L << (RAW - 226)) | (1L << (RETURN - 226)) | (1L << (RETURNS - 226)) | (1L << (ROWCOUNT - 226)))) != 0) || ((((_la - 296)) & ~0x3f) == 0 && ((1L << (_la - 296)) & ((1L << (SAFETY - 296)) | (1L << (SERVER - 296)) | (1L << (SID - 296)) | (1L << (SOURCE - 296)) | (1L << (STATE - 296)) | (1L << (START - 296)) | (1L << (TARGET - 296)))) != 0) || ((((_la - 384)) & ~0x3f) == 0 && ((1L << (_la - 384)) & ((1L << (ABSOLUTE - 384)) | (1L << (ACCENT_SENSITIVITY - 384)) | (1L << (ACTION - 384)) | (1L << (ACTIVATION - 384)) | (1L << (ACTIVE - 384)) | (1L << (ADDRESS - 384)) | (1L << (AES_128 - 384)) | (1L << (AES_192 - 384)) | (1L << (AES_256 - 384)) | (1L << (AFFINITY - 384)) | (1L << (AFTER - 384)) | (1L << (AGGREGATE - 384)) | (1L << (ALGORITHM - 384)) | (1L << (ALLOW_ENCRYPTED_VALUE_MODIFICATIONS - 384)) | (1L << (ALLOW_SNAPSHOT_ISOLATION - 384)) | (1L << (ALLOWED - 384)) | (1L << (ANSI_NULL_DEFAULT - 384)) | (1L << (ANSI_NULLS - 384)) | (1L << (ANSI_PADDING - 384)) | (1L << (ANSI_WARNINGS - 384)) | (1L << (APPLICATION_LOG - 384)) | (1L << (APPLY - 384)) | (1L << (ARITHABORT - 384)) | (1L << (ASSEMBLY - 384)) | (1L << (AUDIT - 384)) | (1L << (AUDIT_GUID - 384)) | (1L << (AUTO - 384)) | (1L << (AUTO_CLEANUP - 384)) | (1L << (AUTO_CLOSE - 384)) | (1L << (AUTO_CREATE_STATISTICS - 384)) | (1L << (AUTO_SHRINK - 384)) | (1L << (AUTO_UPDATE_STATISTICS - 384)) | (1L << (AUTO_UPDATE_STATISTICS_ASYNC - 384)) | (1L << (AVAILABILITY - 384)) | (1L << (AVG - 384)) | (1L << (BACKUP_PRIORITY - 384)) | (1L << (BEGIN_DIALOG - 384)) | (1L << (BIGINT - 384)) | (1L << (BINARY_BASE64 - 384)) | (1L << (BINARY_CHECKSUM - 384)) | (1L << (BINDING - 384)) | (1L << (BLOB_STORAGE - 384)) | (1L << (BROKER - 384)) | (1L << (BROKER_INSTANCE - 384)) | (1L << (BULK_LOGGED - 384)) | (1L << (CALLER - 384)) | (1L << (CAP_CPU_PERCENT - 384)) | (1L << (CAST - 384)) | (1L << (CATALOG - 384)) | (1L << (CATCH - 384)) | (1L << (CHANGE_RETENTION - 384)) | (1L << (CHANGE_TRACKING - 384)) | (1L << (CHECKSUM - 384)) | (1L << (CHECKSUM_AGG - 384)) | (1L << (CLEANUP - 384)) | (1L << (COLLECTION - 384)) | (1L << (COLUMN_MASTER_KEY - 384)) | (1L << (COMMITTED - 384)) | (1L << (COMPATIBILITY_LEVEL - 384)) | (1L << (CONCAT - 384)) | (1L << (CONCAT_NULL_YIELDS_NULL - 384)) | (1L << (CONTENT - 384)) | (1L << (CONTROL - 384)) | (1L << (COOKIE - 384)))) != 0) || ((((_la - 448)) & ~0x3f) == 0 && ((1L << (_la - 448)) & ((1L << (COUNT - 448)) | (1L << (COUNT_BIG - 448)) | (1L << (COUNTER - 448)) | (1L << (CPU - 448)) | (1L << (CREATE_NEW - 448)) | (1L << (CREATION_DISPOSITION - 448)) | (1L << (CREDENTIAL - 448)) | (1L << (CRYPTOGRAPHIC - 448)) | (1L << (CURSOR_CLOSE_ON_COMMIT - 448)) | (1L << (CURSOR_DEFAULT - 448)) | (1L << (DATE_CORRELATION_OPTIMIZATION - 448)) | (1L << (DATEADD - 448)) | (1L << (DATEDIFF - 448)) | (1L << (DATENAME - 448)) | (1L << (DATEPART - 448)) | (1L << (DAYS - 448)) | (1L << (DB_CHAINING - 448)) | (1L << (DB_FAILOVER - 448)) | (1L << (DECRYPTION - 448)) | (1L << (DEFAULT_DOUBLE_QUOTE - 448)) | (1L << (DEFAULT_FULLTEXT_LANGUAGE - 448)) | (1L << (DEFAULT_LANGUAGE - 448)) | (1L << (DELAY - 448)) | (1L << (DELAYED_DURABILITY - 448)) | (1L << (DELETED - 448)) | (1L << (DENSE_RANK - 448)) | (1L << (DEPENDENTS - 448)) | (1L << (DES - 448)) | (1L << (DESCRIPTION - 448)) | (1L << (DESX - 448)) | (1L << (DHCP - 448)) | (1L << (DIALOG - 448)) | (1L << (DIRECTORY_NAME - 448)) | (1L << (DISABLE - 448)) | (1L << (DISABLE_BROKER - 448)) | (1L << (DISABLED - 448)) | (1L << (DISK_DRIVE - 448)) | (1L << (DOCUMENT - 448)) | (1L << (DYNAMIC - 448)) | (1L << (EMERGENCY - 448)) | (1L << (EMPTY - 448)) | (1L << (ENABLE - 448)) | (1L << (ENABLE_BROKER - 448)) | (1L << (ENCRYPTED_VALUE - 448)) | (1L << (ENCRYPTION - 448)) | (1L << (ENDPOINT_URL - 448)) | (1L << (ERROR_BROKER_CONVERSATIONS - 448)) | (1L << (EXCLUSIVE - 448)) | (1L << (EXECUTABLE - 448)) | (1L << (EXIST - 448)) | (1L << (EXPAND - 448)) | (1L << (EXPIRY_DATE - 448)) | (1L << (EXPLICIT - 448)) | (1L << (FAIL_OPERATION - 448)) | (1L << (FAILOVER_MODE - 448)) | (1L << (FAILURE - 448)) | (1L << (FAILURE_CONDITION_LEVEL - 448)) | (1L << (FAST - 448)) | (1L << (FAST_FORWARD - 448)) | (1L << (FILEGROUP - 448)) | (1L << (FILEGROWTH - 448)) | (1L << (FILEPATH - 448)) | (1L << (FILESTREAM - 448)))) != 0) || ((((_la - 512)) & ~0x3f) == 0 && ((1L << (_la - 512)) & ((1L << (FILTER - 512)) | (1L << (FIRST - 512)) | (1L << (FIRST_VALUE - 512)) | (1L << (FOLLOWING - 512)) | (1L << (FORCE - 512)) | (1L << (FORCE_FAILOVER_ALLOW_DATA_LOSS - 512)) | (1L << (FORCED - 512)) | (1L << (FORMAT - 512)) | (1L << (FORWARD_ONLY - 512)) | (1L << (FULLSCAN - 512)) | (1L << (FULLTEXT - 512)) | (1L << (GB - 512)) | (1L << (GETDATE - 512)) | (1L << (GETUTCDATE - 512)) | (1L << (GLOBAL - 512)) | (1L << (GO - 512)) | (1L << (GROUP_MAX_REQUESTS - 512)) | (1L << (GROUPING - 512)) | (1L << (GROUPING_ID - 512)) | (1L << (HADR - 512)) | (1L << (HASH - 512)) | (1L << (HEALTH_CHECK_TIMEOUT - 512)) | (1L << (HIGH - 512)) | (1L << (HONOR_BROKER_PRIORITY - 512)) | (1L << (HOURS - 512)) | (1L << (IDENTITY_VALUE - 512)) | (1L << (IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX - 512)) | (1L << (IMMEDIATE - 512)) | (1L << (IMPERSONATE - 512)) | (1L << (IMPORTANCE - 512)) | (1L << (INCREMENTAL - 512)) | (1L << (INITIATOR - 512)) | (1L << (INPUT - 512)) | (1L << (INSENSITIVE - 512)) | (1L << (INSERTED - 512)) | (1L << (INT - 512)) | (1L << (IP - 512)) | (1L << (ISOLATION - 512)) | (1L << (KB - 512)) | (1L << (KEEP - 512)) | (1L << (KEEPFIXED - 512)) | (1L << (KEY_SOURCE - 512)) | (1L << (KEYS - 512)) | (1L << (KEYSET - 512)) | (1L << (LAG - 512)) | (1L << (LAST - 512)) | (1L << (LAST_VALUE - 512)) | (1L << (LEAD - 512)) | (1L << (LEVEL - 512)) | (1L << (LIST - 512)) | (1L << (LISTENER - 512)) | (1L << (LISTENER_URL - 512)) | (1L << (LOB_COMPACTION - 512)) | (1L << (LOCAL - 512)) | (1L << (LOCATION - 512)) | (1L << (LOCK - 512)) | (1L << (LOCK_ESCALATION - 512)) | (1L << (LOGIN - 512)) | (1L << (LOOP - 512)) | (1L << (LOW - 512)) | (1L << (MANUAL - 512)) | (1L << (MARK - 512)))) != 0) || ((((_la - 576)) & ~0x3f) == 0 && ((1L << (_la - 576)) & ((1L << (MATERIALIZED - 576)) | (1L << (MAX - 576)) | (1L << (MAX_CPU_PERCENT - 576)) | (1L << (MAX_DOP - 576)) | (1L << (MAX_FILES - 576)) | (1L << (MAX_IOPS_PER_VOLUME - 576)) | (1L << (MAX_MEMORY_PERCENT - 576)) | (1L << (MAX_PROCESSES - 576)) | (1L << (MAX_QUEUE_READERS - 576)) | (1L << (MAX_ROLLOVER_FILES - 576)) | (1L << (MAXDOP - 576)) | (1L << (MAXRECURSION - 576)) | (1L << (MAXSIZE - 576)) | (1L << (MB - 576)) | (1L << (MEDIUM - 576)) | (1L << (MEMORY_OPTIMIZED_DATA - 576)) | (1L << (MESSAGE - 576)) | (1L << (MIN - 576)) | (1L << (MIN_ACTIVE_ROWVERSION - 576)) | (1L << (MIN_CPU_PERCENT - 576)) | (1L << (MIN_IOPS_PER_VOLUME - 576)) | (1L << (MIN_MEMORY_PERCENT - 576)) | (1L << (MINUTES - 576)) | (1L << (MIRROR_ADDRESS - 576)) | (1L << (MIXED_PAGE_ALLOCATION - 576)) | (1L << (MODE - 576)) | (1L << (MODIFY - 576)) | (1L << (MOVE - 576)) | (1L << (MULTI_USER - 576)) | (1L << (NAME - 576)) | (1L << (NESTED_TRIGGERS - 576)) | (1L << (NEW_ACCOUNT - 576)) | (1L << (NEW_BROKER - 576)) | (1L << (NEW_PASSWORD - 576)) | (1L << (NEXT - 576)) | (1L << (NO - 576)) | (1L << (NO_TRUNCATE - 576)) | (1L << (NO_WAIT - 576)) | (1L << (NOCOUNT - 576)) | (1L << (NODES - 576)) | (1L << (NOEXPAND - 576)) | (1L << (NON_TRANSACTED_ACCESS - 576)) | (1L << (NORECOMPUTE - 576)) | (1L << (NORECOVERY - 576)) | (1L << (NOWAIT - 576)) | (1L << (NTILE - 576)) | (1L << (NUMANODE - 576)) | (1L << (NUMBER - 576)) | (1L << (NUMERIC_ROUNDABORT - 576)) | (1L << (OBJECT - 576)) | (1L << (OFFLINE - 576)) | (1L << (OFFSET - 576)) | (1L << (OLD_ACCOUNT - 576)) | (1L << (ONLINE - 576)) | (1L << (ONLY - 576)) | (1L << (OPEN_EXISTING - 576)) | (1L << (OPTIMISTIC - 576)) | (1L << (OPTIMIZE - 576)) | (1L << (OUT - 576)) | (1L << (OUTPUT - 576)) | (1L << (OWNER - 576)) | (1L << (PAGE_VERIFY - 576)) | (1L << (PARAMETERIZATION - 576)) | (1L << (PARTITION - 576)))) != 0) || ((((_la - 640)) & ~0x3f) == 0 && ((1L << (_la - 640)) & ((1L << (PARTITIONS - 640)) | (1L << (PARTNER - 640)) | (1L << (PATH - 640)) | (1L << (POISON_MESSAGE_HANDLING - 640)) | (1L << (POOL - 640)) | (1L << (PORT - 640)) | (1L << (PRECEDING - 640)) | (1L << (PRIMARY_ROLE - 640)) | (1L << (PRIOR - 640)) | (1L << (PRIORITY - 640)) | (1L << (PRIORITY_LEVEL - 640)) | (1L << (PRIVATE - 640)) | (1L << (PRIVATE_KEY - 640)) | (1L << (PRIVILEGES - 640)) | (1L << (PROCEDURE_NAME - 640)) | (1L << (PROPERTY - 640)) | (1L << (PROVIDER - 640)) | (1L << (PROVIDER_KEY_NAME - 640)) | (1L << (QUERY - 640)) | (1L << (QUEUE - 640)) | (1L << (QUEUE_DELAY - 640)) | (1L << (QUOTED_IDENTIFIER - 640)) | (1L << (RANGE - 640)) | (1L << (RANK - 640)) | (1L << (RC2 - 640)) | (1L << (RC4 - 640)) | (1L << (RC4_128 - 640)) | (1L << (READ_COMMITTED_SNAPSHOT - 640)) | (1L << (READ_ONLY - 640)) | (1L << (READ_ONLY_ROUTING_LIST - 640)) | (1L << (READ_WRITE - 640)) | (1L << (READONLY - 640)) | (1L << (REBUILD - 640)) | (1L << (RECEIVE - 640)) | (1L << (RECOMPILE - 640)) | (1L << (RECOVERY - 640)) | (1L << (RECURSIVE_TRIGGERS - 640)) | (1L << (RELATIVE - 640)) | (1L << (REMOTE - 640)) | (1L << (REMOTE_SERVICE_NAME - 640)) | (1L << (REMOVE - 640)) | (1L << (REORGANIZE - 640)) | (1L << (REPEATABLE - 640)) | (1L << (REPLICA - 640)) | (1L << (REQUEST_MAX_CPU_TIME_SEC - 640)) | (1L << (REQUEST_MAX_MEMORY_GRANT_PERCENT - 640)) | (1L << (REQUEST_MEMORY_GRANT_TIMEOUT_SEC - 640)) | (1L << (REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT - 640)) | (1L << (RESERVE_DISK_SPACE - 640)) | (1L << (RESOURCE - 640)) | (1L << (RESOURCE_MANAGER_LOCATION - 640)) | (1L << (RESTRICTED_USER - 640)) | (1L << (RETENTION - 640)) | (1L << (ROBUST - 640)) | (1L << (ROOT - 640)) | (1L << (ROUTE - 640)) | (1L << (ROW - 640)) | (1L << (ROW_NUMBER - 640)) | (1L << (ROWGUID - 640)) | (1L << (ROWS - 640)) | (1L << (SAMPLE - 640)) | (1L << (SCHEMABINDING - 640)) | (1L << (SCOPED - 640)) | (1L << (SCROLL - 640)))) != 0) || ((((_la - 704)) & ~0x3f) == 0 && ((1L << (_la - 704)) & ((1L << (SCROLL_LOCKS - 704)) | (1L << (SEARCH - 704)) | (1L << (SECONDARY - 704)) | (1L << (SECONDARY_ONLY - 704)) | (1L << (SECONDARY_ROLE - 704)) | (1L << (SECONDS - 704)) | (1L << (SECRET - 704)) | (1L << (SECURITY_LOG - 704)) | (1L << (SEEDING_MODE - 704)) | (1L << (SELF - 704)) | (1L << (SEMI_SENSITIVE - 704)) | (1L << (SEND - 704)) | (1L << (SENT - 704)) | (1L << (SERIALIZABLE - 704)) | (1L << (SESSION_TIMEOUT - 704)) | (1L << (SETERROR - 704)) | (1L << (SHARE - 704)) | (1L << (SHOWPLAN - 704)) | (1L << (SIGNATURE - 704)) | (1L << (SIMPLE - 704)) | (1L << (SINGLE_USER - 704)) | (1L << (SIZE - 704)) | (1L << (SMALLINT - 704)) | (1L << (SNAPSHOT - 704)) | (1L << (SPATIAL_WINDOW_MAX_CELLS - 704)) | (1L << (STANDBY - 704)) | (1L << (START_DATE - 704)) | (1L << (STATIC - 704)) | (1L << (STATS_STREAM - 704)) | (1L << (STATUS - 704)) | (1L << (STDEV - 704)) | (1L << (STDEVP - 704)) | (1L << (STOPLIST - 704)) | (1L << (STUFF - 704)) | (1L << (SUBJECT - 704)) | (1L << (SUM - 704)) | (1L << (SUSPEND - 704)) | (1L << (SYMMETRIC - 704)) | (1L << (SYNCHRONOUS_COMMIT - 704)) | (1L << (SYNONYM - 704)) | (1L << (TAKE - 704)) | (1L << (TARGET_RECOVERY_TIME - 704)) | (1L << (TB - 704)) | (1L << (TEXTIMAGE_ON - 704)) | (1L << (THROW - 704)) | (1L << (TIES - 704)) | (1L << (TIME - 704)) | (1L << (TIMEOUT - 704)) | (1L << (TIMER - 704)) | (1L << (TINYINT - 704)) | (1L << (TORN_PAGE_DETECTION - 704)) | (1L << (TRANSFORM_NOISE_WORDS - 704)) | (1L << (TRIPLE_DES - 704)) | (1L << (TRIPLE_DES_3KEY - 704)) | (1L << (TRUSTWORTHY - 704)) | (1L << (TRY - 704)) | (1L << (TSQL - 704)) | (1L << (TWO_DIGIT_YEAR_CUTOFF - 704)) | (1L << (TYPE - 704)) | (1L << (TYPE_WARNING - 704)) | (1L << (UNBOUNDED - 704)) | (1L << (UNCOMMITTED - 704)) | (1L << (UNKNOWN - 704)) | (1L << (UNLIMITED - 704)))) != 0) || ((((_la - 768)) & ~0x3f) == 0 && ((1L << (_la - 768)) & ((1L << (USING - 768)) | (1L << (VALID_XML - 768)) | (1L << (VALIDATION - 768)) | (1L << (VALUE - 768)) | (1L << (VAR - 768)) | (1L << (VARP - 768)) | (1L << (VIEW_METADATA - 768)) | (1L << (VIEWS - 768)) | (1L << (WAIT - 768)) | (1L << (WELL_FORMED_XML - 768)) | (1L << (WORK - 768)) | (1L << (WORKLOAD - 768)) | (1L << (XML - 768)) | (1L << (XMLNAMESPACES - 768)) | (1L << (DOUBLE_QUOTE_ID - 768)) | (1L << (SQUARE_BRACKET_ID - 768)) | (1L << (ID - 768)) | (1L << (COMMA - 768)))) != 0) );
setState(2461);
match(ON);
setState(2466);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SERVER:
{
setState(2462);
match(SERVER);
}
break;
case DATABASE:
{
setState(2463);
match(DATABASE);
}
break;
case QUEUE:
{
setState(2464);
match(QUEUE);
setState(2465);
((Drop_event_notificationsContext)_localctx).queue_name = id();
}
break;
default:
throw new NoViableAltException(this);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_event_sessionContext extends ParserRuleContext {
public IdContext event_session_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode EVENT() { return getToken(TSqlParser.EVENT, 0); }
public TerminalNode SESSION() { return getToken(TSqlParser.SESSION, 0); }
public TerminalNode ON() { return getToken(TSqlParser.ON, 0); }
public TerminalNode SERVER() { return getToken(TSqlParser.SERVER, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_event_sessionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_event_session; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_event_session(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_event_session(this);
}
}
public final Drop_event_sessionContext drop_event_session() throws RecognitionException {
Drop_event_sessionContext _localctx = new Drop_event_sessionContext(_ctx, getState());
enterRule(_localctx, 206, RULE_drop_event_session);
try {
enterOuterAlt(_localctx, 1);
{
setState(2468);
match(DROP);
setState(2469);
match(EVENT);
setState(2470);
match(SESSION);
setState(2471);
((Drop_event_sessionContext)_localctx).event_session_name = id();
setState(2472);
match(ON);
setState(2473);
match(SERVER);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_fulltext_catalogContext extends ParserRuleContext {
public IdContext catalog_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode FULLTEXT() { return getToken(TSqlParser.FULLTEXT, 0); }
public TerminalNode CATALOG() { return getToken(TSqlParser.CATALOG, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_fulltext_catalogContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_fulltext_catalog; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_fulltext_catalog(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_fulltext_catalog(this);
}
}
public final Drop_fulltext_catalogContext drop_fulltext_catalog() throws RecognitionException {
Drop_fulltext_catalogContext _localctx = new Drop_fulltext_catalogContext(_ctx, getState());
enterRule(_localctx, 208, RULE_drop_fulltext_catalog);
try {
enterOuterAlt(_localctx, 1);
{
setState(2475);
match(DROP);
setState(2476);
match(FULLTEXT);
setState(2477);
match(CATALOG);
setState(2478);
((Drop_fulltext_catalogContext)_localctx).catalog_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_fulltext_indexContext extends ParserRuleContext {
public IdContext schema;
public IdContext table;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode FULLTEXT() { return getToken(TSqlParser.FULLTEXT, 0); }
public TerminalNode INDEX() { return getToken(TSqlParser.INDEX, 0); }
public TerminalNode ON() { return getToken(TSqlParser.ON, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode DOT() { return getToken(TSqlParser.DOT, 0); }
public Drop_fulltext_indexContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_fulltext_index; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_fulltext_index(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_fulltext_index(this);
}
}
public final Drop_fulltext_indexContext drop_fulltext_index() throws RecognitionException {
Drop_fulltext_indexContext _localctx = new Drop_fulltext_indexContext(_ctx, getState());
enterRule(_localctx, 210, RULE_drop_fulltext_index);
try {
enterOuterAlt(_localctx, 1);
{
setState(2480);
match(DROP);
setState(2481);
match(FULLTEXT);
setState(2482);
match(INDEX);
setState(2483);
match(ON);
setState(2487);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,176,_ctx) ) {
case 1:
{
setState(2484);
((Drop_fulltext_indexContext)_localctx).schema = id();
setState(2485);
match(DOT);
}
break;
}
setState(2489);
((Drop_fulltext_indexContext)_localctx).table = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_fulltext_stoplistContext extends ParserRuleContext {
public IdContext stoplist_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode FULLTEXT() { return getToken(TSqlParser.FULLTEXT, 0); }
public TerminalNode STOPLIST() { return getToken(TSqlParser.STOPLIST, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_fulltext_stoplistContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_fulltext_stoplist; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_fulltext_stoplist(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_fulltext_stoplist(this);
}
}
public final Drop_fulltext_stoplistContext drop_fulltext_stoplist() throws RecognitionException {
Drop_fulltext_stoplistContext _localctx = new Drop_fulltext_stoplistContext(_ctx, getState());
enterRule(_localctx, 212, RULE_drop_fulltext_stoplist);
try {
enterOuterAlt(_localctx, 1);
{
setState(2491);
match(DROP);
setState(2492);
match(FULLTEXT);
setState(2493);
match(STOPLIST);
setState(2494);
((Drop_fulltext_stoplistContext)_localctx).stoplist_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_loginContext extends ParserRuleContext {
public IdContext login_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode LOGIN() { return getToken(TSqlParser.LOGIN, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_loginContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_login; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_login(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_login(this);
}
}
public final Drop_loginContext drop_login() throws RecognitionException {
Drop_loginContext _localctx = new Drop_loginContext(_ctx, getState());
enterRule(_localctx, 214, RULE_drop_login);
try {
enterOuterAlt(_localctx, 1);
{
setState(2496);
match(DROP);
setState(2497);
match(LOGIN);
setState(2498);
((Drop_loginContext)_localctx).login_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_master_keyContext extends ParserRuleContext {
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode MASTER() { return getToken(TSqlParser.MASTER, 0); }
public TerminalNode KEY() { return getToken(TSqlParser.KEY, 0); }
public Drop_master_keyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_master_key; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_master_key(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_master_key(this);
}
}
public final Drop_master_keyContext drop_master_key() throws RecognitionException {
Drop_master_keyContext _localctx = new Drop_master_keyContext(_ctx, getState());
enterRule(_localctx, 216, RULE_drop_master_key);
try {
enterOuterAlt(_localctx, 1);
{
setState(2500);
match(DROP);
setState(2501);
match(MASTER);
setState(2502);
match(KEY);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_message_typeContext extends ParserRuleContext {
public IdContext message_type_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode MESSAGE() { return getToken(TSqlParser.MESSAGE, 0); }
public TerminalNode TYPE() { return getToken(TSqlParser.TYPE, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_message_typeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_message_type; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_message_type(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_message_type(this);
}
}
public final Drop_message_typeContext drop_message_type() throws RecognitionException {
Drop_message_typeContext _localctx = new Drop_message_typeContext(_ctx, getState());
enterRule(_localctx, 218, RULE_drop_message_type);
try {
enterOuterAlt(_localctx, 1);
{
setState(2504);
match(DROP);
setState(2505);
match(MESSAGE);
setState(2506);
match(TYPE);
setState(2507);
((Drop_message_typeContext)_localctx).message_type_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_partition_functionContext extends ParserRuleContext {
public IdContext partition_function_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode PARTITION() { return getToken(TSqlParser.PARTITION, 0); }
public TerminalNode FUNCTION() { return getToken(TSqlParser.FUNCTION, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_partition_functionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_partition_function; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_partition_function(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_partition_function(this);
}
}
public final Drop_partition_functionContext drop_partition_function() throws RecognitionException {
Drop_partition_functionContext _localctx = new Drop_partition_functionContext(_ctx, getState());
enterRule(_localctx, 220, RULE_drop_partition_function);
try {
enterOuterAlt(_localctx, 1);
{
setState(2509);
match(DROP);
setState(2510);
match(PARTITION);
setState(2511);
match(FUNCTION);
setState(2512);
((Drop_partition_functionContext)_localctx).partition_function_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_partition_schemeContext extends ParserRuleContext {
public IdContext partition_scheme_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode PARTITION() { return getToken(TSqlParser.PARTITION, 0); }
public TerminalNode SCHEME() { return getToken(TSqlParser.SCHEME, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_partition_schemeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_partition_scheme; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_partition_scheme(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_partition_scheme(this);
}
}
public final Drop_partition_schemeContext drop_partition_scheme() throws RecognitionException {
Drop_partition_schemeContext _localctx = new Drop_partition_schemeContext(_ctx, getState());
enterRule(_localctx, 222, RULE_drop_partition_scheme);
try {
enterOuterAlt(_localctx, 1);
{
setState(2514);
match(DROP);
setState(2515);
match(PARTITION);
setState(2516);
match(SCHEME);
setState(2517);
((Drop_partition_schemeContext)_localctx).partition_scheme_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_queueContext extends ParserRuleContext {
public IdContext database_name;
public IdContext schema_name;
public IdContext queue_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode QUEUE() { return getToken(TSqlParser.QUEUE, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public List DOT() { return getTokens(TSqlParser.DOT); }
public TerminalNode DOT(int i) {
return getToken(TSqlParser.DOT, i);
}
public Drop_queueContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_queue; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_queue(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_queue(this);
}
}
public final Drop_queueContext drop_queue() throws RecognitionException {
Drop_queueContext _localctx = new Drop_queueContext(_ctx, getState());
enterRule(_localctx, 224, RULE_drop_queue);
try {
enterOuterAlt(_localctx, 1);
{
setState(2519);
match(DROP);
setState(2520);
match(QUEUE);
setState(2524);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,177,_ctx) ) {
case 1:
{
setState(2521);
((Drop_queueContext)_localctx).database_name = id();
setState(2522);
match(DOT);
}
break;
}
setState(2529);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,178,_ctx) ) {
case 1:
{
setState(2526);
((Drop_queueContext)_localctx).schema_name = id();
setState(2527);
match(DOT);
}
break;
}
setState(2531);
((Drop_queueContext)_localctx).queue_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_remote_service_bindingContext extends ParserRuleContext {
public IdContext binding_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode REMOTE() { return getToken(TSqlParser.REMOTE, 0); }
public TerminalNode SERVICE() { return getToken(TSqlParser.SERVICE, 0); }
public TerminalNode BINDING() { return getToken(TSqlParser.BINDING, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_remote_service_bindingContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_remote_service_binding; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_remote_service_binding(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_remote_service_binding(this);
}
}
public final Drop_remote_service_bindingContext drop_remote_service_binding() throws RecognitionException {
Drop_remote_service_bindingContext _localctx = new Drop_remote_service_bindingContext(_ctx, getState());
enterRule(_localctx, 226, RULE_drop_remote_service_binding);
try {
enterOuterAlt(_localctx, 1);
{
setState(2533);
match(DROP);
setState(2534);
match(REMOTE);
setState(2535);
match(SERVICE);
setState(2536);
match(BINDING);
setState(2537);
((Drop_remote_service_bindingContext)_localctx).binding_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_resource_poolContext extends ParserRuleContext {
public IdContext pool_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode RESOURCE() { return getToken(TSqlParser.RESOURCE, 0); }
public TerminalNode POOL() { return getToken(TSqlParser.POOL, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_resource_poolContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_resource_pool; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_resource_pool(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_resource_pool(this);
}
}
public final Drop_resource_poolContext drop_resource_pool() throws RecognitionException {
Drop_resource_poolContext _localctx = new Drop_resource_poolContext(_ctx, getState());
enterRule(_localctx, 228, RULE_drop_resource_pool);
try {
enterOuterAlt(_localctx, 1);
{
setState(2539);
match(DROP);
setState(2540);
match(RESOURCE);
setState(2541);
match(POOL);
setState(2542);
((Drop_resource_poolContext)_localctx).pool_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_db_roleContext extends ParserRuleContext {
public IdContext role_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode ROLE() { return getToken(TSqlParser.ROLE, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode IF() { return getToken(TSqlParser.IF, 0); }
public TerminalNode EXISTS() { return getToken(TSqlParser.EXISTS, 0); }
public Drop_db_roleContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_db_role; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_db_role(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_db_role(this);
}
}
public final Drop_db_roleContext drop_db_role() throws RecognitionException {
Drop_db_roleContext _localctx = new Drop_db_roleContext(_ctx, getState());
enterRule(_localctx, 230, RULE_drop_db_role);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2544);
match(DROP);
setState(2545);
match(ROLE);
setState(2548);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(2546);
match(IF);
setState(2547);
match(EXISTS);
}
}
setState(2550);
((Drop_db_roleContext)_localctx).role_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_routeContext extends ParserRuleContext {
public IdContext route_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode ROUTE() { return getToken(TSqlParser.ROUTE, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_routeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_route; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_route(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_route(this);
}
}
public final Drop_routeContext drop_route() throws RecognitionException {
Drop_routeContext _localctx = new Drop_routeContext(_ctx, getState());
enterRule(_localctx, 232, RULE_drop_route);
try {
enterOuterAlt(_localctx, 1);
{
setState(2552);
match(DROP);
setState(2553);
match(ROUTE);
setState(2554);
((Drop_routeContext)_localctx).route_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_ruleContext extends ParserRuleContext {
public IdContext schema_name;
public IdContext rule_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode RULE() { return getToken(TSqlParser.RULE, 0); }
public TerminalNode IF() { return getToken(TSqlParser.IF, 0); }
public TerminalNode EXISTS() { return getToken(TSqlParser.EXISTS, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode COMMA() { return getToken(TSqlParser.COMMA, 0); }
public TerminalNode DOT() { return getToken(TSqlParser.DOT, 0); }
public Drop_ruleContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_rule; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_rule(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_rule(this);
}
}
public final Drop_ruleContext drop_rule() throws RecognitionException {
Drop_ruleContext _localctx = new Drop_ruleContext(_ctx, getState());
enterRule(_localctx, 234, RULE_drop_rule);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2556);
match(DROP);
setState(2557);
match(RULE);
setState(2560);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,180,_ctx) ) {
case 1:
{
setState(2558);
match(IF);
setState(2559);
match(EXISTS);
}
break;
}
setState(2571);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,183,_ctx) ) {
case 1:
{
setState(2563);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2562);
match(COMMA);
}
}
setState(2568);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,182,_ctx) ) {
case 1:
{
setState(2565);
((Drop_ruleContext)_localctx).schema_name = id();
setState(2566);
match(DOT);
}
break;
}
setState(2570);
((Drop_ruleContext)_localctx).rule_name = id();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_schemaContext extends ParserRuleContext {
public IdContext schema_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode SCHEMA() { return getToken(TSqlParser.SCHEMA, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode IF() { return getToken(TSqlParser.IF, 0); }
public TerminalNode EXISTS() { return getToken(TSqlParser.EXISTS, 0); }
public Drop_schemaContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_schema; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_schema(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_schema(this);
}
}
public final Drop_schemaContext drop_schema() throws RecognitionException {
Drop_schemaContext _localctx = new Drop_schemaContext(_ctx, getState());
enterRule(_localctx, 236, RULE_drop_schema);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2573);
match(DROP);
setState(2574);
match(SCHEMA);
setState(2577);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(2575);
match(IF);
setState(2576);
match(EXISTS);
}
}
setState(2579);
((Drop_schemaContext)_localctx).schema_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_search_property_listContext extends ParserRuleContext {
public IdContext property_list_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode SEARCH() { return getToken(TSqlParser.SEARCH, 0); }
public TerminalNode PROPERTY() { return getToken(TSqlParser.PROPERTY, 0); }
public TerminalNode LIST() { return getToken(TSqlParser.LIST, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_search_property_listContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_search_property_list; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_search_property_list(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_search_property_list(this);
}
}
public final Drop_search_property_listContext drop_search_property_list() throws RecognitionException {
Drop_search_property_listContext _localctx = new Drop_search_property_listContext(_ctx, getState());
enterRule(_localctx, 238, RULE_drop_search_property_list);
try {
enterOuterAlt(_localctx, 1);
{
setState(2581);
match(DROP);
setState(2582);
match(SEARCH);
setState(2583);
match(PROPERTY);
setState(2584);
match(LIST);
setState(2585);
((Drop_search_property_listContext)_localctx).property_list_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_security_policyContext extends ParserRuleContext {
public IdContext schema_name;
public IdContext security_policy_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode SECURITY() { return getToken(TSqlParser.SECURITY, 0); }
public TerminalNode POLICY() { return getToken(TSqlParser.POLICY, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode IF() { return getToken(TSqlParser.IF, 0); }
public TerminalNode EXISTS() { return getToken(TSqlParser.EXISTS, 0); }
public TerminalNode DOT() { return getToken(TSqlParser.DOT, 0); }
public Drop_security_policyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_security_policy; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_security_policy(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_security_policy(this);
}
}
public final Drop_security_policyContext drop_security_policy() throws RecognitionException {
Drop_security_policyContext _localctx = new Drop_security_policyContext(_ctx, getState());
enterRule(_localctx, 240, RULE_drop_security_policy);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2587);
match(DROP);
setState(2588);
match(SECURITY);
setState(2589);
match(POLICY);
setState(2592);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(2590);
match(IF);
setState(2591);
match(EXISTS);
}
}
setState(2597);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,186,_ctx) ) {
case 1:
{
setState(2594);
((Drop_security_policyContext)_localctx).schema_name = id();
setState(2595);
match(DOT);
}
break;
}
setState(2599);
((Drop_security_policyContext)_localctx).security_policy_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_sequenceContext extends ParserRuleContext {
public IdContext database_name;
public IdContext schema_name;
public IdContext sequence_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode SEQUENCE() { return getToken(TSqlParser.SEQUENCE, 0); }
public TerminalNode IF() { return getToken(TSqlParser.IF, 0); }
public TerminalNode EXISTS() { return getToken(TSqlParser.EXISTS, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode COMMA() { return getToken(TSqlParser.COMMA, 0); }
public List DOT() { return getTokens(TSqlParser.DOT); }
public TerminalNode DOT(int i) {
return getToken(TSqlParser.DOT, i);
}
public Drop_sequenceContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_sequence; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_sequence(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_sequence(this);
}
}
public final Drop_sequenceContext drop_sequence() throws RecognitionException {
Drop_sequenceContext _localctx = new Drop_sequenceContext(_ctx, getState());
enterRule(_localctx, 242, RULE_drop_sequence);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2601);
match(DROP);
setState(2602);
match(SEQUENCE);
setState(2605);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,187,_ctx) ) {
case 1:
{
setState(2603);
match(IF);
setState(2604);
match(EXISTS);
}
break;
}
setState(2621);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,191,_ctx) ) {
case 1:
{
setState(2608);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2607);
match(COMMA);
}
}
setState(2613);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,189,_ctx) ) {
case 1:
{
setState(2610);
((Drop_sequenceContext)_localctx).database_name = id();
setState(2611);
match(DOT);
}
break;
}
setState(2618);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,190,_ctx) ) {
case 1:
{
setState(2615);
((Drop_sequenceContext)_localctx).schema_name = id();
setState(2616);
match(DOT);
}
break;
}
setState(2620);
((Drop_sequenceContext)_localctx).sequence_name = id();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_server_auditContext extends ParserRuleContext {
public IdContext audit_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode SERVER() { return getToken(TSqlParser.SERVER, 0); }
public TerminalNode AUDIT() { return getToken(TSqlParser.AUDIT, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_server_auditContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_server_audit; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_server_audit(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_server_audit(this);
}
}
public final Drop_server_auditContext drop_server_audit() throws RecognitionException {
Drop_server_auditContext _localctx = new Drop_server_auditContext(_ctx, getState());
enterRule(_localctx, 244, RULE_drop_server_audit);
try {
enterOuterAlt(_localctx, 1);
{
setState(2623);
match(DROP);
setState(2624);
match(SERVER);
setState(2625);
match(AUDIT);
setState(2626);
((Drop_server_auditContext)_localctx).audit_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_server_audit_specificationContext extends ParserRuleContext {
public IdContext audit_specification_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode SERVER() { return getToken(TSqlParser.SERVER, 0); }
public TerminalNode AUDIT() { return getToken(TSqlParser.AUDIT, 0); }
public TerminalNode SPECIFICATION() { return getToken(TSqlParser.SPECIFICATION, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_server_audit_specificationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_server_audit_specification; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_server_audit_specification(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_server_audit_specification(this);
}
}
public final Drop_server_audit_specificationContext drop_server_audit_specification() throws RecognitionException {
Drop_server_audit_specificationContext _localctx = new Drop_server_audit_specificationContext(_ctx, getState());
enterRule(_localctx, 246, RULE_drop_server_audit_specification);
try {
enterOuterAlt(_localctx, 1);
{
setState(2628);
match(DROP);
setState(2629);
match(SERVER);
setState(2630);
match(AUDIT);
setState(2631);
match(SPECIFICATION);
setState(2632);
((Drop_server_audit_specificationContext)_localctx).audit_specification_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_server_roleContext extends ParserRuleContext {
public IdContext role_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode SERVER() { return getToken(TSqlParser.SERVER, 0); }
public TerminalNode ROLE() { return getToken(TSqlParser.ROLE, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_server_roleContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_server_role; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_server_role(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_server_role(this);
}
}
public final Drop_server_roleContext drop_server_role() throws RecognitionException {
Drop_server_roleContext _localctx = new Drop_server_roleContext(_ctx, getState());
enterRule(_localctx, 248, RULE_drop_server_role);
try {
enterOuterAlt(_localctx, 1);
{
setState(2634);
match(DROP);
setState(2635);
match(SERVER);
setState(2636);
match(ROLE);
setState(2637);
((Drop_server_roleContext)_localctx).role_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_serviceContext extends ParserRuleContext {
public IdContext dropped_service_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode SERVICE() { return getToken(TSqlParser.SERVICE, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_serviceContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_service; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_service(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_service(this);
}
}
public final Drop_serviceContext drop_service() throws RecognitionException {
Drop_serviceContext _localctx = new Drop_serviceContext(_ctx, getState());
enterRule(_localctx, 250, RULE_drop_service);
try {
enterOuterAlt(_localctx, 1);
{
setState(2639);
match(DROP);
setState(2640);
match(SERVICE);
setState(2641);
((Drop_serviceContext)_localctx).dropped_service_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_signatureContext extends ParserRuleContext {
public IdContext schema_name;
public IdContext module_name;
public IdContext cert_name;
public IdContext Asym_key_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode SIGNATURE() { return getToken(TSqlParser.SIGNATURE, 0); }
public TerminalNode FROM() { return getToken(TSqlParser.FROM, 0); }
public TerminalNode BY() { return getToken(TSqlParser.BY, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode COUNTER() { return getToken(TSqlParser.COUNTER, 0); }
public TerminalNode DOT() { return getToken(TSqlParser.DOT, 0); }
public List CERTIFICATE() { return getTokens(TSqlParser.CERTIFICATE); }
public TerminalNode CERTIFICATE(int i) {
return getToken(TSqlParser.CERTIFICATE, i);
}
public List ASYMMETRIC() { return getTokens(TSqlParser.ASYMMETRIC); }
public TerminalNode ASYMMETRIC(int i) {
return getToken(TSqlParser.ASYMMETRIC, i);
}
public List KEY() { return getTokens(TSqlParser.KEY); }
public TerminalNode KEY(int i) {
return getToken(TSqlParser.KEY, i);
}
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public Drop_signatureContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_signature; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_signature(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_signature(this);
}
}
public final Drop_signatureContext drop_signature() throws RecognitionException {
Drop_signatureContext _localctx = new Drop_signatureContext(_ctx, getState());
enterRule(_localctx, 252, RULE_drop_signature);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2643);
match(DROP);
setState(2645);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COUNTER) {
{
setState(2644);
match(COUNTER);
}
}
setState(2647);
match(SIGNATURE);
setState(2648);
match(FROM);
setState(2652);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,193,_ctx) ) {
case 1:
{
setState(2649);
((Drop_signatureContext)_localctx).schema_name = id();
setState(2650);
match(DOT);
}
break;
}
setState(2654);
((Drop_signatureContext)_localctx).module_name = id();
setState(2655);
match(BY);
setState(2667);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
setState(2667);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,196,_ctx) ) {
case 1:
{
setState(2657);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2656);
match(COMMA);
}
}
setState(2659);
match(CERTIFICATE);
setState(2660);
((Drop_signatureContext)_localctx).cert_name = id();
}
break;
case 2:
{
setState(2662);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2661);
match(COMMA);
}
}
setState(2664);
match(ASYMMETRIC);
setState(2665);
match(KEY);
setState(2666);
((Drop_signatureContext)_localctx).Asym_key_name = id();
}
break;
}
}
setState(2669);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==ASYMMETRIC || _la==CERTIFICATE || _la==COMMA );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_statistics_name_azure_dw_and_pdwContext extends ParserRuleContext {
public IdContext schema_name;
public IdContext object_name;
public IdContext statistics_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode STATISTICS() { return getToken(TSqlParser.STATISTICS, 0); }
public List DOT() { return getTokens(TSqlParser.DOT); }
public TerminalNode DOT(int i) {
return getToken(TSqlParser.DOT, i);
}
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public Drop_statistics_name_azure_dw_and_pdwContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_statistics_name_azure_dw_and_pdw; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_statistics_name_azure_dw_and_pdw(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_statistics_name_azure_dw_and_pdw(this);
}
}
public final Drop_statistics_name_azure_dw_and_pdwContext drop_statistics_name_azure_dw_and_pdw() throws RecognitionException {
Drop_statistics_name_azure_dw_and_pdwContext _localctx = new Drop_statistics_name_azure_dw_and_pdwContext(_ctx, getState());
enterRule(_localctx, 254, RULE_drop_statistics_name_azure_dw_and_pdw);
try {
enterOuterAlt(_localctx, 1);
{
setState(2671);
match(DROP);
setState(2672);
match(STATISTICS);
setState(2676);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,198,_ctx) ) {
case 1:
{
setState(2673);
((Drop_statistics_name_azure_dw_and_pdwContext)_localctx).schema_name = id();
setState(2674);
match(DOT);
}
break;
}
setState(2678);
((Drop_statistics_name_azure_dw_and_pdwContext)_localctx).object_name = id();
setState(2679);
match(DOT);
setState(2680);
((Drop_statistics_name_azure_dw_and_pdwContext)_localctx).statistics_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_symmetric_keyContext extends ParserRuleContext {
public IdContext symmetric_key_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode SYMMETRIC() { return getToken(TSqlParser.SYMMETRIC, 0); }
public List KEY() { return getTokens(TSqlParser.KEY); }
public TerminalNode KEY(int i) {
return getToken(TSqlParser.KEY, i);
}
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode REMOVE() { return getToken(TSqlParser.REMOVE, 0); }
public TerminalNode PROVIDER() { return getToken(TSqlParser.PROVIDER, 0); }
public Drop_symmetric_keyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_symmetric_key; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_symmetric_key(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_symmetric_key(this);
}
}
public final Drop_symmetric_keyContext drop_symmetric_key() throws RecognitionException {
Drop_symmetric_keyContext _localctx = new Drop_symmetric_keyContext(_ctx, getState());
enterRule(_localctx, 256, RULE_drop_symmetric_key);
try {
enterOuterAlt(_localctx, 1);
{
setState(2682);
match(DROP);
setState(2683);
match(SYMMETRIC);
setState(2684);
match(KEY);
setState(2685);
((Drop_symmetric_keyContext)_localctx).symmetric_key_name = id();
setState(2689);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,199,_ctx) ) {
case 1:
{
setState(2686);
match(REMOVE);
setState(2687);
match(PROVIDER);
setState(2688);
match(KEY);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_synonymContext extends ParserRuleContext {
public IdContext schema;
public IdContext synonym_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode SYNONYM() { return getToken(TSqlParser.SYNONYM, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode IF() { return getToken(TSqlParser.IF, 0); }
public TerminalNode EXISTS() { return getToken(TSqlParser.EXISTS, 0); }
public TerminalNode DOT() { return getToken(TSqlParser.DOT, 0); }
public Drop_synonymContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_synonym; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_synonym(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_synonym(this);
}
}
public final Drop_synonymContext drop_synonym() throws RecognitionException {
Drop_synonymContext _localctx = new Drop_synonymContext(_ctx, getState());
enterRule(_localctx, 258, RULE_drop_synonym);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2691);
match(DROP);
setState(2692);
match(SYNONYM);
setState(2695);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(2693);
match(IF);
setState(2694);
match(EXISTS);
}
}
setState(2700);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,201,_ctx) ) {
case 1:
{
setState(2697);
((Drop_synonymContext)_localctx).schema = id();
setState(2698);
match(DOT);
}
break;
}
setState(2702);
((Drop_synonymContext)_localctx).synonym_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_userContext extends ParserRuleContext {
public IdContext user_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode USER() { return getToken(TSqlParser.USER, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode IF() { return getToken(TSqlParser.IF, 0); }
public TerminalNode EXISTS() { return getToken(TSqlParser.EXISTS, 0); }
public Drop_userContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_user; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_user(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_user(this);
}
}
public final Drop_userContext drop_user() throws RecognitionException {
Drop_userContext _localctx = new Drop_userContext(_ctx, getState());
enterRule(_localctx, 260, RULE_drop_user);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2704);
match(DROP);
setState(2705);
match(USER);
setState(2708);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IF) {
{
setState(2706);
match(IF);
setState(2707);
match(EXISTS);
}
}
setState(2710);
((Drop_userContext)_localctx).user_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_workload_groupContext extends ParserRuleContext {
public IdContext group_name;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode WORKLOAD() { return getToken(TSqlParser.WORKLOAD, 0); }
public TerminalNode GROUP() { return getToken(TSqlParser.GROUP, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public Drop_workload_groupContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_workload_group; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_workload_group(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_workload_group(this);
}
}
public final Drop_workload_groupContext drop_workload_group() throws RecognitionException {
Drop_workload_groupContext _localctx = new Drop_workload_groupContext(_ctx, getState());
enterRule(_localctx, 262, RULE_drop_workload_group);
try {
enterOuterAlt(_localctx, 1);
{
setState(2712);
match(DROP);
setState(2713);
match(WORKLOAD);
setState(2714);
match(GROUP);
setState(2715);
((Drop_workload_groupContext)_localctx).group_name = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Drop_xml_schema_collectionContext extends ParserRuleContext {
public IdContext relational_schema;
public IdContext sql_identifier;
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode XML() { return getToken(TSqlParser.XML, 0); }
public TerminalNode SCHEMA() { return getToken(TSqlParser.SCHEMA, 0); }
public TerminalNode COLLECTION() { return getToken(TSqlParser.COLLECTION, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode DOT() { return getToken(TSqlParser.DOT, 0); }
public Drop_xml_schema_collectionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_drop_xml_schema_collection; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDrop_xml_schema_collection(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDrop_xml_schema_collection(this);
}
}
public final Drop_xml_schema_collectionContext drop_xml_schema_collection() throws RecognitionException {
Drop_xml_schema_collectionContext _localctx = new Drop_xml_schema_collectionContext(_ctx, getState());
enterRule(_localctx, 264, RULE_drop_xml_schema_collection);
try {
enterOuterAlt(_localctx, 1);
{
setState(2717);
match(DROP);
setState(2718);
match(XML);
setState(2719);
match(SCHEMA);
setState(2720);
match(COLLECTION);
setState(2724);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,203,_ctx) ) {
case 1:
{
setState(2721);
((Drop_xml_schema_collectionContext)_localctx).relational_schema = id();
setState(2722);
match(DOT);
}
break;
}
setState(2726);
((Drop_xml_schema_collectionContext)_localctx).sql_identifier = id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Disable_triggerContext extends ParserRuleContext {
public IdContext schema_name;
public IdContext trigger_name;
public IdContext schema_id;
public IdContext object_name;
public TerminalNode DISABLE() { return getToken(TSqlParser.DISABLE, 0); }
public TerminalNode TRIGGER() { return getToken(TSqlParser.TRIGGER, 0); }
public TerminalNode ON() { return getToken(TSqlParser.ON, 0); }
public List ALL() { return getTokens(TSqlParser.ALL); }
public TerminalNode ALL(int i) {
return getToken(TSqlParser.ALL, i);
}
public TerminalNode DATABASE() { return getToken(TSqlParser.DATABASE, 0); }
public TerminalNode SERVER() { return getToken(TSqlParser.SERVER, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public List DOT() { return getTokens(TSqlParser.DOT); }
public TerminalNode DOT(int i) {
return getToken(TSqlParser.DOT, i);
}
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public Disable_triggerContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_disable_trigger; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterDisable_trigger(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitDisable_trigger(this);
}
}
public final Disable_triggerContext disable_trigger() throws RecognitionException {
Disable_triggerContext _localctx = new Disable_triggerContext(_ctx, getState());
enterRule(_localctx, 266, RULE_disable_trigger);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2728);
match(DISABLE);
setState(2729);
match(TRIGGER);
setState(2744);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CALLED:
case DATA_COMPRESSION:
case EVENTDATA:
case FILENAME:
case FILLFACTOR:
case FORCESEEK:
case INIT:
case KEY:
case MASTER:
case MAX_MEMORY:
case OFFSETS:
case PAGE:
case PUBLIC:
case R:
case RAW:
case RETURN:
case RETURNS:
case ROWCOUNT:
case SAFETY:
case SERVER:
case SID:
case SOURCE:
case STATE:
case START:
case TARGET:
case ABSOLUTE:
case ACCENT_SENSITIVITY:
case ACTION:
case ACTIVATION:
case ACTIVE:
case ADDRESS:
case AES_128:
case AES_192:
case AES_256:
case AFFINITY:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ALLOW_ENCRYPTED_VALUE_MODIFICATIONS:
case ALLOW_SNAPSHOT_ISOLATION:
case ALLOWED:
case ANSI_NULL_DEFAULT:
case ANSI_NULLS:
case ANSI_PADDING:
case ANSI_WARNINGS:
case APPLICATION_LOG:
case APPLY:
case ARITHABORT:
case ASSEMBLY:
case AUDIT:
case AUDIT_GUID:
case AUTO:
case AUTO_CLEANUP:
case AUTO_CLOSE:
case AUTO_CREATE_STATISTICS:
case AUTO_SHRINK:
case AUTO_UPDATE_STATISTICS:
case AUTO_UPDATE_STATISTICS_ASYNC:
case AVAILABILITY:
case AVG:
case BACKUP_PRIORITY:
case BEGIN_DIALOG:
case BIGINT:
case BINARY_BASE64:
case BINARY_CHECKSUM:
case BINDING:
case BLOB_STORAGE:
case BROKER:
case BROKER_INSTANCE:
case BULK_LOGGED:
case CALLER:
case CAP_CPU_PERCENT:
case CAST:
case CATALOG:
case CATCH:
case CHANGE_RETENTION:
case CHANGE_TRACKING:
case CHECKSUM:
case CHECKSUM_AGG:
case CLEANUP:
case COLLECTION:
case COLUMN_MASTER_KEY:
case COMMITTED:
case COMPATIBILITY_LEVEL:
case CONCAT:
case CONCAT_NULL_YIELDS_NULL:
case CONTENT:
case CONTROL:
case COOKIE:
case COUNT:
case COUNT_BIG:
case COUNTER:
case CPU:
case CREATE_NEW:
case CREATION_DISPOSITION:
case CREDENTIAL:
case CRYPTOGRAPHIC:
case CURSOR_CLOSE_ON_COMMIT:
case CURSOR_DEFAULT:
case DATE_CORRELATION_OPTIMIZATION:
case DATEADD:
case DATEDIFF:
case DATENAME:
case DATEPART:
case DAYS:
case DB_CHAINING:
case DB_FAILOVER:
case DECRYPTION:
case DEFAULT_DOUBLE_QUOTE:
case DEFAULT_FULLTEXT_LANGUAGE:
case DEFAULT_LANGUAGE:
case DELAY:
case DELAYED_DURABILITY:
case DELETED:
case DENSE_RANK:
case DEPENDENTS:
case DES:
case DESCRIPTION:
case DESX:
case DHCP:
case DIALOG:
case DIRECTORY_NAME:
case DISABLE:
case DISABLE_BROKER:
case DISABLED:
case DISK_DRIVE:
case DOCUMENT:
case DYNAMIC:
case EMERGENCY:
case EMPTY:
case ENABLE:
case ENABLE_BROKER:
case ENCRYPTED_VALUE:
case ENCRYPTION:
case ENDPOINT_URL:
case ERROR_BROKER_CONVERSATIONS:
case EXCLUSIVE:
case EXECUTABLE:
case EXIST:
case EXPAND:
case EXPIRY_DATE:
case EXPLICIT:
case FAIL_OPERATION:
case FAILOVER_MODE:
case FAILURE:
case FAILURE_CONDITION_LEVEL:
case FAST:
case FAST_FORWARD:
case FILEGROUP:
case FILEGROWTH:
case FILEPATH:
case FILESTREAM:
case FILTER:
case FIRST:
case FIRST_VALUE:
case FOLLOWING:
case FORCE:
case FORCE_FAILOVER_ALLOW_DATA_LOSS:
case FORCED:
case FORMAT:
case FORWARD_ONLY:
case FULLSCAN:
case FULLTEXT:
case GB:
case GETDATE:
case GETUTCDATE:
case GLOBAL:
case GO:
case GROUP_MAX_REQUESTS:
case GROUPING:
case GROUPING_ID:
case HADR:
case HASH:
case HEALTH_CHECK_TIMEOUT:
case HIGH:
case HONOR_BROKER_PRIORITY:
case HOURS:
case IDENTITY_VALUE:
case IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX:
case IMMEDIATE:
case IMPERSONATE:
case IMPORTANCE:
case INCREMENTAL:
case INITIATOR:
case INPUT:
case INSENSITIVE:
case INSERTED:
case INT:
case IP:
case ISOLATION:
case KB:
case KEEP:
case KEEPFIXED:
case KEY_SOURCE:
case KEYS:
case KEYSET:
case LAG:
case LAST:
case LAST_VALUE:
case LEAD:
case LEVEL:
case LIST:
case LISTENER:
case LISTENER_URL:
case LOB_COMPACTION:
case LOCAL:
case LOCATION:
case LOCK:
case LOCK_ESCALATION:
case LOGIN:
case LOOP:
case LOW:
case MANUAL:
case MARK:
case MATERIALIZED:
case MAX:
case MAX_CPU_PERCENT:
case MAX_DOP:
case MAX_FILES:
case MAX_IOPS_PER_VOLUME:
case MAX_MEMORY_PERCENT:
case MAX_PROCESSES:
case MAX_QUEUE_READERS:
case MAX_ROLLOVER_FILES:
case MAXDOP:
case MAXRECURSION:
case MAXSIZE:
case MB:
case MEDIUM:
case MEMORY_OPTIMIZED_DATA:
case MESSAGE:
case MIN:
case MIN_ACTIVE_ROWVERSION:
case MIN_CPU_PERCENT:
case MIN_IOPS_PER_VOLUME:
case MIN_MEMORY_PERCENT:
case MINUTES:
case MIRROR_ADDRESS:
case MIXED_PAGE_ALLOCATION:
case MODE:
case MODIFY:
case MOVE:
case MULTI_USER:
case NAME:
case NESTED_TRIGGERS:
case NEW_ACCOUNT:
case NEW_BROKER:
case NEW_PASSWORD:
case NEXT:
case NO:
case NO_TRUNCATE:
case NO_WAIT:
case NOCOUNT:
case NODES:
case NOEXPAND:
case NON_TRANSACTED_ACCESS:
case NORECOMPUTE:
case NORECOVERY:
case NOWAIT:
case NTILE:
case NUMANODE:
case NUMBER:
case NUMERIC_ROUNDABORT:
case OBJECT:
case OFFLINE:
case OFFSET:
case OLD_ACCOUNT:
case ONLINE:
case ONLY:
case OPEN_EXISTING:
case OPTIMISTIC:
case OPTIMIZE:
case OUT:
case OUTPUT:
case OWNER:
case PAGE_VERIFY:
case PARAMETERIZATION:
case PARTITION:
case PARTITIONS:
case PARTNER:
case PATH:
case POISON_MESSAGE_HANDLING:
case POOL:
case PORT:
case PRECEDING:
case PRIMARY_ROLE:
case PRIOR:
case PRIORITY:
case PRIORITY_LEVEL:
case PRIVATE:
case PRIVATE_KEY:
case PRIVILEGES:
case PROCEDURE_NAME:
case PROPERTY:
case PROVIDER:
case PROVIDER_KEY_NAME:
case QUERY:
case QUEUE:
case QUEUE_DELAY:
case QUOTED_IDENTIFIER:
case RANGE:
case RANK:
case RC2:
case RC4:
case RC4_128:
case READ_COMMITTED_SNAPSHOT:
case READ_ONLY:
case READ_ONLY_ROUTING_LIST:
case READ_WRITE:
case READONLY:
case REBUILD:
case RECEIVE:
case RECOMPILE:
case RECOVERY:
case RECURSIVE_TRIGGERS:
case RELATIVE:
case REMOTE:
case REMOTE_SERVICE_NAME:
case REMOVE:
case REORGANIZE:
case REPEATABLE:
case REPLICA:
case REQUEST_MAX_CPU_TIME_SEC:
case REQUEST_MAX_MEMORY_GRANT_PERCENT:
case REQUEST_MEMORY_GRANT_TIMEOUT_SEC:
case REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT:
case RESERVE_DISK_SPACE:
case RESOURCE:
case RESOURCE_MANAGER_LOCATION:
case RESTRICTED_USER:
case RETENTION:
case ROBUST:
case ROOT:
case ROUTE:
case ROW:
case ROW_NUMBER:
case ROWGUID:
case ROWS:
case SAMPLE:
case SCHEMABINDING:
case SCOPED:
case SCROLL:
case SCROLL_LOCKS:
case SEARCH:
case SECONDARY:
case SECONDARY_ONLY:
case SECONDARY_ROLE:
case SECONDS:
case SECRET:
case SECURITY_LOG:
case SEEDING_MODE:
case SELF:
case SEMI_SENSITIVE:
case SEND:
case SENT:
case SERIALIZABLE:
case SESSION_TIMEOUT:
case SETERROR:
case SHARE:
case SHOWPLAN:
case SIGNATURE:
case SIMPLE:
case SINGLE_USER:
case SIZE:
case SMALLINT:
case SNAPSHOT:
case SPATIAL_WINDOW_MAX_CELLS:
case STANDBY:
case START_DATE:
case STATIC:
case STATS_STREAM:
case STATUS:
case STDEV:
case STDEVP:
case STOPLIST:
case STUFF:
case SUBJECT:
case SUM:
case SUSPEND:
case SYMMETRIC:
case SYNCHRONOUS_COMMIT:
case SYNONYM:
case TAKE:
case TARGET_RECOVERY_TIME:
case TB:
case TEXTIMAGE_ON:
case THROW:
case TIES:
case TIME:
case TIMEOUT:
case TIMER:
case TINYINT:
case TORN_PAGE_DETECTION:
case TRANSFORM_NOISE_WORDS:
case TRIPLE_DES:
case TRIPLE_DES_3KEY:
case TRUSTWORTHY:
case TRY:
case TSQL:
case TWO_DIGIT_YEAR_CUTOFF:
case TYPE:
case TYPE_WARNING:
case UNBOUNDED:
case UNCOMMITTED:
case UNKNOWN:
case UNLIMITED:
case USING:
case VALID_XML:
case VALIDATION:
case VALUE:
case VAR:
case VARP:
case VIEW_METADATA:
case VIEWS:
case WAIT:
case WELL_FORMED_XML:
case WORK:
case WORKLOAD:
case XML:
case XMLNAMESPACES:
case DOUBLE_QUOTE_ID:
case SQUARE_BRACKET_ID:
case ID:
case COMMA:
{
setState(2739);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(2731);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2730);
match(COMMA);
}
}
setState(2736);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,205,_ctx) ) {
case 1:
{
setState(2733);
((Disable_triggerContext)_localctx).schema_name = id();
setState(2734);
match(DOT);
}
break;
}
setState(2738);
((Disable_triggerContext)_localctx).trigger_name = id();
}
}
setState(2741);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==CALLED || ((((_la - 81)) & ~0x3f) == 0 && ((1L << (_la - 81)) & ((1L << (DATA_COMPRESSION - 81)) | (1L << (EVENTDATA - 81)) | (1L << (FILENAME - 81)) | (1L << (FILLFACTOR - 81)) | (1L << (FORCESEEK - 81)))) != 0) || ((((_la - 159)) & ~0x3f) == 0 && ((1L << (_la - 159)) & ((1L << (INIT - 159)) | (1L << (KEY - 159)) | (1L << (MASTER - 159)) | (1L << (MAX_MEMORY - 159)))) != 0) || ((((_la - 226)) & ~0x3f) == 0 && ((1L << (_la - 226)) & ((1L << (OFFSETS - 226)) | (1L << (PAGE - 226)) | (1L << (PUBLIC - 226)) | (1L << (R - 226)) | (1L << (RAW - 226)) | (1L << (RETURN - 226)) | (1L << (RETURNS - 226)) | (1L << (ROWCOUNT - 226)))) != 0) || ((((_la - 296)) & ~0x3f) == 0 && ((1L << (_la - 296)) & ((1L << (SAFETY - 296)) | (1L << (SERVER - 296)) | (1L << (SID - 296)) | (1L << (SOURCE - 296)) | (1L << (STATE - 296)) | (1L << (START - 296)) | (1L << (TARGET - 296)))) != 0) || ((((_la - 384)) & ~0x3f) == 0 && ((1L << (_la - 384)) & ((1L << (ABSOLUTE - 384)) | (1L << (ACCENT_SENSITIVITY - 384)) | (1L << (ACTION - 384)) | (1L << (ACTIVATION - 384)) | (1L << (ACTIVE - 384)) | (1L << (ADDRESS - 384)) | (1L << (AES_128 - 384)) | (1L << (AES_192 - 384)) | (1L << (AES_256 - 384)) | (1L << (AFFINITY - 384)) | (1L << (AFTER - 384)) | (1L << (AGGREGATE - 384)) | (1L << (ALGORITHM - 384)) | (1L << (ALLOW_ENCRYPTED_VALUE_MODIFICATIONS - 384)) | (1L << (ALLOW_SNAPSHOT_ISOLATION - 384)) | (1L << (ALLOWED - 384)) | (1L << (ANSI_NULL_DEFAULT - 384)) | (1L << (ANSI_NULLS - 384)) | (1L << (ANSI_PADDING - 384)) | (1L << (ANSI_WARNINGS - 384)) | (1L << (APPLICATION_LOG - 384)) | (1L << (APPLY - 384)) | (1L << (ARITHABORT - 384)) | (1L << (ASSEMBLY - 384)) | (1L << (AUDIT - 384)) | (1L << (AUDIT_GUID - 384)) | (1L << (AUTO - 384)) | (1L << (AUTO_CLEANUP - 384)) | (1L << (AUTO_CLOSE - 384)) | (1L << (AUTO_CREATE_STATISTICS - 384)) | (1L << (AUTO_SHRINK - 384)) | (1L << (AUTO_UPDATE_STATISTICS - 384)) | (1L << (AUTO_UPDATE_STATISTICS_ASYNC - 384)) | (1L << (AVAILABILITY - 384)) | (1L << (AVG - 384)) | (1L << (BACKUP_PRIORITY - 384)) | (1L << (BEGIN_DIALOG - 384)) | (1L << (BIGINT - 384)) | (1L << (BINARY_BASE64 - 384)) | (1L << (BINARY_CHECKSUM - 384)) | (1L << (BINDING - 384)) | (1L << (BLOB_STORAGE - 384)) | (1L << (BROKER - 384)) | (1L << (BROKER_INSTANCE - 384)) | (1L << (BULK_LOGGED - 384)) | (1L << (CALLER - 384)) | (1L << (CAP_CPU_PERCENT - 384)) | (1L << (CAST - 384)) | (1L << (CATALOG - 384)) | (1L << (CATCH - 384)) | (1L << (CHANGE_RETENTION - 384)) | (1L << (CHANGE_TRACKING - 384)) | (1L << (CHECKSUM - 384)) | (1L << (CHECKSUM_AGG - 384)) | (1L << (CLEANUP - 384)) | (1L << (COLLECTION - 384)) | (1L << (COLUMN_MASTER_KEY - 384)) | (1L << (COMMITTED - 384)) | (1L << (COMPATIBILITY_LEVEL - 384)) | (1L << (CONCAT - 384)) | (1L << (CONCAT_NULL_YIELDS_NULL - 384)) | (1L << (CONTENT - 384)) | (1L << (CONTROL - 384)) | (1L << (COOKIE - 384)))) != 0) || ((((_la - 448)) & ~0x3f) == 0 && ((1L << (_la - 448)) & ((1L << (COUNT - 448)) | (1L << (COUNT_BIG - 448)) | (1L << (COUNTER - 448)) | (1L << (CPU - 448)) | (1L << (CREATE_NEW - 448)) | (1L << (CREATION_DISPOSITION - 448)) | (1L << (CREDENTIAL - 448)) | (1L << (CRYPTOGRAPHIC - 448)) | (1L << (CURSOR_CLOSE_ON_COMMIT - 448)) | (1L << (CURSOR_DEFAULT - 448)) | (1L << (DATE_CORRELATION_OPTIMIZATION - 448)) | (1L << (DATEADD - 448)) | (1L << (DATEDIFF - 448)) | (1L << (DATENAME - 448)) | (1L << (DATEPART - 448)) | (1L << (DAYS - 448)) | (1L << (DB_CHAINING - 448)) | (1L << (DB_FAILOVER - 448)) | (1L << (DECRYPTION - 448)) | (1L << (DEFAULT_DOUBLE_QUOTE - 448)) | (1L << (DEFAULT_FULLTEXT_LANGUAGE - 448)) | (1L << (DEFAULT_LANGUAGE - 448)) | (1L << (DELAY - 448)) | (1L << (DELAYED_DURABILITY - 448)) | (1L << (DELETED - 448)) | (1L << (DENSE_RANK - 448)) | (1L << (DEPENDENTS - 448)) | (1L << (DES - 448)) | (1L << (DESCRIPTION - 448)) | (1L << (DESX - 448)) | (1L << (DHCP - 448)) | (1L << (DIALOG - 448)) | (1L << (DIRECTORY_NAME - 448)) | (1L << (DISABLE - 448)) | (1L << (DISABLE_BROKER - 448)) | (1L << (DISABLED - 448)) | (1L << (DISK_DRIVE - 448)) | (1L << (DOCUMENT - 448)) | (1L << (DYNAMIC - 448)) | (1L << (EMERGENCY - 448)) | (1L << (EMPTY - 448)) | (1L << (ENABLE - 448)) | (1L << (ENABLE_BROKER - 448)) | (1L << (ENCRYPTED_VALUE - 448)) | (1L << (ENCRYPTION - 448)) | (1L << (ENDPOINT_URL - 448)) | (1L << (ERROR_BROKER_CONVERSATIONS - 448)) | (1L << (EXCLUSIVE - 448)) | (1L << (EXECUTABLE - 448)) | (1L << (EXIST - 448)) | (1L << (EXPAND - 448)) | (1L << (EXPIRY_DATE - 448)) | (1L << (EXPLICIT - 448)) | (1L << (FAIL_OPERATION - 448)) | (1L << (FAILOVER_MODE - 448)) | (1L << (FAILURE - 448)) | (1L << (FAILURE_CONDITION_LEVEL - 448)) | (1L << (FAST - 448)) | (1L << (FAST_FORWARD - 448)) | (1L << (FILEGROUP - 448)) | (1L << (FILEGROWTH - 448)) | (1L << (FILEPATH - 448)) | (1L << (FILESTREAM - 448)))) != 0) || ((((_la - 512)) & ~0x3f) == 0 && ((1L << (_la - 512)) & ((1L << (FILTER - 512)) | (1L << (FIRST - 512)) | (1L << (FIRST_VALUE - 512)) | (1L << (FOLLOWING - 512)) | (1L << (FORCE - 512)) | (1L << (FORCE_FAILOVER_ALLOW_DATA_LOSS - 512)) | (1L << (FORCED - 512)) | (1L << (FORMAT - 512)) | (1L << (FORWARD_ONLY - 512)) | (1L << (FULLSCAN - 512)) | (1L << (FULLTEXT - 512)) | (1L << (GB - 512)) | (1L << (GETDATE - 512)) | (1L << (GETUTCDATE - 512)) | (1L << (GLOBAL - 512)) | (1L << (GO - 512)) | (1L << (GROUP_MAX_REQUESTS - 512)) | (1L << (GROUPING - 512)) | (1L << (GROUPING_ID - 512)) | (1L << (HADR - 512)) | (1L << (HASH - 512)) | (1L << (HEALTH_CHECK_TIMEOUT - 512)) | (1L << (HIGH - 512)) | (1L << (HONOR_BROKER_PRIORITY - 512)) | (1L << (HOURS - 512)) | (1L << (IDENTITY_VALUE - 512)) | (1L << (IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX - 512)) | (1L << (IMMEDIATE - 512)) | (1L << (IMPERSONATE - 512)) | (1L << (IMPORTANCE - 512)) | (1L << (INCREMENTAL - 512)) | (1L << (INITIATOR - 512)) | (1L << (INPUT - 512)) | (1L << (INSENSITIVE - 512)) | (1L << (INSERTED - 512)) | (1L << (INT - 512)) | (1L << (IP - 512)) | (1L << (ISOLATION - 512)) | (1L << (KB - 512)) | (1L << (KEEP - 512)) | (1L << (KEEPFIXED - 512)) | (1L << (KEY_SOURCE - 512)) | (1L << (KEYS - 512)) | (1L << (KEYSET - 512)) | (1L << (LAG - 512)) | (1L << (LAST - 512)) | (1L << (LAST_VALUE - 512)) | (1L << (LEAD - 512)) | (1L << (LEVEL - 512)) | (1L << (LIST - 512)) | (1L << (LISTENER - 512)) | (1L << (LISTENER_URL - 512)) | (1L << (LOB_COMPACTION - 512)) | (1L << (LOCAL - 512)) | (1L << (LOCATION - 512)) | (1L << (LOCK - 512)) | (1L << (LOCK_ESCALATION - 512)) | (1L << (LOGIN - 512)) | (1L << (LOOP - 512)) | (1L << (LOW - 512)) | (1L << (MANUAL - 512)) | (1L << (MARK - 512)))) != 0) || ((((_la - 576)) & ~0x3f) == 0 && ((1L << (_la - 576)) & ((1L << (MATERIALIZED - 576)) | (1L << (MAX - 576)) | (1L << (MAX_CPU_PERCENT - 576)) | (1L << (MAX_DOP - 576)) | (1L << (MAX_FILES - 576)) | (1L << (MAX_IOPS_PER_VOLUME - 576)) | (1L << (MAX_MEMORY_PERCENT - 576)) | (1L << (MAX_PROCESSES - 576)) | (1L << (MAX_QUEUE_READERS - 576)) | (1L << (MAX_ROLLOVER_FILES - 576)) | (1L << (MAXDOP - 576)) | (1L << (MAXRECURSION - 576)) | (1L << (MAXSIZE - 576)) | (1L << (MB - 576)) | (1L << (MEDIUM - 576)) | (1L << (MEMORY_OPTIMIZED_DATA - 576)) | (1L << (MESSAGE - 576)) | (1L << (MIN - 576)) | (1L << (MIN_ACTIVE_ROWVERSION - 576)) | (1L << (MIN_CPU_PERCENT - 576)) | (1L << (MIN_IOPS_PER_VOLUME - 576)) | (1L << (MIN_MEMORY_PERCENT - 576)) | (1L << (MINUTES - 576)) | (1L << (MIRROR_ADDRESS - 576)) | (1L << (MIXED_PAGE_ALLOCATION - 576)) | (1L << (MODE - 576)) | (1L << (MODIFY - 576)) | (1L << (MOVE - 576)) | (1L << (MULTI_USER - 576)) | (1L << (NAME - 576)) | (1L << (NESTED_TRIGGERS - 576)) | (1L << (NEW_ACCOUNT - 576)) | (1L << (NEW_BROKER - 576)) | (1L << (NEW_PASSWORD - 576)) | (1L << (NEXT - 576)) | (1L << (NO - 576)) | (1L << (NO_TRUNCATE - 576)) | (1L << (NO_WAIT - 576)) | (1L << (NOCOUNT - 576)) | (1L << (NODES - 576)) | (1L << (NOEXPAND - 576)) | (1L << (NON_TRANSACTED_ACCESS - 576)) | (1L << (NORECOMPUTE - 576)) | (1L << (NORECOVERY - 576)) | (1L << (NOWAIT - 576)) | (1L << (NTILE - 576)) | (1L << (NUMANODE - 576)) | (1L << (NUMBER - 576)) | (1L << (NUMERIC_ROUNDABORT - 576)) | (1L << (OBJECT - 576)) | (1L << (OFFLINE - 576)) | (1L << (OFFSET - 576)) | (1L << (OLD_ACCOUNT - 576)) | (1L << (ONLINE - 576)) | (1L << (ONLY - 576)) | (1L << (OPEN_EXISTING - 576)) | (1L << (OPTIMISTIC - 576)) | (1L << (OPTIMIZE - 576)) | (1L << (OUT - 576)) | (1L << (OUTPUT - 576)) | (1L << (OWNER - 576)) | (1L << (PAGE_VERIFY - 576)) | (1L << (PARAMETERIZATION - 576)) | (1L << (PARTITION - 576)))) != 0) || ((((_la - 640)) & ~0x3f) == 0 && ((1L << (_la - 640)) & ((1L << (PARTITIONS - 640)) | (1L << (PARTNER - 640)) | (1L << (PATH - 640)) | (1L << (POISON_MESSAGE_HANDLING - 640)) | (1L << (POOL - 640)) | (1L << (PORT - 640)) | (1L << (PRECEDING - 640)) | (1L << (PRIMARY_ROLE - 640)) | (1L << (PRIOR - 640)) | (1L << (PRIORITY - 640)) | (1L << (PRIORITY_LEVEL - 640)) | (1L << (PRIVATE - 640)) | (1L << (PRIVATE_KEY - 640)) | (1L << (PRIVILEGES - 640)) | (1L << (PROCEDURE_NAME - 640)) | (1L << (PROPERTY - 640)) | (1L << (PROVIDER - 640)) | (1L << (PROVIDER_KEY_NAME - 640)) | (1L << (QUERY - 640)) | (1L << (QUEUE - 640)) | (1L << (QUEUE_DELAY - 640)) | (1L << (QUOTED_IDENTIFIER - 640)) | (1L << (RANGE - 640)) | (1L << (RANK - 640)) | (1L << (RC2 - 640)) | (1L << (RC4 - 640)) | (1L << (RC4_128 - 640)) | (1L << (READ_COMMITTED_SNAPSHOT - 640)) | (1L << (READ_ONLY - 640)) | (1L << (READ_ONLY_ROUTING_LIST - 640)) | (1L << (READ_WRITE - 640)) | (1L << (READONLY - 640)) | (1L << (REBUILD - 640)) | (1L << (RECEIVE - 640)) | (1L << (RECOMPILE - 640)) | (1L << (RECOVERY - 640)) | (1L << (RECURSIVE_TRIGGERS - 640)) | (1L << (RELATIVE - 640)) | (1L << (REMOTE - 640)) | (1L << (REMOTE_SERVICE_NAME - 640)) | (1L << (REMOVE - 640)) | (1L << (REORGANIZE - 640)) | (1L << (REPEATABLE - 640)) | (1L << (REPLICA - 640)) | (1L << (REQUEST_MAX_CPU_TIME_SEC - 640)) | (1L << (REQUEST_MAX_MEMORY_GRANT_PERCENT - 640)) | (1L << (REQUEST_MEMORY_GRANT_TIMEOUT_SEC - 640)) | (1L << (REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT - 640)) | (1L << (RESERVE_DISK_SPACE - 640)) | (1L << (RESOURCE - 640)) | (1L << (RESOURCE_MANAGER_LOCATION - 640)) | (1L << (RESTRICTED_USER - 640)) | (1L << (RETENTION - 640)) | (1L << (ROBUST - 640)) | (1L << (ROOT - 640)) | (1L << (ROUTE - 640)) | (1L << (ROW - 640)) | (1L << (ROW_NUMBER - 640)) | (1L << (ROWGUID - 640)) | (1L << (ROWS - 640)) | (1L << (SAMPLE - 640)) | (1L << (SCHEMABINDING - 640)) | (1L << (SCOPED - 640)) | (1L << (SCROLL - 640)))) != 0) || ((((_la - 704)) & ~0x3f) == 0 && ((1L << (_la - 704)) & ((1L << (SCROLL_LOCKS - 704)) | (1L << (SEARCH - 704)) | (1L << (SECONDARY - 704)) | (1L << (SECONDARY_ONLY - 704)) | (1L << (SECONDARY_ROLE - 704)) | (1L << (SECONDS - 704)) | (1L << (SECRET - 704)) | (1L << (SECURITY_LOG - 704)) | (1L << (SEEDING_MODE - 704)) | (1L << (SELF - 704)) | (1L << (SEMI_SENSITIVE - 704)) | (1L << (SEND - 704)) | (1L << (SENT - 704)) | (1L << (SERIALIZABLE - 704)) | (1L << (SESSION_TIMEOUT - 704)) | (1L << (SETERROR - 704)) | (1L << (SHARE - 704)) | (1L << (SHOWPLAN - 704)) | (1L << (SIGNATURE - 704)) | (1L << (SIMPLE - 704)) | (1L << (SINGLE_USER - 704)) | (1L << (SIZE - 704)) | (1L << (SMALLINT - 704)) | (1L << (SNAPSHOT - 704)) | (1L << (SPATIAL_WINDOW_MAX_CELLS - 704)) | (1L << (STANDBY - 704)) | (1L << (START_DATE - 704)) | (1L << (STATIC - 704)) | (1L << (STATS_STREAM - 704)) | (1L << (STATUS - 704)) | (1L << (STDEV - 704)) | (1L << (STDEVP - 704)) | (1L << (STOPLIST - 704)) | (1L << (STUFF - 704)) | (1L << (SUBJECT - 704)) | (1L << (SUM - 704)) | (1L << (SUSPEND - 704)) | (1L << (SYMMETRIC - 704)) | (1L << (SYNCHRONOUS_COMMIT - 704)) | (1L << (SYNONYM - 704)) | (1L << (TAKE - 704)) | (1L << (TARGET_RECOVERY_TIME - 704)) | (1L << (TB - 704)) | (1L << (TEXTIMAGE_ON - 704)) | (1L << (THROW - 704)) | (1L << (TIES - 704)) | (1L << (TIME - 704)) | (1L << (TIMEOUT - 704)) | (1L << (TIMER - 704)) | (1L << (TINYINT - 704)) | (1L << (TORN_PAGE_DETECTION - 704)) | (1L << (TRANSFORM_NOISE_WORDS - 704)) | (1L << (TRIPLE_DES - 704)) | (1L << (TRIPLE_DES_3KEY - 704)) | (1L << (TRUSTWORTHY - 704)) | (1L << (TRY - 704)) | (1L << (TSQL - 704)) | (1L << (TWO_DIGIT_YEAR_CUTOFF - 704)) | (1L << (TYPE - 704)) | (1L << (TYPE_WARNING - 704)) | (1L << (UNBOUNDED - 704)) | (1L << (UNCOMMITTED - 704)) | (1L << (UNKNOWN - 704)) | (1L << (UNLIMITED - 704)))) != 0) || ((((_la - 768)) & ~0x3f) == 0 && ((1L << (_la - 768)) & ((1L << (USING - 768)) | (1L << (VALID_XML - 768)) | (1L << (VALIDATION - 768)) | (1L << (VALUE - 768)) | (1L << (VAR - 768)) | (1L << (VARP - 768)) | (1L << (VIEW_METADATA - 768)) | (1L << (VIEWS - 768)) | (1L << (WAIT - 768)) | (1L << (WELL_FORMED_XML - 768)) | (1L << (WORK - 768)) | (1L << (WORKLOAD - 768)) | (1L << (XML - 768)) | (1L << (XMLNAMESPACES - 768)) | (1L << (DOUBLE_QUOTE_ID - 768)) | (1L << (SQUARE_BRACKET_ID - 768)) | (1L << (ID - 768)) | (1L << (COMMA - 768)))) != 0) );
}
break;
case ALL:
{
setState(2743);
match(ALL);
}
break;
default:
throw new NoViableAltException(this);
}
setState(2746);
match(ON);
setState(2756);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CALLED:
case DATA_COMPRESSION:
case EVENTDATA:
case FILENAME:
case FILLFACTOR:
case FORCESEEK:
case INIT:
case KEY:
case MASTER:
case MAX_MEMORY:
case OFFSETS:
case PAGE:
case PUBLIC:
case R:
case RAW:
case RETURN:
case RETURNS:
case ROWCOUNT:
case SAFETY:
case SERVER:
case SID:
case SOURCE:
case STATE:
case START:
case TARGET:
case ABSOLUTE:
case ACCENT_SENSITIVITY:
case ACTION:
case ACTIVATION:
case ACTIVE:
case ADDRESS:
case AES_128:
case AES_192:
case AES_256:
case AFFINITY:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ALLOW_ENCRYPTED_VALUE_MODIFICATIONS:
case ALLOW_SNAPSHOT_ISOLATION:
case ALLOWED:
case ANSI_NULL_DEFAULT:
case ANSI_NULLS:
case ANSI_PADDING:
case ANSI_WARNINGS:
case APPLICATION_LOG:
case APPLY:
case ARITHABORT:
case ASSEMBLY:
case AUDIT:
case AUDIT_GUID:
case AUTO:
case AUTO_CLEANUP:
case AUTO_CLOSE:
case AUTO_CREATE_STATISTICS:
case AUTO_SHRINK:
case AUTO_UPDATE_STATISTICS:
case AUTO_UPDATE_STATISTICS_ASYNC:
case AVAILABILITY:
case AVG:
case BACKUP_PRIORITY:
case BEGIN_DIALOG:
case BIGINT:
case BINARY_BASE64:
case BINARY_CHECKSUM:
case BINDING:
case BLOB_STORAGE:
case BROKER:
case BROKER_INSTANCE:
case BULK_LOGGED:
case CALLER:
case CAP_CPU_PERCENT:
case CAST:
case CATALOG:
case CATCH:
case CHANGE_RETENTION:
case CHANGE_TRACKING:
case CHECKSUM:
case CHECKSUM_AGG:
case CLEANUP:
case COLLECTION:
case COLUMN_MASTER_KEY:
case COMMITTED:
case COMPATIBILITY_LEVEL:
case CONCAT:
case CONCAT_NULL_YIELDS_NULL:
case CONTENT:
case CONTROL:
case COOKIE:
case COUNT:
case COUNT_BIG:
case COUNTER:
case CPU:
case CREATE_NEW:
case CREATION_DISPOSITION:
case CREDENTIAL:
case CRYPTOGRAPHIC:
case CURSOR_CLOSE_ON_COMMIT:
case CURSOR_DEFAULT:
case DATE_CORRELATION_OPTIMIZATION:
case DATEADD:
case DATEDIFF:
case DATENAME:
case DATEPART:
case DAYS:
case DB_CHAINING:
case DB_FAILOVER:
case DECRYPTION:
case DEFAULT_DOUBLE_QUOTE:
case DEFAULT_FULLTEXT_LANGUAGE:
case DEFAULT_LANGUAGE:
case DELAY:
case DELAYED_DURABILITY:
case DELETED:
case DENSE_RANK:
case DEPENDENTS:
case DES:
case DESCRIPTION:
case DESX:
case DHCP:
case DIALOG:
case DIRECTORY_NAME:
case DISABLE:
case DISABLE_BROKER:
case DISABLED:
case DISK_DRIVE:
case DOCUMENT:
case DYNAMIC:
case EMERGENCY:
case EMPTY:
case ENABLE:
case ENABLE_BROKER:
case ENCRYPTED_VALUE:
case ENCRYPTION:
case ENDPOINT_URL:
case ERROR_BROKER_CONVERSATIONS:
case EXCLUSIVE:
case EXECUTABLE:
case EXIST:
case EXPAND:
case EXPIRY_DATE:
case EXPLICIT:
case FAIL_OPERATION:
case FAILOVER_MODE:
case FAILURE:
case FAILURE_CONDITION_LEVEL:
case FAST:
case FAST_FORWARD:
case FILEGROUP:
case FILEGROWTH:
case FILEPATH:
case FILESTREAM:
case FILTER:
case FIRST:
case FIRST_VALUE:
case FOLLOWING:
case FORCE:
case FORCE_FAILOVER_ALLOW_DATA_LOSS:
case FORCED:
case FORMAT:
case FORWARD_ONLY:
case FULLSCAN:
case FULLTEXT:
case GB:
case GETDATE:
case GETUTCDATE:
case GLOBAL:
case GO:
case GROUP_MAX_REQUESTS:
case GROUPING:
case GROUPING_ID:
case HADR:
case HASH:
case HEALTH_CHECK_TIMEOUT:
case HIGH:
case HONOR_BROKER_PRIORITY:
case HOURS:
case IDENTITY_VALUE:
case IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX:
case IMMEDIATE:
case IMPERSONATE:
case IMPORTANCE:
case INCREMENTAL:
case INITIATOR:
case INPUT:
case INSENSITIVE:
case INSERTED:
case INT:
case IP:
case ISOLATION:
case KB:
case KEEP:
case KEEPFIXED:
case KEY_SOURCE:
case KEYS:
case KEYSET:
case LAG:
case LAST:
case LAST_VALUE:
case LEAD:
case LEVEL:
case LIST:
case LISTENER:
case LISTENER_URL:
case LOB_COMPACTION:
case LOCAL:
case LOCATION:
case LOCK:
case LOCK_ESCALATION:
case LOGIN:
case LOOP:
case LOW:
case MANUAL:
case MARK:
case MATERIALIZED:
case MAX:
case MAX_CPU_PERCENT:
case MAX_DOP:
case MAX_FILES:
case MAX_IOPS_PER_VOLUME:
case MAX_MEMORY_PERCENT:
case MAX_PROCESSES:
case MAX_QUEUE_READERS:
case MAX_ROLLOVER_FILES:
case MAXDOP:
case MAXRECURSION:
case MAXSIZE:
case MB:
case MEDIUM:
case MEMORY_OPTIMIZED_DATA:
case MESSAGE:
case MIN:
case MIN_ACTIVE_ROWVERSION:
case MIN_CPU_PERCENT:
case MIN_IOPS_PER_VOLUME:
case MIN_MEMORY_PERCENT:
case MINUTES:
case MIRROR_ADDRESS:
case MIXED_PAGE_ALLOCATION:
case MODE:
case MODIFY:
case MOVE:
case MULTI_USER:
case NAME:
case NESTED_TRIGGERS:
case NEW_ACCOUNT:
case NEW_BROKER:
case NEW_PASSWORD:
case NEXT:
case NO:
case NO_TRUNCATE:
case NO_WAIT:
case NOCOUNT:
case NODES:
case NOEXPAND:
case NON_TRANSACTED_ACCESS:
case NORECOMPUTE:
case NORECOVERY:
case NOWAIT:
case NTILE:
case NUMANODE:
case NUMBER:
case NUMERIC_ROUNDABORT:
case OBJECT:
case OFFLINE:
case OFFSET:
case OLD_ACCOUNT:
case ONLINE:
case ONLY:
case OPEN_EXISTING:
case OPTIMISTIC:
case OPTIMIZE:
case OUT:
case OUTPUT:
case OWNER:
case PAGE_VERIFY:
case PARAMETERIZATION:
case PARTITION:
case PARTITIONS:
case PARTNER:
case PATH:
case POISON_MESSAGE_HANDLING:
case POOL:
case PORT:
case PRECEDING:
case PRIMARY_ROLE:
case PRIOR:
case PRIORITY:
case PRIORITY_LEVEL:
case PRIVATE:
case PRIVATE_KEY:
case PRIVILEGES:
case PROCEDURE_NAME:
case PROPERTY:
case PROVIDER:
case PROVIDER_KEY_NAME:
case QUERY:
case QUEUE:
case QUEUE_DELAY:
case QUOTED_IDENTIFIER:
case RANGE:
case RANK:
case RC2:
case RC4:
case RC4_128:
case READ_COMMITTED_SNAPSHOT:
case READ_ONLY:
case READ_ONLY_ROUTING_LIST:
case READ_WRITE:
case READONLY:
case REBUILD:
case RECEIVE:
case RECOMPILE:
case RECOVERY:
case RECURSIVE_TRIGGERS:
case RELATIVE:
case REMOTE:
case REMOTE_SERVICE_NAME:
case REMOVE:
case REORGANIZE:
case REPEATABLE:
case REPLICA:
case REQUEST_MAX_CPU_TIME_SEC:
case REQUEST_MAX_MEMORY_GRANT_PERCENT:
case REQUEST_MEMORY_GRANT_TIMEOUT_SEC:
case REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT:
case RESERVE_DISK_SPACE:
case RESOURCE:
case RESOURCE_MANAGER_LOCATION:
case RESTRICTED_USER:
case RETENTION:
case ROBUST:
case ROOT:
case ROUTE:
case ROW:
case ROW_NUMBER:
case ROWGUID:
case ROWS:
case SAMPLE:
case SCHEMABINDING:
case SCOPED:
case SCROLL:
case SCROLL_LOCKS:
case SEARCH:
case SECONDARY:
case SECONDARY_ONLY:
case SECONDARY_ROLE:
case SECONDS:
case SECRET:
case SECURITY_LOG:
case SEEDING_MODE:
case SELF:
case SEMI_SENSITIVE:
case SEND:
case SENT:
case SERIALIZABLE:
case SESSION_TIMEOUT:
case SETERROR:
case SHARE:
case SHOWPLAN:
case SIGNATURE:
case SIMPLE:
case SINGLE_USER:
case SIZE:
case SMALLINT:
case SNAPSHOT:
case SPATIAL_WINDOW_MAX_CELLS:
case STANDBY:
case START_DATE:
case STATIC:
case STATS_STREAM:
case STATUS:
case STDEV:
case STDEVP:
case STOPLIST:
case STUFF:
case SUBJECT:
case SUM:
case SUSPEND:
case SYMMETRIC:
case SYNCHRONOUS_COMMIT:
case SYNONYM:
case TAKE:
case TARGET_RECOVERY_TIME:
case TB:
case TEXTIMAGE_ON:
case THROW:
case TIES:
case TIME:
case TIMEOUT:
case TIMER:
case TINYINT:
case TORN_PAGE_DETECTION:
case TRANSFORM_NOISE_WORDS:
case TRIPLE_DES:
case TRIPLE_DES_3KEY:
case TRUSTWORTHY:
case TRY:
case TSQL:
case TWO_DIGIT_YEAR_CUTOFF:
case TYPE:
case TYPE_WARNING:
case UNBOUNDED:
case UNCOMMITTED:
case UNKNOWN:
case UNLIMITED:
case USING:
case VALID_XML:
case VALIDATION:
case VALUE:
case VAR:
case VARP:
case VIEW_METADATA:
case VIEWS:
case WAIT:
case WELL_FORMED_XML:
case WORK:
case WORKLOAD:
case XML:
case XMLNAMESPACES:
case DOUBLE_QUOTE_ID:
case SQUARE_BRACKET_ID:
case ID:
{
setState(2750);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,208,_ctx) ) {
case 1:
{
setState(2747);
((Disable_triggerContext)_localctx).schema_id = id();
setState(2748);
match(DOT);
}
break;
}
setState(2752);
((Disable_triggerContext)_localctx).object_name = id();
}
break;
case DATABASE:
{
setState(2753);
match(DATABASE);
}
break;
case ALL:
{
setState(2754);
match(ALL);
setState(2755);
match(SERVER);
}
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 Enable_triggerContext extends ParserRuleContext {
public IdContext schema_name;
public IdContext trigger_name;
public IdContext schema_id;
public IdContext object_name;
public TerminalNode ENABLE() { return getToken(TSqlParser.ENABLE, 0); }
public TerminalNode TRIGGER() { return getToken(TSqlParser.TRIGGER, 0); }
public TerminalNode ON() { return getToken(TSqlParser.ON, 0); }
public List ALL() { return getTokens(TSqlParser.ALL); }
public TerminalNode ALL(int i) {
return getToken(TSqlParser.ALL, i);
}
public TerminalNode DATABASE() { return getToken(TSqlParser.DATABASE, 0); }
public TerminalNode SERVER() { return getToken(TSqlParser.SERVER, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public List DOT() { return getTokens(TSqlParser.DOT); }
public TerminalNode DOT(int i) {
return getToken(TSqlParser.DOT, i);
}
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public Enable_triggerContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_enable_trigger; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterEnable_trigger(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitEnable_trigger(this);
}
}
public final Enable_triggerContext enable_trigger() throws RecognitionException {
Enable_triggerContext _localctx = new Enable_triggerContext(_ctx, getState());
enterRule(_localctx, 268, RULE_enable_trigger);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2758);
match(ENABLE);
setState(2759);
match(TRIGGER);
setState(2774);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CALLED:
case DATA_COMPRESSION:
case EVENTDATA:
case FILENAME:
case FILLFACTOR:
case FORCESEEK:
case INIT:
case KEY:
case MASTER:
case MAX_MEMORY:
case OFFSETS:
case PAGE:
case PUBLIC:
case R:
case RAW:
case RETURN:
case RETURNS:
case ROWCOUNT:
case SAFETY:
case SERVER:
case SID:
case SOURCE:
case STATE:
case START:
case TARGET:
case ABSOLUTE:
case ACCENT_SENSITIVITY:
case ACTION:
case ACTIVATION:
case ACTIVE:
case ADDRESS:
case AES_128:
case AES_192:
case AES_256:
case AFFINITY:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ALLOW_ENCRYPTED_VALUE_MODIFICATIONS:
case ALLOW_SNAPSHOT_ISOLATION:
case ALLOWED:
case ANSI_NULL_DEFAULT:
case ANSI_NULLS:
case ANSI_PADDING:
case ANSI_WARNINGS:
case APPLICATION_LOG:
case APPLY:
case ARITHABORT:
case ASSEMBLY:
case AUDIT:
case AUDIT_GUID:
case AUTO:
case AUTO_CLEANUP:
case AUTO_CLOSE:
case AUTO_CREATE_STATISTICS:
case AUTO_SHRINK:
case AUTO_UPDATE_STATISTICS:
case AUTO_UPDATE_STATISTICS_ASYNC:
case AVAILABILITY:
case AVG:
case BACKUP_PRIORITY:
case BEGIN_DIALOG:
case BIGINT:
case BINARY_BASE64:
case BINARY_CHECKSUM:
case BINDING:
case BLOB_STORAGE:
case BROKER:
case BROKER_INSTANCE:
case BULK_LOGGED:
case CALLER:
case CAP_CPU_PERCENT:
case CAST:
case CATALOG:
case CATCH:
case CHANGE_RETENTION:
case CHANGE_TRACKING:
case CHECKSUM:
case CHECKSUM_AGG:
case CLEANUP:
case COLLECTION:
case COLUMN_MASTER_KEY:
case COMMITTED:
case COMPATIBILITY_LEVEL:
case CONCAT:
case CONCAT_NULL_YIELDS_NULL:
case CONTENT:
case CONTROL:
case COOKIE:
case COUNT:
case COUNT_BIG:
case COUNTER:
case CPU:
case CREATE_NEW:
case CREATION_DISPOSITION:
case CREDENTIAL:
case CRYPTOGRAPHIC:
case CURSOR_CLOSE_ON_COMMIT:
case CURSOR_DEFAULT:
case DATE_CORRELATION_OPTIMIZATION:
case DATEADD:
case DATEDIFF:
case DATENAME:
case DATEPART:
case DAYS:
case DB_CHAINING:
case DB_FAILOVER:
case DECRYPTION:
case DEFAULT_DOUBLE_QUOTE:
case DEFAULT_FULLTEXT_LANGUAGE:
case DEFAULT_LANGUAGE:
case DELAY:
case DELAYED_DURABILITY:
case DELETED:
case DENSE_RANK:
case DEPENDENTS:
case DES:
case DESCRIPTION:
case DESX:
case DHCP:
case DIALOG:
case DIRECTORY_NAME:
case DISABLE:
case DISABLE_BROKER:
case DISABLED:
case DISK_DRIVE:
case DOCUMENT:
case DYNAMIC:
case EMERGENCY:
case EMPTY:
case ENABLE:
case ENABLE_BROKER:
case ENCRYPTED_VALUE:
case ENCRYPTION:
case ENDPOINT_URL:
case ERROR_BROKER_CONVERSATIONS:
case EXCLUSIVE:
case EXECUTABLE:
case EXIST:
case EXPAND:
case EXPIRY_DATE:
case EXPLICIT:
case FAIL_OPERATION:
case FAILOVER_MODE:
case FAILURE:
case FAILURE_CONDITION_LEVEL:
case FAST:
case FAST_FORWARD:
case FILEGROUP:
case FILEGROWTH:
case FILEPATH:
case FILESTREAM:
case FILTER:
case FIRST:
case FIRST_VALUE:
case FOLLOWING:
case FORCE:
case FORCE_FAILOVER_ALLOW_DATA_LOSS:
case FORCED:
case FORMAT:
case FORWARD_ONLY:
case FULLSCAN:
case FULLTEXT:
case GB:
case GETDATE:
case GETUTCDATE:
case GLOBAL:
case GO:
case GROUP_MAX_REQUESTS:
case GROUPING:
case GROUPING_ID:
case HADR:
case HASH:
case HEALTH_CHECK_TIMEOUT:
case HIGH:
case HONOR_BROKER_PRIORITY:
case HOURS:
case IDENTITY_VALUE:
case IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX:
case IMMEDIATE:
case IMPERSONATE:
case IMPORTANCE:
case INCREMENTAL:
case INITIATOR:
case INPUT:
case INSENSITIVE:
case INSERTED:
case INT:
case IP:
case ISOLATION:
case KB:
case KEEP:
case KEEPFIXED:
case KEY_SOURCE:
case KEYS:
case KEYSET:
case LAG:
case LAST:
case LAST_VALUE:
case LEAD:
case LEVEL:
case LIST:
case LISTENER:
case LISTENER_URL:
case LOB_COMPACTION:
case LOCAL:
case LOCATION:
case LOCK:
case LOCK_ESCALATION:
case LOGIN:
case LOOP:
case LOW:
case MANUAL:
case MARK:
case MATERIALIZED:
case MAX:
case MAX_CPU_PERCENT:
case MAX_DOP:
case MAX_FILES:
case MAX_IOPS_PER_VOLUME:
case MAX_MEMORY_PERCENT:
case MAX_PROCESSES:
case MAX_QUEUE_READERS:
case MAX_ROLLOVER_FILES:
case MAXDOP:
case MAXRECURSION:
case MAXSIZE:
case MB:
case MEDIUM:
case MEMORY_OPTIMIZED_DATA:
case MESSAGE:
case MIN:
case MIN_ACTIVE_ROWVERSION:
case MIN_CPU_PERCENT:
case MIN_IOPS_PER_VOLUME:
case MIN_MEMORY_PERCENT:
case MINUTES:
case MIRROR_ADDRESS:
case MIXED_PAGE_ALLOCATION:
case MODE:
case MODIFY:
case MOVE:
case MULTI_USER:
case NAME:
case NESTED_TRIGGERS:
case NEW_ACCOUNT:
case NEW_BROKER:
case NEW_PASSWORD:
case NEXT:
case NO:
case NO_TRUNCATE:
case NO_WAIT:
case NOCOUNT:
case NODES:
case NOEXPAND:
case NON_TRANSACTED_ACCESS:
case NORECOMPUTE:
case NORECOVERY:
case NOWAIT:
case NTILE:
case NUMANODE:
case NUMBER:
case NUMERIC_ROUNDABORT:
case OBJECT:
case OFFLINE:
case OFFSET:
case OLD_ACCOUNT:
case ONLINE:
case ONLY:
case OPEN_EXISTING:
case OPTIMISTIC:
case OPTIMIZE:
case OUT:
case OUTPUT:
case OWNER:
case PAGE_VERIFY:
case PARAMETERIZATION:
case PARTITION:
case PARTITIONS:
case PARTNER:
case PATH:
case POISON_MESSAGE_HANDLING:
case POOL:
case PORT:
case PRECEDING:
case PRIMARY_ROLE:
case PRIOR:
case PRIORITY:
case PRIORITY_LEVEL:
case PRIVATE:
case PRIVATE_KEY:
case PRIVILEGES:
case PROCEDURE_NAME:
case PROPERTY:
case PROVIDER:
case PROVIDER_KEY_NAME:
case QUERY:
case QUEUE:
case QUEUE_DELAY:
case QUOTED_IDENTIFIER:
case RANGE:
case RANK:
case RC2:
case RC4:
case RC4_128:
case READ_COMMITTED_SNAPSHOT:
case READ_ONLY:
case READ_ONLY_ROUTING_LIST:
case READ_WRITE:
case READONLY:
case REBUILD:
case RECEIVE:
case RECOMPILE:
case RECOVERY:
case RECURSIVE_TRIGGERS:
case RELATIVE:
case REMOTE:
case REMOTE_SERVICE_NAME:
case REMOVE:
case REORGANIZE:
case REPEATABLE:
case REPLICA:
case REQUEST_MAX_CPU_TIME_SEC:
case REQUEST_MAX_MEMORY_GRANT_PERCENT:
case REQUEST_MEMORY_GRANT_TIMEOUT_SEC:
case REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT:
case RESERVE_DISK_SPACE:
case RESOURCE:
case RESOURCE_MANAGER_LOCATION:
case RESTRICTED_USER:
case RETENTION:
case ROBUST:
case ROOT:
case ROUTE:
case ROW:
case ROW_NUMBER:
case ROWGUID:
case ROWS:
case SAMPLE:
case SCHEMABINDING:
case SCOPED:
case SCROLL:
case SCROLL_LOCKS:
case SEARCH:
case SECONDARY:
case SECONDARY_ONLY:
case SECONDARY_ROLE:
case SECONDS:
case SECRET:
case SECURITY_LOG:
case SEEDING_MODE:
case SELF:
case SEMI_SENSITIVE:
case SEND:
case SENT:
case SERIALIZABLE:
case SESSION_TIMEOUT:
case SETERROR:
case SHARE:
case SHOWPLAN:
case SIGNATURE:
case SIMPLE:
case SINGLE_USER:
case SIZE:
case SMALLINT:
case SNAPSHOT:
case SPATIAL_WINDOW_MAX_CELLS:
case STANDBY:
case START_DATE:
case STATIC:
case STATS_STREAM:
case STATUS:
case STDEV:
case STDEVP:
case STOPLIST:
case STUFF:
case SUBJECT:
case SUM:
case SUSPEND:
case SYMMETRIC:
case SYNCHRONOUS_COMMIT:
case SYNONYM:
case TAKE:
case TARGET_RECOVERY_TIME:
case TB:
case TEXTIMAGE_ON:
case THROW:
case TIES:
case TIME:
case TIMEOUT:
case TIMER:
case TINYINT:
case TORN_PAGE_DETECTION:
case TRANSFORM_NOISE_WORDS:
case TRIPLE_DES:
case TRIPLE_DES_3KEY:
case TRUSTWORTHY:
case TRY:
case TSQL:
case TWO_DIGIT_YEAR_CUTOFF:
case TYPE:
case TYPE_WARNING:
case UNBOUNDED:
case UNCOMMITTED:
case UNKNOWN:
case UNLIMITED:
case USING:
case VALID_XML:
case VALIDATION:
case VALUE:
case VAR:
case VARP:
case VIEW_METADATA:
case VIEWS:
case WAIT:
case WELL_FORMED_XML:
case WORK:
case WORKLOAD:
case XML:
case XMLNAMESPACES:
case DOUBLE_QUOTE_ID:
case SQUARE_BRACKET_ID:
case ID:
case COMMA:
{
setState(2769);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(2761);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2760);
match(COMMA);
}
}
setState(2766);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,211,_ctx) ) {
case 1:
{
setState(2763);
((Enable_triggerContext)_localctx).schema_name = id();
setState(2764);
match(DOT);
}
break;
}
setState(2768);
((Enable_triggerContext)_localctx).trigger_name = id();
}
}
setState(2771);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==CALLED || ((((_la - 81)) & ~0x3f) == 0 && ((1L << (_la - 81)) & ((1L << (DATA_COMPRESSION - 81)) | (1L << (EVENTDATA - 81)) | (1L << (FILENAME - 81)) | (1L << (FILLFACTOR - 81)) | (1L << (FORCESEEK - 81)))) != 0) || ((((_la - 159)) & ~0x3f) == 0 && ((1L << (_la - 159)) & ((1L << (INIT - 159)) | (1L << (KEY - 159)) | (1L << (MASTER - 159)) | (1L << (MAX_MEMORY - 159)))) != 0) || ((((_la - 226)) & ~0x3f) == 0 && ((1L << (_la - 226)) & ((1L << (OFFSETS - 226)) | (1L << (PAGE - 226)) | (1L << (PUBLIC - 226)) | (1L << (R - 226)) | (1L << (RAW - 226)) | (1L << (RETURN - 226)) | (1L << (RETURNS - 226)) | (1L << (ROWCOUNT - 226)))) != 0) || ((((_la - 296)) & ~0x3f) == 0 && ((1L << (_la - 296)) & ((1L << (SAFETY - 296)) | (1L << (SERVER - 296)) | (1L << (SID - 296)) | (1L << (SOURCE - 296)) | (1L << (STATE - 296)) | (1L << (START - 296)) | (1L << (TARGET - 296)))) != 0) || ((((_la - 384)) & ~0x3f) == 0 && ((1L << (_la - 384)) & ((1L << (ABSOLUTE - 384)) | (1L << (ACCENT_SENSITIVITY - 384)) | (1L << (ACTION - 384)) | (1L << (ACTIVATION - 384)) | (1L << (ACTIVE - 384)) | (1L << (ADDRESS - 384)) | (1L << (AES_128 - 384)) | (1L << (AES_192 - 384)) | (1L << (AES_256 - 384)) | (1L << (AFFINITY - 384)) | (1L << (AFTER - 384)) | (1L << (AGGREGATE - 384)) | (1L << (ALGORITHM - 384)) | (1L << (ALLOW_ENCRYPTED_VALUE_MODIFICATIONS - 384)) | (1L << (ALLOW_SNAPSHOT_ISOLATION - 384)) | (1L << (ALLOWED - 384)) | (1L << (ANSI_NULL_DEFAULT - 384)) | (1L << (ANSI_NULLS - 384)) | (1L << (ANSI_PADDING - 384)) | (1L << (ANSI_WARNINGS - 384)) | (1L << (APPLICATION_LOG - 384)) | (1L << (APPLY - 384)) | (1L << (ARITHABORT - 384)) | (1L << (ASSEMBLY - 384)) | (1L << (AUDIT - 384)) | (1L << (AUDIT_GUID - 384)) | (1L << (AUTO - 384)) | (1L << (AUTO_CLEANUP - 384)) | (1L << (AUTO_CLOSE - 384)) | (1L << (AUTO_CREATE_STATISTICS - 384)) | (1L << (AUTO_SHRINK - 384)) | (1L << (AUTO_UPDATE_STATISTICS - 384)) | (1L << (AUTO_UPDATE_STATISTICS_ASYNC - 384)) | (1L << (AVAILABILITY - 384)) | (1L << (AVG - 384)) | (1L << (BACKUP_PRIORITY - 384)) | (1L << (BEGIN_DIALOG - 384)) | (1L << (BIGINT - 384)) | (1L << (BINARY_BASE64 - 384)) | (1L << (BINARY_CHECKSUM - 384)) | (1L << (BINDING - 384)) | (1L << (BLOB_STORAGE - 384)) | (1L << (BROKER - 384)) | (1L << (BROKER_INSTANCE - 384)) | (1L << (BULK_LOGGED - 384)) | (1L << (CALLER - 384)) | (1L << (CAP_CPU_PERCENT - 384)) | (1L << (CAST - 384)) | (1L << (CATALOG - 384)) | (1L << (CATCH - 384)) | (1L << (CHANGE_RETENTION - 384)) | (1L << (CHANGE_TRACKING - 384)) | (1L << (CHECKSUM - 384)) | (1L << (CHECKSUM_AGG - 384)) | (1L << (CLEANUP - 384)) | (1L << (COLLECTION - 384)) | (1L << (COLUMN_MASTER_KEY - 384)) | (1L << (COMMITTED - 384)) | (1L << (COMPATIBILITY_LEVEL - 384)) | (1L << (CONCAT - 384)) | (1L << (CONCAT_NULL_YIELDS_NULL - 384)) | (1L << (CONTENT - 384)) | (1L << (CONTROL - 384)) | (1L << (COOKIE - 384)))) != 0) || ((((_la - 448)) & ~0x3f) == 0 && ((1L << (_la - 448)) & ((1L << (COUNT - 448)) | (1L << (COUNT_BIG - 448)) | (1L << (COUNTER - 448)) | (1L << (CPU - 448)) | (1L << (CREATE_NEW - 448)) | (1L << (CREATION_DISPOSITION - 448)) | (1L << (CREDENTIAL - 448)) | (1L << (CRYPTOGRAPHIC - 448)) | (1L << (CURSOR_CLOSE_ON_COMMIT - 448)) | (1L << (CURSOR_DEFAULT - 448)) | (1L << (DATE_CORRELATION_OPTIMIZATION - 448)) | (1L << (DATEADD - 448)) | (1L << (DATEDIFF - 448)) | (1L << (DATENAME - 448)) | (1L << (DATEPART - 448)) | (1L << (DAYS - 448)) | (1L << (DB_CHAINING - 448)) | (1L << (DB_FAILOVER - 448)) | (1L << (DECRYPTION - 448)) | (1L << (DEFAULT_DOUBLE_QUOTE - 448)) | (1L << (DEFAULT_FULLTEXT_LANGUAGE - 448)) | (1L << (DEFAULT_LANGUAGE - 448)) | (1L << (DELAY - 448)) | (1L << (DELAYED_DURABILITY - 448)) | (1L << (DELETED - 448)) | (1L << (DENSE_RANK - 448)) | (1L << (DEPENDENTS - 448)) | (1L << (DES - 448)) | (1L << (DESCRIPTION - 448)) | (1L << (DESX - 448)) | (1L << (DHCP - 448)) | (1L << (DIALOG - 448)) | (1L << (DIRECTORY_NAME - 448)) | (1L << (DISABLE - 448)) | (1L << (DISABLE_BROKER - 448)) | (1L << (DISABLED - 448)) | (1L << (DISK_DRIVE - 448)) | (1L << (DOCUMENT - 448)) | (1L << (DYNAMIC - 448)) | (1L << (EMERGENCY - 448)) | (1L << (EMPTY - 448)) | (1L << (ENABLE - 448)) | (1L << (ENABLE_BROKER - 448)) | (1L << (ENCRYPTED_VALUE - 448)) | (1L << (ENCRYPTION - 448)) | (1L << (ENDPOINT_URL - 448)) | (1L << (ERROR_BROKER_CONVERSATIONS - 448)) | (1L << (EXCLUSIVE - 448)) | (1L << (EXECUTABLE - 448)) | (1L << (EXIST - 448)) | (1L << (EXPAND - 448)) | (1L << (EXPIRY_DATE - 448)) | (1L << (EXPLICIT - 448)) | (1L << (FAIL_OPERATION - 448)) | (1L << (FAILOVER_MODE - 448)) | (1L << (FAILURE - 448)) | (1L << (FAILURE_CONDITION_LEVEL - 448)) | (1L << (FAST - 448)) | (1L << (FAST_FORWARD - 448)) | (1L << (FILEGROUP - 448)) | (1L << (FILEGROWTH - 448)) | (1L << (FILEPATH - 448)) | (1L << (FILESTREAM - 448)))) != 0) || ((((_la - 512)) & ~0x3f) == 0 && ((1L << (_la - 512)) & ((1L << (FILTER - 512)) | (1L << (FIRST - 512)) | (1L << (FIRST_VALUE - 512)) | (1L << (FOLLOWING - 512)) | (1L << (FORCE - 512)) | (1L << (FORCE_FAILOVER_ALLOW_DATA_LOSS - 512)) | (1L << (FORCED - 512)) | (1L << (FORMAT - 512)) | (1L << (FORWARD_ONLY - 512)) | (1L << (FULLSCAN - 512)) | (1L << (FULLTEXT - 512)) | (1L << (GB - 512)) | (1L << (GETDATE - 512)) | (1L << (GETUTCDATE - 512)) | (1L << (GLOBAL - 512)) | (1L << (GO - 512)) | (1L << (GROUP_MAX_REQUESTS - 512)) | (1L << (GROUPING - 512)) | (1L << (GROUPING_ID - 512)) | (1L << (HADR - 512)) | (1L << (HASH - 512)) | (1L << (HEALTH_CHECK_TIMEOUT - 512)) | (1L << (HIGH - 512)) | (1L << (HONOR_BROKER_PRIORITY - 512)) | (1L << (HOURS - 512)) | (1L << (IDENTITY_VALUE - 512)) | (1L << (IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX - 512)) | (1L << (IMMEDIATE - 512)) | (1L << (IMPERSONATE - 512)) | (1L << (IMPORTANCE - 512)) | (1L << (INCREMENTAL - 512)) | (1L << (INITIATOR - 512)) | (1L << (INPUT - 512)) | (1L << (INSENSITIVE - 512)) | (1L << (INSERTED - 512)) | (1L << (INT - 512)) | (1L << (IP - 512)) | (1L << (ISOLATION - 512)) | (1L << (KB - 512)) | (1L << (KEEP - 512)) | (1L << (KEEPFIXED - 512)) | (1L << (KEY_SOURCE - 512)) | (1L << (KEYS - 512)) | (1L << (KEYSET - 512)) | (1L << (LAG - 512)) | (1L << (LAST - 512)) | (1L << (LAST_VALUE - 512)) | (1L << (LEAD - 512)) | (1L << (LEVEL - 512)) | (1L << (LIST - 512)) | (1L << (LISTENER - 512)) | (1L << (LISTENER_URL - 512)) | (1L << (LOB_COMPACTION - 512)) | (1L << (LOCAL - 512)) | (1L << (LOCATION - 512)) | (1L << (LOCK - 512)) | (1L << (LOCK_ESCALATION - 512)) | (1L << (LOGIN - 512)) | (1L << (LOOP - 512)) | (1L << (LOW - 512)) | (1L << (MANUAL - 512)) | (1L << (MARK - 512)))) != 0) || ((((_la - 576)) & ~0x3f) == 0 && ((1L << (_la - 576)) & ((1L << (MATERIALIZED - 576)) | (1L << (MAX - 576)) | (1L << (MAX_CPU_PERCENT - 576)) | (1L << (MAX_DOP - 576)) | (1L << (MAX_FILES - 576)) | (1L << (MAX_IOPS_PER_VOLUME - 576)) | (1L << (MAX_MEMORY_PERCENT - 576)) | (1L << (MAX_PROCESSES - 576)) | (1L << (MAX_QUEUE_READERS - 576)) | (1L << (MAX_ROLLOVER_FILES - 576)) | (1L << (MAXDOP - 576)) | (1L << (MAXRECURSION - 576)) | (1L << (MAXSIZE - 576)) | (1L << (MB - 576)) | (1L << (MEDIUM - 576)) | (1L << (MEMORY_OPTIMIZED_DATA - 576)) | (1L << (MESSAGE - 576)) | (1L << (MIN - 576)) | (1L << (MIN_ACTIVE_ROWVERSION - 576)) | (1L << (MIN_CPU_PERCENT - 576)) | (1L << (MIN_IOPS_PER_VOLUME - 576)) | (1L << (MIN_MEMORY_PERCENT - 576)) | (1L << (MINUTES - 576)) | (1L << (MIRROR_ADDRESS - 576)) | (1L << (MIXED_PAGE_ALLOCATION - 576)) | (1L << (MODE - 576)) | (1L << (MODIFY - 576)) | (1L << (MOVE - 576)) | (1L << (MULTI_USER - 576)) | (1L << (NAME - 576)) | (1L << (NESTED_TRIGGERS - 576)) | (1L << (NEW_ACCOUNT - 576)) | (1L << (NEW_BROKER - 576)) | (1L << (NEW_PASSWORD - 576)) | (1L << (NEXT - 576)) | (1L << (NO - 576)) | (1L << (NO_TRUNCATE - 576)) | (1L << (NO_WAIT - 576)) | (1L << (NOCOUNT - 576)) | (1L << (NODES - 576)) | (1L << (NOEXPAND - 576)) | (1L << (NON_TRANSACTED_ACCESS - 576)) | (1L << (NORECOMPUTE - 576)) | (1L << (NORECOVERY - 576)) | (1L << (NOWAIT - 576)) | (1L << (NTILE - 576)) | (1L << (NUMANODE - 576)) | (1L << (NUMBER - 576)) | (1L << (NUMERIC_ROUNDABORT - 576)) | (1L << (OBJECT - 576)) | (1L << (OFFLINE - 576)) | (1L << (OFFSET - 576)) | (1L << (OLD_ACCOUNT - 576)) | (1L << (ONLINE - 576)) | (1L << (ONLY - 576)) | (1L << (OPEN_EXISTING - 576)) | (1L << (OPTIMISTIC - 576)) | (1L << (OPTIMIZE - 576)) | (1L << (OUT - 576)) | (1L << (OUTPUT - 576)) | (1L << (OWNER - 576)) | (1L << (PAGE_VERIFY - 576)) | (1L << (PARAMETERIZATION - 576)) | (1L << (PARTITION - 576)))) != 0) || ((((_la - 640)) & ~0x3f) == 0 && ((1L << (_la - 640)) & ((1L << (PARTITIONS - 640)) | (1L << (PARTNER - 640)) | (1L << (PATH - 640)) | (1L << (POISON_MESSAGE_HANDLING - 640)) | (1L << (POOL - 640)) | (1L << (PORT - 640)) | (1L << (PRECEDING - 640)) | (1L << (PRIMARY_ROLE - 640)) | (1L << (PRIOR - 640)) | (1L << (PRIORITY - 640)) | (1L << (PRIORITY_LEVEL - 640)) | (1L << (PRIVATE - 640)) | (1L << (PRIVATE_KEY - 640)) | (1L << (PRIVILEGES - 640)) | (1L << (PROCEDURE_NAME - 640)) | (1L << (PROPERTY - 640)) | (1L << (PROVIDER - 640)) | (1L << (PROVIDER_KEY_NAME - 640)) | (1L << (QUERY - 640)) | (1L << (QUEUE - 640)) | (1L << (QUEUE_DELAY - 640)) | (1L << (QUOTED_IDENTIFIER - 640)) | (1L << (RANGE - 640)) | (1L << (RANK - 640)) | (1L << (RC2 - 640)) | (1L << (RC4 - 640)) | (1L << (RC4_128 - 640)) | (1L << (READ_COMMITTED_SNAPSHOT - 640)) | (1L << (READ_ONLY - 640)) | (1L << (READ_ONLY_ROUTING_LIST - 640)) | (1L << (READ_WRITE - 640)) | (1L << (READONLY - 640)) | (1L << (REBUILD - 640)) | (1L << (RECEIVE - 640)) | (1L << (RECOMPILE - 640)) | (1L << (RECOVERY - 640)) | (1L << (RECURSIVE_TRIGGERS - 640)) | (1L << (RELATIVE - 640)) | (1L << (REMOTE - 640)) | (1L << (REMOTE_SERVICE_NAME - 640)) | (1L << (REMOVE - 640)) | (1L << (REORGANIZE - 640)) | (1L << (REPEATABLE - 640)) | (1L << (REPLICA - 640)) | (1L << (REQUEST_MAX_CPU_TIME_SEC - 640)) | (1L << (REQUEST_MAX_MEMORY_GRANT_PERCENT - 640)) | (1L << (REQUEST_MEMORY_GRANT_TIMEOUT_SEC - 640)) | (1L << (REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT - 640)) | (1L << (RESERVE_DISK_SPACE - 640)) | (1L << (RESOURCE - 640)) | (1L << (RESOURCE_MANAGER_LOCATION - 640)) | (1L << (RESTRICTED_USER - 640)) | (1L << (RETENTION - 640)) | (1L << (ROBUST - 640)) | (1L << (ROOT - 640)) | (1L << (ROUTE - 640)) | (1L << (ROW - 640)) | (1L << (ROW_NUMBER - 640)) | (1L << (ROWGUID - 640)) | (1L << (ROWS - 640)) | (1L << (SAMPLE - 640)) | (1L << (SCHEMABINDING - 640)) | (1L << (SCOPED - 640)) | (1L << (SCROLL - 640)))) != 0) || ((((_la - 704)) & ~0x3f) == 0 && ((1L << (_la - 704)) & ((1L << (SCROLL_LOCKS - 704)) | (1L << (SEARCH - 704)) | (1L << (SECONDARY - 704)) | (1L << (SECONDARY_ONLY - 704)) | (1L << (SECONDARY_ROLE - 704)) | (1L << (SECONDS - 704)) | (1L << (SECRET - 704)) | (1L << (SECURITY_LOG - 704)) | (1L << (SEEDING_MODE - 704)) | (1L << (SELF - 704)) | (1L << (SEMI_SENSITIVE - 704)) | (1L << (SEND - 704)) | (1L << (SENT - 704)) | (1L << (SERIALIZABLE - 704)) | (1L << (SESSION_TIMEOUT - 704)) | (1L << (SETERROR - 704)) | (1L << (SHARE - 704)) | (1L << (SHOWPLAN - 704)) | (1L << (SIGNATURE - 704)) | (1L << (SIMPLE - 704)) | (1L << (SINGLE_USER - 704)) | (1L << (SIZE - 704)) | (1L << (SMALLINT - 704)) | (1L << (SNAPSHOT - 704)) | (1L << (SPATIAL_WINDOW_MAX_CELLS - 704)) | (1L << (STANDBY - 704)) | (1L << (START_DATE - 704)) | (1L << (STATIC - 704)) | (1L << (STATS_STREAM - 704)) | (1L << (STATUS - 704)) | (1L << (STDEV - 704)) | (1L << (STDEVP - 704)) | (1L << (STOPLIST - 704)) | (1L << (STUFF - 704)) | (1L << (SUBJECT - 704)) | (1L << (SUM - 704)) | (1L << (SUSPEND - 704)) | (1L << (SYMMETRIC - 704)) | (1L << (SYNCHRONOUS_COMMIT - 704)) | (1L << (SYNONYM - 704)) | (1L << (TAKE - 704)) | (1L << (TARGET_RECOVERY_TIME - 704)) | (1L << (TB - 704)) | (1L << (TEXTIMAGE_ON - 704)) | (1L << (THROW - 704)) | (1L << (TIES - 704)) | (1L << (TIME - 704)) | (1L << (TIMEOUT - 704)) | (1L << (TIMER - 704)) | (1L << (TINYINT - 704)) | (1L << (TORN_PAGE_DETECTION - 704)) | (1L << (TRANSFORM_NOISE_WORDS - 704)) | (1L << (TRIPLE_DES - 704)) | (1L << (TRIPLE_DES_3KEY - 704)) | (1L << (TRUSTWORTHY - 704)) | (1L << (TRY - 704)) | (1L << (TSQL - 704)) | (1L << (TWO_DIGIT_YEAR_CUTOFF - 704)) | (1L << (TYPE - 704)) | (1L << (TYPE_WARNING - 704)) | (1L << (UNBOUNDED - 704)) | (1L << (UNCOMMITTED - 704)) | (1L << (UNKNOWN - 704)) | (1L << (UNLIMITED - 704)))) != 0) || ((((_la - 768)) & ~0x3f) == 0 && ((1L << (_la - 768)) & ((1L << (USING - 768)) | (1L << (VALID_XML - 768)) | (1L << (VALIDATION - 768)) | (1L << (VALUE - 768)) | (1L << (VAR - 768)) | (1L << (VARP - 768)) | (1L << (VIEW_METADATA - 768)) | (1L << (VIEWS - 768)) | (1L << (WAIT - 768)) | (1L << (WELL_FORMED_XML - 768)) | (1L << (WORK - 768)) | (1L << (WORKLOAD - 768)) | (1L << (XML - 768)) | (1L << (XMLNAMESPACES - 768)) | (1L << (DOUBLE_QUOTE_ID - 768)) | (1L << (SQUARE_BRACKET_ID - 768)) | (1L << (ID - 768)) | (1L << (COMMA - 768)))) != 0) );
}
break;
case ALL:
{
setState(2773);
match(ALL);
}
break;
default:
throw new NoViableAltException(this);
}
setState(2776);
match(ON);
setState(2786);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CALLED:
case DATA_COMPRESSION:
case EVENTDATA:
case FILENAME:
case FILLFACTOR:
case FORCESEEK:
case INIT:
case KEY:
case MASTER:
case MAX_MEMORY:
case OFFSETS:
case PAGE:
case PUBLIC:
case R:
case RAW:
case RETURN:
case RETURNS:
case ROWCOUNT:
case SAFETY:
case SERVER:
case SID:
case SOURCE:
case STATE:
case START:
case TARGET:
case ABSOLUTE:
case ACCENT_SENSITIVITY:
case ACTION:
case ACTIVATION:
case ACTIVE:
case ADDRESS:
case AES_128:
case AES_192:
case AES_256:
case AFFINITY:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ALLOW_ENCRYPTED_VALUE_MODIFICATIONS:
case ALLOW_SNAPSHOT_ISOLATION:
case ALLOWED:
case ANSI_NULL_DEFAULT:
case ANSI_NULLS:
case ANSI_PADDING:
case ANSI_WARNINGS:
case APPLICATION_LOG:
case APPLY:
case ARITHABORT:
case ASSEMBLY:
case AUDIT:
case AUDIT_GUID:
case AUTO:
case AUTO_CLEANUP:
case AUTO_CLOSE:
case AUTO_CREATE_STATISTICS:
case AUTO_SHRINK:
case AUTO_UPDATE_STATISTICS:
case AUTO_UPDATE_STATISTICS_ASYNC:
case AVAILABILITY:
case AVG:
case BACKUP_PRIORITY:
case BEGIN_DIALOG:
case BIGINT:
case BINARY_BASE64:
case BINARY_CHECKSUM:
case BINDING:
case BLOB_STORAGE:
case BROKER:
case BROKER_INSTANCE:
case BULK_LOGGED:
case CALLER:
case CAP_CPU_PERCENT:
case CAST:
case CATALOG:
case CATCH:
case CHANGE_RETENTION:
case CHANGE_TRACKING:
case CHECKSUM:
case CHECKSUM_AGG:
case CLEANUP:
case COLLECTION:
case COLUMN_MASTER_KEY:
case COMMITTED:
case COMPATIBILITY_LEVEL:
case CONCAT:
case CONCAT_NULL_YIELDS_NULL:
case CONTENT:
case CONTROL:
case COOKIE:
case COUNT:
case COUNT_BIG:
case COUNTER:
case CPU:
case CREATE_NEW:
case CREATION_DISPOSITION:
case CREDENTIAL:
case CRYPTOGRAPHIC:
case CURSOR_CLOSE_ON_COMMIT:
case CURSOR_DEFAULT:
case DATE_CORRELATION_OPTIMIZATION:
case DATEADD:
case DATEDIFF:
case DATENAME:
case DATEPART:
case DAYS:
case DB_CHAINING:
case DB_FAILOVER:
case DECRYPTION:
case DEFAULT_DOUBLE_QUOTE:
case DEFAULT_FULLTEXT_LANGUAGE:
case DEFAULT_LANGUAGE:
case DELAY:
case DELAYED_DURABILITY:
case DELETED:
case DENSE_RANK:
case DEPENDENTS:
case DES:
case DESCRIPTION:
case DESX:
case DHCP:
case DIALOG:
case DIRECTORY_NAME:
case DISABLE:
case DISABLE_BROKER:
case DISABLED:
case DISK_DRIVE:
case DOCUMENT:
case DYNAMIC:
case EMERGENCY:
case EMPTY:
case ENABLE:
case ENABLE_BROKER:
case ENCRYPTED_VALUE:
case ENCRYPTION:
case ENDPOINT_URL:
case ERROR_BROKER_CONVERSATIONS:
case EXCLUSIVE:
case EXECUTABLE:
case EXIST:
case EXPAND:
case EXPIRY_DATE:
case EXPLICIT:
case FAIL_OPERATION:
case FAILOVER_MODE:
case FAILURE:
case FAILURE_CONDITION_LEVEL:
case FAST:
case FAST_FORWARD:
case FILEGROUP:
case FILEGROWTH:
case FILEPATH:
case FILESTREAM:
case FILTER:
case FIRST:
case FIRST_VALUE:
case FOLLOWING:
case FORCE:
case FORCE_FAILOVER_ALLOW_DATA_LOSS:
case FORCED:
case FORMAT:
case FORWARD_ONLY:
case FULLSCAN:
case FULLTEXT:
case GB:
case GETDATE:
case GETUTCDATE:
case GLOBAL:
case GO:
case GROUP_MAX_REQUESTS:
case GROUPING:
case GROUPING_ID:
case HADR:
case HASH:
case HEALTH_CHECK_TIMEOUT:
case HIGH:
case HONOR_BROKER_PRIORITY:
case HOURS:
case IDENTITY_VALUE:
case IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX:
case IMMEDIATE:
case IMPERSONATE:
case IMPORTANCE:
case INCREMENTAL:
case INITIATOR:
case INPUT:
case INSENSITIVE:
case INSERTED:
case INT:
case IP:
case ISOLATION:
case KB:
case KEEP:
case KEEPFIXED:
case KEY_SOURCE:
case KEYS:
case KEYSET:
case LAG:
case LAST:
case LAST_VALUE:
case LEAD:
case LEVEL:
case LIST:
case LISTENER:
case LISTENER_URL:
case LOB_COMPACTION:
case LOCAL:
case LOCATION:
case LOCK:
case LOCK_ESCALATION:
case LOGIN:
case LOOP:
case LOW:
case MANUAL:
case MARK:
case MATERIALIZED:
case MAX:
case MAX_CPU_PERCENT:
case MAX_DOP:
case MAX_FILES:
case MAX_IOPS_PER_VOLUME:
case MAX_MEMORY_PERCENT:
case MAX_PROCESSES:
case MAX_QUEUE_READERS:
case MAX_ROLLOVER_FILES:
case MAXDOP:
case MAXRECURSION:
case MAXSIZE:
case MB:
case MEDIUM:
case MEMORY_OPTIMIZED_DATA:
case MESSAGE:
case MIN:
case MIN_ACTIVE_ROWVERSION:
case MIN_CPU_PERCENT:
case MIN_IOPS_PER_VOLUME:
case MIN_MEMORY_PERCENT:
case MINUTES:
case MIRROR_ADDRESS:
case MIXED_PAGE_ALLOCATION:
case MODE:
case MODIFY:
case MOVE:
case MULTI_USER:
case NAME:
case NESTED_TRIGGERS:
case NEW_ACCOUNT:
case NEW_BROKER:
case NEW_PASSWORD:
case NEXT:
case NO:
case NO_TRUNCATE:
case NO_WAIT:
case NOCOUNT:
case NODES:
case NOEXPAND:
case NON_TRANSACTED_ACCESS:
case NORECOMPUTE:
case NORECOVERY:
case NOWAIT:
case NTILE:
case NUMANODE:
case NUMBER:
case NUMERIC_ROUNDABORT:
case OBJECT:
case OFFLINE:
case OFFSET:
case OLD_ACCOUNT:
case ONLINE:
case ONLY:
case OPEN_EXISTING:
case OPTIMISTIC:
case OPTIMIZE:
case OUT:
case OUTPUT:
case OWNER:
case PAGE_VERIFY:
case PARAMETERIZATION:
case PARTITION:
case PARTITIONS:
case PARTNER:
case PATH:
case POISON_MESSAGE_HANDLING:
case POOL:
case PORT:
case PRECEDING:
case PRIMARY_ROLE:
case PRIOR:
case PRIORITY:
case PRIORITY_LEVEL:
case PRIVATE:
case PRIVATE_KEY:
case PRIVILEGES:
case PROCEDURE_NAME:
case PROPERTY:
case PROVIDER:
case PROVIDER_KEY_NAME:
case QUERY:
case QUEUE:
case QUEUE_DELAY:
case QUOTED_IDENTIFIER:
case RANGE:
case RANK:
case RC2:
case RC4:
case RC4_128:
case READ_COMMITTED_SNAPSHOT:
case READ_ONLY:
case READ_ONLY_ROUTING_LIST:
case READ_WRITE:
case READONLY:
case REBUILD:
case RECEIVE:
case RECOMPILE:
case RECOVERY:
case RECURSIVE_TRIGGERS:
case RELATIVE:
case REMOTE:
case REMOTE_SERVICE_NAME:
case REMOVE:
case REORGANIZE:
case REPEATABLE:
case REPLICA:
case REQUEST_MAX_CPU_TIME_SEC:
case REQUEST_MAX_MEMORY_GRANT_PERCENT:
case REQUEST_MEMORY_GRANT_TIMEOUT_SEC:
case REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT:
case RESERVE_DISK_SPACE:
case RESOURCE:
case RESOURCE_MANAGER_LOCATION:
case RESTRICTED_USER:
case RETENTION:
case ROBUST:
case ROOT:
case ROUTE:
case ROW:
case ROW_NUMBER:
case ROWGUID:
case ROWS:
case SAMPLE:
case SCHEMABINDING:
case SCOPED:
case SCROLL:
case SCROLL_LOCKS:
case SEARCH:
case SECONDARY:
case SECONDARY_ONLY:
case SECONDARY_ROLE:
case SECONDS:
case SECRET:
case SECURITY_LOG:
case SEEDING_MODE:
case SELF:
case SEMI_SENSITIVE:
case SEND:
case SENT:
case SERIALIZABLE:
case SESSION_TIMEOUT:
case SETERROR:
case SHARE:
case SHOWPLAN:
case SIGNATURE:
case SIMPLE:
case SINGLE_USER:
case SIZE:
case SMALLINT:
case SNAPSHOT:
case SPATIAL_WINDOW_MAX_CELLS:
case STANDBY:
case START_DATE:
case STATIC:
case STATS_STREAM:
case STATUS:
case STDEV:
case STDEVP:
case STOPLIST:
case STUFF:
case SUBJECT:
case SUM:
case SUSPEND:
case SYMMETRIC:
case SYNCHRONOUS_COMMIT:
case SYNONYM:
case TAKE:
case TARGET_RECOVERY_TIME:
case TB:
case TEXTIMAGE_ON:
case THROW:
case TIES:
case TIME:
case TIMEOUT:
case TIMER:
case TINYINT:
case TORN_PAGE_DETECTION:
case TRANSFORM_NOISE_WORDS:
case TRIPLE_DES:
case TRIPLE_DES_3KEY:
case TRUSTWORTHY:
case TRY:
case TSQL:
case TWO_DIGIT_YEAR_CUTOFF:
case TYPE:
case TYPE_WARNING:
case UNBOUNDED:
case UNCOMMITTED:
case UNKNOWN:
case UNLIMITED:
case USING:
case VALID_XML:
case VALIDATION:
case VALUE:
case VAR:
case VARP:
case VIEW_METADATA:
case VIEWS:
case WAIT:
case WELL_FORMED_XML:
case WORK:
case WORKLOAD:
case XML:
case XMLNAMESPACES:
case DOUBLE_QUOTE_ID:
case SQUARE_BRACKET_ID:
case ID:
{
setState(2780);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,214,_ctx) ) {
case 1:
{
setState(2777);
((Enable_triggerContext)_localctx).schema_id = id();
setState(2778);
match(DOT);
}
break;
}
setState(2782);
((Enable_triggerContext)_localctx).object_name = id();
}
break;
case DATABASE:
{
setState(2783);
match(DATABASE);
}
break;
case ALL:
{
setState(2784);
match(ALL);
setState(2785);
match(SERVER);
}
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 Lock_tableContext extends ParserRuleContext {
public Token seconds;
public TerminalNode LOCK() { return getToken(TSqlParser.LOCK, 0); }
public TerminalNode TABLE() { return getToken(TSqlParser.TABLE, 0); }
public Table_nameContext table_name() {
return getRuleContext(Table_nameContext.class,0);
}
public TerminalNode IN() { return getToken(TSqlParser.IN, 0); }
public TerminalNode MODE() { return getToken(TSqlParser.MODE, 0); }
public TerminalNode SHARE() { return getToken(TSqlParser.SHARE, 0); }
public TerminalNode EXCLUSIVE() { return getToken(TSqlParser.EXCLUSIVE, 0); }
public TerminalNode WAIT() { return getToken(TSqlParser.WAIT, 0); }
public TerminalNode NOWAIT() { return getToken(TSqlParser.NOWAIT, 0); }
public TerminalNode SEMI() { return getToken(TSqlParser.SEMI, 0); }
public TerminalNode DECIMAL() { return getToken(TSqlParser.DECIMAL, 0); }
public Lock_tableContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_lock_table; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterLock_table(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitLock_table(this);
}
}
public final Lock_tableContext lock_table() throws RecognitionException {
Lock_tableContext _localctx = new Lock_tableContext(_ctx, getState());
enterRule(_localctx, 270, RULE_lock_table);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2788);
match(LOCK);
setState(2789);
match(TABLE);
setState(2790);
table_name();
setState(2791);
match(IN);
setState(2792);
_la = _input.LA(1);
if ( !(_la==EXCLUSIVE || _la==SHARE) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(2793);
match(MODE);
setState(2797);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,216,_ctx) ) {
case 1:
{
setState(2794);
match(WAIT);
setState(2795);
((Lock_tableContext)_localctx).seconds = match(DECIMAL);
}
break;
case 2:
{
setState(2796);
match(NOWAIT);
}
break;
}
setState(2800);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,217,_ctx) ) {
case 1:
{
setState(2799);
match(SEMI);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Truncate_tableContext extends ParserRuleContext {
public TerminalNode TRUNCATE() { return getToken(TSqlParser.TRUNCATE, 0); }
public TerminalNode TABLE() { return getToken(TSqlParser.TABLE, 0); }
public Table_nameContext table_name() {
return getRuleContext(Table_nameContext.class,0);
}
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public List LR_BRACKET() { return getTokens(TSqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(TSqlParser.LR_BRACKET, i);
}
public TerminalNode PARTITIONS() { return getToken(TSqlParser.PARTITIONS, 0); }
public List RR_BRACKET() { return getTokens(TSqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(TSqlParser.RR_BRACKET, i);
}
public List DECIMAL() { return getTokens(TSqlParser.DECIMAL); }
public TerminalNode DECIMAL(int i) {
return getToken(TSqlParser.DECIMAL, i);
}
public List TO() { return getTokens(TSqlParser.TO); }
public TerminalNode TO(int i) {
return getToken(TSqlParser.TO, i);
}
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public Truncate_tableContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_truncate_table; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterTruncate_table(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitTruncate_table(this);
}
}
public final Truncate_tableContext truncate_table() throws RecognitionException {
Truncate_tableContext _localctx = new Truncate_tableContext(_ctx, getState());
enterRule(_localctx, 272, RULE_truncate_table);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2802);
match(TRUNCATE);
setState(2803);
match(TABLE);
setState(2804);
table_name();
setState(2824);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,221,_ctx) ) {
case 1:
{
setState(2805);
match(WITH);
setState(2806);
match(LR_BRACKET);
setState(2807);
match(PARTITIONS);
setState(2808);
match(LR_BRACKET);
setState(2818);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(2810);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2809);
match(COMMA);
}
}
setState(2816);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,219,_ctx) ) {
case 1:
{
setState(2812);
match(DECIMAL);
}
break;
case 2:
{
setState(2813);
match(DECIMAL);
setState(2814);
match(TO);
setState(2815);
match(DECIMAL);
}
break;
}
}
}
setState(2820);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==DECIMAL || _la==COMMA );
setState(2822);
match(RR_BRACKET);
setState(2823);
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 Create_column_master_keyContext extends ParserRuleContext {
public IdContext key_name;
public Token key_store_provider_name;
public Token key_path;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode COLUMN() { return getToken(TSqlParser.COLUMN, 0); }
public TerminalNode MASTER() { return getToken(TSqlParser.MASTER, 0); }
public TerminalNode KEY() { return getToken(TSqlParser.KEY, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode LR_BRACKET() { return getToken(TSqlParser.LR_BRACKET, 0); }
public TerminalNode KEY_STORE_PROVIDER_NAME() { return getToken(TSqlParser.KEY_STORE_PROVIDER_NAME, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public TerminalNode COMMA() { return getToken(TSqlParser.COMMA, 0); }
public TerminalNode KEY_PATH() { return getToken(TSqlParser.KEY_PATH, 0); }
public TerminalNode RR_BRACKET() { return getToken(TSqlParser.RR_BRACKET, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public List STRING() { return getTokens(TSqlParser.STRING); }
public TerminalNode STRING(int i) {
return getToken(TSqlParser.STRING, i);
}
public Create_column_master_keyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_column_master_key; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_column_master_key(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_column_master_key(this);
}
}
public final Create_column_master_keyContext create_column_master_key() throws RecognitionException {
Create_column_master_keyContext _localctx = new Create_column_master_keyContext(_ctx, getState());
enterRule(_localctx, 274, RULE_create_column_master_key);
try {
enterOuterAlt(_localctx, 1);
{
setState(2826);
match(CREATE);
setState(2827);
match(COLUMN);
setState(2828);
match(MASTER);
setState(2829);
match(KEY);
setState(2830);
((Create_column_master_keyContext)_localctx).key_name = id();
setState(2831);
match(WITH);
setState(2832);
match(LR_BRACKET);
setState(2833);
match(KEY_STORE_PROVIDER_NAME);
setState(2834);
match(EQUAL);
setState(2835);
((Create_column_master_keyContext)_localctx).key_store_provider_name = match(STRING);
setState(2836);
match(COMMA);
setState(2837);
match(KEY_PATH);
setState(2838);
match(EQUAL);
setState(2839);
((Create_column_master_keyContext)_localctx).key_path = match(STRING);
setState(2840);
match(RR_BRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_credentialContext extends ParserRuleContext {
public IdContext credential_name;
public Token identity_name;
public Token secret;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode CREDENTIAL() { return getToken(TSqlParser.CREDENTIAL, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode IDENTITY() { return getToken(TSqlParser.IDENTITY, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public List STRING() { return getTokens(TSqlParser.STRING); }
public TerminalNode STRING(int i) {
return getToken(TSqlParser.STRING, i);
}
public TerminalNode COMMA() { return getToken(TSqlParser.COMMA, 0); }
public TerminalNode SECRET() { return getToken(TSqlParser.SECRET, 0); }
public Alter_credentialContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_credential; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_credential(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_credential(this);
}
}
public final Alter_credentialContext alter_credential() throws RecognitionException {
Alter_credentialContext _localctx = new Alter_credentialContext(_ctx, getState());
enterRule(_localctx, 276, RULE_alter_credential);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2842);
match(ALTER);
setState(2843);
match(CREDENTIAL);
setState(2844);
((Alter_credentialContext)_localctx).credential_name = id();
setState(2845);
match(WITH);
setState(2846);
match(IDENTITY);
setState(2847);
match(EQUAL);
setState(2848);
((Alter_credentialContext)_localctx).identity_name = match(STRING);
setState(2853);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2849);
match(COMMA);
setState(2850);
match(SECRET);
setState(2851);
match(EQUAL);
setState(2852);
((Alter_credentialContext)_localctx).secret = match(STRING);
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Create_credentialContext extends ParserRuleContext {
public IdContext credential_name;
public Token identity_name;
public Token secret;
public IdContext cryptographic_provider_name;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode CREDENTIAL() { return getToken(TSqlParser.CREDENTIAL, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode IDENTITY() { return getToken(TSqlParser.IDENTITY, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public List STRING() { return getTokens(TSqlParser.STRING); }
public TerminalNode STRING(int i) {
return getToken(TSqlParser.STRING, i);
}
public TerminalNode COMMA() { return getToken(TSqlParser.COMMA, 0); }
public TerminalNode SECRET() { return getToken(TSqlParser.SECRET, 0); }
public TerminalNode FOR() { return getToken(TSqlParser.FOR, 0); }
public TerminalNode CRYPTOGRAPHIC() { return getToken(TSqlParser.CRYPTOGRAPHIC, 0); }
public TerminalNode PROVIDER() { return getToken(TSqlParser.PROVIDER, 0); }
public Create_credentialContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_credential; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_credential(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_credential(this);
}
}
public final Create_credentialContext create_credential() throws RecognitionException {
Create_credentialContext _localctx = new Create_credentialContext(_ctx, getState());
enterRule(_localctx, 278, RULE_create_credential);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2855);
match(CREATE);
setState(2856);
match(CREDENTIAL);
setState(2857);
((Create_credentialContext)_localctx).credential_name = id();
setState(2858);
match(WITH);
setState(2859);
match(IDENTITY);
setState(2860);
match(EQUAL);
setState(2861);
((Create_credentialContext)_localctx).identity_name = match(STRING);
setState(2866);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2862);
match(COMMA);
setState(2863);
match(SECRET);
setState(2864);
match(EQUAL);
setState(2865);
((Create_credentialContext)_localctx).secret = match(STRING);
}
}
setState(2872);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FOR) {
{
setState(2868);
match(FOR);
setState(2869);
match(CRYPTOGRAPHIC);
setState(2870);
match(PROVIDER);
setState(2871);
((Create_credentialContext)_localctx).cryptographic_provider_name = id();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_cryptographic_providerContext extends ParserRuleContext {
public IdContext provider_name;
public Token crypto_provider_ddl_file;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode CRYPTOGRAPHIC() { return getToken(TSqlParser.CRYPTOGRAPHIC, 0); }
public TerminalNode PROVIDER() { return getToken(TSqlParser.PROVIDER, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode FROM() { return getToken(TSqlParser.FROM, 0); }
public TerminalNode FILE() { return getToken(TSqlParser.FILE, 0); }
public TerminalNode EQUAL() { return getToken(TSqlParser.EQUAL, 0); }
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public TerminalNode ENABLE() { return getToken(TSqlParser.ENABLE, 0); }
public TerminalNode DISABLE() { return getToken(TSqlParser.DISABLE, 0); }
public Alter_cryptographic_providerContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_cryptographic_provider; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_cryptographic_provider(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_cryptographic_provider(this);
}
}
public final Alter_cryptographic_providerContext alter_cryptographic_provider() throws RecognitionException {
Alter_cryptographic_providerContext _localctx = new Alter_cryptographic_providerContext(_ctx, getState());
enterRule(_localctx, 280, RULE_alter_cryptographic_provider);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2874);
match(ALTER);
setState(2875);
match(CRYPTOGRAPHIC);
setState(2876);
match(PROVIDER);
setState(2877);
((Alter_cryptographic_providerContext)_localctx).provider_name = id();
setState(2882);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FROM) {
{
setState(2878);
match(FROM);
setState(2879);
match(FILE);
setState(2880);
match(EQUAL);
setState(2881);
((Alter_cryptographic_providerContext)_localctx).crypto_provider_ddl_file = match(STRING);
}
}
setState(2885);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,226,_ctx) ) {
case 1:
{
setState(2884);
_la = _input.LA(1);
if ( !(_la==DISABLE || _la==ENABLE) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Create_cryptographic_providerContext extends ParserRuleContext {
public IdContext provider_name;
public Token path_of_DLL;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode CRYPTOGRAPHIC() { return getToken(TSqlParser.CRYPTOGRAPHIC, 0); }
public TerminalNode PROVIDER() { return getToken(TSqlParser.PROVIDER, 0); }
public TerminalNode FROM() { return getToken(TSqlParser.FROM, 0); }
public TerminalNode FILE() { return getToken(TSqlParser.FILE, 0); }
public TerminalNode EQUAL() { return getToken(TSqlParser.EQUAL, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public Create_cryptographic_providerContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_cryptographic_provider; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_cryptographic_provider(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_cryptographic_provider(this);
}
}
public final Create_cryptographic_providerContext create_cryptographic_provider() throws RecognitionException {
Create_cryptographic_providerContext _localctx = new Create_cryptographic_providerContext(_ctx, getState());
enterRule(_localctx, 282, RULE_create_cryptographic_provider);
try {
enterOuterAlt(_localctx, 1);
{
setState(2887);
match(CREATE);
setState(2888);
match(CRYPTOGRAPHIC);
setState(2889);
match(PROVIDER);
setState(2890);
((Create_cryptographic_providerContext)_localctx).provider_name = id();
setState(2891);
match(FROM);
setState(2892);
match(FILE);
setState(2893);
match(EQUAL);
setState(2894);
((Create_cryptographic_providerContext)_localctx).path_of_DLL = match(STRING);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Create_event_notificationContext extends ParserRuleContext {
public IdContext event_notification_name;
public IdContext queue_name;
public IdContext event_type_or_group;
public Token broker_service;
public Token broker_service_specifier_or_current_database;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode EVENT() { return getToken(TSqlParser.EVENT, 0); }
public TerminalNode NOTIFICATION() { return getToken(TSqlParser.NOTIFICATION, 0); }
public TerminalNode ON() { return getToken(TSqlParser.ON, 0); }
public TerminalNode FOR() { return getToken(TSqlParser.FOR, 0); }
public TerminalNode TO() { return getToken(TSqlParser.TO, 0); }
public TerminalNode SERVICE() { return getToken(TSqlParser.SERVICE, 0); }
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public List STRING() { return getTokens(TSqlParser.STRING); }
public TerminalNode STRING(int i) {
return getToken(TSqlParser.STRING, i);
}
public TerminalNode SERVER() { return getToken(TSqlParser.SERVER, 0); }
public TerminalNode DATABASE() { return getToken(TSqlParser.DATABASE, 0); }
public TerminalNode QUEUE() { return getToken(TSqlParser.QUEUE, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode FAN_IN() { return getToken(TSqlParser.FAN_IN, 0); }
public Create_event_notificationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_event_notification; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_event_notification(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_event_notification(this);
}
}
public final Create_event_notificationContext create_event_notification() throws RecognitionException {
Create_event_notificationContext _localctx = new Create_event_notificationContext(_ctx, getState());
enterRule(_localctx, 284, RULE_create_event_notification);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2896);
match(CREATE);
setState(2897);
match(EVENT);
setState(2898);
match(NOTIFICATION);
setState(2899);
((Create_event_notificationContext)_localctx).event_notification_name = id();
setState(2900);
match(ON);
setState(2905);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SERVER:
{
setState(2901);
match(SERVER);
}
break;
case DATABASE:
{
setState(2902);
match(DATABASE);
}
break;
case QUEUE:
{
setState(2903);
match(QUEUE);
setState(2904);
((Create_event_notificationContext)_localctx).queue_name = id();
}
break;
default:
throw new NoViableAltException(this);
}
setState(2909);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WITH) {
{
setState(2907);
match(WITH);
setState(2908);
match(FAN_IN);
}
}
setState(2911);
match(FOR);
setState(2916);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(2913);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2912);
match(COMMA);
}
}
setState(2915);
((Create_event_notificationContext)_localctx).event_type_or_group = id();
}
}
setState(2918);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==CALLED || ((((_la - 81)) & ~0x3f) == 0 && ((1L << (_la - 81)) & ((1L << (DATA_COMPRESSION - 81)) | (1L << (EVENTDATA - 81)) | (1L << (FILENAME - 81)) | (1L << (FILLFACTOR - 81)) | (1L << (FORCESEEK - 81)))) != 0) || ((((_la - 159)) & ~0x3f) == 0 && ((1L << (_la - 159)) & ((1L << (INIT - 159)) | (1L << (KEY - 159)) | (1L << (MASTER - 159)) | (1L << (MAX_MEMORY - 159)))) != 0) || ((((_la - 226)) & ~0x3f) == 0 && ((1L << (_la - 226)) & ((1L << (OFFSETS - 226)) | (1L << (PAGE - 226)) | (1L << (PUBLIC - 226)) | (1L << (R - 226)) | (1L << (RAW - 226)) | (1L << (RETURN - 226)) | (1L << (RETURNS - 226)) | (1L << (ROWCOUNT - 226)))) != 0) || ((((_la - 296)) & ~0x3f) == 0 && ((1L << (_la - 296)) & ((1L << (SAFETY - 296)) | (1L << (SERVER - 296)) | (1L << (SID - 296)) | (1L << (SOURCE - 296)) | (1L << (STATE - 296)) | (1L << (START - 296)) | (1L << (TARGET - 296)))) != 0) || ((((_la - 384)) & ~0x3f) == 0 && ((1L << (_la - 384)) & ((1L << (ABSOLUTE - 384)) | (1L << (ACCENT_SENSITIVITY - 384)) | (1L << (ACTION - 384)) | (1L << (ACTIVATION - 384)) | (1L << (ACTIVE - 384)) | (1L << (ADDRESS - 384)) | (1L << (AES_128 - 384)) | (1L << (AES_192 - 384)) | (1L << (AES_256 - 384)) | (1L << (AFFINITY - 384)) | (1L << (AFTER - 384)) | (1L << (AGGREGATE - 384)) | (1L << (ALGORITHM - 384)) | (1L << (ALLOW_ENCRYPTED_VALUE_MODIFICATIONS - 384)) | (1L << (ALLOW_SNAPSHOT_ISOLATION - 384)) | (1L << (ALLOWED - 384)) | (1L << (ANSI_NULL_DEFAULT - 384)) | (1L << (ANSI_NULLS - 384)) | (1L << (ANSI_PADDING - 384)) | (1L << (ANSI_WARNINGS - 384)) | (1L << (APPLICATION_LOG - 384)) | (1L << (APPLY - 384)) | (1L << (ARITHABORT - 384)) | (1L << (ASSEMBLY - 384)) | (1L << (AUDIT - 384)) | (1L << (AUDIT_GUID - 384)) | (1L << (AUTO - 384)) | (1L << (AUTO_CLEANUP - 384)) | (1L << (AUTO_CLOSE - 384)) | (1L << (AUTO_CREATE_STATISTICS - 384)) | (1L << (AUTO_SHRINK - 384)) | (1L << (AUTO_UPDATE_STATISTICS - 384)) | (1L << (AUTO_UPDATE_STATISTICS_ASYNC - 384)) | (1L << (AVAILABILITY - 384)) | (1L << (AVG - 384)) | (1L << (BACKUP_PRIORITY - 384)) | (1L << (BEGIN_DIALOG - 384)) | (1L << (BIGINT - 384)) | (1L << (BINARY_BASE64 - 384)) | (1L << (BINARY_CHECKSUM - 384)) | (1L << (BINDING - 384)) | (1L << (BLOB_STORAGE - 384)) | (1L << (BROKER - 384)) | (1L << (BROKER_INSTANCE - 384)) | (1L << (BULK_LOGGED - 384)) | (1L << (CALLER - 384)) | (1L << (CAP_CPU_PERCENT - 384)) | (1L << (CAST - 384)) | (1L << (CATALOG - 384)) | (1L << (CATCH - 384)) | (1L << (CHANGE_RETENTION - 384)) | (1L << (CHANGE_TRACKING - 384)) | (1L << (CHECKSUM - 384)) | (1L << (CHECKSUM_AGG - 384)) | (1L << (CLEANUP - 384)) | (1L << (COLLECTION - 384)) | (1L << (COLUMN_MASTER_KEY - 384)) | (1L << (COMMITTED - 384)) | (1L << (COMPATIBILITY_LEVEL - 384)) | (1L << (CONCAT - 384)) | (1L << (CONCAT_NULL_YIELDS_NULL - 384)) | (1L << (CONTENT - 384)) | (1L << (CONTROL - 384)) | (1L << (COOKIE - 384)))) != 0) || ((((_la - 448)) & ~0x3f) == 0 && ((1L << (_la - 448)) & ((1L << (COUNT - 448)) | (1L << (COUNT_BIG - 448)) | (1L << (COUNTER - 448)) | (1L << (CPU - 448)) | (1L << (CREATE_NEW - 448)) | (1L << (CREATION_DISPOSITION - 448)) | (1L << (CREDENTIAL - 448)) | (1L << (CRYPTOGRAPHIC - 448)) | (1L << (CURSOR_CLOSE_ON_COMMIT - 448)) | (1L << (CURSOR_DEFAULT - 448)) | (1L << (DATE_CORRELATION_OPTIMIZATION - 448)) | (1L << (DATEADD - 448)) | (1L << (DATEDIFF - 448)) | (1L << (DATENAME - 448)) | (1L << (DATEPART - 448)) | (1L << (DAYS - 448)) | (1L << (DB_CHAINING - 448)) | (1L << (DB_FAILOVER - 448)) | (1L << (DECRYPTION - 448)) | (1L << (DEFAULT_DOUBLE_QUOTE - 448)) | (1L << (DEFAULT_FULLTEXT_LANGUAGE - 448)) | (1L << (DEFAULT_LANGUAGE - 448)) | (1L << (DELAY - 448)) | (1L << (DELAYED_DURABILITY - 448)) | (1L << (DELETED - 448)) | (1L << (DENSE_RANK - 448)) | (1L << (DEPENDENTS - 448)) | (1L << (DES - 448)) | (1L << (DESCRIPTION - 448)) | (1L << (DESX - 448)) | (1L << (DHCP - 448)) | (1L << (DIALOG - 448)) | (1L << (DIRECTORY_NAME - 448)) | (1L << (DISABLE - 448)) | (1L << (DISABLE_BROKER - 448)) | (1L << (DISABLED - 448)) | (1L << (DISK_DRIVE - 448)) | (1L << (DOCUMENT - 448)) | (1L << (DYNAMIC - 448)) | (1L << (EMERGENCY - 448)) | (1L << (EMPTY - 448)) | (1L << (ENABLE - 448)) | (1L << (ENABLE_BROKER - 448)) | (1L << (ENCRYPTED_VALUE - 448)) | (1L << (ENCRYPTION - 448)) | (1L << (ENDPOINT_URL - 448)) | (1L << (ERROR_BROKER_CONVERSATIONS - 448)) | (1L << (EXCLUSIVE - 448)) | (1L << (EXECUTABLE - 448)) | (1L << (EXIST - 448)) | (1L << (EXPAND - 448)) | (1L << (EXPIRY_DATE - 448)) | (1L << (EXPLICIT - 448)) | (1L << (FAIL_OPERATION - 448)) | (1L << (FAILOVER_MODE - 448)) | (1L << (FAILURE - 448)) | (1L << (FAILURE_CONDITION_LEVEL - 448)) | (1L << (FAST - 448)) | (1L << (FAST_FORWARD - 448)) | (1L << (FILEGROUP - 448)) | (1L << (FILEGROWTH - 448)) | (1L << (FILEPATH - 448)) | (1L << (FILESTREAM - 448)))) != 0) || ((((_la - 512)) & ~0x3f) == 0 && ((1L << (_la - 512)) & ((1L << (FILTER - 512)) | (1L << (FIRST - 512)) | (1L << (FIRST_VALUE - 512)) | (1L << (FOLLOWING - 512)) | (1L << (FORCE - 512)) | (1L << (FORCE_FAILOVER_ALLOW_DATA_LOSS - 512)) | (1L << (FORCED - 512)) | (1L << (FORMAT - 512)) | (1L << (FORWARD_ONLY - 512)) | (1L << (FULLSCAN - 512)) | (1L << (FULLTEXT - 512)) | (1L << (GB - 512)) | (1L << (GETDATE - 512)) | (1L << (GETUTCDATE - 512)) | (1L << (GLOBAL - 512)) | (1L << (GO - 512)) | (1L << (GROUP_MAX_REQUESTS - 512)) | (1L << (GROUPING - 512)) | (1L << (GROUPING_ID - 512)) | (1L << (HADR - 512)) | (1L << (HASH - 512)) | (1L << (HEALTH_CHECK_TIMEOUT - 512)) | (1L << (HIGH - 512)) | (1L << (HONOR_BROKER_PRIORITY - 512)) | (1L << (HOURS - 512)) | (1L << (IDENTITY_VALUE - 512)) | (1L << (IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX - 512)) | (1L << (IMMEDIATE - 512)) | (1L << (IMPERSONATE - 512)) | (1L << (IMPORTANCE - 512)) | (1L << (INCREMENTAL - 512)) | (1L << (INITIATOR - 512)) | (1L << (INPUT - 512)) | (1L << (INSENSITIVE - 512)) | (1L << (INSERTED - 512)) | (1L << (INT - 512)) | (1L << (IP - 512)) | (1L << (ISOLATION - 512)) | (1L << (KB - 512)) | (1L << (KEEP - 512)) | (1L << (KEEPFIXED - 512)) | (1L << (KEY_SOURCE - 512)) | (1L << (KEYS - 512)) | (1L << (KEYSET - 512)) | (1L << (LAG - 512)) | (1L << (LAST - 512)) | (1L << (LAST_VALUE - 512)) | (1L << (LEAD - 512)) | (1L << (LEVEL - 512)) | (1L << (LIST - 512)) | (1L << (LISTENER - 512)) | (1L << (LISTENER_URL - 512)) | (1L << (LOB_COMPACTION - 512)) | (1L << (LOCAL - 512)) | (1L << (LOCATION - 512)) | (1L << (LOCK - 512)) | (1L << (LOCK_ESCALATION - 512)) | (1L << (LOGIN - 512)) | (1L << (LOOP - 512)) | (1L << (LOW - 512)) | (1L << (MANUAL - 512)) | (1L << (MARK - 512)))) != 0) || ((((_la - 576)) & ~0x3f) == 0 && ((1L << (_la - 576)) & ((1L << (MATERIALIZED - 576)) | (1L << (MAX - 576)) | (1L << (MAX_CPU_PERCENT - 576)) | (1L << (MAX_DOP - 576)) | (1L << (MAX_FILES - 576)) | (1L << (MAX_IOPS_PER_VOLUME - 576)) | (1L << (MAX_MEMORY_PERCENT - 576)) | (1L << (MAX_PROCESSES - 576)) | (1L << (MAX_QUEUE_READERS - 576)) | (1L << (MAX_ROLLOVER_FILES - 576)) | (1L << (MAXDOP - 576)) | (1L << (MAXRECURSION - 576)) | (1L << (MAXSIZE - 576)) | (1L << (MB - 576)) | (1L << (MEDIUM - 576)) | (1L << (MEMORY_OPTIMIZED_DATA - 576)) | (1L << (MESSAGE - 576)) | (1L << (MIN - 576)) | (1L << (MIN_ACTIVE_ROWVERSION - 576)) | (1L << (MIN_CPU_PERCENT - 576)) | (1L << (MIN_IOPS_PER_VOLUME - 576)) | (1L << (MIN_MEMORY_PERCENT - 576)) | (1L << (MINUTES - 576)) | (1L << (MIRROR_ADDRESS - 576)) | (1L << (MIXED_PAGE_ALLOCATION - 576)) | (1L << (MODE - 576)) | (1L << (MODIFY - 576)) | (1L << (MOVE - 576)) | (1L << (MULTI_USER - 576)) | (1L << (NAME - 576)) | (1L << (NESTED_TRIGGERS - 576)) | (1L << (NEW_ACCOUNT - 576)) | (1L << (NEW_BROKER - 576)) | (1L << (NEW_PASSWORD - 576)) | (1L << (NEXT - 576)) | (1L << (NO - 576)) | (1L << (NO_TRUNCATE - 576)) | (1L << (NO_WAIT - 576)) | (1L << (NOCOUNT - 576)) | (1L << (NODES - 576)) | (1L << (NOEXPAND - 576)) | (1L << (NON_TRANSACTED_ACCESS - 576)) | (1L << (NORECOMPUTE - 576)) | (1L << (NORECOVERY - 576)) | (1L << (NOWAIT - 576)) | (1L << (NTILE - 576)) | (1L << (NUMANODE - 576)) | (1L << (NUMBER - 576)) | (1L << (NUMERIC_ROUNDABORT - 576)) | (1L << (OBJECT - 576)) | (1L << (OFFLINE - 576)) | (1L << (OFFSET - 576)) | (1L << (OLD_ACCOUNT - 576)) | (1L << (ONLINE - 576)) | (1L << (ONLY - 576)) | (1L << (OPEN_EXISTING - 576)) | (1L << (OPTIMISTIC - 576)) | (1L << (OPTIMIZE - 576)) | (1L << (OUT - 576)) | (1L << (OUTPUT - 576)) | (1L << (OWNER - 576)) | (1L << (PAGE_VERIFY - 576)) | (1L << (PARAMETERIZATION - 576)) | (1L << (PARTITION - 576)))) != 0) || ((((_la - 640)) & ~0x3f) == 0 && ((1L << (_la - 640)) & ((1L << (PARTITIONS - 640)) | (1L << (PARTNER - 640)) | (1L << (PATH - 640)) | (1L << (POISON_MESSAGE_HANDLING - 640)) | (1L << (POOL - 640)) | (1L << (PORT - 640)) | (1L << (PRECEDING - 640)) | (1L << (PRIMARY_ROLE - 640)) | (1L << (PRIOR - 640)) | (1L << (PRIORITY - 640)) | (1L << (PRIORITY_LEVEL - 640)) | (1L << (PRIVATE - 640)) | (1L << (PRIVATE_KEY - 640)) | (1L << (PRIVILEGES - 640)) | (1L << (PROCEDURE_NAME - 640)) | (1L << (PROPERTY - 640)) | (1L << (PROVIDER - 640)) | (1L << (PROVIDER_KEY_NAME - 640)) | (1L << (QUERY - 640)) | (1L << (QUEUE - 640)) | (1L << (QUEUE_DELAY - 640)) | (1L << (QUOTED_IDENTIFIER - 640)) | (1L << (RANGE - 640)) | (1L << (RANK - 640)) | (1L << (RC2 - 640)) | (1L << (RC4 - 640)) | (1L << (RC4_128 - 640)) | (1L << (READ_COMMITTED_SNAPSHOT - 640)) | (1L << (READ_ONLY - 640)) | (1L << (READ_ONLY_ROUTING_LIST - 640)) | (1L << (READ_WRITE - 640)) | (1L << (READONLY - 640)) | (1L << (REBUILD - 640)) | (1L << (RECEIVE - 640)) | (1L << (RECOMPILE - 640)) | (1L << (RECOVERY - 640)) | (1L << (RECURSIVE_TRIGGERS - 640)) | (1L << (RELATIVE - 640)) | (1L << (REMOTE - 640)) | (1L << (REMOTE_SERVICE_NAME - 640)) | (1L << (REMOVE - 640)) | (1L << (REORGANIZE - 640)) | (1L << (REPEATABLE - 640)) | (1L << (REPLICA - 640)) | (1L << (REQUEST_MAX_CPU_TIME_SEC - 640)) | (1L << (REQUEST_MAX_MEMORY_GRANT_PERCENT - 640)) | (1L << (REQUEST_MEMORY_GRANT_TIMEOUT_SEC - 640)) | (1L << (REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT - 640)) | (1L << (RESERVE_DISK_SPACE - 640)) | (1L << (RESOURCE - 640)) | (1L << (RESOURCE_MANAGER_LOCATION - 640)) | (1L << (RESTRICTED_USER - 640)) | (1L << (RETENTION - 640)) | (1L << (ROBUST - 640)) | (1L << (ROOT - 640)) | (1L << (ROUTE - 640)) | (1L << (ROW - 640)) | (1L << (ROW_NUMBER - 640)) | (1L << (ROWGUID - 640)) | (1L << (ROWS - 640)) | (1L << (SAMPLE - 640)) | (1L << (SCHEMABINDING - 640)) | (1L << (SCOPED - 640)) | (1L << (SCROLL - 640)))) != 0) || ((((_la - 704)) & ~0x3f) == 0 && ((1L << (_la - 704)) & ((1L << (SCROLL_LOCKS - 704)) | (1L << (SEARCH - 704)) | (1L << (SECONDARY - 704)) | (1L << (SECONDARY_ONLY - 704)) | (1L << (SECONDARY_ROLE - 704)) | (1L << (SECONDS - 704)) | (1L << (SECRET - 704)) | (1L << (SECURITY_LOG - 704)) | (1L << (SEEDING_MODE - 704)) | (1L << (SELF - 704)) | (1L << (SEMI_SENSITIVE - 704)) | (1L << (SEND - 704)) | (1L << (SENT - 704)) | (1L << (SERIALIZABLE - 704)) | (1L << (SESSION_TIMEOUT - 704)) | (1L << (SETERROR - 704)) | (1L << (SHARE - 704)) | (1L << (SHOWPLAN - 704)) | (1L << (SIGNATURE - 704)) | (1L << (SIMPLE - 704)) | (1L << (SINGLE_USER - 704)) | (1L << (SIZE - 704)) | (1L << (SMALLINT - 704)) | (1L << (SNAPSHOT - 704)) | (1L << (SPATIAL_WINDOW_MAX_CELLS - 704)) | (1L << (STANDBY - 704)) | (1L << (START_DATE - 704)) | (1L << (STATIC - 704)) | (1L << (STATS_STREAM - 704)) | (1L << (STATUS - 704)) | (1L << (STDEV - 704)) | (1L << (STDEVP - 704)) | (1L << (STOPLIST - 704)) | (1L << (STUFF - 704)) | (1L << (SUBJECT - 704)) | (1L << (SUM - 704)) | (1L << (SUSPEND - 704)) | (1L << (SYMMETRIC - 704)) | (1L << (SYNCHRONOUS_COMMIT - 704)) | (1L << (SYNONYM - 704)) | (1L << (TAKE - 704)) | (1L << (TARGET_RECOVERY_TIME - 704)) | (1L << (TB - 704)) | (1L << (TEXTIMAGE_ON - 704)) | (1L << (THROW - 704)) | (1L << (TIES - 704)) | (1L << (TIME - 704)) | (1L << (TIMEOUT - 704)) | (1L << (TIMER - 704)) | (1L << (TINYINT - 704)) | (1L << (TORN_PAGE_DETECTION - 704)) | (1L << (TRANSFORM_NOISE_WORDS - 704)) | (1L << (TRIPLE_DES - 704)) | (1L << (TRIPLE_DES_3KEY - 704)) | (1L << (TRUSTWORTHY - 704)) | (1L << (TRY - 704)) | (1L << (TSQL - 704)) | (1L << (TWO_DIGIT_YEAR_CUTOFF - 704)) | (1L << (TYPE - 704)) | (1L << (TYPE_WARNING - 704)) | (1L << (UNBOUNDED - 704)) | (1L << (UNCOMMITTED - 704)) | (1L << (UNKNOWN - 704)) | (1L << (UNLIMITED - 704)))) != 0) || ((((_la - 768)) & ~0x3f) == 0 && ((1L << (_la - 768)) & ((1L << (USING - 768)) | (1L << (VALID_XML - 768)) | (1L << (VALIDATION - 768)) | (1L << (VALUE - 768)) | (1L << (VAR - 768)) | (1L << (VARP - 768)) | (1L << (VIEW_METADATA - 768)) | (1L << (VIEWS - 768)) | (1L << (WAIT - 768)) | (1L << (WELL_FORMED_XML - 768)) | (1L << (WORK - 768)) | (1L << (WORKLOAD - 768)) | (1L << (XML - 768)) | (1L << (XMLNAMESPACES - 768)) | (1L << (DOUBLE_QUOTE_ID - 768)) | (1L << (SQUARE_BRACKET_ID - 768)) | (1L << (ID - 768)) | (1L << (COMMA - 768)))) != 0) );
setState(2920);
match(TO);
setState(2921);
match(SERVICE);
setState(2922);
((Create_event_notificationContext)_localctx).broker_service = match(STRING);
setState(2923);
match(COMMA);
setState(2924);
((Create_event_notificationContext)_localctx).broker_service_specifier_or_current_database = match(STRING);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Create_or_alter_event_sessionContext extends ParserRuleContext {
public IdContext event_session_name;
public IdContext event_module_guid;
public IdContext event_package_name;
public IdContext event_name;
public IdContext event_customizable_attributue;
public IdContext action_name;
public IdContext target_name;
public IdContext target_parameter_name;
public Token max_memory;
public Token max_dispatch_latency_seconds;
public Token max_event_size;
public List EVENT() { return getTokens(TSqlParser.EVENT); }
public TerminalNode EVENT(int i) {
return getToken(TSqlParser.EVENT, i);
}
public TerminalNode SESSION() { return getToken(TSqlParser.SESSION, 0); }
public List ON() { return getTokens(TSqlParser.ON); }
public TerminalNode ON(int i) {
return getToken(TSqlParser.ON, i);
}
public TerminalNode SERVER() { return getToken(TSqlParser.SERVER, 0); }
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public List ADD() { return getTokens(TSqlParser.ADD); }
public TerminalNode ADD(int i) {
return getToken(TSqlParser.ADD, i);
}
public List DROP() { return getTokens(TSqlParser.DROP); }
public TerminalNode DROP(int i) {
return getToken(TSqlParser.DROP, i);
}
public List DOT() { return getTokens(TSqlParser.DOT); }
public TerminalNode DOT(int i) {
return getToken(TSqlParser.DOT, i);
}
public List TARGET() { return getTokens(TSqlParser.TARGET); }
public TerminalNode TARGET(int i) {
return getToken(TSqlParser.TARGET, i);
}
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public List LR_BRACKET() { return getTokens(TSqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(TSqlParser.LR_BRACKET, i);
}
public List RR_BRACKET() { return getTokens(TSqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(TSqlParser.RR_BRACKET, i);
}
public TerminalNode STATE() { return getToken(TSqlParser.STATE, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public TerminalNode START() { return getToken(TSqlParser.START, 0); }
public TerminalNode STOP() { return getToken(TSqlParser.STOP, 0); }
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public List SET() { return getTokens(TSqlParser.SET); }
public TerminalNode SET(int i) {
return getToken(TSqlParser.SET, i);
}
public TerminalNode MAX_MEMORY() { return getToken(TSqlParser.MAX_MEMORY, 0); }
public TerminalNode EVENT_RETENTION_MODE() { return getToken(TSqlParser.EVENT_RETENTION_MODE, 0); }
public TerminalNode MAX_DISPATCH_LATENCY() { return getToken(TSqlParser.MAX_DISPATCH_LATENCY, 0); }
public TerminalNode MAX_EVENT_SIZE() { return getToken(TSqlParser.MAX_EVENT_SIZE, 0); }
public TerminalNode MEMORY_PARTITION_MODE() { return getToken(TSqlParser.MEMORY_PARTITION_MODE, 0); }
public TerminalNode TRACK_CAUSALITY() { return getToken(TSqlParser.TRACK_CAUSALITY, 0); }
public TerminalNode STARTUP_STATE() { return getToken(TSqlParser.STARTUP_STATE, 0); }
public List DECIMAL() { return getTokens(TSqlParser.DECIMAL); }
public TerminalNode DECIMAL(int i) {
return getToken(TSqlParser.DECIMAL, i);
}
public List KB() { return getTokens(TSqlParser.KB); }
public TerminalNode KB(int i) {
return getToken(TSqlParser.KB, i);
}
public List MB() { return getTokens(TSqlParser.MB); }
public TerminalNode MB(int i) {
return getToken(TSqlParser.MB, i);
}
public TerminalNode ALLOW_SINGLE_EVENT_LOSS() { return getToken(TSqlParser.ALLOW_SINGLE_EVENT_LOSS, 0); }
public TerminalNode ALLOW_MULTIPLE_EVENT_LOSS() { return getToken(TSqlParser.ALLOW_MULTIPLE_EVENT_LOSS, 0); }
public TerminalNode NO_EVENT_LOSS() { return getToken(TSqlParser.NO_EVENT_LOSS, 0); }
public TerminalNode NONE() { return getToken(TSqlParser.NONE, 0); }
public TerminalNode PER_NODE() { return getToken(TSqlParser.PER_NODE, 0); }
public TerminalNode PER_CPU() { return getToken(TSqlParser.PER_CPU, 0); }
public List OFF() { return getTokens(TSqlParser.OFF); }
public TerminalNode OFF(int i) {
return getToken(TSqlParser.OFF, i);
}
public TerminalNode SECONDS() { return getToken(TSqlParser.SECONDS, 0); }
public TerminalNode INFINITE() { return getToken(TSqlParser.INFINITE, 0); }
public List ACTION() { return getTokens(TSqlParser.ACTION); }
public TerminalNode ACTION(int i) {
return getToken(TSqlParser.ACTION, i);
}
public List WHERE() { return getTokens(TSqlParser.WHERE); }
public TerminalNode WHERE(int i) {
return getToken(TSqlParser.WHERE, i);
}
public List event_session_predicate_expression() {
return getRuleContexts(Event_session_predicate_expressionContext.class);
}
public Event_session_predicate_expressionContext event_session_predicate_expression(int i) {
return getRuleContext(Event_session_predicate_expressionContext.class,i);
}
public List STRING() { return getTokens(TSqlParser.STRING); }
public TerminalNode STRING(int i) {
return getToken(TSqlParser.STRING, i);
}
public Create_or_alter_event_sessionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_or_alter_event_session; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_or_alter_event_session(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_or_alter_event_session(this);
}
}
public final Create_or_alter_event_sessionContext create_or_alter_event_session() throws RecognitionException {
Create_or_alter_event_sessionContext _localctx = new Create_or_alter_event_sessionContext(_ctx, getState());
enterRule(_localctx, 286, RULE_create_or_alter_event_session);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(2926);
_la = _input.LA(1);
if ( !(_la==ALTER || _la==CREATE) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(2927);
match(EVENT);
setState(2928);
match(SESSION);
setState(2929);
((Create_or_alter_event_sessionContext)_localctx).event_session_name = id();
setState(2930);
match(ON);
setState(2931);
match(SERVER);
setState(2999);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,242,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(2933);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2932);
match(COMMA);
}
}
setState(2935);
match(ADD);
setState(2936);
match(EVENT);
{
setState(2940);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,232,_ctx) ) {
case 1:
{
setState(2937);
((Create_or_alter_event_sessionContext)_localctx).event_module_guid = id();
setState(2938);
match(DOT);
}
break;
}
setState(2942);
((Create_or_alter_event_sessionContext)_localctx).event_package_name = id();
setState(2943);
match(DOT);
setState(2944);
((Create_or_alter_event_sessionContext)_localctx).event_name = id();
}
setState(2994);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,241,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(2946);
match(LR_BRACKET);
setState(2960);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==SET) {
{
setState(2947);
match(SET);
setState(2957);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,234,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(2949);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2948);
match(COMMA);
}
}
setState(2951);
((Create_or_alter_event_sessionContext)_localctx).event_customizable_attributue = id();
setState(2952);
match(EQUAL);
setState(2953);
_la = _input.LA(1);
if ( !(_la==DECIMAL || _la==STRING) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
}
setState(2959);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,234,_ctx);
}
}
}
setState(2982);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(2962);
match(ACTION);
setState(2963);
match(LR_BRACKET);
setState(2976);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(2965);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(2964);
match(COMMA);
}
}
setState(2970);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,237,_ctx) ) {
case 1:
{
setState(2967);
((Create_or_alter_event_sessionContext)_localctx).event_module_guid = id();
setState(2968);
match(DOT);
}
break;
}
setState(2972);
((Create_or_alter_event_sessionContext)_localctx).event_package_name = id();
setState(2973);
match(DOT);
setState(2974);
((Create_or_alter_event_sessionContext)_localctx).action_name = id();
}
}
setState(2978);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==CALLED || ((((_la - 81)) & ~0x3f) == 0 && ((1L << (_la - 81)) & ((1L << (DATA_COMPRESSION - 81)) | (1L << (EVENTDATA - 81)) | (1L << (FILENAME - 81)) | (1L << (FILLFACTOR - 81)) | (1L << (FORCESEEK - 81)))) != 0) || ((((_la - 159)) & ~0x3f) == 0 && ((1L << (_la - 159)) & ((1L << (INIT - 159)) | (1L << (KEY - 159)) | (1L << (MASTER - 159)) | (1L << (MAX_MEMORY - 159)))) != 0) || ((((_la - 226)) & ~0x3f) == 0 && ((1L << (_la - 226)) & ((1L << (OFFSETS - 226)) | (1L << (PAGE - 226)) | (1L << (PUBLIC - 226)) | (1L << (R - 226)) | (1L << (RAW - 226)) | (1L << (RETURN - 226)) | (1L << (RETURNS - 226)) | (1L << (ROWCOUNT - 226)))) != 0) || ((((_la - 296)) & ~0x3f) == 0 && ((1L << (_la - 296)) & ((1L << (SAFETY - 296)) | (1L << (SERVER - 296)) | (1L << (SID - 296)) | (1L << (SOURCE - 296)) | (1L << (STATE - 296)) | (1L << (START - 296)) | (1L << (TARGET - 296)))) != 0) || ((((_la - 384)) & ~0x3f) == 0 && ((1L << (_la - 384)) & ((1L << (ABSOLUTE - 384)) | (1L << (ACCENT_SENSITIVITY - 384)) | (1L << (ACTION - 384)) | (1L << (ACTIVATION - 384)) | (1L << (ACTIVE - 384)) | (1L << (ADDRESS - 384)) | (1L << (AES_128 - 384)) | (1L << (AES_192 - 384)) | (1L << (AES_256 - 384)) | (1L << (AFFINITY - 384)) | (1L << (AFTER - 384)) | (1L << (AGGREGATE - 384)) | (1L << (ALGORITHM - 384)) | (1L << (ALLOW_ENCRYPTED_VALUE_MODIFICATIONS - 384)) | (1L << (ALLOW_SNAPSHOT_ISOLATION - 384)) | (1L << (ALLOWED - 384)) | (1L << (ANSI_NULL_DEFAULT - 384)) | (1L << (ANSI_NULLS - 384)) | (1L << (ANSI_PADDING - 384)) | (1L << (ANSI_WARNINGS - 384)) | (1L << (APPLICATION_LOG - 384)) | (1L << (APPLY - 384)) | (1L << (ARITHABORT - 384)) | (1L << (ASSEMBLY - 384)) | (1L << (AUDIT - 384)) | (1L << (AUDIT_GUID - 384)) | (1L << (AUTO - 384)) | (1L << (AUTO_CLEANUP - 384)) | (1L << (AUTO_CLOSE - 384)) | (1L << (AUTO_CREATE_STATISTICS - 384)) | (1L << (AUTO_SHRINK - 384)) | (1L << (AUTO_UPDATE_STATISTICS - 384)) | (1L << (AUTO_UPDATE_STATISTICS_ASYNC - 384)) | (1L << (AVAILABILITY - 384)) | (1L << (AVG - 384)) | (1L << (BACKUP_PRIORITY - 384)) | (1L << (BEGIN_DIALOG - 384)) | (1L << (BIGINT - 384)) | (1L << (BINARY_BASE64 - 384)) | (1L << (BINARY_CHECKSUM - 384)) | (1L << (BINDING - 384)) | (1L << (BLOB_STORAGE - 384)) | (1L << (BROKER - 384)) | (1L << (BROKER_INSTANCE - 384)) | (1L << (BULK_LOGGED - 384)) | (1L << (CALLER - 384)) | (1L << (CAP_CPU_PERCENT - 384)) | (1L << (CAST - 384)) | (1L << (CATALOG - 384)) | (1L << (CATCH - 384)) | (1L << (CHANGE_RETENTION - 384)) | (1L << (CHANGE_TRACKING - 384)) | (1L << (CHECKSUM - 384)) | (1L << (CHECKSUM_AGG - 384)) | (1L << (CLEANUP - 384)) | (1L << (COLLECTION - 384)) | (1L << (COLUMN_MASTER_KEY - 384)) | (1L << (COMMITTED - 384)) | (1L << (COMPATIBILITY_LEVEL - 384)) | (1L << (CONCAT - 384)) | (1L << (CONCAT_NULL_YIELDS_NULL - 384)) | (1L << (CONTENT - 384)) | (1L << (CONTROL - 384)) | (1L << (COOKIE - 384)))) != 0) || ((((_la - 448)) & ~0x3f) == 0 && ((1L << (_la - 448)) & ((1L << (COUNT - 448)) | (1L << (COUNT_BIG - 448)) | (1L << (COUNTER - 448)) | (1L << (CPU - 448)) | (1L << (CREATE_NEW - 448)) | (1L << (CREATION_DISPOSITION - 448)) | (1L << (CREDENTIAL - 448)) | (1L << (CRYPTOGRAPHIC - 448)) | (1L << (CURSOR_CLOSE_ON_COMMIT - 448)) | (1L << (CURSOR_DEFAULT - 448)) | (1L << (DATE_CORRELATION_OPTIMIZATION - 448)) | (1L << (DATEADD - 448)) | (1L << (DATEDIFF - 448)) | (1L << (DATENAME - 448)) | (1L << (DATEPART - 448)) | (1L << (DAYS - 448)) | (1L << (DB_CHAINING - 448)) | (1L << (DB_FAILOVER - 448)) | (1L << (DECRYPTION - 448)) | (1L << (DEFAULT_DOUBLE_QUOTE - 448)) | (1L << (DEFAULT_FULLTEXT_LANGUAGE - 448)) | (1L << (DEFAULT_LANGUAGE - 448)) | (1L << (DELAY - 448)) | (1L << (DELAYED_DURABILITY - 448)) | (1L << (DELETED - 448)) | (1L << (DENSE_RANK - 448)) | (1L << (DEPENDENTS - 448)) | (1L << (DES - 448)) | (1L << (DESCRIPTION - 448)) | (1L << (DESX - 448)) | (1L << (DHCP - 448)) | (1L << (DIALOG - 448)) | (1L << (DIRECTORY_NAME - 448)) | (1L << (DISABLE - 448)) | (1L << (DISABLE_BROKER - 448)) | (1L << (DISABLED - 448)) | (1L << (DISK_DRIVE - 448)) | (1L << (DOCUMENT - 448)) | (1L << (DYNAMIC - 448)) | (1L << (EMERGENCY - 448)) | (1L << (EMPTY - 448)) | (1L << (ENABLE - 448)) | (1L << (ENABLE_BROKER - 448)) | (1L << (ENCRYPTED_VALUE - 448)) | (1L << (ENCRYPTION - 448)) | (1L << (ENDPOINT_URL - 448)) | (1L << (ERROR_BROKER_CONVERSATIONS - 448)) | (1L << (EXCLUSIVE - 448)) | (1L << (EXECUTABLE - 448)) | (1L << (EXIST - 448)) | (1L << (EXPAND - 448)) | (1L << (EXPIRY_DATE - 448)) | (1L << (EXPLICIT - 448)) | (1L << (FAIL_OPERATION - 448)) | (1L << (FAILOVER_MODE - 448)) | (1L << (FAILURE - 448)) | (1L << (FAILURE_CONDITION_LEVEL - 448)) | (1L << (FAST - 448)) | (1L << (FAST_FORWARD - 448)) | (1L << (FILEGROUP - 448)) | (1L << (FILEGROWTH - 448)) | (1L << (FILEPATH - 448)) | (1L << (FILESTREAM - 448)))) != 0) || ((((_la - 512)) & ~0x3f) == 0 && ((1L << (_la - 512)) & ((1L << (FILTER - 512)) | (1L << (FIRST - 512)) | (1L << (FIRST_VALUE - 512)) | (1L << (FOLLOWING - 512)) | (1L << (FORCE - 512)) | (1L << (FORCE_FAILOVER_ALLOW_DATA_LOSS - 512)) | (1L << (FORCED - 512)) | (1L << (FORMAT - 512)) | (1L << (FORWARD_ONLY - 512)) | (1L << (FULLSCAN - 512)) | (1L << (FULLTEXT - 512)) | (1L << (GB - 512)) | (1L << (GETDATE - 512)) | (1L << (GETUTCDATE - 512)) | (1L << (GLOBAL - 512)) | (1L << (GO - 512)) | (1L << (GROUP_MAX_REQUESTS - 512)) | (1L << (GROUPING - 512)) | (1L << (GROUPING_ID - 512)) | (1L << (HADR - 512)) | (1L << (HASH - 512)) | (1L << (HEALTH_CHECK_TIMEOUT - 512)) | (1L << (HIGH - 512)) | (1L << (HONOR_BROKER_PRIORITY - 512)) | (1L << (HOURS - 512)) | (1L << (IDENTITY_VALUE - 512)) | (1L << (IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX - 512)) | (1L << (IMMEDIATE - 512)) | (1L << (IMPERSONATE - 512)) | (1L << (IMPORTANCE - 512)) | (1L << (INCREMENTAL - 512)) | (1L << (INITIATOR - 512)) | (1L << (INPUT - 512)) | (1L << (INSENSITIVE - 512)) | (1L << (INSERTED - 512)) | (1L << (INT - 512)) | (1L << (IP - 512)) | (1L << (ISOLATION - 512)) | (1L << (KB - 512)) | (1L << (KEEP - 512)) | (1L << (KEEPFIXED - 512)) | (1L << (KEY_SOURCE - 512)) | (1L << (KEYS - 512)) | (1L << (KEYSET - 512)) | (1L << (LAG - 512)) | (1L << (LAST - 512)) | (1L << (LAST_VALUE - 512)) | (1L << (LEAD - 512)) | (1L << (LEVEL - 512)) | (1L << (LIST - 512)) | (1L << (LISTENER - 512)) | (1L << (LISTENER_URL - 512)) | (1L << (LOB_COMPACTION - 512)) | (1L << (LOCAL - 512)) | (1L << (LOCATION - 512)) | (1L << (LOCK - 512)) | (1L << (LOCK_ESCALATION - 512)) | (1L << (LOGIN - 512)) | (1L << (LOOP - 512)) | (1L << (LOW - 512)) | (1L << (MANUAL - 512)) | (1L << (MARK - 512)))) != 0) || ((((_la - 576)) & ~0x3f) == 0 && ((1L << (_la - 576)) & ((1L << (MATERIALIZED - 576)) | (1L << (MAX - 576)) | (1L << (MAX_CPU_PERCENT - 576)) | (1L << (MAX_DOP - 576)) | (1L << (MAX_FILES - 576)) | (1L << (MAX_IOPS_PER_VOLUME - 576)) | (1L << (MAX_MEMORY_PERCENT - 576)) | (1L << (MAX_PROCESSES - 576)) | (1L << (MAX_QUEUE_READERS - 576)) | (1L << (MAX_ROLLOVER_FILES - 576)) | (1L << (MAXDOP - 576)) | (1L << (MAXRECURSION - 576)) | (1L << (MAXSIZE - 576)) | (1L << (MB - 576)) | (1L << (MEDIUM - 576)) | (1L << (MEMORY_OPTIMIZED_DATA - 576)) | (1L << (MESSAGE - 576)) | (1L << (MIN - 576)) | (1L << (MIN_ACTIVE_ROWVERSION - 576)) | (1L << (MIN_CPU_PERCENT - 576)) | (1L << (MIN_IOPS_PER_VOLUME - 576)) | (1L << (MIN_MEMORY_PERCENT - 576)) | (1L << (MINUTES - 576)) | (1L << (MIRROR_ADDRESS - 576)) | (1L << (MIXED_PAGE_ALLOCATION - 576)) | (1L << (MODE - 576)) | (1L << (MODIFY - 576)) | (1L << (MOVE - 576)) | (1L << (MULTI_USER - 576)) | (1L << (NAME - 576)) | (1L << (NESTED_TRIGGERS - 576)) | (1L << (NEW_ACCOUNT - 576)) | (1L << (NEW_BROKER - 576)) | (1L << (NEW_PASSWORD - 576)) | (1L << (NEXT - 576)) | (1L << (NO - 576)) | (1L << (NO_TRUNCATE - 576)) | (1L << (NO_WAIT - 576)) | (1L << (NOCOUNT - 576)) | (1L << (NODES - 576)) | (1L << (NOEXPAND - 576)) | (1L << (NON_TRANSACTED_ACCESS - 576)) | (1L << (NORECOMPUTE - 576)) | (1L << (NORECOVERY - 576)) | (1L << (NOWAIT - 576)) | (1L << (NTILE - 576)) | (1L << (NUMANODE - 576)) | (1L << (NUMBER - 576)) | (1L << (NUMERIC_ROUNDABORT - 576)) | (1L << (OBJECT - 576)) | (1L << (OFFLINE - 576)) | (1L << (OFFSET - 576)) | (1L << (OLD_ACCOUNT - 576)) | (1L << (ONLINE - 576)) | (1L << (ONLY - 576)) | (1L << (OPEN_EXISTING - 576)) | (1L << (OPTIMISTIC - 576)) | (1L << (OPTIMIZE - 576)) | (1L << (OUT - 576)) | (1L << (OUTPUT - 576)) | (1L << (OWNER - 576)) | (1L << (PAGE_VERIFY - 576)) | (1L << (PARAMETERIZATION - 576)) | (1L << (PARTITION - 576)))) != 0) || ((((_la - 640)) & ~0x3f) == 0 && ((1L << (_la - 640)) & ((1L << (PARTITIONS - 640)) | (1L << (PARTNER - 640)) | (1L << (PATH - 640)) | (1L << (POISON_MESSAGE_HANDLING - 640)) | (1L << (POOL - 640)) | (1L << (PORT - 640)) | (1L << (PRECEDING - 640)) | (1L << (PRIMARY_ROLE - 640)) | (1L << (PRIOR - 640)) | (1L << (PRIORITY - 640)) | (1L << (PRIORITY_LEVEL - 640)) | (1L << (PRIVATE - 640)) | (1L << (PRIVATE_KEY - 640)) | (1L << (PRIVILEGES - 640)) | (1L << (PROCEDURE_NAME - 640)) | (1L << (PROPERTY - 640)) | (1L << (PROVIDER - 640)) | (1L << (PROVIDER_KEY_NAME - 640)) | (1L << (QUERY - 640)) | (1L << (QUEUE - 640)) | (1L << (QUEUE_DELAY - 640)) | (1L << (QUOTED_IDENTIFIER - 640)) | (1L << (RANGE - 640)) | (1L << (RANK - 640)) | (1L << (RC2 - 640)) | (1L << (RC4 - 640)) | (1L << (RC4_128 - 640)) | (1L << (READ_COMMITTED_SNAPSHOT - 640)) | (1L << (READ_ONLY - 640)) | (1L << (READ_ONLY_ROUTING_LIST - 640)) | (1L << (READ_WRITE - 640)) | (1L << (READONLY - 640)) | (1L << (REBUILD - 640)) | (1L << (RECEIVE - 640)) | (1L << (RECOMPILE - 640)) | (1L << (RECOVERY - 640)) | (1L << (RECURSIVE_TRIGGERS - 640)) | (1L << (RELATIVE - 640)) | (1L << (REMOTE - 640)) | (1L << (REMOTE_SERVICE_NAME - 640)) | (1L << (REMOVE - 640)) | (1L << (REORGANIZE - 640)) | (1L << (REPEATABLE - 640)) | (1L << (REPLICA - 640)) | (1L << (REQUEST_MAX_CPU_TIME_SEC - 640)) | (1L << (REQUEST_MAX_MEMORY_GRANT_PERCENT - 640)) | (1L << (REQUEST_MEMORY_GRANT_TIMEOUT_SEC - 640)) | (1L << (REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT - 640)) | (1L << (RESERVE_DISK_SPACE - 640)) | (1L << (RESOURCE - 640)) | (1L << (RESOURCE_MANAGER_LOCATION - 640)) | (1L << (RESTRICTED_USER - 640)) | (1L << (RETENTION - 640)) | (1L << (ROBUST - 640)) | (1L << (ROOT - 640)) | (1L << (ROUTE - 640)) | (1L << (ROW - 640)) | (1L << (ROW_NUMBER - 640)) | (1L << (ROWGUID - 640)) | (1L << (ROWS - 640)) | (1L << (SAMPLE - 640)) | (1L << (SCHEMABINDING - 640)) | (1L << (SCOPED - 640)) | (1L << (SCROLL - 640)))) != 0) || ((((_la - 704)) & ~0x3f) == 0 && ((1L << (_la - 704)) & ((1L << (SCROLL_LOCKS - 704)) | (1L << (SEARCH - 704)) | (1L << (SECONDARY - 704)) | (1L << (SECONDARY_ONLY - 704)) | (1L << (SECONDARY_ROLE - 704)) | (1L << (SECONDS - 704)) | (1L << (SECRET - 704)) | (1L << (SECURITY_LOG - 704)) | (1L << (SEEDING_MODE - 704)) | (1L << (SELF - 704)) | (1L << (SEMI_SENSITIVE - 704)) | (1L << (SEND - 704)) | (1L << (SENT - 704)) | (1L << (SERIALIZABLE - 704)) | (1L << (SESSION_TIMEOUT - 704)) | (1L << (SETERROR - 704)) | (1L << (SHARE - 704)) | (1L << (SHOWPLAN - 704)) | (1L << (SIGNATURE - 704)) | (1L << (SIMPLE - 704)) | (1L << (SINGLE_USER - 704)) | (1L << (SIZE - 704)) | (1L << (SMALLINT - 704)) | (1L << (SNAPSHOT - 704)) | (1L << (SPATIAL_WINDOW_MAX_CELLS - 704)) | (1L << (STANDBY - 704)) | (1L << (START_DATE - 704)) | (1L << (STATIC - 704)) | (1L << (STATS_STREAM - 704)) | (1L << (STATUS - 704)) | (1L << (STDEV - 704)) | (1L << (STDEVP - 704)) | (1L << (STOPLIST - 704)) | (1L << (STUFF - 704)) | (1L << (SUBJECT - 704)) | (1L << (SUM - 704)) | (1L << (SUSPEND - 704)) | (1L << (SYMMETRIC - 704)) | (1L << (SYNCHRONOUS_COMMIT - 704)) | (1L << (SYNONYM - 704)) | (1L << (TAKE - 704)) | (1L << (TARGET_RECOVERY_TIME - 704)) | (1L << (TB - 704)) | (1L << (TEXTIMAGE_ON - 704)) | (1L << (THROW - 704)) | (1L << (TIES - 704)) | (1L << (TIME - 704)) | (1L << (TIMEOUT - 704)) | (1L << (TIMER - 704)) | (1L << (TINYINT - 704)) | (1L << (TORN_PAGE_DETECTION - 704)) | (1L << (TRANSFORM_NOISE_WORDS - 704)) | (1L << (TRIPLE_DES - 704)) | (1L << (TRIPLE_DES_3KEY - 704)) | (1L << (TRUSTWORTHY - 704)) | (1L << (TRY - 704)) | (1L << (TSQL - 704)) | (1L << (TWO_DIGIT_YEAR_CUTOFF - 704)) | (1L << (TYPE - 704)) | (1L << (TYPE_WARNING - 704)) | (1L << (UNBOUNDED - 704)) | (1L << (UNCOMMITTED - 704)) | (1L << (UNKNOWN - 704)) | (1L << (UNLIMITED - 704)))) != 0) || ((((_la - 768)) & ~0x3f) == 0 && ((1L << (_la - 768)) & ((1L << (USING - 768)) | (1L << (VALID_XML - 768)) | (1L << (VALIDATION - 768)) | (1L << (VALUE - 768)) | (1L << (VAR - 768)) | (1L << (VARP - 768)) | (1L << (VIEW_METADATA - 768)) | (1L << (VIEWS - 768)) | (1L << (WAIT - 768)) | (1L << (WELL_FORMED_XML - 768)) | (1L << (WORK - 768)) | (1L << (WORKLOAD - 768)) | (1L << (XML - 768)) | (1L << (XMLNAMESPACES - 768)) | (1L << (DOUBLE_QUOTE_ID - 768)) | (1L << (SQUARE_BRACKET_ID - 768)) | (1L << (ID - 768)) | (1L << (COMMA - 768)))) != 0) );
setState(2980);
match(RR_BRACKET);
}
}
setState(2984);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==ACTION );
setState(2988);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WHERE) {
{
setState(2986);
match(WHERE);
setState(2987);
event_session_predicate_expression();
}
}
setState(2990);
match(RR_BRACKET);
}
}
}
setState(2996);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,241,_ctx);
}
}
}
}
setState(3001);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,242,_ctx);
}
setState(3018);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,245,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(3003);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3002);
match(COMMA);
}
}
setState(3005);
match(DROP);
setState(3006);
match(EVENT);
setState(3010);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,244,_ctx) ) {
case 1:
{
setState(3007);
((Create_or_alter_event_sessionContext)_localctx).event_module_guid = id();
setState(3008);
match(DOT);
}
break;
}
setState(3012);
((Create_or_alter_event_sessionContext)_localctx).event_package_name = id();
setState(3013);
match(DOT);
setState(3014);
((Create_or_alter_event_sessionContext)_localctx).event_name = id();
}
}
}
setState(3020);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,245,_ctx);
}
setState(3062);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==ADD) {
{
{
{
setState(3021);
match(ADD);
setState(3022);
match(TARGET);
setState(3026);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,246,_ctx) ) {
case 1:
{
setState(3023);
((Create_or_alter_event_sessionContext)_localctx).event_module_guid = id();
setState(3024);
match(DOT);
}
break;
}
setState(3028);
((Create_or_alter_event_sessionContext)_localctx).event_package_name = id();
setState(3029);
match(DOT);
setState(3030);
((Create_or_alter_event_sessionContext)_localctx).target_name = id();
}
setState(3057);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,252,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(3032);
match(LR_BRACKET);
setState(3033);
match(SET);
setState(3049);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(3035);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3034);
match(COMMA);
}
}
setState(3037);
((Create_or_alter_event_sessionContext)_localctx).target_parameter_name = id();
setState(3038);
match(EQUAL);
setState(3047);
_errHandler.sync(this);
switch (_input.LA(1)) {
case DECIMAL:
case LR_BRACKET:
{
setState(3040);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(3039);
match(LR_BRACKET);
}
}
setState(3042);
match(DECIMAL);
setState(3044);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,249,_ctx) ) {
case 1:
{
setState(3043);
match(RR_BRACKET);
}
break;
}
}
break;
case STRING:
{
setState(3046);
match(STRING);
}
break;
default:
throw new NoViableAltException(this);
}
}
}
setState(3051);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==CALLED || ((((_la - 81)) & ~0x3f) == 0 && ((1L << (_la - 81)) & ((1L << (DATA_COMPRESSION - 81)) | (1L << (EVENTDATA - 81)) | (1L << (FILENAME - 81)) | (1L << (FILLFACTOR - 81)) | (1L << (FORCESEEK - 81)))) != 0) || ((((_la - 159)) & ~0x3f) == 0 && ((1L << (_la - 159)) & ((1L << (INIT - 159)) | (1L << (KEY - 159)) | (1L << (MASTER - 159)) | (1L << (MAX_MEMORY - 159)))) != 0) || ((((_la - 226)) & ~0x3f) == 0 && ((1L << (_la - 226)) & ((1L << (OFFSETS - 226)) | (1L << (PAGE - 226)) | (1L << (PUBLIC - 226)) | (1L << (R - 226)) | (1L << (RAW - 226)) | (1L << (RETURN - 226)) | (1L << (RETURNS - 226)) | (1L << (ROWCOUNT - 226)))) != 0) || ((((_la - 296)) & ~0x3f) == 0 && ((1L << (_la - 296)) & ((1L << (SAFETY - 296)) | (1L << (SERVER - 296)) | (1L << (SID - 296)) | (1L << (SOURCE - 296)) | (1L << (STATE - 296)) | (1L << (START - 296)) | (1L << (TARGET - 296)))) != 0) || ((((_la - 384)) & ~0x3f) == 0 && ((1L << (_la - 384)) & ((1L << (ABSOLUTE - 384)) | (1L << (ACCENT_SENSITIVITY - 384)) | (1L << (ACTION - 384)) | (1L << (ACTIVATION - 384)) | (1L << (ACTIVE - 384)) | (1L << (ADDRESS - 384)) | (1L << (AES_128 - 384)) | (1L << (AES_192 - 384)) | (1L << (AES_256 - 384)) | (1L << (AFFINITY - 384)) | (1L << (AFTER - 384)) | (1L << (AGGREGATE - 384)) | (1L << (ALGORITHM - 384)) | (1L << (ALLOW_ENCRYPTED_VALUE_MODIFICATIONS - 384)) | (1L << (ALLOW_SNAPSHOT_ISOLATION - 384)) | (1L << (ALLOWED - 384)) | (1L << (ANSI_NULL_DEFAULT - 384)) | (1L << (ANSI_NULLS - 384)) | (1L << (ANSI_PADDING - 384)) | (1L << (ANSI_WARNINGS - 384)) | (1L << (APPLICATION_LOG - 384)) | (1L << (APPLY - 384)) | (1L << (ARITHABORT - 384)) | (1L << (ASSEMBLY - 384)) | (1L << (AUDIT - 384)) | (1L << (AUDIT_GUID - 384)) | (1L << (AUTO - 384)) | (1L << (AUTO_CLEANUP - 384)) | (1L << (AUTO_CLOSE - 384)) | (1L << (AUTO_CREATE_STATISTICS - 384)) | (1L << (AUTO_SHRINK - 384)) | (1L << (AUTO_UPDATE_STATISTICS - 384)) | (1L << (AUTO_UPDATE_STATISTICS_ASYNC - 384)) | (1L << (AVAILABILITY - 384)) | (1L << (AVG - 384)) | (1L << (BACKUP_PRIORITY - 384)) | (1L << (BEGIN_DIALOG - 384)) | (1L << (BIGINT - 384)) | (1L << (BINARY_BASE64 - 384)) | (1L << (BINARY_CHECKSUM - 384)) | (1L << (BINDING - 384)) | (1L << (BLOB_STORAGE - 384)) | (1L << (BROKER - 384)) | (1L << (BROKER_INSTANCE - 384)) | (1L << (BULK_LOGGED - 384)) | (1L << (CALLER - 384)) | (1L << (CAP_CPU_PERCENT - 384)) | (1L << (CAST - 384)) | (1L << (CATALOG - 384)) | (1L << (CATCH - 384)) | (1L << (CHANGE_RETENTION - 384)) | (1L << (CHANGE_TRACKING - 384)) | (1L << (CHECKSUM - 384)) | (1L << (CHECKSUM_AGG - 384)) | (1L << (CLEANUP - 384)) | (1L << (COLLECTION - 384)) | (1L << (COLUMN_MASTER_KEY - 384)) | (1L << (COMMITTED - 384)) | (1L << (COMPATIBILITY_LEVEL - 384)) | (1L << (CONCAT - 384)) | (1L << (CONCAT_NULL_YIELDS_NULL - 384)) | (1L << (CONTENT - 384)) | (1L << (CONTROL - 384)) | (1L << (COOKIE - 384)))) != 0) || ((((_la - 448)) & ~0x3f) == 0 && ((1L << (_la - 448)) & ((1L << (COUNT - 448)) | (1L << (COUNT_BIG - 448)) | (1L << (COUNTER - 448)) | (1L << (CPU - 448)) | (1L << (CREATE_NEW - 448)) | (1L << (CREATION_DISPOSITION - 448)) | (1L << (CREDENTIAL - 448)) | (1L << (CRYPTOGRAPHIC - 448)) | (1L << (CURSOR_CLOSE_ON_COMMIT - 448)) | (1L << (CURSOR_DEFAULT - 448)) | (1L << (DATE_CORRELATION_OPTIMIZATION - 448)) | (1L << (DATEADD - 448)) | (1L << (DATEDIFF - 448)) | (1L << (DATENAME - 448)) | (1L << (DATEPART - 448)) | (1L << (DAYS - 448)) | (1L << (DB_CHAINING - 448)) | (1L << (DB_FAILOVER - 448)) | (1L << (DECRYPTION - 448)) | (1L << (DEFAULT_DOUBLE_QUOTE - 448)) | (1L << (DEFAULT_FULLTEXT_LANGUAGE - 448)) | (1L << (DEFAULT_LANGUAGE - 448)) | (1L << (DELAY - 448)) | (1L << (DELAYED_DURABILITY - 448)) | (1L << (DELETED - 448)) | (1L << (DENSE_RANK - 448)) | (1L << (DEPENDENTS - 448)) | (1L << (DES - 448)) | (1L << (DESCRIPTION - 448)) | (1L << (DESX - 448)) | (1L << (DHCP - 448)) | (1L << (DIALOG - 448)) | (1L << (DIRECTORY_NAME - 448)) | (1L << (DISABLE - 448)) | (1L << (DISABLE_BROKER - 448)) | (1L << (DISABLED - 448)) | (1L << (DISK_DRIVE - 448)) | (1L << (DOCUMENT - 448)) | (1L << (DYNAMIC - 448)) | (1L << (EMERGENCY - 448)) | (1L << (EMPTY - 448)) | (1L << (ENABLE - 448)) | (1L << (ENABLE_BROKER - 448)) | (1L << (ENCRYPTED_VALUE - 448)) | (1L << (ENCRYPTION - 448)) | (1L << (ENDPOINT_URL - 448)) | (1L << (ERROR_BROKER_CONVERSATIONS - 448)) | (1L << (EXCLUSIVE - 448)) | (1L << (EXECUTABLE - 448)) | (1L << (EXIST - 448)) | (1L << (EXPAND - 448)) | (1L << (EXPIRY_DATE - 448)) | (1L << (EXPLICIT - 448)) | (1L << (FAIL_OPERATION - 448)) | (1L << (FAILOVER_MODE - 448)) | (1L << (FAILURE - 448)) | (1L << (FAILURE_CONDITION_LEVEL - 448)) | (1L << (FAST - 448)) | (1L << (FAST_FORWARD - 448)) | (1L << (FILEGROUP - 448)) | (1L << (FILEGROWTH - 448)) | (1L << (FILEPATH - 448)) | (1L << (FILESTREAM - 448)))) != 0) || ((((_la - 512)) & ~0x3f) == 0 && ((1L << (_la - 512)) & ((1L << (FILTER - 512)) | (1L << (FIRST - 512)) | (1L << (FIRST_VALUE - 512)) | (1L << (FOLLOWING - 512)) | (1L << (FORCE - 512)) | (1L << (FORCE_FAILOVER_ALLOW_DATA_LOSS - 512)) | (1L << (FORCED - 512)) | (1L << (FORMAT - 512)) | (1L << (FORWARD_ONLY - 512)) | (1L << (FULLSCAN - 512)) | (1L << (FULLTEXT - 512)) | (1L << (GB - 512)) | (1L << (GETDATE - 512)) | (1L << (GETUTCDATE - 512)) | (1L << (GLOBAL - 512)) | (1L << (GO - 512)) | (1L << (GROUP_MAX_REQUESTS - 512)) | (1L << (GROUPING - 512)) | (1L << (GROUPING_ID - 512)) | (1L << (HADR - 512)) | (1L << (HASH - 512)) | (1L << (HEALTH_CHECK_TIMEOUT - 512)) | (1L << (HIGH - 512)) | (1L << (HONOR_BROKER_PRIORITY - 512)) | (1L << (HOURS - 512)) | (1L << (IDENTITY_VALUE - 512)) | (1L << (IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX - 512)) | (1L << (IMMEDIATE - 512)) | (1L << (IMPERSONATE - 512)) | (1L << (IMPORTANCE - 512)) | (1L << (INCREMENTAL - 512)) | (1L << (INITIATOR - 512)) | (1L << (INPUT - 512)) | (1L << (INSENSITIVE - 512)) | (1L << (INSERTED - 512)) | (1L << (INT - 512)) | (1L << (IP - 512)) | (1L << (ISOLATION - 512)) | (1L << (KB - 512)) | (1L << (KEEP - 512)) | (1L << (KEEPFIXED - 512)) | (1L << (KEY_SOURCE - 512)) | (1L << (KEYS - 512)) | (1L << (KEYSET - 512)) | (1L << (LAG - 512)) | (1L << (LAST - 512)) | (1L << (LAST_VALUE - 512)) | (1L << (LEAD - 512)) | (1L << (LEVEL - 512)) | (1L << (LIST - 512)) | (1L << (LISTENER - 512)) | (1L << (LISTENER_URL - 512)) | (1L << (LOB_COMPACTION - 512)) | (1L << (LOCAL - 512)) | (1L << (LOCATION - 512)) | (1L << (LOCK - 512)) | (1L << (LOCK_ESCALATION - 512)) | (1L << (LOGIN - 512)) | (1L << (LOOP - 512)) | (1L << (LOW - 512)) | (1L << (MANUAL - 512)) | (1L << (MARK - 512)))) != 0) || ((((_la - 576)) & ~0x3f) == 0 && ((1L << (_la - 576)) & ((1L << (MATERIALIZED - 576)) | (1L << (MAX - 576)) | (1L << (MAX_CPU_PERCENT - 576)) | (1L << (MAX_DOP - 576)) | (1L << (MAX_FILES - 576)) | (1L << (MAX_IOPS_PER_VOLUME - 576)) | (1L << (MAX_MEMORY_PERCENT - 576)) | (1L << (MAX_PROCESSES - 576)) | (1L << (MAX_QUEUE_READERS - 576)) | (1L << (MAX_ROLLOVER_FILES - 576)) | (1L << (MAXDOP - 576)) | (1L << (MAXRECURSION - 576)) | (1L << (MAXSIZE - 576)) | (1L << (MB - 576)) | (1L << (MEDIUM - 576)) | (1L << (MEMORY_OPTIMIZED_DATA - 576)) | (1L << (MESSAGE - 576)) | (1L << (MIN - 576)) | (1L << (MIN_ACTIVE_ROWVERSION - 576)) | (1L << (MIN_CPU_PERCENT - 576)) | (1L << (MIN_IOPS_PER_VOLUME - 576)) | (1L << (MIN_MEMORY_PERCENT - 576)) | (1L << (MINUTES - 576)) | (1L << (MIRROR_ADDRESS - 576)) | (1L << (MIXED_PAGE_ALLOCATION - 576)) | (1L << (MODE - 576)) | (1L << (MODIFY - 576)) | (1L << (MOVE - 576)) | (1L << (MULTI_USER - 576)) | (1L << (NAME - 576)) | (1L << (NESTED_TRIGGERS - 576)) | (1L << (NEW_ACCOUNT - 576)) | (1L << (NEW_BROKER - 576)) | (1L << (NEW_PASSWORD - 576)) | (1L << (NEXT - 576)) | (1L << (NO - 576)) | (1L << (NO_TRUNCATE - 576)) | (1L << (NO_WAIT - 576)) | (1L << (NOCOUNT - 576)) | (1L << (NODES - 576)) | (1L << (NOEXPAND - 576)) | (1L << (NON_TRANSACTED_ACCESS - 576)) | (1L << (NORECOMPUTE - 576)) | (1L << (NORECOVERY - 576)) | (1L << (NOWAIT - 576)) | (1L << (NTILE - 576)) | (1L << (NUMANODE - 576)) | (1L << (NUMBER - 576)) | (1L << (NUMERIC_ROUNDABORT - 576)) | (1L << (OBJECT - 576)) | (1L << (OFFLINE - 576)) | (1L << (OFFSET - 576)) | (1L << (OLD_ACCOUNT - 576)) | (1L << (ONLINE - 576)) | (1L << (ONLY - 576)) | (1L << (OPEN_EXISTING - 576)) | (1L << (OPTIMISTIC - 576)) | (1L << (OPTIMIZE - 576)) | (1L << (OUT - 576)) | (1L << (OUTPUT - 576)) | (1L << (OWNER - 576)) | (1L << (PAGE_VERIFY - 576)) | (1L << (PARAMETERIZATION - 576)) | (1L << (PARTITION - 576)))) != 0) || ((((_la - 640)) & ~0x3f) == 0 && ((1L << (_la - 640)) & ((1L << (PARTITIONS - 640)) | (1L << (PARTNER - 640)) | (1L << (PATH - 640)) | (1L << (POISON_MESSAGE_HANDLING - 640)) | (1L << (POOL - 640)) | (1L << (PORT - 640)) | (1L << (PRECEDING - 640)) | (1L << (PRIMARY_ROLE - 640)) | (1L << (PRIOR - 640)) | (1L << (PRIORITY - 640)) | (1L << (PRIORITY_LEVEL - 640)) | (1L << (PRIVATE - 640)) | (1L << (PRIVATE_KEY - 640)) | (1L << (PRIVILEGES - 640)) | (1L << (PROCEDURE_NAME - 640)) | (1L << (PROPERTY - 640)) | (1L << (PROVIDER - 640)) | (1L << (PROVIDER_KEY_NAME - 640)) | (1L << (QUERY - 640)) | (1L << (QUEUE - 640)) | (1L << (QUEUE_DELAY - 640)) | (1L << (QUOTED_IDENTIFIER - 640)) | (1L << (RANGE - 640)) | (1L << (RANK - 640)) | (1L << (RC2 - 640)) | (1L << (RC4 - 640)) | (1L << (RC4_128 - 640)) | (1L << (READ_COMMITTED_SNAPSHOT - 640)) | (1L << (READ_ONLY - 640)) | (1L << (READ_ONLY_ROUTING_LIST - 640)) | (1L << (READ_WRITE - 640)) | (1L << (READONLY - 640)) | (1L << (REBUILD - 640)) | (1L << (RECEIVE - 640)) | (1L << (RECOMPILE - 640)) | (1L << (RECOVERY - 640)) | (1L << (RECURSIVE_TRIGGERS - 640)) | (1L << (RELATIVE - 640)) | (1L << (REMOTE - 640)) | (1L << (REMOTE_SERVICE_NAME - 640)) | (1L << (REMOVE - 640)) | (1L << (REORGANIZE - 640)) | (1L << (REPEATABLE - 640)) | (1L << (REPLICA - 640)) | (1L << (REQUEST_MAX_CPU_TIME_SEC - 640)) | (1L << (REQUEST_MAX_MEMORY_GRANT_PERCENT - 640)) | (1L << (REQUEST_MEMORY_GRANT_TIMEOUT_SEC - 640)) | (1L << (REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT - 640)) | (1L << (RESERVE_DISK_SPACE - 640)) | (1L << (RESOURCE - 640)) | (1L << (RESOURCE_MANAGER_LOCATION - 640)) | (1L << (RESTRICTED_USER - 640)) | (1L << (RETENTION - 640)) | (1L << (ROBUST - 640)) | (1L << (ROOT - 640)) | (1L << (ROUTE - 640)) | (1L << (ROW - 640)) | (1L << (ROW_NUMBER - 640)) | (1L << (ROWGUID - 640)) | (1L << (ROWS - 640)) | (1L << (SAMPLE - 640)) | (1L << (SCHEMABINDING - 640)) | (1L << (SCOPED - 640)) | (1L << (SCROLL - 640)))) != 0) || ((((_la - 704)) & ~0x3f) == 0 && ((1L << (_la - 704)) & ((1L << (SCROLL_LOCKS - 704)) | (1L << (SEARCH - 704)) | (1L << (SECONDARY - 704)) | (1L << (SECONDARY_ONLY - 704)) | (1L << (SECONDARY_ROLE - 704)) | (1L << (SECONDS - 704)) | (1L << (SECRET - 704)) | (1L << (SECURITY_LOG - 704)) | (1L << (SEEDING_MODE - 704)) | (1L << (SELF - 704)) | (1L << (SEMI_SENSITIVE - 704)) | (1L << (SEND - 704)) | (1L << (SENT - 704)) | (1L << (SERIALIZABLE - 704)) | (1L << (SESSION_TIMEOUT - 704)) | (1L << (SETERROR - 704)) | (1L << (SHARE - 704)) | (1L << (SHOWPLAN - 704)) | (1L << (SIGNATURE - 704)) | (1L << (SIMPLE - 704)) | (1L << (SINGLE_USER - 704)) | (1L << (SIZE - 704)) | (1L << (SMALLINT - 704)) | (1L << (SNAPSHOT - 704)) | (1L << (SPATIAL_WINDOW_MAX_CELLS - 704)) | (1L << (STANDBY - 704)) | (1L << (START_DATE - 704)) | (1L << (STATIC - 704)) | (1L << (STATS_STREAM - 704)) | (1L << (STATUS - 704)) | (1L << (STDEV - 704)) | (1L << (STDEVP - 704)) | (1L << (STOPLIST - 704)) | (1L << (STUFF - 704)) | (1L << (SUBJECT - 704)) | (1L << (SUM - 704)) | (1L << (SUSPEND - 704)) | (1L << (SYMMETRIC - 704)) | (1L << (SYNCHRONOUS_COMMIT - 704)) | (1L << (SYNONYM - 704)) | (1L << (TAKE - 704)) | (1L << (TARGET_RECOVERY_TIME - 704)) | (1L << (TB - 704)) | (1L << (TEXTIMAGE_ON - 704)) | (1L << (THROW - 704)) | (1L << (TIES - 704)) | (1L << (TIME - 704)) | (1L << (TIMEOUT - 704)) | (1L << (TIMER - 704)) | (1L << (TINYINT - 704)) | (1L << (TORN_PAGE_DETECTION - 704)) | (1L << (TRANSFORM_NOISE_WORDS - 704)) | (1L << (TRIPLE_DES - 704)) | (1L << (TRIPLE_DES_3KEY - 704)) | (1L << (TRUSTWORTHY - 704)) | (1L << (TRY - 704)) | (1L << (TSQL - 704)) | (1L << (TWO_DIGIT_YEAR_CUTOFF - 704)) | (1L << (TYPE - 704)) | (1L << (TYPE_WARNING - 704)) | (1L << (UNBOUNDED - 704)) | (1L << (UNCOMMITTED - 704)) | (1L << (UNKNOWN - 704)) | (1L << (UNLIMITED - 704)))) != 0) || ((((_la - 768)) & ~0x3f) == 0 && ((1L << (_la - 768)) & ((1L << (USING - 768)) | (1L << (VALID_XML - 768)) | (1L << (VALIDATION - 768)) | (1L << (VALUE - 768)) | (1L << (VAR - 768)) | (1L << (VARP - 768)) | (1L << (VIEW_METADATA - 768)) | (1L << (VIEWS - 768)) | (1L << (WAIT - 768)) | (1L << (WELL_FORMED_XML - 768)) | (1L << (WORK - 768)) | (1L << (WORKLOAD - 768)) | (1L << (XML - 768)) | (1L << (XMLNAMESPACES - 768)) | (1L << (DOUBLE_QUOTE_ID - 768)) | (1L << (SQUARE_BRACKET_ID - 768)) | (1L << (ID - 768)) | (1L << (COMMA - 768)))) != 0) );
setState(3053);
match(RR_BRACKET);
}
}
}
setState(3059);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,252,_ctx);
}
}
}
setState(3064);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(3078);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,255,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(3065);
match(DROP);
setState(3066);
match(TARGET);
setState(3070);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,254,_ctx) ) {
case 1:
{
setState(3067);
((Create_or_alter_event_sessionContext)_localctx).event_module_guid = id();
setState(3068);
match(DOT);
}
break;
}
setState(3072);
((Create_or_alter_event_sessionContext)_localctx).event_package_name = id();
setState(3073);
match(DOT);
setState(3074);
((Create_or_alter_event_sessionContext)_localctx).target_name = id();
}
}
}
setState(3080);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,255,_ctx);
}
setState(3146);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,271,_ctx) ) {
case 1:
{
setState(3081);
match(WITH);
setState(3082);
match(LR_BRACKET);
setState(3090);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,257,_ctx) ) {
case 1:
{
setState(3084);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3083);
match(COMMA);
}
}
setState(3086);
match(MAX_MEMORY);
setState(3087);
match(EQUAL);
setState(3088);
((Create_or_alter_event_sessionContext)_localctx).max_memory = match(DECIMAL);
setState(3089);
_la = _input.LA(1);
if ( !(_la==KB || _la==MB) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
setState(3098);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,259,_ctx) ) {
case 1:
{
setState(3093);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3092);
match(COMMA);
}
}
setState(3095);
match(EVENT_RETENTION_MODE);
setState(3096);
match(EQUAL);
setState(3097);
_la = _input.LA(1);
if ( !(_la==ALLOW_MULTIPLE_EVENT_LOSS || _la==ALLOW_SINGLE_EVENT_LOSS || _la==NO_EVENT_LOSS) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
setState(3110);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,262,_ctx) ) {
case 1:
{
setState(3101);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3100);
match(COMMA);
}
}
setState(3103);
match(MAX_DISPATCH_LATENCY);
setState(3104);
match(EQUAL);
setState(3108);
_errHandler.sync(this);
switch (_input.LA(1)) {
case DECIMAL:
{
setState(3105);
((Create_or_alter_event_sessionContext)_localctx).max_dispatch_latency_seconds = match(DECIMAL);
setState(3106);
match(SECONDS);
}
break;
case INFINITE:
{
setState(3107);
match(INFINITE);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
}
setState(3119);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,264,_ctx) ) {
case 1:
{
setState(3113);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3112);
match(COMMA);
}
}
setState(3115);
match(MAX_EVENT_SIZE);
setState(3116);
match(EQUAL);
setState(3117);
((Create_or_alter_event_sessionContext)_localctx).max_event_size = match(DECIMAL);
setState(3118);
_la = _input.LA(1);
if ( !(_la==KB || _la==MB) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
setState(3127);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,266,_ctx) ) {
case 1:
{
setState(3122);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3121);
match(COMMA);
}
}
setState(3124);
match(MEMORY_PARTITION_MODE);
setState(3125);
match(EQUAL);
setState(3126);
_la = _input.LA(1);
if ( !(((((_la - 212)) & ~0x3f) == 0 && ((1L << (_la - 212)) & ((1L << (NONE - 212)) | (1L << (PER_CPU - 212)) | (1L << (PER_NODE - 212)))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
setState(3135);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,268,_ctx) ) {
case 1:
{
setState(3130);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3129);
match(COMMA);
}
}
setState(3132);
match(TRACK_CAUSALITY);
setState(3133);
match(EQUAL);
setState(3134);
_la = _input.LA(1);
if ( !(_la==OFF || _la==ON) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
setState(3143);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==STARTUP_STATE || _la==COMMA) {
{
setState(3138);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3137);
match(COMMA);
}
}
setState(3140);
match(STARTUP_STATE);
setState(3141);
match(EQUAL);
setState(3142);
_la = _input.LA(1);
if ( !(_la==OFF || _la==ON) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3145);
match(RR_BRACKET);
}
break;
}
setState(3151);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,272,_ctx) ) {
case 1:
{
setState(3148);
match(STATE);
setState(3149);
match(EQUAL);
setState(3150);
_la = _input.LA(1);
if ( !(_la==START || _la==STOP) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Event_session_predicate_expressionContext extends ParserRuleContext {
public List event_session_predicate_factor() {
return getRuleContexts(Event_session_predicate_factorContext.class);
}
public Event_session_predicate_factorContext event_session_predicate_factor(int i) {
return getRuleContext(Event_session_predicate_factorContext.class,i);
}
public List LR_BRACKET() { return getTokens(TSqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(TSqlParser.LR_BRACKET, i);
}
public List event_session_predicate_expression() {
return getRuleContexts(Event_session_predicate_expressionContext.class);
}
public Event_session_predicate_expressionContext event_session_predicate_expression(int i) {
return getRuleContext(Event_session_predicate_expressionContext.class,i);
}
public List RR_BRACKET() { return getTokens(TSqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(TSqlParser.RR_BRACKET, i);
}
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public List NOT() { return getTokens(TSqlParser.NOT); }
public TerminalNode NOT(int i) {
return getToken(TSqlParser.NOT, i);
}
public List AND() { return getTokens(TSqlParser.AND); }
public TerminalNode AND(int i) {
return getToken(TSqlParser.AND, i);
}
public List OR() { return getTokens(TSqlParser.OR); }
public TerminalNode OR(int i) {
return getToken(TSqlParser.OR, i);
}
public Event_session_predicate_expressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_event_session_predicate_expression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterEvent_session_predicate_expression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitEvent_session_predicate_expression(this);
}
}
public final Event_session_predicate_expressionContext event_session_predicate_expression() throws RecognitionException {
Event_session_predicate_expressionContext _localctx = new Event_session_predicate_expressionContext(_ctx, getState());
enterRule(_localctx, 288, RULE_event_session_predicate_expression);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3169);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(3154);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3153);
match(COMMA);
}
}
setState(3157);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AND || _la==OR) {
{
setState(3156);
_la = _input.LA(1);
if ( !(_la==AND || _la==OR) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3160);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOT) {
{
setState(3159);
match(NOT);
}
}
setState(3167);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,276,_ctx) ) {
case 1:
{
setState(3162);
event_session_predicate_factor();
}
break;
case 2:
{
setState(3163);
match(LR_BRACKET);
setState(3164);
event_session_predicate_expression();
setState(3165);
match(RR_BRACKET);
}
break;
}
}
}
setState(3171);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==AND || _la==CALLED || ((((_la - 81)) & ~0x3f) == 0 && ((1L << (_la - 81)) & ((1L << (DATA_COMPRESSION - 81)) | (1L << (EVENTDATA - 81)) | (1L << (FILENAME - 81)) | (1L << (FILLFACTOR - 81)) | (1L << (FORCESEEK - 81)))) != 0) || ((((_la - 159)) & ~0x3f) == 0 && ((1L << (_la - 159)) & ((1L << (INIT - 159)) | (1L << (KEY - 159)) | (1L << (MASTER - 159)) | (1L << (MAX_MEMORY - 159)) | (1L << (NOT - 159)))) != 0) || ((((_la - 226)) & ~0x3f) == 0 && ((1L << (_la - 226)) & ((1L << (OFFSETS - 226)) | (1L << (OR - 226)) | (1L << (PAGE - 226)) | (1L << (PUBLIC - 226)) | (1L << (R - 226)) | (1L << (RAW - 226)) | (1L << (RETURN - 226)) | (1L << (RETURNS - 226)) | (1L << (ROWCOUNT - 226)))) != 0) || ((((_la - 296)) & ~0x3f) == 0 && ((1L << (_la - 296)) & ((1L << (SAFETY - 296)) | (1L << (SERVER - 296)) | (1L << (SID - 296)) | (1L << (SOURCE - 296)) | (1L << (STATE - 296)) | (1L << (START - 296)) | (1L << (TARGET - 296)))) != 0) || ((((_la - 384)) & ~0x3f) == 0 && ((1L << (_la - 384)) & ((1L << (ABSOLUTE - 384)) | (1L << (ACCENT_SENSITIVITY - 384)) | (1L << (ACTION - 384)) | (1L << (ACTIVATION - 384)) | (1L << (ACTIVE - 384)) | (1L << (ADDRESS - 384)) | (1L << (AES_128 - 384)) | (1L << (AES_192 - 384)) | (1L << (AES_256 - 384)) | (1L << (AFFINITY - 384)) | (1L << (AFTER - 384)) | (1L << (AGGREGATE - 384)) | (1L << (ALGORITHM - 384)) | (1L << (ALLOW_ENCRYPTED_VALUE_MODIFICATIONS - 384)) | (1L << (ALLOW_SNAPSHOT_ISOLATION - 384)) | (1L << (ALLOWED - 384)) | (1L << (ANSI_NULL_DEFAULT - 384)) | (1L << (ANSI_NULLS - 384)) | (1L << (ANSI_PADDING - 384)) | (1L << (ANSI_WARNINGS - 384)) | (1L << (APPLICATION_LOG - 384)) | (1L << (APPLY - 384)) | (1L << (ARITHABORT - 384)) | (1L << (ASSEMBLY - 384)) | (1L << (AUDIT - 384)) | (1L << (AUDIT_GUID - 384)) | (1L << (AUTO - 384)) | (1L << (AUTO_CLEANUP - 384)) | (1L << (AUTO_CLOSE - 384)) | (1L << (AUTO_CREATE_STATISTICS - 384)) | (1L << (AUTO_SHRINK - 384)) | (1L << (AUTO_UPDATE_STATISTICS - 384)) | (1L << (AUTO_UPDATE_STATISTICS_ASYNC - 384)) | (1L << (AVAILABILITY - 384)) | (1L << (AVG - 384)) | (1L << (BACKUP_PRIORITY - 384)) | (1L << (BEGIN_DIALOG - 384)) | (1L << (BIGINT - 384)) | (1L << (BINARY_BASE64 - 384)) | (1L << (BINARY_CHECKSUM - 384)) | (1L << (BINDING - 384)) | (1L << (BLOB_STORAGE - 384)) | (1L << (BROKER - 384)) | (1L << (BROKER_INSTANCE - 384)) | (1L << (BULK_LOGGED - 384)) | (1L << (CALLER - 384)) | (1L << (CAP_CPU_PERCENT - 384)) | (1L << (CAST - 384)) | (1L << (CATALOG - 384)) | (1L << (CATCH - 384)) | (1L << (CHANGE_RETENTION - 384)) | (1L << (CHANGE_TRACKING - 384)) | (1L << (CHECKSUM - 384)) | (1L << (CHECKSUM_AGG - 384)) | (1L << (CLEANUP - 384)) | (1L << (COLLECTION - 384)) | (1L << (COLUMN_MASTER_KEY - 384)) | (1L << (COMMITTED - 384)) | (1L << (COMPATIBILITY_LEVEL - 384)) | (1L << (CONCAT - 384)) | (1L << (CONCAT_NULL_YIELDS_NULL - 384)) | (1L << (CONTENT - 384)) | (1L << (CONTROL - 384)) | (1L << (COOKIE - 384)))) != 0) || ((((_la - 448)) & ~0x3f) == 0 && ((1L << (_la - 448)) & ((1L << (COUNT - 448)) | (1L << (COUNT_BIG - 448)) | (1L << (COUNTER - 448)) | (1L << (CPU - 448)) | (1L << (CREATE_NEW - 448)) | (1L << (CREATION_DISPOSITION - 448)) | (1L << (CREDENTIAL - 448)) | (1L << (CRYPTOGRAPHIC - 448)) | (1L << (CURSOR_CLOSE_ON_COMMIT - 448)) | (1L << (CURSOR_DEFAULT - 448)) | (1L << (DATE_CORRELATION_OPTIMIZATION - 448)) | (1L << (DATEADD - 448)) | (1L << (DATEDIFF - 448)) | (1L << (DATENAME - 448)) | (1L << (DATEPART - 448)) | (1L << (DAYS - 448)) | (1L << (DB_CHAINING - 448)) | (1L << (DB_FAILOVER - 448)) | (1L << (DECRYPTION - 448)) | (1L << (DEFAULT_DOUBLE_QUOTE - 448)) | (1L << (DEFAULT_FULLTEXT_LANGUAGE - 448)) | (1L << (DEFAULT_LANGUAGE - 448)) | (1L << (DELAY - 448)) | (1L << (DELAYED_DURABILITY - 448)) | (1L << (DELETED - 448)) | (1L << (DENSE_RANK - 448)) | (1L << (DEPENDENTS - 448)) | (1L << (DES - 448)) | (1L << (DESCRIPTION - 448)) | (1L << (DESX - 448)) | (1L << (DHCP - 448)) | (1L << (DIALOG - 448)) | (1L << (DIRECTORY_NAME - 448)) | (1L << (DISABLE - 448)) | (1L << (DISABLE_BROKER - 448)) | (1L << (DISABLED - 448)) | (1L << (DISK_DRIVE - 448)) | (1L << (DOCUMENT - 448)) | (1L << (DYNAMIC - 448)) | (1L << (EMERGENCY - 448)) | (1L << (EMPTY - 448)) | (1L << (ENABLE - 448)) | (1L << (ENABLE_BROKER - 448)) | (1L << (ENCRYPTED_VALUE - 448)) | (1L << (ENCRYPTION - 448)) | (1L << (ENDPOINT_URL - 448)) | (1L << (ERROR_BROKER_CONVERSATIONS - 448)) | (1L << (EXCLUSIVE - 448)) | (1L << (EXECUTABLE - 448)) | (1L << (EXIST - 448)) | (1L << (EXPAND - 448)) | (1L << (EXPIRY_DATE - 448)) | (1L << (EXPLICIT - 448)) | (1L << (FAIL_OPERATION - 448)) | (1L << (FAILOVER_MODE - 448)) | (1L << (FAILURE - 448)) | (1L << (FAILURE_CONDITION_LEVEL - 448)) | (1L << (FAST - 448)) | (1L << (FAST_FORWARD - 448)) | (1L << (FILEGROUP - 448)) | (1L << (FILEGROWTH - 448)) | (1L << (FILEPATH - 448)) | (1L << (FILESTREAM - 448)))) != 0) || ((((_la - 512)) & ~0x3f) == 0 && ((1L << (_la - 512)) & ((1L << (FILTER - 512)) | (1L << (FIRST - 512)) | (1L << (FIRST_VALUE - 512)) | (1L << (FOLLOWING - 512)) | (1L << (FORCE - 512)) | (1L << (FORCE_FAILOVER_ALLOW_DATA_LOSS - 512)) | (1L << (FORCED - 512)) | (1L << (FORMAT - 512)) | (1L << (FORWARD_ONLY - 512)) | (1L << (FULLSCAN - 512)) | (1L << (FULLTEXT - 512)) | (1L << (GB - 512)) | (1L << (GETDATE - 512)) | (1L << (GETUTCDATE - 512)) | (1L << (GLOBAL - 512)) | (1L << (GO - 512)) | (1L << (GROUP_MAX_REQUESTS - 512)) | (1L << (GROUPING - 512)) | (1L << (GROUPING_ID - 512)) | (1L << (HADR - 512)) | (1L << (HASH - 512)) | (1L << (HEALTH_CHECK_TIMEOUT - 512)) | (1L << (HIGH - 512)) | (1L << (HONOR_BROKER_PRIORITY - 512)) | (1L << (HOURS - 512)) | (1L << (IDENTITY_VALUE - 512)) | (1L << (IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX - 512)) | (1L << (IMMEDIATE - 512)) | (1L << (IMPERSONATE - 512)) | (1L << (IMPORTANCE - 512)) | (1L << (INCREMENTAL - 512)) | (1L << (INITIATOR - 512)) | (1L << (INPUT - 512)) | (1L << (INSENSITIVE - 512)) | (1L << (INSERTED - 512)) | (1L << (INT - 512)) | (1L << (IP - 512)) | (1L << (ISOLATION - 512)) | (1L << (KB - 512)) | (1L << (KEEP - 512)) | (1L << (KEEPFIXED - 512)) | (1L << (KEY_SOURCE - 512)) | (1L << (KEYS - 512)) | (1L << (KEYSET - 512)) | (1L << (LAG - 512)) | (1L << (LAST - 512)) | (1L << (LAST_VALUE - 512)) | (1L << (LEAD - 512)) | (1L << (LEVEL - 512)) | (1L << (LIST - 512)) | (1L << (LISTENER - 512)) | (1L << (LISTENER_URL - 512)) | (1L << (LOB_COMPACTION - 512)) | (1L << (LOCAL - 512)) | (1L << (LOCATION - 512)) | (1L << (LOCK - 512)) | (1L << (LOCK_ESCALATION - 512)) | (1L << (LOGIN - 512)) | (1L << (LOOP - 512)) | (1L << (LOW - 512)) | (1L << (MANUAL - 512)) | (1L << (MARK - 512)))) != 0) || ((((_la - 576)) & ~0x3f) == 0 && ((1L << (_la - 576)) & ((1L << (MATERIALIZED - 576)) | (1L << (MAX - 576)) | (1L << (MAX_CPU_PERCENT - 576)) | (1L << (MAX_DOP - 576)) | (1L << (MAX_FILES - 576)) | (1L << (MAX_IOPS_PER_VOLUME - 576)) | (1L << (MAX_MEMORY_PERCENT - 576)) | (1L << (MAX_PROCESSES - 576)) | (1L << (MAX_QUEUE_READERS - 576)) | (1L << (MAX_ROLLOVER_FILES - 576)) | (1L << (MAXDOP - 576)) | (1L << (MAXRECURSION - 576)) | (1L << (MAXSIZE - 576)) | (1L << (MB - 576)) | (1L << (MEDIUM - 576)) | (1L << (MEMORY_OPTIMIZED_DATA - 576)) | (1L << (MESSAGE - 576)) | (1L << (MIN - 576)) | (1L << (MIN_ACTIVE_ROWVERSION - 576)) | (1L << (MIN_CPU_PERCENT - 576)) | (1L << (MIN_IOPS_PER_VOLUME - 576)) | (1L << (MIN_MEMORY_PERCENT - 576)) | (1L << (MINUTES - 576)) | (1L << (MIRROR_ADDRESS - 576)) | (1L << (MIXED_PAGE_ALLOCATION - 576)) | (1L << (MODE - 576)) | (1L << (MODIFY - 576)) | (1L << (MOVE - 576)) | (1L << (MULTI_USER - 576)) | (1L << (NAME - 576)) | (1L << (NESTED_TRIGGERS - 576)) | (1L << (NEW_ACCOUNT - 576)) | (1L << (NEW_BROKER - 576)) | (1L << (NEW_PASSWORD - 576)) | (1L << (NEXT - 576)) | (1L << (NO - 576)) | (1L << (NO_TRUNCATE - 576)) | (1L << (NO_WAIT - 576)) | (1L << (NOCOUNT - 576)) | (1L << (NODES - 576)) | (1L << (NOEXPAND - 576)) | (1L << (NON_TRANSACTED_ACCESS - 576)) | (1L << (NORECOMPUTE - 576)) | (1L << (NORECOVERY - 576)) | (1L << (NOWAIT - 576)) | (1L << (NTILE - 576)) | (1L << (NUMANODE - 576)) | (1L << (NUMBER - 576)) | (1L << (NUMERIC_ROUNDABORT - 576)) | (1L << (OBJECT - 576)) | (1L << (OFFLINE - 576)) | (1L << (OFFSET - 576)) | (1L << (OLD_ACCOUNT - 576)) | (1L << (ONLINE - 576)) | (1L << (ONLY - 576)) | (1L << (OPEN_EXISTING - 576)) | (1L << (OPTIMISTIC - 576)) | (1L << (OPTIMIZE - 576)) | (1L << (OUT - 576)) | (1L << (OUTPUT - 576)) | (1L << (OWNER - 576)) | (1L << (PAGE_VERIFY - 576)) | (1L << (PARAMETERIZATION - 576)) | (1L << (PARTITION - 576)))) != 0) || ((((_la - 640)) & ~0x3f) == 0 && ((1L << (_la - 640)) & ((1L << (PARTITIONS - 640)) | (1L << (PARTNER - 640)) | (1L << (PATH - 640)) | (1L << (POISON_MESSAGE_HANDLING - 640)) | (1L << (POOL - 640)) | (1L << (PORT - 640)) | (1L << (PRECEDING - 640)) | (1L << (PRIMARY_ROLE - 640)) | (1L << (PRIOR - 640)) | (1L << (PRIORITY - 640)) | (1L << (PRIORITY_LEVEL - 640)) | (1L << (PRIVATE - 640)) | (1L << (PRIVATE_KEY - 640)) | (1L << (PRIVILEGES - 640)) | (1L << (PROCEDURE_NAME - 640)) | (1L << (PROPERTY - 640)) | (1L << (PROVIDER - 640)) | (1L << (PROVIDER_KEY_NAME - 640)) | (1L << (QUERY - 640)) | (1L << (QUEUE - 640)) | (1L << (QUEUE_DELAY - 640)) | (1L << (QUOTED_IDENTIFIER - 640)) | (1L << (RANGE - 640)) | (1L << (RANK - 640)) | (1L << (RC2 - 640)) | (1L << (RC4 - 640)) | (1L << (RC4_128 - 640)) | (1L << (READ_COMMITTED_SNAPSHOT - 640)) | (1L << (READ_ONLY - 640)) | (1L << (READ_ONLY_ROUTING_LIST - 640)) | (1L << (READ_WRITE - 640)) | (1L << (READONLY - 640)) | (1L << (REBUILD - 640)) | (1L << (RECEIVE - 640)) | (1L << (RECOMPILE - 640)) | (1L << (RECOVERY - 640)) | (1L << (RECURSIVE_TRIGGERS - 640)) | (1L << (RELATIVE - 640)) | (1L << (REMOTE - 640)) | (1L << (REMOTE_SERVICE_NAME - 640)) | (1L << (REMOVE - 640)) | (1L << (REORGANIZE - 640)) | (1L << (REPEATABLE - 640)) | (1L << (REPLICA - 640)) | (1L << (REQUEST_MAX_CPU_TIME_SEC - 640)) | (1L << (REQUEST_MAX_MEMORY_GRANT_PERCENT - 640)) | (1L << (REQUEST_MEMORY_GRANT_TIMEOUT_SEC - 640)) | (1L << (REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT - 640)) | (1L << (RESERVE_DISK_SPACE - 640)) | (1L << (RESOURCE - 640)) | (1L << (RESOURCE_MANAGER_LOCATION - 640)) | (1L << (RESTRICTED_USER - 640)) | (1L << (RETENTION - 640)) | (1L << (ROBUST - 640)) | (1L << (ROOT - 640)) | (1L << (ROUTE - 640)) | (1L << (ROW - 640)) | (1L << (ROW_NUMBER - 640)) | (1L << (ROWGUID - 640)) | (1L << (ROWS - 640)) | (1L << (SAMPLE - 640)) | (1L << (SCHEMABINDING - 640)) | (1L << (SCOPED - 640)) | (1L << (SCROLL - 640)))) != 0) || ((((_la - 704)) & ~0x3f) == 0 && ((1L << (_la - 704)) & ((1L << (SCROLL_LOCKS - 704)) | (1L << (SEARCH - 704)) | (1L << (SECONDARY - 704)) | (1L << (SECONDARY_ONLY - 704)) | (1L << (SECONDARY_ROLE - 704)) | (1L << (SECONDS - 704)) | (1L << (SECRET - 704)) | (1L << (SECURITY_LOG - 704)) | (1L << (SEEDING_MODE - 704)) | (1L << (SELF - 704)) | (1L << (SEMI_SENSITIVE - 704)) | (1L << (SEND - 704)) | (1L << (SENT - 704)) | (1L << (SERIALIZABLE - 704)) | (1L << (SESSION_TIMEOUT - 704)) | (1L << (SETERROR - 704)) | (1L << (SHARE - 704)) | (1L << (SHOWPLAN - 704)) | (1L << (SIGNATURE - 704)) | (1L << (SIMPLE - 704)) | (1L << (SINGLE_USER - 704)) | (1L << (SIZE - 704)) | (1L << (SMALLINT - 704)) | (1L << (SNAPSHOT - 704)) | (1L << (SPATIAL_WINDOW_MAX_CELLS - 704)) | (1L << (STANDBY - 704)) | (1L << (START_DATE - 704)) | (1L << (STATIC - 704)) | (1L << (STATS_STREAM - 704)) | (1L << (STATUS - 704)) | (1L << (STDEV - 704)) | (1L << (STDEVP - 704)) | (1L << (STOPLIST - 704)) | (1L << (STUFF - 704)) | (1L << (SUBJECT - 704)) | (1L << (SUM - 704)) | (1L << (SUSPEND - 704)) | (1L << (SYMMETRIC - 704)) | (1L << (SYNCHRONOUS_COMMIT - 704)) | (1L << (SYNONYM - 704)) | (1L << (TAKE - 704)) | (1L << (TARGET_RECOVERY_TIME - 704)) | (1L << (TB - 704)) | (1L << (TEXTIMAGE_ON - 704)) | (1L << (THROW - 704)) | (1L << (TIES - 704)) | (1L << (TIME - 704)) | (1L << (TIMEOUT - 704)) | (1L << (TIMER - 704)) | (1L << (TINYINT - 704)) | (1L << (TORN_PAGE_DETECTION - 704)) | (1L << (TRANSFORM_NOISE_WORDS - 704)) | (1L << (TRIPLE_DES - 704)) | (1L << (TRIPLE_DES_3KEY - 704)) | (1L << (TRUSTWORTHY - 704)) | (1L << (TRY - 704)) | (1L << (TSQL - 704)) | (1L << (TWO_DIGIT_YEAR_CUTOFF - 704)) | (1L << (TYPE - 704)) | (1L << (TYPE_WARNING - 704)) | (1L << (UNBOUNDED - 704)) | (1L << (UNCOMMITTED - 704)) | (1L << (UNKNOWN - 704)) | (1L << (UNLIMITED - 704)))) != 0) || ((((_la - 768)) & ~0x3f) == 0 && ((1L << (_la - 768)) & ((1L << (USING - 768)) | (1L << (VALID_XML - 768)) | (1L << (VALIDATION - 768)) | (1L << (VALUE - 768)) | (1L << (VAR - 768)) | (1L << (VARP - 768)) | (1L << (VIEW_METADATA - 768)) | (1L << (VIEWS - 768)) | (1L << (WAIT - 768)) | (1L << (WELL_FORMED_XML - 768)) | (1L << (WORK - 768)) | (1L << (WORKLOAD - 768)) | (1L << (XML - 768)) | (1L << (XMLNAMESPACES - 768)) | (1L << (DOUBLE_QUOTE_ID - 768)) | (1L << (SQUARE_BRACKET_ID - 768)) | (1L << (ID - 768)) | (1L << (LR_BRACKET - 768)) | (1L << (COMMA - 768)))) != 0) );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Event_session_predicate_factorContext extends ParserRuleContext {
public Event_session_predicate_leafContext event_session_predicate_leaf() {
return getRuleContext(Event_session_predicate_leafContext.class,0);
}
public TerminalNode LR_BRACKET() { return getToken(TSqlParser.LR_BRACKET, 0); }
public Event_session_predicate_expressionContext event_session_predicate_expression() {
return getRuleContext(Event_session_predicate_expressionContext.class,0);
}
public TerminalNode RR_BRACKET() { return getToken(TSqlParser.RR_BRACKET, 0); }
public Event_session_predicate_factorContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_event_session_predicate_factor; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterEvent_session_predicate_factor(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitEvent_session_predicate_factor(this);
}
}
public final Event_session_predicate_factorContext event_session_predicate_factor() throws RecognitionException {
Event_session_predicate_factorContext _localctx = new Event_session_predicate_factorContext(_ctx, getState());
enterRule(_localctx, 290, RULE_event_session_predicate_factor);
try {
setState(3178);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CALLED:
case DATA_COMPRESSION:
case EVENTDATA:
case FILENAME:
case FILLFACTOR:
case FORCESEEK:
case INIT:
case KEY:
case MASTER:
case MAX_MEMORY:
case OFFSETS:
case PAGE:
case PUBLIC:
case R:
case RAW:
case RETURN:
case RETURNS:
case ROWCOUNT:
case SAFETY:
case SERVER:
case SID:
case SOURCE:
case STATE:
case START:
case TARGET:
case ABSOLUTE:
case ACCENT_SENSITIVITY:
case ACTION:
case ACTIVATION:
case ACTIVE:
case ADDRESS:
case AES_128:
case AES_192:
case AES_256:
case AFFINITY:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ALLOW_ENCRYPTED_VALUE_MODIFICATIONS:
case ALLOW_SNAPSHOT_ISOLATION:
case ALLOWED:
case ANSI_NULL_DEFAULT:
case ANSI_NULLS:
case ANSI_PADDING:
case ANSI_WARNINGS:
case APPLICATION_LOG:
case APPLY:
case ARITHABORT:
case ASSEMBLY:
case AUDIT:
case AUDIT_GUID:
case AUTO:
case AUTO_CLEANUP:
case AUTO_CLOSE:
case AUTO_CREATE_STATISTICS:
case AUTO_SHRINK:
case AUTO_UPDATE_STATISTICS:
case AUTO_UPDATE_STATISTICS_ASYNC:
case AVAILABILITY:
case AVG:
case BACKUP_PRIORITY:
case BEGIN_DIALOG:
case BIGINT:
case BINARY_BASE64:
case BINARY_CHECKSUM:
case BINDING:
case BLOB_STORAGE:
case BROKER:
case BROKER_INSTANCE:
case BULK_LOGGED:
case CALLER:
case CAP_CPU_PERCENT:
case CAST:
case CATALOG:
case CATCH:
case CHANGE_RETENTION:
case CHANGE_TRACKING:
case CHECKSUM:
case CHECKSUM_AGG:
case CLEANUP:
case COLLECTION:
case COLUMN_MASTER_KEY:
case COMMITTED:
case COMPATIBILITY_LEVEL:
case CONCAT:
case CONCAT_NULL_YIELDS_NULL:
case CONTENT:
case CONTROL:
case COOKIE:
case COUNT:
case COUNT_BIG:
case COUNTER:
case CPU:
case CREATE_NEW:
case CREATION_DISPOSITION:
case CREDENTIAL:
case CRYPTOGRAPHIC:
case CURSOR_CLOSE_ON_COMMIT:
case CURSOR_DEFAULT:
case DATE_CORRELATION_OPTIMIZATION:
case DATEADD:
case DATEDIFF:
case DATENAME:
case DATEPART:
case DAYS:
case DB_CHAINING:
case DB_FAILOVER:
case DECRYPTION:
case DEFAULT_DOUBLE_QUOTE:
case DEFAULT_FULLTEXT_LANGUAGE:
case DEFAULT_LANGUAGE:
case DELAY:
case DELAYED_DURABILITY:
case DELETED:
case DENSE_RANK:
case DEPENDENTS:
case DES:
case DESCRIPTION:
case DESX:
case DHCP:
case DIALOG:
case DIRECTORY_NAME:
case DISABLE:
case DISABLE_BROKER:
case DISABLED:
case DISK_DRIVE:
case DOCUMENT:
case DYNAMIC:
case EMERGENCY:
case EMPTY:
case ENABLE:
case ENABLE_BROKER:
case ENCRYPTED_VALUE:
case ENCRYPTION:
case ENDPOINT_URL:
case ERROR_BROKER_CONVERSATIONS:
case EXCLUSIVE:
case EXECUTABLE:
case EXIST:
case EXPAND:
case EXPIRY_DATE:
case EXPLICIT:
case FAIL_OPERATION:
case FAILOVER_MODE:
case FAILURE:
case FAILURE_CONDITION_LEVEL:
case FAST:
case FAST_FORWARD:
case FILEGROUP:
case FILEGROWTH:
case FILEPATH:
case FILESTREAM:
case FILTER:
case FIRST:
case FIRST_VALUE:
case FOLLOWING:
case FORCE:
case FORCE_FAILOVER_ALLOW_DATA_LOSS:
case FORCED:
case FORMAT:
case FORWARD_ONLY:
case FULLSCAN:
case FULLTEXT:
case GB:
case GETDATE:
case GETUTCDATE:
case GLOBAL:
case GO:
case GROUP_MAX_REQUESTS:
case GROUPING:
case GROUPING_ID:
case HADR:
case HASH:
case HEALTH_CHECK_TIMEOUT:
case HIGH:
case HONOR_BROKER_PRIORITY:
case HOURS:
case IDENTITY_VALUE:
case IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX:
case IMMEDIATE:
case IMPERSONATE:
case IMPORTANCE:
case INCREMENTAL:
case INITIATOR:
case INPUT:
case INSENSITIVE:
case INSERTED:
case INT:
case IP:
case ISOLATION:
case KB:
case KEEP:
case KEEPFIXED:
case KEY_SOURCE:
case KEYS:
case KEYSET:
case LAG:
case LAST:
case LAST_VALUE:
case LEAD:
case LEVEL:
case LIST:
case LISTENER:
case LISTENER_URL:
case LOB_COMPACTION:
case LOCAL:
case LOCATION:
case LOCK:
case LOCK_ESCALATION:
case LOGIN:
case LOOP:
case LOW:
case MANUAL:
case MARK:
case MATERIALIZED:
case MAX:
case MAX_CPU_PERCENT:
case MAX_DOP:
case MAX_FILES:
case MAX_IOPS_PER_VOLUME:
case MAX_MEMORY_PERCENT:
case MAX_PROCESSES:
case MAX_QUEUE_READERS:
case MAX_ROLLOVER_FILES:
case MAXDOP:
case MAXRECURSION:
case MAXSIZE:
case MB:
case MEDIUM:
case MEMORY_OPTIMIZED_DATA:
case MESSAGE:
case MIN:
case MIN_ACTIVE_ROWVERSION:
case MIN_CPU_PERCENT:
case MIN_IOPS_PER_VOLUME:
case MIN_MEMORY_PERCENT:
case MINUTES:
case MIRROR_ADDRESS:
case MIXED_PAGE_ALLOCATION:
case MODE:
case MODIFY:
case MOVE:
case MULTI_USER:
case NAME:
case NESTED_TRIGGERS:
case NEW_ACCOUNT:
case NEW_BROKER:
case NEW_PASSWORD:
case NEXT:
case NO:
case NO_TRUNCATE:
case NO_WAIT:
case NOCOUNT:
case NODES:
case NOEXPAND:
case NON_TRANSACTED_ACCESS:
case NORECOMPUTE:
case NORECOVERY:
case NOWAIT:
case NTILE:
case NUMANODE:
case NUMBER:
case NUMERIC_ROUNDABORT:
case OBJECT:
case OFFLINE:
case OFFSET:
case OLD_ACCOUNT:
case ONLINE:
case ONLY:
case OPEN_EXISTING:
case OPTIMISTIC:
case OPTIMIZE:
case OUT:
case OUTPUT:
case OWNER:
case PAGE_VERIFY:
case PARAMETERIZATION:
case PARTITION:
case PARTITIONS:
case PARTNER:
case PATH:
case POISON_MESSAGE_HANDLING:
case POOL:
case PORT:
case PRECEDING:
case PRIMARY_ROLE:
case PRIOR:
case PRIORITY:
case PRIORITY_LEVEL:
case PRIVATE:
case PRIVATE_KEY:
case PRIVILEGES:
case PROCEDURE_NAME:
case PROPERTY:
case PROVIDER:
case PROVIDER_KEY_NAME:
case QUERY:
case QUEUE:
case QUEUE_DELAY:
case QUOTED_IDENTIFIER:
case RANGE:
case RANK:
case RC2:
case RC4:
case RC4_128:
case READ_COMMITTED_SNAPSHOT:
case READ_ONLY:
case READ_ONLY_ROUTING_LIST:
case READ_WRITE:
case READONLY:
case REBUILD:
case RECEIVE:
case RECOMPILE:
case RECOVERY:
case RECURSIVE_TRIGGERS:
case RELATIVE:
case REMOTE:
case REMOTE_SERVICE_NAME:
case REMOVE:
case REORGANIZE:
case REPEATABLE:
case REPLICA:
case REQUEST_MAX_CPU_TIME_SEC:
case REQUEST_MAX_MEMORY_GRANT_PERCENT:
case REQUEST_MEMORY_GRANT_TIMEOUT_SEC:
case REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT:
case RESERVE_DISK_SPACE:
case RESOURCE:
case RESOURCE_MANAGER_LOCATION:
case RESTRICTED_USER:
case RETENTION:
case ROBUST:
case ROOT:
case ROUTE:
case ROW:
case ROW_NUMBER:
case ROWGUID:
case ROWS:
case SAMPLE:
case SCHEMABINDING:
case SCOPED:
case SCROLL:
case SCROLL_LOCKS:
case SEARCH:
case SECONDARY:
case SECONDARY_ONLY:
case SECONDARY_ROLE:
case SECONDS:
case SECRET:
case SECURITY_LOG:
case SEEDING_MODE:
case SELF:
case SEMI_SENSITIVE:
case SEND:
case SENT:
case SERIALIZABLE:
case SESSION_TIMEOUT:
case SETERROR:
case SHARE:
case SHOWPLAN:
case SIGNATURE:
case SIMPLE:
case SINGLE_USER:
case SIZE:
case SMALLINT:
case SNAPSHOT:
case SPATIAL_WINDOW_MAX_CELLS:
case STANDBY:
case START_DATE:
case STATIC:
case STATS_STREAM:
case STATUS:
case STDEV:
case STDEVP:
case STOPLIST:
case STUFF:
case SUBJECT:
case SUM:
case SUSPEND:
case SYMMETRIC:
case SYNCHRONOUS_COMMIT:
case SYNONYM:
case TAKE:
case TARGET_RECOVERY_TIME:
case TB:
case TEXTIMAGE_ON:
case THROW:
case TIES:
case TIME:
case TIMEOUT:
case TIMER:
case TINYINT:
case TORN_PAGE_DETECTION:
case TRANSFORM_NOISE_WORDS:
case TRIPLE_DES:
case TRIPLE_DES_3KEY:
case TRUSTWORTHY:
case TRY:
case TSQL:
case TWO_DIGIT_YEAR_CUTOFF:
case TYPE:
case TYPE_WARNING:
case UNBOUNDED:
case UNCOMMITTED:
case UNKNOWN:
case UNLIMITED:
case USING:
case VALID_XML:
case VALIDATION:
case VALUE:
case VAR:
case VARP:
case VIEW_METADATA:
case VIEWS:
case WAIT:
case WELL_FORMED_XML:
case WORK:
case WORKLOAD:
case XML:
case XMLNAMESPACES:
case DOUBLE_QUOTE_ID:
case SQUARE_BRACKET_ID:
case ID:
enterOuterAlt(_localctx, 1);
{
setState(3173);
event_session_predicate_leaf();
}
break;
case LR_BRACKET:
enterOuterAlt(_localctx, 2);
{
setState(3174);
match(LR_BRACKET);
setState(3175);
event_session_predicate_expression();
setState(3176);
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 Event_session_predicate_leafContext extends ParserRuleContext {
public IdContext event_field_name;
public IdContext event_module_guid;
public IdContext event_package_name;
public IdContext predicate_source_name;
public IdContext predicate_compare_name;
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode DECIMAL() { return getToken(TSqlParser.DECIMAL, 0); }
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public TerminalNode EQUAL() { return getToken(TSqlParser.EQUAL, 0); }
public TerminalNode GREATER() { return getToken(TSqlParser.GREATER, 0); }
public TerminalNode LESS() { return getToken(TSqlParser.LESS, 0); }
public List DOT() { return getTokens(TSqlParser.DOT); }
public TerminalNode DOT(int i) {
return getToken(TSqlParser.DOT, i);
}
public TerminalNode EXCLAMATION() { return getToken(TSqlParser.EXCLAMATION, 0); }
public TerminalNode LR_BRACKET() { return getToken(TSqlParser.LR_BRACKET, 0); }
public TerminalNode RR_BRACKET() { return getToken(TSqlParser.RR_BRACKET, 0); }
public TerminalNode COMMA() { return getToken(TSqlParser.COMMA, 0); }
public Event_session_predicate_leafContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_event_session_predicate_leaf; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterEvent_session_predicate_leaf(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitEvent_session_predicate_leaf(this);
}
}
public final Event_session_predicate_leafContext event_session_predicate_leaf() throws RecognitionException {
Event_session_predicate_leafContext _localctx = new Event_session_predicate_leafContext(_ctx, getState());
enterRule(_localctx, 292, RULE_event_session_predicate_leaf);
int _la;
try {
setState(3236);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,286,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(3208);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,282,_ctx) ) {
case 1:
{
setState(3180);
((Event_session_predicate_leafContext)_localctx).event_field_name = id();
}
break;
case 2:
{
setState(3191);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,280,_ctx) ) {
case 1:
{
setState(3181);
((Event_session_predicate_leafContext)_localctx).event_field_name = id();
}
break;
case 2:
{
{
setState(3185);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,279,_ctx) ) {
case 1:
{
setState(3182);
((Event_session_predicate_leafContext)_localctx).event_module_guid = id();
setState(3183);
match(DOT);
}
break;
}
setState(3187);
((Event_session_predicate_leafContext)_localctx).event_package_name = id();
setState(3188);
match(DOT);
setState(3189);
((Event_session_predicate_leafContext)_localctx).predicate_source_name = id();
}
}
break;
}
setState(3204);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,281,_ctx) ) {
case 1:
{
setState(3193);
match(EQUAL);
}
break;
case 2:
{
{
setState(3194);
match(LESS);
setState(3195);
match(GREATER);
}
}
break;
case 3:
{
{
setState(3196);
match(EXCLAMATION);
setState(3197);
match(EQUAL);
}
}
break;
case 4:
{
setState(3198);
match(GREATER);
}
break;
case 5:
{
{
setState(3199);
match(GREATER);
setState(3200);
match(EQUAL);
}
}
break;
case 6:
{
setState(3201);
match(LESS);
}
break;
case 7:
{
setState(3202);
match(LESS);
setState(3203);
match(EQUAL);
}
break;
}
setState(3206);
_la = _input.LA(1);
if ( !(_la==DECIMAL || _la==STRING) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(3213);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,283,_ctx) ) {
case 1:
{
setState(3210);
((Event_session_predicate_leafContext)_localctx).event_module_guid = id();
setState(3211);
match(DOT);
}
break;
}
setState(3215);
((Event_session_predicate_leafContext)_localctx).event_package_name = id();
setState(3216);
match(DOT);
setState(3217);
((Event_session_predicate_leafContext)_localctx).predicate_compare_name = id();
setState(3218);
match(LR_BRACKET);
setState(3232);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,285,_ctx) ) {
case 1:
{
setState(3219);
((Event_session_predicate_leafContext)_localctx).event_field_name = id();
}
break;
case 2:
{
{
setState(3223);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,284,_ctx) ) {
case 1:
{
setState(3220);
((Event_session_predicate_leafContext)_localctx).event_module_guid = id();
setState(3221);
match(DOT);
}
break;
}
setState(3225);
((Event_session_predicate_leafContext)_localctx).event_package_name = id();
setState(3226);
match(DOT);
setState(3227);
((Event_session_predicate_leafContext)_localctx).predicate_source_name = id();
}
setState(3229);
match(COMMA);
setState(3230);
_la = _input.LA(1);
if ( !(_la==DECIMAL || _la==STRING) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
setState(3234);
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 Alter_external_data_sourceContext extends ParserRuleContext {
public IdContext data_source_name;
public Token location;
public Token resource_manager_location;
public IdContext credential_name;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode EXTERNAL() { return getToken(TSqlParser.EXTERNAL, 0); }
public TerminalNode DATA() { return getToken(TSqlParser.DATA, 0); }
public TerminalNode SOURCE() { return getToken(TSqlParser.SOURCE, 0); }
public TerminalNode SET() { return getToken(TSqlParser.SET, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public List LOCATION() { return getTokens(TSqlParser.LOCATION); }
public TerminalNode LOCATION(int i) {
return getToken(TSqlParser.LOCATION, i);
}
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public List RESOURCE_MANAGER_LOCATION() { return getTokens(TSqlParser.RESOURCE_MANAGER_LOCATION); }
public TerminalNode RESOURCE_MANAGER_LOCATION(int i) {
return getToken(TSqlParser.RESOURCE_MANAGER_LOCATION, i);
}
public List CREDENTIAL() { return getTokens(TSqlParser.CREDENTIAL); }
public TerminalNode CREDENTIAL(int i) {
return getToken(TSqlParser.CREDENTIAL, i);
}
public List QUOTED_URL() { return getTokens(TSqlParser.QUOTED_URL); }
public TerminalNode QUOTED_URL(int i) {
return getToken(TSqlParser.QUOTED_URL, i);
}
public List QUOTED_HOST_AND_PORT() { return getTokens(TSqlParser.QUOTED_HOST_AND_PORT); }
public TerminalNode QUOTED_HOST_AND_PORT(int i) {
return getToken(TSqlParser.QUOTED_HOST_AND_PORT, i);
}
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode LR_BRACKET() { return getToken(TSqlParser.LR_BRACKET, 0); }
public TerminalNode TYPE() { return getToken(TSqlParser.TYPE, 0); }
public TerminalNode BLOB_STORAGE() { return getToken(TSqlParser.BLOB_STORAGE, 0); }
public TerminalNode RR_BRACKET() { return getToken(TSqlParser.RR_BRACKET, 0); }
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public Alter_external_data_sourceContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_external_data_source; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_external_data_source(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_external_data_source(this);
}
}
public final Alter_external_data_sourceContext alter_external_data_source() throws RecognitionException {
Alter_external_data_sourceContext _localctx = new Alter_external_data_sourceContext(_ctx, getState());
enterRule(_localctx, 294, RULE_alter_external_data_source);
int _la;
try {
int _alt;
setState(3285);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,292,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(3238);
match(ALTER);
setState(3239);
match(EXTERNAL);
setState(3240);
match(DATA);
setState(3241);
match(SOURCE);
setState(3242);
((Alter_external_data_sourceContext)_localctx).data_source_name = id();
setState(3243);
match(SET);
setState(3259);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
setState(3259);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LOCATION:
{
setState(3244);
match(LOCATION);
setState(3245);
match(EQUAL);
setState(3246);
((Alter_external_data_sourceContext)_localctx).location = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==QUOTED_URL || _la==QUOTED_HOST_AND_PORT) ) {
((Alter_external_data_sourceContext)_localctx).location = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(3248);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3247);
match(COMMA);
}
}
}
break;
case RESOURCE_MANAGER_LOCATION:
{
setState(3250);
match(RESOURCE_MANAGER_LOCATION);
setState(3251);
match(EQUAL);
setState(3252);
((Alter_external_data_sourceContext)_localctx).resource_manager_location = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==QUOTED_URL || _la==QUOTED_HOST_AND_PORT) ) {
((Alter_external_data_sourceContext)_localctx).resource_manager_location = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(3254);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3253);
match(COMMA);
}
}
}
break;
case CREDENTIAL:
{
setState(3256);
match(CREDENTIAL);
setState(3257);
match(EQUAL);
setState(3258);
((Alter_external_data_sourceContext)_localctx).credential_name = id();
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(3261);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,290,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(3263);
match(ALTER);
setState(3264);
match(EXTERNAL);
setState(3265);
match(DATA);
setState(3266);
match(SOURCE);
setState(3267);
((Alter_external_data_sourceContext)_localctx).data_source_name = id();
setState(3268);
match(WITH);
setState(3269);
match(LR_BRACKET);
setState(3270);
match(TYPE);
setState(3271);
match(EQUAL);
setState(3272);
match(BLOB_STORAGE);
setState(3273);
match(COMMA);
setState(3274);
match(LOCATION);
setState(3275);
match(EQUAL);
setState(3276);
((Alter_external_data_sourceContext)_localctx).location = match(STRING);
setState(3281);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3277);
match(COMMA);
setState(3278);
match(CREDENTIAL);
setState(3279);
match(EQUAL);
setState(3280);
((Alter_external_data_sourceContext)_localctx).credential_name = id();
}
}
setState(3283);
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 Alter_external_libraryContext extends ParserRuleContext {
public IdContext library_name;
public IdContext owner_name;
public Token client_library;
public IdContext external_data_source_name;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode EXTERNAL() { return getToken(TSqlParser.EXTERNAL, 0); }
public TerminalNode LIBRARY() { return getToken(TSqlParser.LIBRARY, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode SET() { return getToken(TSqlParser.SET, 0); }
public TerminalNode ADD() { return getToken(TSqlParser.ADD, 0); }
public TerminalNode LR_BRACKET() { return getToken(TSqlParser.LR_BRACKET, 0); }
public TerminalNode CONTENT() { return getToken(TSqlParser.CONTENT, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public List RR_BRACKET() { return getTokens(TSqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(TSqlParser.RR_BRACKET, i);
}
public TerminalNode AUTHORIZATION() { return getToken(TSqlParser.AUTHORIZATION, 0); }
public TerminalNode BINARY() { return getToken(TSqlParser.BINARY, 0); }
public TerminalNode NONE() { return getToken(TSqlParser.NONE, 0); }
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public TerminalNode PLATFORM() { return getToken(TSqlParser.PLATFORM, 0); }
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public List LANGUAGE() { return getTokens(TSqlParser.LANGUAGE); }
public TerminalNode LANGUAGE(int i) {
return getToken(TSqlParser.LANGUAGE, i);
}
public List DATA_SOURCE() { return getTokens(TSqlParser.DATA_SOURCE); }
public TerminalNode DATA_SOURCE(int i) {
return getToken(TSqlParser.DATA_SOURCE, i);
}
public List R() { return getTokens(TSqlParser.R); }
public TerminalNode R(int i) {
return getToken(TSqlParser.R, i);
}
public List PYTHON() { return getTokens(TSqlParser.PYTHON); }
public TerminalNode PYTHON(int i) {
return getToken(TSqlParser.PYTHON, i);
}
public TerminalNode WINDOWS() { return getToken(TSqlParser.WINDOWS, 0); }
public TerminalNode LINUX() { return getToken(TSqlParser.LINUX, 0); }
public Alter_external_libraryContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_external_library; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_external_library(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_external_library(this);
}
}
public final Alter_external_libraryContext alter_external_library() throws RecognitionException {
Alter_external_libraryContext _localctx = new Alter_external_libraryContext(_ctx, getState());
enterRule(_localctx, 296, RULE_alter_external_library);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3287);
match(ALTER);
setState(3288);
match(EXTERNAL);
setState(3289);
match(LIBRARY);
setState(3290);
((Alter_external_libraryContext)_localctx).library_name = id();
setState(3293);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AUTHORIZATION) {
{
setState(3291);
match(AUTHORIZATION);
setState(3292);
((Alter_external_libraryContext)_localctx).owner_name = id();
}
}
setState(3295);
_la = _input.LA(1);
if ( !(_la==ADD || _la==SET) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
{
setState(3296);
match(LR_BRACKET);
setState(3297);
match(CONTENT);
setState(3298);
match(EQUAL);
setState(3302);
_errHandler.sync(this);
switch (_input.LA(1)) {
case STRING:
{
setState(3299);
((Alter_external_libraryContext)_localctx).client_library = match(STRING);
}
break;
case BINARY:
{
setState(3300);
match(BINARY);
}
break;
case NONE:
{
setState(3301);
match(NONE);
}
break;
default:
throw new NoViableAltException(this);
}
{
setState(3304);
match(COMMA);
setState(3305);
match(PLATFORM);
setState(3306);
match(EQUAL);
setState(3308);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LINUX || _la==WINDOWS) {
{
setState(3307);
_la = _input.LA(1);
if ( !(_la==LINUX || _la==WINDOWS) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3310);
match(RR_BRACKET);
}
setState(3312);
match(WITH);
setState(3322);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
setState(3322);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LANGUAGE:
case COMMA:
{
setState(3314);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3313);
match(COMMA);
}
}
setState(3316);
match(LANGUAGE);
setState(3317);
match(EQUAL);
setState(3318);
_la = _input.LA(1);
if ( !(_la==PYTHON || _la==R) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case DATA_SOURCE:
{
setState(3319);
match(DATA_SOURCE);
setState(3320);
match(EQUAL);
setState(3321);
((Alter_external_libraryContext)_localctx).external_data_source_name = id();
}
break;
default:
throw new NoViableAltException(this);
}
}
setState(3324);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==DATA_SOURCE || _la==LANGUAGE || _la==COMMA );
setState(3326);
match(RR_BRACKET);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Create_external_libraryContext extends ParserRuleContext {
public IdContext library_name;
public IdContext owner_name;
public Token client_library;
public IdContext external_data_source_name;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode EXTERNAL() { return getToken(TSqlParser.EXTERNAL, 0); }
public TerminalNode LIBRARY() { return getToken(TSqlParser.LIBRARY, 0); }
public TerminalNode FROM() { return getToken(TSqlParser.FROM, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode AUTHORIZATION() { return getToken(TSqlParser.AUTHORIZATION, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public List RR_BRACKET() { return getTokens(TSqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(TSqlParser.RR_BRACKET, i);
}
public TerminalNode BINARY() { return getToken(TSqlParser.BINARY, 0); }
public TerminalNode NONE() { return getToken(TSqlParser.NONE, 0); }
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public TerminalNode LR_BRACKET() { return getToken(TSqlParser.LR_BRACKET, 0); }
public TerminalNode CONTENT() { return getToken(TSqlParser.CONTENT, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public TerminalNode PLATFORM() { return getToken(TSqlParser.PLATFORM, 0); }
public List LANGUAGE() { return getTokens(TSqlParser.LANGUAGE); }
public TerminalNode LANGUAGE(int i) {
return getToken(TSqlParser.LANGUAGE, i);
}
public List DATA_SOURCE() { return getTokens(TSqlParser.DATA_SOURCE); }
public TerminalNode DATA_SOURCE(int i) {
return getToken(TSqlParser.DATA_SOURCE, i);
}
public List R() { return getTokens(TSqlParser.R); }
public TerminalNode R(int i) {
return getToken(TSqlParser.R, i);
}
public List PYTHON() { return getTokens(TSqlParser.PYTHON); }
public TerminalNode PYTHON(int i) {
return getToken(TSqlParser.PYTHON, i);
}
public TerminalNode WINDOWS() { return getToken(TSqlParser.WINDOWS, 0); }
public TerminalNode LINUX() { return getToken(TSqlParser.LINUX, 0); }
public Create_external_libraryContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_external_library; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_external_library(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_external_library(this);
}
}
public final Create_external_libraryContext create_external_library() throws RecognitionException {
Create_external_libraryContext _localctx = new Create_external_libraryContext(_ctx, getState());
enterRule(_localctx, 298, RULE_create_external_library);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3328);
match(CREATE);
setState(3329);
match(EXTERNAL);
setState(3330);
match(LIBRARY);
setState(3331);
((Create_external_libraryContext)_localctx).library_name = id();
setState(3334);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AUTHORIZATION) {
{
setState(3332);
match(AUTHORIZATION);
setState(3333);
((Create_external_libraryContext)_localctx).owner_name = id();
}
}
setState(3336);
match(FROM);
{
setState(3338);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3337);
match(COMMA);
}
}
setState(3341);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LR_BRACKET) {
{
setState(3340);
match(LR_BRACKET);
}
}
setState(3345);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CONTENT) {
{
setState(3343);
match(CONTENT);
setState(3344);
match(EQUAL);
}
}
setState(3350);
_errHandler.sync(this);
switch (_input.LA(1)) {
case STRING:
{
setState(3347);
((Create_external_libraryContext)_localctx).client_library = match(STRING);
}
break;
case BINARY:
{
setState(3348);
match(BINARY);
}
break;
case NONE:
{
setState(3349);
match(NONE);
}
break;
default:
throw new NoViableAltException(this);
}
setState(3359);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3352);
match(COMMA);
setState(3353);
match(PLATFORM);
setState(3354);
match(EQUAL);
setState(3356);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LINUX || _la==WINDOWS) {
{
setState(3355);
_la = _input.LA(1);
if ( !(_la==LINUX || _la==WINDOWS) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3358);
match(RR_BRACKET);
}
}
}
setState(3376);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,309,_ctx) ) {
case 1:
{
setState(3361);
match(WITH);
setState(3371);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
setState(3371);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LANGUAGE:
case COMMA:
{
setState(3363);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3362);
match(COMMA);
}
}
setState(3365);
match(LANGUAGE);
setState(3366);
match(EQUAL);
setState(3367);
_la = _input.LA(1);
if ( !(_la==PYTHON || _la==R) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case DATA_SOURCE:
{
setState(3368);
match(DATA_SOURCE);
setState(3369);
match(EQUAL);
setState(3370);
((Create_external_libraryContext)_localctx).external_data_source_name = id();
}
break;
default:
throw new NoViableAltException(this);
}
}
setState(3373);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==DATA_SOURCE || _la==LANGUAGE || _la==COMMA );
setState(3375);
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 Alter_external_resource_poolContext extends ParserRuleContext {
public IdContext pool_name;
public Token max_cpu_percent;
public Token max_memory_percent;
public Token max_processes;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode EXTERNAL() { return getToken(TSqlParser.EXTERNAL, 0); }
public TerminalNode RESOURCE() { return getToken(TSqlParser.RESOURCE, 0); }
public TerminalNode POOL() { return getToken(TSqlParser.POOL, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode LR_BRACKET() { return getToken(TSqlParser.LR_BRACKET, 0); }
public TerminalNode MAX_CPU_PERCENT() { return getToken(TSqlParser.MAX_CPU_PERCENT, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public TerminalNode RR_BRACKET() { return getToken(TSqlParser.RR_BRACKET, 0); }
public List DECIMAL() { return getTokens(TSqlParser.DECIMAL); }
public TerminalNode DECIMAL(int i) {
return getToken(TSqlParser.DECIMAL, i);
}
public TerminalNode DEFAULT_DOUBLE_QUOTE() { return getToken(TSqlParser.DEFAULT_DOUBLE_QUOTE, 0); }
public TerminalNode AFFINITY() { return getToken(TSqlParser.AFFINITY, 0); }
public TerminalNode CPU() { return getToken(TSqlParser.CPU, 0); }
public TerminalNode NUMANODE() { return getToken(TSqlParser.NUMANODE, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode MAX_MEMORY_PERCENT() { return getToken(TSqlParser.MAX_MEMORY_PERCENT, 0); }
public TerminalNode MAX_PROCESSES() { return getToken(TSqlParser.MAX_PROCESSES, 0); }
public TerminalNode AUTO() { return getToken(TSqlParser.AUTO, 0); }
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public List TO() { return getTokens(TSqlParser.TO); }
public TerminalNode TO(int i) {
return getToken(TSqlParser.TO, i);
}
public Alter_external_resource_poolContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_external_resource_pool; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_external_resource_pool(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_external_resource_pool(this);
}
}
public final Alter_external_resource_poolContext alter_external_resource_pool() throws RecognitionException {
Alter_external_resource_poolContext _localctx = new Alter_external_resource_poolContext(_ctx, getState());
enterRule(_localctx, 300, RULE_alter_external_resource_pool);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(3378);
match(ALTER);
setState(3379);
match(EXTERNAL);
setState(3380);
match(RESOURCE);
setState(3381);
match(POOL);
setState(3384);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,310,_ctx) ) {
case 1:
{
setState(3382);
((Alter_external_resource_poolContext)_localctx).pool_name = id();
}
break;
case 2:
{
setState(3383);
match(DEFAULT_DOUBLE_QUOTE);
}
break;
}
setState(3386);
match(WITH);
setState(3387);
match(LR_BRACKET);
setState(3388);
match(MAX_CPU_PERCENT);
setState(3389);
match(EQUAL);
setState(3390);
((Alter_external_resource_poolContext)_localctx).max_cpu_percent = match(DECIMAL);
setState(3428);
_errHandler.sync(this);
switch (_input.LA(1)) {
case AFFINITY:
case COMMA:
{
setState(3392);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3391);
match(COMMA);
}
}
setState(3394);
match(AFFINITY);
setState(3395);
match(CPU);
setState(3396);
match(EQUAL);
setState(3410);
_errHandler.sync(this);
switch (_input.LA(1)) {
case AUTO:
{
setState(3397);
match(AUTO);
}
break;
case DECIMAL:
case COMMA:
{
setState(3406);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
setState(3406);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,313,_ctx) ) {
case 1:
{
setState(3399);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3398);
match(COMMA);
}
}
setState(3401);
match(DECIMAL);
setState(3402);
match(TO);
setState(3403);
match(DECIMAL);
}
break;
case 2:
{
setState(3404);
match(COMMA);
setState(3405);
match(DECIMAL);
}
break;
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(3408);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,314,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case NUMANODE:
{
setState(3412);
match(NUMANODE);
setState(3413);
match(EQUAL);
setState(3424);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
setState(3424);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,318,_ctx) ) {
case 1:
{
setState(3415);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3414);
match(COMMA);
}
}
setState(3417);
match(DECIMAL);
setState(3418);
match(TO);
setState(3419);
match(DECIMAL);
}
break;
case 2:
{
setState(3421);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3420);
match(COMMA);
}
}
setState(3423);
match(DECIMAL);
}
break;
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(3426);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,319,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
}
break;
default:
throw new NoViableAltException(this);
}
setState(3436);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,322,_ctx) ) {
case 1:
{
setState(3431);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3430);
match(COMMA);
}
}
setState(3433);
match(MAX_MEMORY_PERCENT);
setState(3434);
match(EQUAL);
setState(3435);
((Alter_external_resource_poolContext)_localctx).max_memory_percent = match(DECIMAL);
}
break;
}
setState(3444);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MAX_PROCESSES || _la==COMMA) {
{
setState(3439);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3438);
match(COMMA);
}
}
setState(3441);
match(MAX_PROCESSES);
setState(3442);
match(EQUAL);
setState(3443);
((Alter_external_resource_poolContext)_localctx).max_processes = match(DECIMAL);
}
}
setState(3446);
match(RR_BRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Create_external_resource_poolContext extends ParserRuleContext {
public IdContext pool_name;
public Token max_cpu_percent;
public Token max_memory_percent;
public Token max_processes;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode EXTERNAL() { return getToken(TSqlParser.EXTERNAL, 0); }
public TerminalNode RESOURCE() { return getToken(TSqlParser.RESOURCE, 0); }
public TerminalNode POOL() { return getToken(TSqlParser.POOL, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode LR_BRACKET() { return getToken(TSqlParser.LR_BRACKET, 0); }
public TerminalNode MAX_CPU_PERCENT() { return getToken(TSqlParser.MAX_CPU_PERCENT, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public TerminalNode RR_BRACKET() { return getToken(TSqlParser.RR_BRACKET, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public List DECIMAL() { return getTokens(TSqlParser.DECIMAL); }
public TerminalNode DECIMAL(int i) {
return getToken(TSqlParser.DECIMAL, i);
}
public TerminalNode AFFINITY() { return getToken(TSqlParser.AFFINITY, 0); }
public TerminalNode CPU() { return getToken(TSqlParser.CPU, 0); }
public TerminalNode NUMANODE() { return getToken(TSqlParser.NUMANODE, 0); }
public TerminalNode MAX_MEMORY_PERCENT() { return getToken(TSqlParser.MAX_MEMORY_PERCENT, 0); }
public TerminalNode MAX_PROCESSES() { return getToken(TSqlParser.MAX_PROCESSES, 0); }
public TerminalNode AUTO() { return getToken(TSqlParser.AUTO, 0); }
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public List TO() { return getTokens(TSqlParser.TO); }
public TerminalNode TO(int i) {
return getToken(TSqlParser.TO, i);
}
public Create_external_resource_poolContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_external_resource_pool; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_external_resource_pool(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_external_resource_pool(this);
}
}
public final Create_external_resource_poolContext create_external_resource_pool() throws RecognitionException {
Create_external_resource_poolContext _localctx = new Create_external_resource_poolContext(_ctx, getState());
enterRule(_localctx, 302, RULE_create_external_resource_pool);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(3448);
match(CREATE);
setState(3449);
match(EXTERNAL);
setState(3450);
match(RESOURCE);
setState(3451);
match(POOL);
setState(3452);
((Create_external_resource_poolContext)_localctx).pool_name = id();
setState(3453);
match(WITH);
setState(3454);
match(LR_BRACKET);
setState(3455);
match(MAX_CPU_PERCENT);
setState(3456);
match(EQUAL);
setState(3457);
((Create_external_resource_poolContext)_localctx).max_cpu_percent = match(DECIMAL);
setState(3495);
_errHandler.sync(this);
switch (_input.LA(1)) {
case AFFINITY:
case COMMA:
{
setState(3459);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3458);
match(COMMA);
}
}
setState(3461);
match(AFFINITY);
setState(3462);
match(CPU);
setState(3463);
match(EQUAL);
setState(3477);
_errHandler.sync(this);
switch (_input.LA(1)) {
case AUTO:
{
setState(3464);
match(AUTO);
}
break;
case DECIMAL:
case COMMA:
{
setState(3473);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
setState(3473);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,327,_ctx) ) {
case 1:
{
setState(3466);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3465);
match(COMMA);
}
}
setState(3468);
match(DECIMAL);
setState(3469);
match(TO);
setState(3470);
match(DECIMAL);
}
break;
case 2:
{
setState(3471);
match(COMMA);
setState(3472);
match(DECIMAL);
}
break;
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(3475);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,328,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case NUMANODE:
{
setState(3479);
match(NUMANODE);
setState(3480);
match(EQUAL);
setState(3491);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
setState(3491);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,332,_ctx) ) {
case 1:
{
setState(3482);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3481);
match(COMMA);
}
}
setState(3484);
match(DECIMAL);
setState(3485);
match(TO);
setState(3486);
match(DECIMAL);
}
break;
case 2:
{
setState(3488);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3487);
match(COMMA);
}
}
setState(3490);
match(DECIMAL);
}
break;
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(3493);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,333,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
}
break;
default:
throw new NoViableAltException(this);
}
setState(3503);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,336,_ctx) ) {
case 1:
{
setState(3498);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3497);
match(COMMA);
}
}
setState(3500);
match(MAX_MEMORY_PERCENT);
setState(3501);
match(EQUAL);
setState(3502);
((Create_external_resource_poolContext)_localctx).max_memory_percent = match(DECIMAL);
}
break;
}
setState(3511);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MAX_PROCESSES || _la==COMMA) {
{
setState(3506);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3505);
match(COMMA);
}
}
setState(3508);
match(MAX_PROCESSES);
setState(3509);
match(EQUAL);
setState(3510);
((Create_external_resource_poolContext)_localctx).max_processes = match(DECIMAL);
}
}
setState(3513);
match(RR_BRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_fulltext_catalogContext extends ParserRuleContext {
public IdContext catalog_name;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode FULLTEXT() { return getToken(TSqlParser.FULLTEXT, 0); }
public TerminalNode CATALOG() { return getToken(TSqlParser.CATALOG, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode REBUILD() { return getToken(TSqlParser.REBUILD, 0); }
public TerminalNode REORGANIZE() { return getToken(TSqlParser.REORGANIZE, 0); }
public TerminalNode AS() { return getToken(TSqlParser.AS, 0); }
public TerminalNode DEFAULT() { return getToken(TSqlParser.DEFAULT, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode ACCENT_SENSITIVITY() { return getToken(TSqlParser.ACCENT_SENSITIVITY, 0); }
public TerminalNode EQUAL() { return getToken(TSqlParser.EQUAL, 0); }
public TerminalNode ON() { return getToken(TSqlParser.ON, 0); }
public TerminalNode OFF() { return getToken(TSqlParser.OFF, 0); }
public Alter_fulltext_catalogContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_fulltext_catalog; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_fulltext_catalog(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_fulltext_catalog(this);
}
}
public final Alter_fulltext_catalogContext alter_fulltext_catalog() throws RecognitionException {
Alter_fulltext_catalogContext _localctx = new Alter_fulltext_catalogContext(_ctx, getState());
enterRule(_localctx, 304, RULE_alter_fulltext_catalog);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3515);
match(ALTER);
setState(3516);
match(FULLTEXT);
setState(3517);
match(CATALOG);
setState(3518);
((Alter_fulltext_catalogContext)_localctx).catalog_name = id();
setState(3529);
_errHandler.sync(this);
switch (_input.LA(1)) {
case REBUILD:
{
setState(3519);
match(REBUILD);
setState(3524);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,339,_ctx) ) {
case 1:
{
setState(3520);
match(WITH);
setState(3521);
match(ACCENT_SENSITIVITY);
setState(3522);
match(EQUAL);
setState(3523);
_la = _input.LA(1);
if ( !(_la==OFF || _la==ON) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
}
break;
case REORGANIZE:
{
setState(3526);
match(REORGANIZE);
}
break;
case AS:
{
setState(3527);
match(AS);
setState(3528);
match(DEFAULT);
}
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 Create_fulltext_catalogContext extends ParserRuleContext {
public IdContext catalog_name;
public IdContext filegroup;
public Token rootpath;
public IdContext owner_name;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode FULLTEXT() { return getToken(TSqlParser.FULLTEXT, 0); }
public TerminalNode CATALOG() { return getToken(TSqlParser.CATALOG, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public List ON() { return getTokens(TSqlParser.ON); }
public TerminalNode ON(int i) {
return getToken(TSqlParser.ON, i);
}
public TerminalNode FILEGROUP() { return getToken(TSqlParser.FILEGROUP, 0); }
public TerminalNode IN() { return getToken(TSqlParser.IN, 0); }
public TerminalNode PATH() { return getToken(TSqlParser.PATH, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode ACCENT_SENSITIVITY() { return getToken(TSqlParser.ACCENT_SENSITIVITY, 0); }
public TerminalNode EQUAL() { return getToken(TSqlParser.EQUAL, 0); }
public TerminalNode AS() { return getToken(TSqlParser.AS, 0); }
public TerminalNode DEFAULT() { return getToken(TSqlParser.DEFAULT, 0); }
public TerminalNode AUTHORIZATION() { return getToken(TSqlParser.AUTHORIZATION, 0); }
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public TerminalNode OFF() { return getToken(TSqlParser.OFF, 0); }
public Create_fulltext_catalogContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_fulltext_catalog; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_fulltext_catalog(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_fulltext_catalog(this);
}
}
public final Create_fulltext_catalogContext create_fulltext_catalog() throws RecognitionException {
Create_fulltext_catalogContext _localctx = new Create_fulltext_catalogContext(_ctx, getState());
enterRule(_localctx, 306, RULE_create_fulltext_catalog);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3531);
match(CREATE);
setState(3532);
match(FULLTEXT);
setState(3533);
match(CATALOG);
setState(3534);
((Create_fulltext_catalogContext)_localctx).catalog_name = id();
setState(3538);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ON) {
{
setState(3535);
match(ON);
setState(3536);
match(FILEGROUP);
setState(3537);
((Create_fulltext_catalogContext)_localctx).filegroup = id();
}
}
setState(3543);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IN) {
{
setState(3540);
match(IN);
setState(3541);
match(PATH);
setState(3542);
((Create_fulltext_catalogContext)_localctx).rootpath = match(STRING);
}
}
setState(3549);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,343,_ctx) ) {
case 1:
{
setState(3545);
match(WITH);
setState(3546);
match(ACCENT_SENSITIVITY);
setState(3547);
match(EQUAL);
setState(3548);
_la = _input.LA(1);
if ( !(_la==OFF || _la==ON) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
setState(3553);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AS) {
{
setState(3551);
match(AS);
setState(3552);
match(DEFAULT);
}
}
setState(3557);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AUTHORIZATION) {
{
setState(3555);
match(AUTHORIZATION);
setState(3556);
((Create_fulltext_catalogContext)_localctx).owner_name = id();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_fulltext_stoplistContext extends ParserRuleContext {
public IdContext stoplist_name;
public Token stopword;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode FULLTEXT() { return getToken(TSqlParser.FULLTEXT, 0); }
public TerminalNode STOPLIST() { return getToken(TSqlParser.STOPLIST, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode ADD() { return getToken(TSqlParser.ADD, 0); }
public TerminalNode LANGUAGE() { return getToken(TSqlParser.LANGUAGE, 0); }
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public List STRING() { return getTokens(TSqlParser.STRING); }
public TerminalNode STRING(int i) {
return getToken(TSqlParser.STRING, i);
}
public TerminalNode DECIMAL() { return getToken(TSqlParser.DECIMAL, 0); }
public TerminalNode BINARY() { return getToken(TSqlParser.BINARY, 0); }
public TerminalNode ALL() { return getToken(TSqlParser.ALL, 0); }
public Alter_fulltext_stoplistContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_fulltext_stoplist; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_fulltext_stoplist(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_fulltext_stoplist(this);
}
}
public final Alter_fulltext_stoplistContext alter_fulltext_stoplist() throws RecognitionException {
Alter_fulltext_stoplistContext _localctx = new Alter_fulltext_stoplistContext(_ctx, getState());
enterRule(_localctx, 308, RULE_alter_fulltext_stoplist);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3559);
match(ALTER);
setState(3560);
match(FULLTEXT);
setState(3561);
match(STOPLIST);
setState(3562);
((Alter_fulltext_stoplistContext)_localctx).stoplist_name = id();
setState(3576);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ADD:
{
setState(3563);
match(ADD);
setState(3564);
((Alter_fulltext_stoplistContext)_localctx).stopword = match(STRING);
setState(3565);
match(LANGUAGE);
setState(3566);
_la = _input.LA(1);
if ( !(((((_la - 794)) & ~0x3f) == 0 && ((1L << (_la - 794)) & ((1L << (DECIMAL - 794)) | (1L << (STRING - 794)) | (1L << (BINARY - 794)))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case DROP:
{
setState(3567);
match(DROP);
setState(3574);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,346,_ctx) ) {
case 1:
{
setState(3568);
((Alter_fulltext_stoplistContext)_localctx).stopword = match(STRING);
setState(3569);
match(LANGUAGE);
setState(3570);
_la = _input.LA(1);
if ( !(((((_la - 794)) & ~0x3f) == 0 && ((1L << (_la - 794)) & ((1L << (DECIMAL - 794)) | (1L << (STRING - 794)) | (1L << (BINARY - 794)))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case 2:
{
setState(3571);
match(ALL);
setState(3572);
_la = _input.LA(1);
if ( !(((((_la - 794)) & ~0x3f) == 0 && ((1L << (_la - 794)) & ((1L << (DECIMAL - 794)) | (1L << (STRING - 794)) | (1L << (BINARY - 794)))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case 3:
{
setState(3573);
match(ALL);
}
break;
}
}
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 Create_fulltext_stoplistContext extends ParserRuleContext {
public IdContext stoplist_name;
public IdContext database_name;
public IdContext source_stoplist_name;
public IdContext owner_name;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode FULLTEXT() { return getToken(TSqlParser.FULLTEXT, 0); }
public List STOPLIST() { return getTokens(TSqlParser.STOPLIST); }
public TerminalNode STOPLIST(int i) {
return getToken(TSqlParser.STOPLIST, i);
}
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode FROM() { return getToken(TSqlParser.FROM, 0); }
public TerminalNode AUTHORIZATION() { return getToken(TSqlParser.AUTHORIZATION, 0); }
public TerminalNode SYSTEM() { return getToken(TSqlParser.SYSTEM, 0); }
public TerminalNode DOT() { return getToken(TSqlParser.DOT, 0); }
public Create_fulltext_stoplistContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_fulltext_stoplist; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_fulltext_stoplist(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_fulltext_stoplist(this);
}
}
public final Create_fulltext_stoplistContext create_fulltext_stoplist() throws RecognitionException {
Create_fulltext_stoplistContext _localctx = new Create_fulltext_stoplistContext(_ctx, getState());
enterRule(_localctx, 310, RULE_create_fulltext_stoplist);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3578);
match(CREATE);
setState(3579);
match(FULLTEXT);
setState(3580);
match(STOPLIST);
setState(3581);
((Create_fulltext_stoplistContext)_localctx).stoplist_name = id();
setState(3593);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FROM) {
{
setState(3582);
match(FROM);
setState(3591);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CALLED:
case DATA_COMPRESSION:
case EVENTDATA:
case FILENAME:
case FILLFACTOR:
case FORCESEEK:
case INIT:
case KEY:
case MASTER:
case MAX_MEMORY:
case OFFSETS:
case PAGE:
case PUBLIC:
case R:
case RAW:
case RETURN:
case RETURNS:
case ROWCOUNT:
case SAFETY:
case SERVER:
case SID:
case SOURCE:
case STATE:
case START:
case TARGET:
case ABSOLUTE:
case ACCENT_SENSITIVITY:
case ACTION:
case ACTIVATION:
case ACTIVE:
case ADDRESS:
case AES_128:
case AES_192:
case AES_256:
case AFFINITY:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ALLOW_ENCRYPTED_VALUE_MODIFICATIONS:
case ALLOW_SNAPSHOT_ISOLATION:
case ALLOWED:
case ANSI_NULL_DEFAULT:
case ANSI_NULLS:
case ANSI_PADDING:
case ANSI_WARNINGS:
case APPLICATION_LOG:
case APPLY:
case ARITHABORT:
case ASSEMBLY:
case AUDIT:
case AUDIT_GUID:
case AUTO:
case AUTO_CLEANUP:
case AUTO_CLOSE:
case AUTO_CREATE_STATISTICS:
case AUTO_SHRINK:
case AUTO_UPDATE_STATISTICS:
case AUTO_UPDATE_STATISTICS_ASYNC:
case AVAILABILITY:
case AVG:
case BACKUP_PRIORITY:
case BEGIN_DIALOG:
case BIGINT:
case BINARY_BASE64:
case BINARY_CHECKSUM:
case BINDING:
case BLOB_STORAGE:
case BROKER:
case BROKER_INSTANCE:
case BULK_LOGGED:
case CALLER:
case CAP_CPU_PERCENT:
case CAST:
case CATALOG:
case CATCH:
case CHANGE_RETENTION:
case CHANGE_TRACKING:
case CHECKSUM:
case CHECKSUM_AGG:
case CLEANUP:
case COLLECTION:
case COLUMN_MASTER_KEY:
case COMMITTED:
case COMPATIBILITY_LEVEL:
case CONCAT:
case CONCAT_NULL_YIELDS_NULL:
case CONTENT:
case CONTROL:
case COOKIE:
case COUNT:
case COUNT_BIG:
case COUNTER:
case CPU:
case CREATE_NEW:
case CREATION_DISPOSITION:
case CREDENTIAL:
case CRYPTOGRAPHIC:
case CURSOR_CLOSE_ON_COMMIT:
case CURSOR_DEFAULT:
case DATE_CORRELATION_OPTIMIZATION:
case DATEADD:
case DATEDIFF:
case DATENAME:
case DATEPART:
case DAYS:
case DB_CHAINING:
case DB_FAILOVER:
case DECRYPTION:
case DEFAULT_DOUBLE_QUOTE:
case DEFAULT_FULLTEXT_LANGUAGE:
case DEFAULT_LANGUAGE:
case DELAY:
case DELAYED_DURABILITY:
case DELETED:
case DENSE_RANK:
case DEPENDENTS:
case DES:
case DESCRIPTION:
case DESX:
case DHCP:
case DIALOG:
case DIRECTORY_NAME:
case DISABLE:
case DISABLE_BROKER:
case DISABLED:
case DISK_DRIVE:
case DOCUMENT:
case DYNAMIC:
case EMERGENCY:
case EMPTY:
case ENABLE:
case ENABLE_BROKER:
case ENCRYPTED_VALUE:
case ENCRYPTION:
case ENDPOINT_URL:
case ERROR_BROKER_CONVERSATIONS:
case EXCLUSIVE:
case EXECUTABLE:
case EXIST:
case EXPAND:
case EXPIRY_DATE:
case EXPLICIT:
case FAIL_OPERATION:
case FAILOVER_MODE:
case FAILURE:
case FAILURE_CONDITION_LEVEL:
case FAST:
case FAST_FORWARD:
case FILEGROUP:
case FILEGROWTH:
case FILEPATH:
case FILESTREAM:
case FILTER:
case FIRST:
case FIRST_VALUE:
case FOLLOWING:
case FORCE:
case FORCE_FAILOVER_ALLOW_DATA_LOSS:
case FORCED:
case FORMAT:
case FORWARD_ONLY:
case FULLSCAN:
case FULLTEXT:
case GB:
case GETDATE:
case GETUTCDATE:
case GLOBAL:
case GO:
case GROUP_MAX_REQUESTS:
case GROUPING:
case GROUPING_ID:
case HADR:
case HASH:
case HEALTH_CHECK_TIMEOUT:
case HIGH:
case HONOR_BROKER_PRIORITY:
case HOURS:
case IDENTITY_VALUE:
case IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX:
case IMMEDIATE:
case IMPERSONATE:
case IMPORTANCE:
case INCREMENTAL:
case INITIATOR:
case INPUT:
case INSENSITIVE:
case INSERTED:
case INT:
case IP:
case ISOLATION:
case KB:
case KEEP:
case KEEPFIXED:
case KEY_SOURCE:
case KEYS:
case KEYSET:
case LAG:
case LAST:
case LAST_VALUE:
case LEAD:
case LEVEL:
case LIST:
case LISTENER:
case LISTENER_URL:
case LOB_COMPACTION:
case LOCAL:
case LOCATION:
case LOCK:
case LOCK_ESCALATION:
case LOGIN:
case LOOP:
case LOW:
case MANUAL:
case MARK:
case MATERIALIZED:
case MAX:
case MAX_CPU_PERCENT:
case MAX_DOP:
case MAX_FILES:
case MAX_IOPS_PER_VOLUME:
case MAX_MEMORY_PERCENT:
case MAX_PROCESSES:
case MAX_QUEUE_READERS:
case MAX_ROLLOVER_FILES:
case MAXDOP:
case MAXRECURSION:
case MAXSIZE:
case MB:
case MEDIUM:
case MEMORY_OPTIMIZED_DATA:
case MESSAGE:
case MIN:
case MIN_ACTIVE_ROWVERSION:
case MIN_CPU_PERCENT:
case MIN_IOPS_PER_VOLUME:
case MIN_MEMORY_PERCENT:
case MINUTES:
case MIRROR_ADDRESS:
case MIXED_PAGE_ALLOCATION:
case MODE:
case MODIFY:
case MOVE:
case MULTI_USER:
case NAME:
case NESTED_TRIGGERS:
case NEW_ACCOUNT:
case NEW_BROKER:
case NEW_PASSWORD:
case NEXT:
case NO:
case NO_TRUNCATE:
case NO_WAIT:
case NOCOUNT:
case NODES:
case NOEXPAND:
case NON_TRANSACTED_ACCESS:
case NORECOMPUTE:
case NORECOVERY:
case NOWAIT:
case NTILE:
case NUMANODE:
case NUMBER:
case NUMERIC_ROUNDABORT:
case OBJECT:
case OFFLINE:
case OFFSET:
case OLD_ACCOUNT:
case ONLINE:
case ONLY:
case OPEN_EXISTING:
case OPTIMISTIC:
case OPTIMIZE:
case OUT:
case OUTPUT:
case OWNER:
case PAGE_VERIFY:
case PARAMETERIZATION:
case PARTITION:
case PARTITIONS:
case PARTNER:
case PATH:
case POISON_MESSAGE_HANDLING:
case POOL:
case PORT:
case PRECEDING:
case PRIMARY_ROLE:
case PRIOR:
case PRIORITY:
case PRIORITY_LEVEL:
case PRIVATE:
case PRIVATE_KEY:
case PRIVILEGES:
case PROCEDURE_NAME:
case PROPERTY:
case PROVIDER:
case PROVIDER_KEY_NAME:
case QUERY:
case QUEUE:
case QUEUE_DELAY:
case QUOTED_IDENTIFIER:
case RANGE:
case RANK:
case RC2:
case RC4:
case RC4_128:
case READ_COMMITTED_SNAPSHOT:
case READ_ONLY:
case READ_ONLY_ROUTING_LIST:
case READ_WRITE:
case READONLY:
case REBUILD:
case RECEIVE:
case RECOMPILE:
case RECOVERY:
case RECURSIVE_TRIGGERS:
case RELATIVE:
case REMOTE:
case REMOTE_SERVICE_NAME:
case REMOVE:
case REORGANIZE:
case REPEATABLE:
case REPLICA:
case REQUEST_MAX_CPU_TIME_SEC:
case REQUEST_MAX_MEMORY_GRANT_PERCENT:
case REQUEST_MEMORY_GRANT_TIMEOUT_SEC:
case REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT:
case RESERVE_DISK_SPACE:
case RESOURCE:
case RESOURCE_MANAGER_LOCATION:
case RESTRICTED_USER:
case RETENTION:
case ROBUST:
case ROOT:
case ROUTE:
case ROW:
case ROW_NUMBER:
case ROWGUID:
case ROWS:
case SAMPLE:
case SCHEMABINDING:
case SCOPED:
case SCROLL:
case SCROLL_LOCKS:
case SEARCH:
case SECONDARY:
case SECONDARY_ONLY:
case SECONDARY_ROLE:
case SECONDS:
case SECRET:
case SECURITY_LOG:
case SEEDING_MODE:
case SELF:
case SEMI_SENSITIVE:
case SEND:
case SENT:
case SERIALIZABLE:
case SESSION_TIMEOUT:
case SETERROR:
case SHARE:
case SHOWPLAN:
case SIGNATURE:
case SIMPLE:
case SINGLE_USER:
case SIZE:
case SMALLINT:
case SNAPSHOT:
case SPATIAL_WINDOW_MAX_CELLS:
case STANDBY:
case START_DATE:
case STATIC:
case STATS_STREAM:
case STATUS:
case STDEV:
case STDEVP:
case STOPLIST:
case STUFF:
case SUBJECT:
case SUM:
case SUSPEND:
case SYMMETRIC:
case SYNCHRONOUS_COMMIT:
case SYNONYM:
case TAKE:
case TARGET_RECOVERY_TIME:
case TB:
case TEXTIMAGE_ON:
case THROW:
case TIES:
case TIME:
case TIMEOUT:
case TIMER:
case TINYINT:
case TORN_PAGE_DETECTION:
case TRANSFORM_NOISE_WORDS:
case TRIPLE_DES:
case TRIPLE_DES_3KEY:
case TRUSTWORTHY:
case TRY:
case TSQL:
case TWO_DIGIT_YEAR_CUTOFF:
case TYPE:
case TYPE_WARNING:
case UNBOUNDED:
case UNCOMMITTED:
case UNKNOWN:
case UNLIMITED:
case USING:
case VALID_XML:
case VALIDATION:
case VALUE:
case VAR:
case VARP:
case VIEW_METADATA:
case VIEWS:
case WAIT:
case WELL_FORMED_XML:
case WORK:
case WORKLOAD:
case XML:
case XMLNAMESPACES:
case DOUBLE_QUOTE_ID:
case SQUARE_BRACKET_ID:
case ID:
{
setState(3586);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,348,_ctx) ) {
case 1:
{
setState(3583);
((Create_fulltext_stoplistContext)_localctx).database_name = id();
setState(3584);
match(DOT);
}
break;
}
setState(3588);
((Create_fulltext_stoplistContext)_localctx).source_stoplist_name = id();
}
break;
case SYSTEM:
{
setState(3589);
match(SYSTEM);
setState(3590);
match(STOPLIST);
}
break;
default:
throw new NoViableAltException(this);
}
}
}
setState(3597);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AUTHORIZATION) {
{
setState(3595);
match(AUTHORIZATION);
setState(3596);
((Create_fulltext_stoplistContext)_localctx).owner_name = id();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_login_sql_serverContext extends ParserRuleContext {
public IdContext login_name;
public Token password;
public Token password_hash;
public Token old_password;
public IdContext default_database;
public IdContext default_laguage;
public IdContext credential_name;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode LOGIN() { return getToken(TSqlParser.LOGIN, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public List CREDENTIAL() { return getTokens(TSqlParser.CREDENTIAL); }
public TerminalNode CREDENTIAL(int i) {
return getToken(TSqlParser.CREDENTIAL, i);
}
public TerminalNode ADD() { return getToken(TSqlParser.ADD, 0); }
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode OLD_PASSWORD() { return getToken(TSqlParser.OLD_PASSWORD, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public TerminalNode DEFAULT_DATABASE() { return getToken(TSqlParser.DEFAULT_DATABASE, 0); }
public TerminalNode DEFAULT_LANGUAGE() { return getToken(TSqlParser.DEFAULT_LANGUAGE, 0); }
public TerminalNode NAME() { return getToken(TSqlParser.NAME, 0); }
public TerminalNode CHECK_POLICY() { return getToken(TSqlParser.CHECK_POLICY, 0); }
public TerminalNode CHECK_EXPIRATION() { return getToken(TSqlParser.CHECK_EXPIRATION, 0); }
public TerminalNode NO() { return getToken(TSqlParser.NO, 0); }
public TerminalNode ENABLE() { return getToken(TSqlParser.ENABLE, 0); }
public TerminalNode DISABLE() { return getToken(TSqlParser.DISABLE, 0); }
public List STRING() { return getTokens(TSqlParser.STRING); }
public TerminalNode STRING(int i) {
return getToken(TSqlParser.STRING, i);
}
public List ON() { return getTokens(TSqlParser.ON); }
public TerminalNode ON(int i) {
return getToken(TSqlParser.ON, i);
}
public List OFF() { return getTokens(TSqlParser.OFF); }
public TerminalNode OFF(int i) {
return getToken(TSqlParser.OFF, i);
}
public TerminalNode PASSWORD() { return getToken(TSqlParser.PASSWORD, 0); }
public TerminalNode HASHED() { return getToken(TSqlParser.HASHED, 0); }
public List MUST_CHANGE() { return getTokens(TSqlParser.MUST_CHANGE); }
public TerminalNode MUST_CHANGE(int i) {
return getToken(TSqlParser.MUST_CHANGE, i);
}
public List UNLOCK() { return getTokens(TSqlParser.UNLOCK); }
public TerminalNode UNLOCK(int i) {
return getToken(TSqlParser.UNLOCK, i);
}
public TerminalNode BINARY() { return getToken(TSqlParser.BINARY, 0); }
public Alter_login_sql_serverContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_login_sql_server; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_login_sql_server(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_login_sql_server(this);
}
}
public final Alter_login_sql_serverContext alter_login_sql_server() throws RecognitionException {
Alter_login_sql_serverContext _localctx = new Alter_login_sql_serverContext(_ctx, getState());
enterRule(_localctx, 312, RULE_alter_login_sql_server);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3599);
match(ALTER);
setState(3600);
match(LOGIN);
setState(3601);
((Alter_login_sql_serverContext)_localctx).login_name = id();
setState(3669);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,365,_ctx) ) {
case 1:
{
setState(3603);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,352,_ctx) ) {
case 1:
{
setState(3602);
_la = _input.LA(1);
if ( !(_la==DISABLE || _la==ENABLE) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
}
break;
case 2:
{
setState(3605);
match(WITH);
setState(3619);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PASSWORD) {
{
{
setState(3606);
match(PASSWORD);
setState(3607);
match(EQUAL);
setState(3611);
_errHandler.sync(this);
switch (_input.LA(1)) {
case STRING:
{
setState(3608);
((Alter_login_sql_serverContext)_localctx).password = match(STRING);
}
break;
case BINARY:
{
setState(3609);
((Alter_login_sql_serverContext)_localctx).password_hash = match(BINARY);
setState(3610);
match(HASHED);
}
break;
default:
throw new NoViableAltException(this);
}
}
setState(3616);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==MUST_CHANGE || _la==UNLOCK) {
{
{
setState(3613);
_la = _input.LA(1);
if ( !(_la==MUST_CHANGE || _la==UNLOCK) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3618);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
setState(3630);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OLD_PASSWORD) {
{
setState(3621);
match(OLD_PASSWORD);
setState(3622);
match(EQUAL);
setState(3623);
((Alter_login_sql_serverContext)_localctx).old_password = match(STRING);
setState(3627);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==MUST_CHANGE || _la==UNLOCK) {
{
{
setState(3624);
_la = _input.LA(1);
if ( !(_la==MUST_CHANGE || _la==UNLOCK) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3629);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
setState(3635);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT_DATABASE) {
{
setState(3632);
match(DEFAULT_DATABASE);
setState(3633);
match(EQUAL);
setState(3634);
((Alter_login_sql_serverContext)_localctx).default_database = id();
}
}
setState(3640);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,359,_ctx) ) {
case 1:
{
setState(3637);
match(DEFAULT_LANGUAGE);
setState(3638);
match(EQUAL);
setState(3639);
((Alter_login_sql_serverContext)_localctx).default_laguage = id();
}
break;
}
setState(3645);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,360,_ctx) ) {
case 1:
{
setState(3642);
match(NAME);
setState(3643);
match(EQUAL);
setState(3644);
((Alter_login_sql_serverContext)_localctx).login_name = id();
}
break;
}
setState(3650);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CHECK_POLICY) {
{
setState(3647);
match(CHECK_POLICY);
setState(3648);
match(EQUAL);
setState(3649);
_la = _input.LA(1);
if ( !(_la==OFF || _la==ON) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3655);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CHECK_EXPIRATION) {
{
setState(3652);
match(CHECK_EXPIRATION);
setState(3653);
match(EQUAL);
setState(3654);
_la = _input.LA(1);
if ( !(_la==OFF || _la==ON) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3660);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,363,_ctx) ) {
case 1:
{
setState(3657);
match(CREDENTIAL);
setState(3658);
match(EQUAL);
setState(3659);
((Alter_login_sql_serverContext)_localctx).credential_name = id();
}
break;
}
setState(3664);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,364,_ctx) ) {
case 1:
{
setState(3662);
match(NO);
setState(3663);
match(CREDENTIAL);
}
break;
}
}
break;
case 3:
{
setState(3666);
_la = _input.LA(1);
if ( !(_la==ADD || _la==DROP) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(3667);
match(CREDENTIAL);
setState(3668);
((Alter_login_sql_serverContext)_localctx).credential_name = id();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Create_login_sql_serverContext extends ParserRuleContext {
public IdContext login_name;
public Token password;
public Token password_hash;
public Token sid;
public IdContext default_database;
public IdContext default_laguage;
public IdContext credential_name;
public Token default_language;
public IdContext certname;
public IdContext asym_key_name;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode LOGIN() { return getToken(TSqlParser.LOGIN, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode FROM() { return getToken(TSqlParser.FROM, 0); }
public TerminalNode SID() { return getToken(TSqlParser.SID, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public TerminalNode DEFAULT_DATABASE() { return getToken(TSqlParser.DEFAULT_DATABASE, 0); }
public TerminalNode DEFAULT_LANGUAGE() { return getToken(TSqlParser.DEFAULT_LANGUAGE, 0); }
public TerminalNode CHECK_EXPIRATION() { return getToken(TSqlParser.CHECK_EXPIRATION, 0); }
public TerminalNode CHECK_POLICY() { return getToken(TSqlParser.CHECK_POLICY, 0); }
public TerminalNode CREDENTIAL() { return getToken(TSqlParser.CREDENTIAL, 0); }
public List BINARY() { return getTokens(TSqlParser.BINARY); }
public TerminalNode BINARY(int i) {
return getToken(TSqlParser.BINARY, i);
}
public List ON() { return getTokens(TSqlParser.ON); }
public TerminalNode ON(int i) {
return getToken(TSqlParser.ON, i);
}
public List OFF() { return getTokens(TSqlParser.OFF); }
public TerminalNode OFF(int i) {
return getToken(TSqlParser.OFF, i);
}
public TerminalNode WINDOWS() { return getToken(TSqlParser.WINDOWS, 0); }
public TerminalNode CERTIFICATE() { return getToken(TSqlParser.CERTIFICATE, 0); }
public TerminalNode ASYMMETRIC() { return getToken(TSqlParser.ASYMMETRIC, 0); }
public TerminalNode KEY() { return getToken(TSqlParser.KEY, 0); }
public TerminalNode PASSWORD() { return getToken(TSqlParser.PASSWORD, 0); }
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public TerminalNode HASHED() { return getToken(TSqlParser.HASHED, 0); }
public List MUST_CHANGE() { return getTokens(TSqlParser.MUST_CHANGE); }
public TerminalNode MUST_CHANGE(int i) {
return getToken(TSqlParser.MUST_CHANGE, i);
}
public List UNLOCK() { return getTokens(TSqlParser.UNLOCK); }
public TerminalNode UNLOCK(int i) {
return getToken(TSqlParser.UNLOCK, i);
}
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public Create_login_sql_serverContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_login_sql_server; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_login_sql_server(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_login_sql_server(this);
}
}
public final Create_login_sql_serverContext create_login_sql_server() throws RecognitionException {
Create_login_sql_serverContext _localctx = new Create_login_sql_serverContext(_ctx, getState());
enterRule(_localctx, 314, RULE_create_login_sql_server);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3671);
match(CREATE);
setState(3672);
match(LOGIN);
setState(3673);
((Create_login_sql_serverContext)_localctx).login_name = id();
setState(3764);
_errHandler.sync(this);
switch (_input.LA(1)) {
case WITH:
{
setState(3674);
match(WITH);
setState(3688);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PASSWORD) {
{
{
setState(3675);
match(PASSWORD);
setState(3676);
match(EQUAL);
setState(3680);
_errHandler.sync(this);
switch (_input.LA(1)) {
case STRING:
{
setState(3677);
((Create_login_sql_serverContext)_localctx).password = match(STRING);
}
break;
case BINARY:
{
setState(3678);
((Create_login_sql_serverContext)_localctx).password_hash = match(BINARY);
setState(3679);
match(HASHED);
}
break;
default:
throw new NoViableAltException(this);
}
}
setState(3685);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==MUST_CHANGE || _la==UNLOCK) {
{
{
setState(3682);
_la = _input.LA(1);
if ( !(_la==MUST_CHANGE || _la==UNLOCK) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3687);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
setState(3696);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,370,_ctx) ) {
case 1:
{
setState(3691);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3690);
match(COMMA);
}
}
setState(3693);
match(SID);
setState(3694);
match(EQUAL);
setState(3695);
((Create_login_sql_serverContext)_localctx).sid = match(BINARY);
}
break;
}
setState(3704);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,372,_ctx) ) {
case 1:
{
setState(3699);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3698);
match(COMMA);
}
}
setState(3701);
match(DEFAULT_DATABASE);
setState(3702);
match(EQUAL);
setState(3703);
((Create_login_sql_serverContext)_localctx).default_database = id();
}
break;
}
setState(3712);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,374,_ctx) ) {
case 1:
{
setState(3707);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3706);
match(COMMA);
}
}
setState(3709);
match(DEFAULT_LANGUAGE);
setState(3710);
match(EQUAL);
setState(3711);
((Create_login_sql_serverContext)_localctx).default_laguage = id();
}
break;
}
setState(3720);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,376,_ctx) ) {
case 1:
{
setState(3715);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3714);
match(COMMA);
}
}
setState(3717);
match(CHECK_EXPIRATION);
setState(3718);
match(EQUAL);
setState(3719);
_la = _input.LA(1);
if ( !(_la==OFF || _la==ON) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
setState(3728);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,378,_ctx) ) {
case 1:
{
setState(3723);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3722);
match(COMMA);
}
}
setState(3725);
match(CHECK_POLICY);
setState(3726);
match(EQUAL);
setState(3727);
_la = _input.LA(1);
if ( !(_la==OFF || _la==ON) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
setState(3736);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,380,_ctx) ) {
case 1:
{
setState(3731);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3730);
match(COMMA);
}
}
setState(3733);
match(CREDENTIAL);
setState(3734);
match(EQUAL);
setState(3735);
((Create_login_sql_serverContext)_localctx).credential_name = id();
}
break;
}
}
break;
case FROM:
{
{
setState(3738);
match(FROM);
setState(3762);
_errHandler.sync(this);
switch (_input.LA(1)) {
case WINDOWS:
{
setState(3739);
match(WINDOWS);
{
setState(3740);
match(WITH);
setState(3747);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,382,_ctx) ) {
case 1:
{
setState(3742);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3741);
match(COMMA);
}
}
setState(3744);
match(DEFAULT_DATABASE);
setState(3745);
match(EQUAL);
setState(3746);
((Create_login_sql_serverContext)_localctx).default_database = id();
}
break;
}
setState(3755);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,384,_ctx) ) {
case 1:
{
setState(3750);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3749);
match(COMMA);
}
}
setState(3752);
match(DEFAULT_LANGUAGE);
setState(3753);
match(EQUAL);
setState(3754);
((Create_login_sql_serverContext)_localctx).default_language = match(STRING);
}
break;
}
}
}
break;
case CERTIFICATE:
{
setState(3757);
match(CERTIFICATE);
setState(3758);
((Create_login_sql_serverContext)_localctx).certname = id();
}
break;
case ASYMMETRIC:
{
setState(3759);
match(ASYMMETRIC);
setState(3760);
match(KEY);
setState(3761);
((Create_login_sql_serverContext)_localctx).asym_key_name = id();
}
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 Alter_login_azure_sqlContext extends ParserRuleContext {
public IdContext login_name;
public Token password;
public Token old_password;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode LOGIN() { return getToken(TSqlParser.LOGIN, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode PASSWORD() { return getToken(TSqlParser.PASSWORD, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public TerminalNode NAME() { return getToken(TSqlParser.NAME, 0); }
public List STRING() { return getTokens(TSqlParser.STRING); }
public TerminalNode STRING(int i) {
return getToken(TSqlParser.STRING, i);
}
public TerminalNode ENABLE() { return getToken(TSqlParser.ENABLE, 0); }
public TerminalNode DISABLE() { return getToken(TSqlParser.DISABLE, 0); }
public TerminalNode OLD_PASSWORD() { return getToken(TSqlParser.OLD_PASSWORD, 0); }
public Alter_login_azure_sqlContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_login_azure_sql; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_login_azure_sql(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_login_azure_sql(this);
}
}
public final Alter_login_azure_sqlContext alter_login_azure_sql() throws RecognitionException {
Alter_login_azure_sqlContext _localctx = new Alter_login_azure_sqlContext(_ctx, getState());
enterRule(_localctx, 316, RULE_alter_login_azure_sql);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3766);
match(ALTER);
setState(3767);
match(LOGIN);
setState(3768);
((Alter_login_azure_sqlContext)_localctx).login_name = id();
setState(3786);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,390,_ctx) ) {
case 1:
{
setState(3770);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,387,_ctx) ) {
case 1:
{
setState(3769);
_la = _input.LA(1);
if ( !(_la==DISABLE || _la==ENABLE) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
}
break;
case 2:
{
setState(3772);
match(WITH);
setState(3784);
_errHandler.sync(this);
switch (_input.LA(1)) {
case PASSWORD:
{
setState(3773);
match(PASSWORD);
setState(3774);
match(EQUAL);
setState(3775);
((Alter_login_azure_sqlContext)_localctx).password = match(STRING);
setState(3779);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OLD_PASSWORD) {
{
setState(3776);
match(OLD_PASSWORD);
setState(3777);
match(EQUAL);
setState(3778);
((Alter_login_azure_sqlContext)_localctx).old_password = match(STRING);
}
}
}
break;
case NAME:
{
setState(3781);
match(NAME);
setState(3782);
match(EQUAL);
setState(3783);
((Alter_login_azure_sqlContext)_localctx).login_name = id();
}
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 Create_login_azure_sqlContext extends ParserRuleContext {
public IdContext login_name;
public Token sid;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode LOGIN() { return getToken(TSqlParser.LOGIN, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode PASSWORD() { return getToken(TSqlParser.PASSWORD, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode SID() { return getToken(TSqlParser.SID, 0); }
public TerminalNode BINARY() { return getToken(TSqlParser.BINARY, 0); }
public Create_login_azure_sqlContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_login_azure_sql; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_login_azure_sql(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_login_azure_sql(this);
}
}
public final Create_login_azure_sqlContext create_login_azure_sql() throws RecognitionException {
Create_login_azure_sqlContext _localctx = new Create_login_azure_sqlContext(_ctx, getState());
enterRule(_localctx, 318, RULE_create_login_azure_sql);
try {
enterOuterAlt(_localctx, 1);
{
setState(3788);
match(CREATE);
setState(3789);
match(LOGIN);
setState(3790);
((Create_login_azure_sqlContext)_localctx).login_name = id();
setState(3791);
match(WITH);
setState(3792);
match(PASSWORD);
setState(3793);
match(EQUAL);
setState(3794);
match(STRING);
setState(3798);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,391,_ctx) ) {
case 1:
{
setState(3795);
match(SID);
setState(3796);
match(EQUAL);
setState(3797);
((Create_login_azure_sqlContext)_localctx).sid = match(BINARY);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_login_azure_sql_dw_and_pdwContext extends ParserRuleContext {
public IdContext login_name;
public Token password;
public Token old_password;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode LOGIN() { return getToken(TSqlParser.LOGIN, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode PASSWORD() { return getToken(TSqlParser.PASSWORD, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public TerminalNode NAME() { return getToken(TSqlParser.NAME, 0); }
public List STRING() { return getTokens(TSqlParser.STRING); }
public TerminalNode STRING(int i) {
return getToken(TSqlParser.STRING, i);
}
public TerminalNode ENABLE() { return getToken(TSqlParser.ENABLE, 0); }
public TerminalNode DISABLE() { return getToken(TSqlParser.DISABLE, 0); }
public TerminalNode OLD_PASSWORD() { return getToken(TSqlParser.OLD_PASSWORD, 0); }
public List MUST_CHANGE() { return getTokens(TSqlParser.MUST_CHANGE); }
public TerminalNode MUST_CHANGE(int i) {
return getToken(TSqlParser.MUST_CHANGE, i);
}
public List UNLOCK() { return getTokens(TSqlParser.UNLOCK); }
public TerminalNode UNLOCK(int i) {
return getToken(TSqlParser.UNLOCK, i);
}
public Alter_login_azure_sql_dw_and_pdwContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_login_azure_sql_dw_and_pdw; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_login_azure_sql_dw_and_pdw(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_login_azure_sql_dw_and_pdw(this);
}
}
public final Alter_login_azure_sql_dw_and_pdwContext alter_login_azure_sql_dw_and_pdw() throws RecognitionException {
Alter_login_azure_sql_dw_and_pdwContext _localctx = new Alter_login_azure_sql_dw_and_pdwContext(_ctx, getState());
enterRule(_localctx, 320, RULE_alter_login_azure_sql_dw_and_pdw);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3800);
match(ALTER);
setState(3801);
match(LOGIN);
setState(3802);
((Alter_login_azure_sql_dw_and_pdwContext)_localctx).login_name = id();
setState(3826);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,396,_ctx) ) {
case 1:
{
setState(3804);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,392,_ctx) ) {
case 1:
{
setState(3803);
_la = _input.LA(1);
if ( !(_la==DISABLE || _la==ENABLE) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
}
break;
case 2:
{
setState(3806);
match(WITH);
setState(3824);
_errHandler.sync(this);
switch (_input.LA(1)) {
case PASSWORD:
{
setState(3807);
match(PASSWORD);
setState(3808);
match(EQUAL);
setState(3809);
((Alter_login_azure_sql_dw_and_pdwContext)_localctx).password = match(STRING);
setState(3819);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OLD_PASSWORD) {
{
setState(3810);
match(OLD_PASSWORD);
setState(3811);
match(EQUAL);
setState(3812);
((Alter_login_azure_sql_dw_and_pdwContext)_localctx).old_password = match(STRING);
setState(3816);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==MUST_CHANGE || _la==UNLOCK) {
{
{
setState(3813);
_la = _input.LA(1);
if ( !(_la==MUST_CHANGE || _la==UNLOCK) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(3818);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
}
break;
case NAME:
{
setState(3821);
match(NAME);
setState(3822);
match(EQUAL);
setState(3823);
((Alter_login_azure_sql_dw_and_pdwContext)_localctx).login_name = id();
}
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 Create_login_pdwContext extends ParserRuleContext {
public IdContext loginName;
public Token password;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode LOGIN() { return getToken(TSqlParser.LOGIN, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode FROM() { return getToken(TSqlParser.FROM, 0); }
public TerminalNode WINDOWS() { return getToken(TSqlParser.WINDOWS, 0); }
public TerminalNode PASSWORD() { return getToken(TSqlParser.PASSWORD, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public TerminalNode MUST_CHANGE() { return getToken(TSqlParser.MUST_CHANGE, 0); }
public TerminalNode CHECK_POLICY() { return getToken(TSqlParser.CHECK_POLICY, 0); }
public TerminalNode ON() { return getToken(TSqlParser.ON, 0); }
public TerminalNode OFF() { return getToken(TSqlParser.OFF, 0); }
public Create_login_pdwContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_login_pdw; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_login_pdw(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_login_pdw(this);
}
}
public final Create_login_pdwContext create_login_pdw() throws RecognitionException {
Create_login_pdwContext _localctx = new Create_login_pdwContext(_ctx, getState());
enterRule(_localctx, 322, RULE_create_login_pdw);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3828);
match(CREATE);
setState(3829);
match(LOGIN);
setState(3830);
((Create_login_pdwContext)_localctx).loginName = id();
setState(3847);
_errHandler.sync(this);
switch (_input.LA(1)) {
case WITH:
{
setState(3831);
match(WITH);
{
setState(3832);
match(PASSWORD);
setState(3833);
match(EQUAL);
setState(3834);
((Create_login_pdwContext)_localctx).password = match(STRING);
setState(3836);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MUST_CHANGE) {
{
setState(3835);
match(MUST_CHANGE);
}
}
setState(3843);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==CHECK_POLICY) {
{
setState(3838);
match(CHECK_POLICY);
setState(3839);
match(EQUAL);
setState(3841);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==OFF || _la==ON) {
{
setState(3840);
_la = _input.LA(1);
if ( !(_la==OFF || _la==ON) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
}
}
}
}
break;
case FROM:
{
setState(3845);
match(FROM);
setState(3846);
match(WINDOWS);
}
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 Alter_master_key_sql_serverContext extends ParserRuleContext {
public Token password;
public Token encryption_password;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public List MASTER() { return getTokens(TSqlParser.MASTER); }
public TerminalNode MASTER(int i) {
return getToken(TSqlParser.MASTER, i);
}
public List KEY() { return getTokens(TSqlParser.KEY); }
public TerminalNode KEY(int i) {
return getToken(TSqlParser.KEY, i);
}
public TerminalNode REGENERATE() { return getToken(TSqlParser.REGENERATE, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode ENCRYPTION() { return getToken(TSqlParser.ENCRYPTION, 0); }
public TerminalNode BY() { return getToken(TSqlParser.BY, 0); }
public TerminalNode PASSWORD() { return getToken(TSqlParser.PASSWORD, 0); }
public TerminalNode EQUAL() { return getToken(TSqlParser.EQUAL, 0); }
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public TerminalNode ADD() { return getToken(TSqlParser.ADD, 0); }
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode SERVICE() { return getToken(TSqlParser.SERVICE, 0); }
public TerminalNode FORCE() { return getToken(TSqlParser.FORCE, 0); }
public Alter_master_key_sql_serverContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_master_key_sql_server; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_master_key_sql_server(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_master_key_sql_server(this);
}
}
public final Alter_master_key_sql_serverContext alter_master_key_sql_server() throws RecognitionException {
Alter_master_key_sql_serverContext _localctx = new Alter_master_key_sql_serverContext(_ctx, getState());
enterRule(_localctx, 324, RULE_alter_master_key_sql_server);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3849);
match(ALTER);
setState(3850);
match(MASTER);
setState(3851);
match(KEY);
setState(3873);
_errHandler.sync(this);
switch (_input.LA(1)) {
case REGENERATE:
case FORCE:
{
setState(3853);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FORCE) {
{
setState(3852);
match(FORCE);
}
}
setState(3855);
match(REGENERATE);
setState(3856);
match(WITH);
setState(3857);
match(ENCRYPTION);
setState(3858);
match(BY);
setState(3859);
match(PASSWORD);
setState(3860);
match(EQUAL);
setState(3861);
((Alter_master_key_sql_serverContext)_localctx).password = match(STRING);
}
break;
case ADD:
case DROP:
{
setState(3862);
_la = _input.LA(1);
if ( !(_la==ADD || _la==DROP) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(3863);
match(ENCRYPTION);
setState(3864);
match(BY);
setState(3871);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SERVICE:
{
setState(3865);
match(SERVICE);
setState(3866);
match(MASTER);
setState(3867);
match(KEY);
}
break;
case PASSWORD:
{
setState(3868);
match(PASSWORD);
setState(3869);
match(EQUAL);
setState(3870);
((Alter_master_key_sql_serverContext)_localctx).encryption_password = match(STRING);
}
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 Create_master_key_sql_serverContext extends ParserRuleContext {
public Token password;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode MASTER() { return getToken(TSqlParser.MASTER, 0); }
public TerminalNode KEY() { return getToken(TSqlParser.KEY, 0); }
public TerminalNode ENCRYPTION() { return getToken(TSqlParser.ENCRYPTION, 0); }
public TerminalNode BY() { return getToken(TSqlParser.BY, 0); }
public TerminalNode PASSWORD() { return getToken(TSqlParser.PASSWORD, 0); }
public TerminalNode EQUAL() { return getToken(TSqlParser.EQUAL, 0); }
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public Create_master_key_sql_serverContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_master_key_sql_server; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_master_key_sql_server(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_master_key_sql_server(this);
}
}
public final Create_master_key_sql_serverContext create_master_key_sql_server() throws RecognitionException {
Create_master_key_sql_serverContext _localctx = new Create_master_key_sql_serverContext(_ctx, getState());
enterRule(_localctx, 326, RULE_create_master_key_sql_server);
try {
enterOuterAlt(_localctx, 1);
{
setState(3875);
match(CREATE);
setState(3876);
match(MASTER);
setState(3877);
match(KEY);
setState(3878);
match(ENCRYPTION);
setState(3879);
match(BY);
setState(3880);
match(PASSWORD);
setState(3881);
match(EQUAL);
setState(3882);
((Create_master_key_sql_serverContext)_localctx).password = match(STRING);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_master_key_azure_sqlContext extends ParserRuleContext {
public Token password;
public Token encryption_password;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public List MASTER() { return getTokens(TSqlParser.MASTER); }
public TerminalNode MASTER(int i) {
return getToken(TSqlParser.MASTER, i);
}
public List KEY() { return getTokens(TSqlParser.KEY); }
public TerminalNode KEY(int i) {
return getToken(TSqlParser.KEY, i);
}
public TerminalNode REGENERATE() { return getToken(TSqlParser.REGENERATE, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode ENCRYPTION() { return getToken(TSqlParser.ENCRYPTION, 0); }
public TerminalNode BY() { return getToken(TSqlParser.BY, 0); }
public TerminalNode PASSWORD() { return getToken(TSqlParser.PASSWORD, 0); }
public TerminalNode EQUAL() { return getToken(TSqlParser.EQUAL, 0); }
public TerminalNode ADD() { return getToken(TSqlParser.ADD, 0); }
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public TerminalNode SERVICE() { return getToken(TSqlParser.SERVICE, 0); }
public TerminalNode FORCE() { return getToken(TSqlParser.FORCE, 0); }
public Alter_master_key_azure_sqlContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_master_key_azure_sql; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_master_key_azure_sql(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_master_key_azure_sql(this);
}
}
public final Alter_master_key_azure_sqlContext alter_master_key_azure_sql() throws RecognitionException {
Alter_master_key_azure_sqlContext _localctx = new Alter_master_key_azure_sqlContext(_ctx, getState());
enterRule(_localctx, 328, RULE_alter_master_key_azure_sql);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3884);
match(ALTER);
setState(3885);
match(MASTER);
setState(3886);
match(KEY);
setState(3914);
_errHandler.sync(this);
switch (_input.LA(1)) {
case REGENERATE:
case FORCE:
{
setState(3888);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FORCE) {
{
setState(3887);
match(FORCE);
}
}
setState(3890);
match(REGENERATE);
setState(3891);
match(WITH);
setState(3892);
match(ENCRYPTION);
setState(3893);
match(BY);
setState(3894);
match(PASSWORD);
setState(3895);
match(EQUAL);
setState(3896);
((Alter_master_key_azure_sqlContext)_localctx).password = match(STRING);
}
break;
case ADD:
{
setState(3897);
match(ADD);
setState(3898);
match(ENCRYPTION);
setState(3899);
match(BY);
setState(3906);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SERVICE:
{
setState(3900);
match(SERVICE);
setState(3901);
match(MASTER);
setState(3902);
match(KEY);
}
break;
case PASSWORD:
{
setState(3903);
match(PASSWORD);
setState(3904);
match(EQUAL);
setState(3905);
((Alter_master_key_azure_sqlContext)_localctx).encryption_password = match(STRING);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case DROP:
{
setState(3908);
match(DROP);
setState(3909);
match(ENCRYPTION);
setState(3910);
match(BY);
setState(3911);
match(PASSWORD);
setState(3912);
match(EQUAL);
setState(3913);
((Alter_master_key_azure_sqlContext)_localctx).encryption_password = match(STRING);
}
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 Create_master_key_azure_sqlContext extends ParserRuleContext {
public Token password;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode MASTER() { return getToken(TSqlParser.MASTER, 0); }
public TerminalNode KEY() { return getToken(TSqlParser.KEY, 0); }
public TerminalNode ENCRYPTION() { return getToken(TSqlParser.ENCRYPTION, 0); }
public TerminalNode BY() { return getToken(TSqlParser.BY, 0); }
public TerminalNode PASSWORD() { return getToken(TSqlParser.PASSWORD, 0); }
public TerminalNode EQUAL() { return getToken(TSqlParser.EQUAL, 0); }
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public Create_master_key_azure_sqlContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_master_key_azure_sql; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_master_key_azure_sql(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_master_key_azure_sql(this);
}
}
public final Create_master_key_azure_sqlContext create_master_key_azure_sql() throws RecognitionException {
Create_master_key_azure_sqlContext _localctx = new Create_master_key_azure_sqlContext(_ctx, getState());
enterRule(_localctx, 330, RULE_create_master_key_azure_sql);
try {
enterOuterAlt(_localctx, 1);
{
setState(3916);
match(CREATE);
setState(3917);
match(MASTER);
setState(3918);
match(KEY);
setState(3924);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,407,_ctx) ) {
case 1:
{
setState(3919);
match(ENCRYPTION);
setState(3920);
match(BY);
setState(3921);
match(PASSWORD);
setState(3922);
match(EQUAL);
setState(3923);
((Create_master_key_azure_sqlContext)_localctx).password = match(STRING);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_message_typeContext extends ParserRuleContext {
public IdContext message_type_name;
public IdContext schema_collection_name;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode MESSAGE() { return getToken(TSqlParser.MESSAGE, 0); }
public TerminalNode TYPE() { return getToken(TSqlParser.TYPE, 0); }
public TerminalNode VALIDATION() { return getToken(TSqlParser.VALIDATION, 0); }
public TerminalNode EQUAL() { return getToken(TSqlParser.EQUAL, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode NONE() { return getToken(TSqlParser.NONE, 0); }
public TerminalNode EMPTY() { return getToken(TSqlParser.EMPTY, 0); }
public TerminalNode WELL_FORMED_XML() { return getToken(TSqlParser.WELL_FORMED_XML, 0); }
public TerminalNode VALID_XML() { return getToken(TSqlParser.VALID_XML, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode SCHEMA() { return getToken(TSqlParser.SCHEMA, 0); }
public TerminalNode COLLECTION() { return getToken(TSqlParser.COLLECTION, 0); }
public Alter_message_typeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_message_type; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_message_type(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_message_type(this);
}
}
public final Alter_message_typeContext alter_message_type() throws RecognitionException {
Alter_message_typeContext _localctx = new Alter_message_typeContext(_ctx, getState());
enterRule(_localctx, 332, RULE_alter_message_type);
try {
enterOuterAlt(_localctx, 1);
{
setState(3926);
match(ALTER);
setState(3927);
match(MESSAGE);
setState(3928);
match(TYPE);
setState(3929);
((Alter_message_typeContext)_localctx).message_type_name = id();
setState(3930);
match(VALIDATION);
setState(3931);
match(EQUAL);
setState(3940);
_errHandler.sync(this);
switch (_input.LA(1)) {
case NONE:
{
setState(3932);
match(NONE);
}
break;
case EMPTY:
{
setState(3933);
match(EMPTY);
}
break;
case WELL_FORMED_XML:
{
setState(3934);
match(WELL_FORMED_XML);
}
break;
case VALID_XML:
{
setState(3935);
match(VALID_XML);
setState(3936);
match(WITH);
setState(3937);
match(SCHEMA);
setState(3938);
match(COLLECTION);
setState(3939);
((Alter_message_typeContext)_localctx).schema_collection_name = id();
}
break;
default:
throw new NoViableAltException(this);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_partition_functionContext extends ParserRuleContext {
public IdContext partition_function_name;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode PARTITION() { return getToken(TSqlParser.PARTITION, 0); }
public TerminalNode FUNCTION() { return getToken(TSqlParser.FUNCTION, 0); }
public List LR_BRACKET() { return getTokens(TSqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(TSqlParser.LR_BRACKET, i);
}
public List RR_BRACKET() { return getTokens(TSqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(TSqlParser.RR_BRACKET, i);
}
public TerminalNode RANGE() { return getToken(TSqlParser.RANGE, 0); }
public TerminalNode DECIMAL() { return getToken(TSqlParser.DECIMAL, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode SPLIT() { return getToken(TSqlParser.SPLIT, 0); }
public TerminalNode MERGE() { return getToken(TSqlParser.MERGE, 0); }
public Alter_partition_functionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_partition_function; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_partition_function(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_partition_function(this);
}
}
public final Alter_partition_functionContext alter_partition_function() throws RecognitionException {
Alter_partition_functionContext _localctx = new Alter_partition_functionContext(_ctx, getState());
enterRule(_localctx, 334, RULE_alter_partition_function);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3942);
match(ALTER);
setState(3943);
match(PARTITION);
setState(3944);
match(FUNCTION);
setState(3945);
((Alter_partition_functionContext)_localctx).partition_function_name = id();
setState(3946);
match(LR_BRACKET);
setState(3947);
match(RR_BRACKET);
setState(3948);
_la = _input.LA(1);
if ( !(_la==MERGE || _la==SPLIT) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(3949);
match(RANGE);
setState(3950);
match(LR_BRACKET);
setState(3951);
match(DECIMAL);
setState(3952);
match(RR_BRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_partition_schemeContext extends ParserRuleContext {
public IdContext partition_scheme_name;
public IdContext file_group_name;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode PARTITION() { return getToken(TSqlParser.PARTITION, 0); }
public TerminalNode SCHEME() { return getToken(TSqlParser.SCHEME, 0); }
public TerminalNode NEXT() { return getToken(TSqlParser.NEXT, 0); }
public TerminalNode USED() { return getToken(TSqlParser.USED, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public Alter_partition_schemeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_partition_scheme; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_partition_scheme(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_partition_scheme(this);
}
}
public final Alter_partition_schemeContext alter_partition_scheme() throws RecognitionException {
Alter_partition_schemeContext _localctx = new Alter_partition_schemeContext(_ctx, getState());
enterRule(_localctx, 336, RULE_alter_partition_scheme);
try {
enterOuterAlt(_localctx, 1);
{
setState(3954);
match(ALTER);
setState(3955);
match(PARTITION);
setState(3956);
match(SCHEME);
setState(3957);
((Alter_partition_schemeContext)_localctx).partition_scheme_name = id();
setState(3958);
match(NEXT);
setState(3959);
match(USED);
setState(3961);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,409,_ctx) ) {
case 1:
{
setState(3960);
((Alter_partition_schemeContext)_localctx).file_group_name = id();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Alter_remote_service_bindingContext extends ParserRuleContext {
public IdContext binding_name;
public IdContext user_name;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode REMOTE() { return getToken(TSqlParser.REMOTE, 0); }
public TerminalNode SERVICE() { return getToken(TSqlParser.SERVICE, 0); }
public TerminalNode BINDING() { return getToken(TSqlParser.BINDING, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode USER() { return getToken(TSqlParser.USER, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public TerminalNode COMMA() { return getToken(TSqlParser.COMMA, 0); }
public TerminalNode ANONYMOUS() { return getToken(TSqlParser.ANONYMOUS, 0); }
public TerminalNode ON() { return getToken(TSqlParser.ON, 0); }
public TerminalNode OFF() { return getToken(TSqlParser.OFF, 0); }
public Alter_remote_service_bindingContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_remote_service_binding; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_remote_service_binding(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_remote_service_binding(this);
}
}
public final Alter_remote_service_bindingContext alter_remote_service_binding() throws RecognitionException {
Alter_remote_service_bindingContext _localctx = new Alter_remote_service_bindingContext(_ctx, getState());
enterRule(_localctx, 338, RULE_alter_remote_service_binding);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3963);
match(ALTER);
setState(3964);
match(REMOTE);
setState(3965);
match(SERVICE);
setState(3966);
match(BINDING);
setState(3967);
((Alter_remote_service_bindingContext)_localctx).binding_name = id();
setState(3968);
match(WITH);
setState(3972);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==USER) {
{
setState(3969);
match(USER);
setState(3970);
match(EQUAL);
setState(3971);
((Alter_remote_service_bindingContext)_localctx).user_name = id();
}
}
setState(3978);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3974);
match(COMMA);
setState(3975);
match(ANONYMOUS);
setState(3976);
match(EQUAL);
setState(3977);
_la = _input.LA(1);
if ( !(_la==OFF || _la==ON) ) {
_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 Create_remote_service_bindingContext extends ParserRuleContext {
public IdContext binding_name;
public IdContext owner_name;
public Token remote_service_name;
public IdContext user_name;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode REMOTE() { return getToken(TSqlParser.REMOTE, 0); }
public List SERVICE() { return getTokens(TSqlParser.SERVICE); }
public TerminalNode SERVICE(int i) {
return getToken(TSqlParser.SERVICE, i);
}
public TerminalNode BINDING() { return getToken(TSqlParser.BINDING, 0); }
public TerminalNode TO() { return getToken(TSqlParser.TO, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode STRING() { return getToken(TSqlParser.STRING, 0); }
public TerminalNode AUTHORIZATION() { return getToken(TSqlParser.AUTHORIZATION, 0); }
public TerminalNode USER() { return getToken(TSqlParser.USER, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public TerminalNode COMMA() { return getToken(TSqlParser.COMMA, 0); }
public TerminalNode ANONYMOUS() { return getToken(TSqlParser.ANONYMOUS, 0); }
public TerminalNode ON() { return getToken(TSqlParser.ON, 0); }
public TerminalNode OFF() { return getToken(TSqlParser.OFF, 0); }
public Create_remote_service_bindingContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_remote_service_binding; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_remote_service_binding(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_remote_service_binding(this);
}
}
public final Create_remote_service_bindingContext create_remote_service_binding() throws RecognitionException {
Create_remote_service_bindingContext _localctx = new Create_remote_service_bindingContext(_ctx, getState());
enterRule(_localctx, 340, RULE_create_remote_service_binding);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(3980);
match(CREATE);
setState(3981);
match(REMOTE);
setState(3982);
match(SERVICE);
setState(3983);
match(BINDING);
setState(3984);
((Create_remote_service_bindingContext)_localctx).binding_name = id();
setState(3987);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AUTHORIZATION) {
{
setState(3985);
match(AUTHORIZATION);
setState(3986);
((Create_remote_service_bindingContext)_localctx).owner_name = id();
}
}
setState(3989);
match(TO);
setState(3990);
match(SERVICE);
setState(3991);
((Create_remote_service_bindingContext)_localctx).remote_service_name = match(STRING);
setState(3992);
match(WITH);
setState(3996);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==USER) {
{
setState(3993);
match(USER);
setState(3994);
match(EQUAL);
setState(3995);
((Create_remote_service_bindingContext)_localctx).user_name = id();
}
}
setState(4002);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(3998);
match(COMMA);
setState(3999);
match(ANONYMOUS);
setState(4000);
match(EQUAL);
setState(4001);
_la = _input.LA(1);
if ( !(_la==OFF || _la==ON) ) {
_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 Create_resource_poolContext extends ParserRuleContext {
public IdContext pool_name;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode RESOURCE() { return getToken(TSqlParser.RESOURCE, 0); }
public TerminalNode POOL() { return getToken(TSqlParser.POOL, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public List LR_BRACKET() { return getTokens(TSqlParser.LR_BRACKET); }
public TerminalNode LR_BRACKET(int i) {
return getToken(TSqlParser.LR_BRACKET, i);
}
public List RR_BRACKET() { return getTokens(TSqlParser.RR_BRACKET); }
public TerminalNode RR_BRACKET(int i) {
return getToken(TSqlParser.RR_BRACKET, i);
}
public TerminalNode MIN_CPU_PERCENT() { return getToken(TSqlParser.MIN_CPU_PERCENT, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public List DECIMAL() { return getTokens(TSqlParser.DECIMAL); }
public TerminalNode DECIMAL(int i) {
return getToken(TSqlParser.DECIMAL, i);
}
public TerminalNode MAX_CPU_PERCENT() { return getToken(TSqlParser.MAX_CPU_PERCENT, 0); }
public TerminalNode CAP_CPU_PERCENT() { return getToken(TSqlParser.CAP_CPU_PERCENT, 0); }
public TerminalNode AFFINITY() { return getToken(TSqlParser.AFFINITY, 0); }
public TerminalNode SCHEDULER() { return getToken(TSqlParser.SCHEDULER, 0); }
public TerminalNode MIN_MEMORY_PERCENT() { return getToken(TSqlParser.MIN_MEMORY_PERCENT, 0); }
public TerminalNode MAX_MEMORY_PERCENT() { return getToken(TSqlParser.MAX_MEMORY_PERCENT, 0); }
public TerminalNode MIN_IOPS_PER_VOLUME() { return getToken(TSqlParser.MIN_IOPS_PER_VOLUME, 0); }
public TerminalNode MAX_IOPS_PER_VOLUME() { return getToken(TSqlParser.MAX_IOPS_PER_VOLUME, 0); }
public TerminalNode AUTO() { return getToken(TSqlParser.AUTO, 0); }
public TerminalNode NUMANODE() { return getToken(TSqlParser.NUMANODE, 0); }
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public List TO() { return getTokens(TSqlParser.TO); }
public TerminalNode TO(int i) {
return getToken(TSqlParser.TO, i);
}
public Create_resource_poolContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_resource_pool; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_resource_pool(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_resource_pool(this);
}
}
public final Create_resource_poolContext create_resource_pool() throws RecognitionException {
Create_resource_poolContext _localctx = new Create_resource_poolContext(_ctx, getState());
enterRule(_localctx, 342, RULE_create_resource_pool);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4004);
match(CREATE);
setState(4005);
match(RESOURCE);
setState(4006);
match(POOL);
setState(4007);
((Create_resource_poolContext)_localctx).pool_name = id();
setState(4110);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,438,_ctx) ) {
case 1:
{
setState(4008);
match(WITH);
setState(4009);
match(LR_BRACKET);
setState(4016);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,416,_ctx) ) {
case 1:
{
setState(4011);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(4010);
match(COMMA);
}
}
setState(4013);
match(MIN_CPU_PERCENT);
setState(4014);
match(EQUAL);
setState(4015);
match(DECIMAL);
}
break;
}
setState(4024);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,418,_ctx) ) {
case 1:
{
setState(4019);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(4018);
match(COMMA);
}
}
setState(4021);
match(MAX_CPU_PERCENT);
setState(4022);
match(EQUAL);
setState(4023);
match(DECIMAL);
}
break;
}
setState(4032);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,420,_ctx) ) {
case 1:
{
setState(4027);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(4026);
match(COMMA);
}
}
setState(4029);
match(CAP_CPU_PERCENT);
setState(4030);
match(EQUAL);
setState(4031);
match(DECIMAL);
}
break;
}
setState(4075);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,429,_ctx) ) {
case 1:
{
setState(4035);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(4034);
match(COMMA);
}
}
setState(4037);
match(AFFINITY);
setState(4038);
match(SCHEDULER);
setState(4039);
match(EQUAL);
setState(4073);
_errHandler.sync(this);
switch (_input.LA(1)) {
case AUTO:
{
setState(4040);
match(AUTO);
}
break;
case LR_BRACKET:
{
setState(4041);
match(LR_BRACKET);
setState(4051);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(4043);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(4042);
match(COMMA);
}
}
setState(4049);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,423,_ctx) ) {
case 1:
{
setState(4045);
match(DECIMAL);
}
break;
case 2:
{
setState(4046);
match(DECIMAL);
setState(4047);
match(TO);
setState(4048);
match(DECIMAL);
}
break;
}
}
}
setState(4053);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==DECIMAL || _la==COMMA );
setState(4055);
match(RR_BRACKET);
}
break;
case NUMANODE:
{
setState(4056);
match(NUMANODE);
setState(4057);
match(EQUAL);
setState(4058);
match(LR_BRACKET);
setState(4068);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(4060);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(4059);
match(COMMA);
}
}
setState(4066);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,426,_ctx) ) {
case 1:
{
setState(4062);
match(DECIMAL);
}
break;
case 2:
{
setState(4063);
match(DECIMAL);
setState(4064);
match(TO);
setState(4065);
match(DECIMAL);
}
break;
}
}
}
setState(4070);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==DECIMAL || _la==COMMA );
setState(4072);
match(RR_BRACKET);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
}
setState(4083);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,431,_ctx) ) {
case 1:
{
setState(4078);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(4077);
match(COMMA);
}
}
setState(4080);
match(MIN_MEMORY_PERCENT);
setState(4081);
match(EQUAL);
setState(4082);
match(DECIMAL);
}
break;
}
setState(4091);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,433,_ctx) ) {
case 1:
{
setState(4086);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(4085);
match(COMMA);
}
}
setState(4088);
match(MAX_MEMORY_PERCENT);
setState(4089);
match(EQUAL);
setState(4090);
match(DECIMAL);
}
break;
}
setState(4099);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,435,_ctx) ) {
case 1:
{
setState(4094);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(4093);
match(COMMA);
}
}
setState(4096);
match(MIN_IOPS_PER_VOLUME);
setState(4097);
match(EQUAL);
setState(4098);
match(DECIMAL);
}
break;
}
setState(4107);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MAX_IOPS_PER_VOLUME || _la==COMMA) {
{
setState(4102);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(4101);
match(COMMA);
}
}
setState(4104);
match(MAX_IOPS_PER_VOLUME);
setState(4105);
match(EQUAL);
setState(4106);
match(DECIMAL);
}
}
setState(4109);
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 Alter_resource_governorContext extends ParserRuleContext {
public IdContext schema_name;
public IdContext function_name;
public Token max_outstanding_io_per_volume;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode RESOURCE() { return getToken(TSqlParser.RESOURCE, 0); }
public TerminalNode GOVERNOR() { return getToken(TSqlParser.GOVERNOR, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode LR_BRACKET() { return getToken(TSqlParser.LR_BRACKET, 0); }
public TerminalNode CLASSIFIER_FUNCTION() { return getToken(TSqlParser.CLASSIFIER_FUNCTION, 0); }
public TerminalNode EQUAL() { return getToken(TSqlParser.EQUAL, 0); }
public TerminalNode RR_BRACKET() { return getToken(TSqlParser.RR_BRACKET, 0); }
public TerminalNode RESET() { return getToken(TSqlParser.RESET, 0); }
public TerminalNode STATISTICS() { return getToken(TSqlParser.STATISTICS, 0); }
public TerminalNode MAX_OUTSTANDING_IO_PER_VOLUME() { return getToken(TSqlParser.MAX_OUTSTANDING_IO_PER_VOLUME, 0); }
public TerminalNode DISABLE() { return getToken(TSqlParser.DISABLE, 0); }
public TerminalNode RECONFIGURE() { return getToken(TSqlParser.RECONFIGURE, 0); }
public TerminalNode DECIMAL() { return getToken(TSqlParser.DECIMAL, 0); }
public TerminalNode DOT() { return getToken(TSqlParser.DOT, 0); }
public TerminalNode NULL() { return getToken(TSqlParser.NULL, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public Alter_resource_governorContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_resource_governor; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_resource_governor(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_resource_governor(this);
}
}
public final Alter_resource_governorContext alter_resource_governor() throws RecognitionException {
Alter_resource_governorContext _localctx = new Alter_resource_governorContext(_ctx, getState());
enterRule(_localctx, 344, RULE_alter_resource_governor);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4112);
match(ALTER);
setState(4113);
match(RESOURCE);
setState(4114);
match(GOVERNOR);
setState(4136);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,440,_ctx) ) {
case 1:
{
setState(4115);
_la = _input.LA(1);
if ( !(_la==RECONFIGURE || _la==DISABLE) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case 2:
{
setState(4116);
match(WITH);
setState(4117);
match(LR_BRACKET);
setState(4118);
match(CLASSIFIER_FUNCTION);
setState(4119);
match(EQUAL);
setState(4125);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CALLED:
case DATA_COMPRESSION:
case EVENTDATA:
case FILENAME:
case FILLFACTOR:
case FORCESEEK:
case INIT:
case KEY:
case MASTER:
case MAX_MEMORY:
case OFFSETS:
case PAGE:
case PUBLIC:
case R:
case RAW:
case RETURN:
case RETURNS:
case ROWCOUNT:
case SAFETY:
case SERVER:
case SID:
case SOURCE:
case STATE:
case START:
case TARGET:
case ABSOLUTE:
case ACCENT_SENSITIVITY:
case ACTION:
case ACTIVATION:
case ACTIVE:
case ADDRESS:
case AES_128:
case AES_192:
case AES_256:
case AFFINITY:
case AFTER:
case AGGREGATE:
case ALGORITHM:
case ALLOW_ENCRYPTED_VALUE_MODIFICATIONS:
case ALLOW_SNAPSHOT_ISOLATION:
case ALLOWED:
case ANSI_NULL_DEFAULT:
case ANSI_NULLS:
case ANSI_PADDING:
case ANSI_WARNINGS:
case APPLICATION_LOG:
case APPLY:
case ARITHABORT:
case ASSEMBLY:
case AUDIT:
case AUDIT_GUID:
case AUTO:
case AUTO_CLEANUP:
case AUTO_CLOSE:
case AUTO_CREATE_STATISTICS:
case AUTO_SHRINK:
case AUTO_UPDATE_STATISTICS:
case AUTO_UPDATE_STATISTICS_ASYNC:
case AVAILABILITY:
case AVG:
case BACKUP_PRIORITY:
case BEGIN_DIALOG:
case BIGINT:
case BINARY_BASE64:
case BINARY_CHECKSUM:
case BINDING:
case BLOB_STORAGE:
case BROKER:
case BROKER_INSTANCE:
case BULK_LOGGED:
case CALLER:
case CAP_CPU_PERCENT:
case CAST:
case CATALOG:
case CATCH:
case CHANGE_RETENTION:
case CHANGE_TRACKING:
case CHECKSUM:
case CHECKSUM_AGG:
case CLEANUP:
case COLLECTION:
case COLUMN_MASTER_KEY:
case COMMITTED:
case COMPATIBILITY_LEVEL:
case CONCAT:
case CONCAT_NULL_YIELDS_NULL:
case CONTENT:
case CONTROL:
case COOKIE:
case COUNT:
case COUNT_BIG:
case COUNTER:
case CPU:
case CREATE_NEW:
case CREATION_DISPOSITION:
case CREDENTIAL:
case CRYPTOGRAPHIC:
case CURSOR_CLOSE_ON_COMMIT:
case CURSOR_DEFAULT:
case DATE_CORRELATION_OPTIMIZATION:
case DATEADD:
case DATEDIFF:
case DATENAME:
case DATEPART:
case DAYS:
case DB_CHAINING:
case DB_FAILOVER:
case DECRYPTION:
case DEFAULT_DOUBLE_QUOTE:
case DEFAULT_FULLTEXT_LANGUAGE:
case DEFAULT_LANGUAGE:
case DELAY:
case DELAYED_DURABILITY:
case DELETED:
case DENSE_RANK:
case DEPENDENTS:
case DES:
case DESCRIPTION:
case DESX:
case DHCP:
case DIALOG:
case DIRECTORY_NAME:
case DISABLE:
case DISABLE_BROKER:
case DISABLED:
case DISK_DRIVE:
case DOCUMENT:
case DYNAMIC:
case EMERGENCY:
case EMPTY:
case ENABLE:
case ENABLE_BROKER:
case ENCRYPTED_VALUE:
case ENCRYPTION:
case ENDPOINT_URL:
case ERROR_BROKER_CONVERSATIONS:
case EXCLUSIVE:
case EXECUTABLE:
case EXIST:
case EXPAND:
case EXPIRY_DATE:
case EXPLICIT:
case FAIL_OPERATION:
case FAILOVER_MODE:
case FAILURE:
case FAILURE_CONDITION_LEVEL:
case FAST:
case FAST_FORWARD:
case FILEGROUP:
case FILEGROWTH:
case FILEPATH:
case FILESTREAM:
case FILTER:
case FIRST:
case FIRST_VALUE:
case FOLLOWING:
case FORCE:
case FORCE_FAILOVER_ALLOW_DATA_LOSS:
case FORCED:
case FORMAT:
case FORWARD_ONLY:
case FULLSCAN:
case FULLTEXT:
case GB:
case GETDATE:
case GETUTCDATE:
case GLOBAL:
case GO:
case GROUP_MAX_REQUESTS:
case GROUPING:
case GROUPING_ID:
case HADR:
case HASH:
case HEALTH_CHECK_TIMEOUT:
case HIGH:
case HONOR_BROKER_PRIORITY:
case HOURS:
case IDENTITY_VALUE:
case IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX:
case IMMEDIATE:
case IMPERSONATE:
case IMPORTANCE:
case INCREMENTAL:
case INITIATOR:
case INPUT:
case INSENSITIVE:
case INSERTED:
case INT:
case IP:
case ISOLATION:
case KB:
case KEEP:
case KEEPFIXED:
case KEY_SOURCE:
case KEYS:
case KEYSET:
case LAG:
case LAST:
case LAST_VALUE:
case LEAD:
case LEVEL:
case LIST:
case LISTENER:
case LISTENER_URL:
case LOB_COMPACTION:
case LOCAL:
case LOCATION:
case LOCK:
case LOCK_ESCALATION:
case LOGIN:
case LOOP:
case LOW:
case MANUAL:
case MARK:
case MATERIALIZED:
case MAX:
case MAX_CPU_PERCENT:
case MAX_DOP:
case MAX_FILES:
case MAX_IOPS_PER_VOLUME:
case MAX_MEMORY_PERCENT:
case MAX_PROCESSES:
case MAX_QUEUE_READERS:
case MAX_ROLLOVER_FILES:
case MAXDOP:
case MAXRECURSION:
case MAXSIZE:
case MB:
case MEDIUM:
case MEMORY_OPTIMIZED_DATA:
case MESSAGE:
case MIN:
case MIN_ACTIVE_ROWVERSION:
case MIN_CPU_PERCENT:
case MIN_IOPS_PER_VOLUME:
case MIN_MEMORY_PERCENT:
case MINUTES:
case MIRROR_ADDRESS:
case MIXED_PAGE_ALLOCATION:
case MODE:
case MODIFY:
case MOVE:
case MULTI_USER:
case NAME:
case NESTED_TRIGGERS:
case NEW_ACCOUNT:
case NEW_BROKER:
case NEW_PASSWORD:
case NEXT:
case NO:
case NO_TRUNCATE:
case NO_WAIT:
case NOCOUNT:
case NODES:
case NOEXPAND:
case NON_TRANSACTED_ACCESS:
case NORECOMPUTE:
case NORECOVERY:
case NOWAIT:
case NTILE:
case NUMANODE:
case NUMBER:
case NUMERIC_ROUNDABORT:
case OBJECT:
case OFFLINE:
case OFFSET:
case OLD_ACCOUNT:
case ONLINE:
case ONLY:
case OPEN_EXISTING:
case OPTIMISTIC:
case OPTIMIZE:
case OUT:
case OUTPUT:
case OWNER:
case PAGE_VERIFY:
case PARAMETERIZATION:
case PARTITION:
case PARTITIONS:
case PARTNER:
case PATH:
case POISON_MESSAGE_HANDLING:
case POOL:
case PORT:
case PRECEDING:
case PRIMARY_ROLE:
case PRIOR:
case PRIORITY:
case PRIORITY_LEVEL:
case PRIVATE:
case PRIVATE_KEY:
case PRIVILEGES:
case PROCEDURE_NAME:
case PROPERTY:
case PROVIDER:
case PROVIDER_KEY_NAME:
case QUERY:
case QUEUE:
case QUEUE_DELAY:
case QUOTED_IDENTIFIER:
case RANGE:
case RANK:
case RC2:
case RC4:
case RC4_128:
case READ_COMMITTED_SNAPSHOT:
case READ_ONLY:
case READ_ONLY_ROUTING_LIST:
case READ_WRITE:
case READONLY:
case REBUILD:
case RECEIVE:
case RECOMPILE:
case RECOVERY:
case RECURSIVE_TRIGGERS:
case RELATIVE:
case REMOTE:
case REMOTE_SERVICE_NAME:
case REMOVE:
case REORGANIZE:
case REPEATABLE:
case REPLICA:
case REQUEST_MAX_CPU_TIME_SEC:
case REQUEST_MAX_MEMORY_GRANT_PERCENT:
case REQUEST_MEMORY_GRANT_TIMEOUT_SEC:
case REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT:
case RESERVE_DISK_SPACE:
case RESOURCE:
case RESOURCE_MANAGER_LOCATION:
case RESTRICTED_USER:
case RETENTION:
case ROBUST:
case ROOT:
case ROUTE:
case ROW:
case ROW_NUMBER:
case ROWGUID:
case ROWS:
case SAMPLE:
case SCHEMABINDING:
case SCOPED:
case SCROLL:
case SCROLL_LOCKS:
case SEARCH:
case SECONDARY:
case SECONDARY_ONLY:
case SECONDARY_ROLE:
case SECONDS:
case SECRET:
case SECURITY_LOG:
case SEEDING_MODE:
case SELF:
case SEMI_SENSITIVE:
case SEND:
case SENT:
case SERIALIZABLE:
case SESSION_TIMEOUT:
case SETERROR:
case SHARE:
case SHOWPLAN:
case SIGNATURE:
case SIMPLE:
case SINGLE_USER:
case SIZE:
case SMALLINT:
case SNAPSHOT:
case SPATIAL_WINDOW_MAX_CELLS:
case STANDBY:
case START_DATE:
case STATIC:
case STATS_STREAM:
case STATUS:
case STDEV:
case STDEVP:
case STOPLIST:
case STUFF:
case SUBJECT:
case SUM:
case SUSPEND:
case SYMMETRIC:
case SYNCHRONOUS_COMMIT:
case SYNONYM:
case TAKE:
case TARGET_RECOVERY_TIME:
case TB:
case TEXTIMAGE_ON:
case THROW:
case TIES:
case TIME:
case TIMEOUT:
case TIMER:
case TINYINT:
case TORN_PAGE_DETECTION:
case TRANSFORM_NOISE_WORDS:
case TRIPLE_DES:
case TRIPLE_DES_3KEY:
case TRUSTWORTHY:
case TRY:
case TSQL:
case TWO_DIGIT_YEAR_CUTOFF:
case TYPE:
case TYPE_WARNING:
case UNBOUNDED:
case UNCOMMITTED:
case UNKNOWN:
case UNLIMITED:
case USING:
case VALID_XML:
case VALIDATION:
case VALUE:
case VAR:
case VARP:
case VIEW_METADATA:
case VIEWS:
case WAIT:
case WELL_FORMED_XML:
case WORK:
case WORKLOAD:
case XML:
case XMLNAMESPACES:
case DOUBLE_QUOTE_ID:
case SQUARE_BRACKET_ID:
case ID:
{
setState(4120);
((Alter_resource_governorContext)_localctx).schema_name = id();
setState(4121);
match(DOT);
setState(4122);
((Alter_resource_governorContext)_localctx).function_name = id();
}
break;
case NULL:
{
setState(4124);
match(NULL);
}
break;
default:
throw new NoViableAltException(this);
}
setState(4127);
match(RR_BRACKET);
}
break;
case 3:
{
setState(4128);
match(RESET);
setState(4129);
match(STATISTICS);
}
break;
case 4:
{
setState(4130);
match(WITH);
setState(4131);
match(LR_BRACKET);
setState(4132);
match(MAX_OUTSTANDING_IO_PER_VOLUME);
setState(4133);
match(EQUAL);
setState(4134);
((Alter_resource_governorContext)_localctx).max_outstanding_io_per_volume = match(DECIMAL);
setState(4135);
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 Alter_db_roleContext extends ParserRuleContext {
public IdContext role_name;
public IdContext database_principal;
public IdContext new_role_name;
public TerminalNode ALTER() { return getToken(TSqlParser.ALTER, 0); }
public TerminalNode ROLE() { return getToken(TSqlParser.ROLE, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode MEMBER() { return getToken(TSqlParser.MEMBER, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode NAME() { return getToken(TSqlParser.NAME, 0); }
public TerminalNode EQUAL() { return getToken(TSqlParser.EQUAL, 0); }
public TerminalNode ADD() { return getToken(TSqlParser.ADD, 0); }
public TerminalNode DROP() { return getToken(TSqlParser.DROP, 0); }
public Alter_db_roleContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_alter_db_role; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterAlter_db_role(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitAlter_db_role(this);
}
}
public final Alter_db_roleContext alter_db_role() throws RecognitionException {
Alter_db_roleContext _localctx = new Alter_db_roleContext(_ctx, getState());
enterRule(_localctx, 346, RULE_alter_db_role);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4138);
match(ALTER);
setState(4139);
match(ROLE);
setState(4140);
((Alter_db_roleContext)_localctx).role_name = id();
setState(4148);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ADD:
case DROP:
{
setState(4141);
_la = _input.LA(1);
if ( !(_la==ADD || _la==DROP) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(4142);
match(MEMBER);
setState(4143);
((Alter_db_roleContext)_localctx).database_principal = id();
}
break;
case WITH:
{
setState(4144);
match(WITH);
setState(4145);
match(NAME);
setState(4146);
match(EQUAL);
setState(4147);
((Alter_db_roleContext)_localctx).new_role_name = id();
}
break;
default:
throw new NoViableAltException(this);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Create_db_roleContext extends ParserRuleContext {
public IdContext role_name;
public IdContext owner_name;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode ROLE() { return getToken(TSqlParser.ROLE, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode AUTHORIZATION() { return getToken(TSqlParser.AUTHORIZATION, 0); }
public Create_db_roleContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_db_role; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_db_role(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_db_role(this);
}
}
public final Create_db_roleContext create_db_role() throws RecognitionException {
Create_db_roleContext _localctx = new Create_db_roleContext(_ctx, getState());
enterRule(_localctx, 348, RULE_create_db_role);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4150);
match(CREATE);
setState(4151);
match(ROLE);
setState(4152);
((Create_db_roleContext)_localctx).role_name = id();
setState(4155);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AUTHORIZATION) {
{
setState(4153);
match(AUTHORIZATION);
setState(4154);
((Create_db_roleContext)_localctx).owner_name = id();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Create_routeContext extends ParserRuleContext {
public IdContext route_name;
public IdContext owner_name;
public Token route_service_name;
public Token broker_instance_identifier;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode ROUTE() { return getToken(TSqlParser.ROUTE, 0); }
public TerminalNode WITH() { return getToken(TSqlParser.WITH, 0); }
public TerminalNode ADDRESS() { return getToken(TSqlParser.ADDRESS, 0); }
public List EQUAL() { return getTokens(TSqlParser.EQUAL); }
public TerminalNode EQUAL(int i) {
return getToken(TSqlParser.EQUAL, i);
}
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public List STRING() { return getTokens(TSqlParser.STRING); }
public TerminalNode STRING(int i) {
return getToken(TSqlParser.STRING, i);
}
public List QUOTED_URL() { return getTokens(TSqlParser.QUOTED_URL); }
public TerminalNode QUOTED_URL(int i) {
return getToken(TSqlParser.QUOTED_URL, i);
}
public TerminalNode AUTHORIZATION() { return getToken(TSqlParser.AUTHORIZATION, 0); }
public TerminalNode SERVICE_NAME() { return getToken(TSqlParser.SERVICE_NAME, 0); }
public TerminalNode BROKER_INSTANCE() { return getToken(TSqlParser.BROKER_INSTANCE, 0); }
public TerminalNode LIFETIME() { return getToken(TSqlParser.LIFETIME, 0); }
public TerminalNode DECIMAL() { return getToken(TSqlParser.DECIMAL, 0); }
public List COMMA() { return getTokens(TSqlParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(TSqlParser.COMMA, i);
}
public TerminalNode MIRROR_ADDRESS() { return getToken(TSqlParser.MIRROR_ADDRESS, 0); }
public Create_routeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_create_route; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).enterCreate_route(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof TSqlParserListener ) ((TSqlParserListener)listener).exitCreate_route(this);
}
}
public final Create_routeContext create_route() throws RecognitionException {
Create_routeContext _localctx = new Create_routeContext(_ctx, getState());
enterRule(_localctx, 350, RULE_create_route);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(4157);
match(CREATE);
setState(4158);
match(ROUTE);
setState(4159);
((Create_routeContext)_localctx).route_name = id();
setState(4162);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AUTHORIZATION) {
{
setState(4160);
match(AUTHORIZATION);
setState(4161);
((Create_routeContext)_localctx).owner_name = id();
}
}
setState(4164);
match(WITH);
setState(4171);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,445,_ctx) ) {
case 1:
{
setState(4166);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(4165);
match(COMMA);
}
}
setState(4168);
match(SERVICE_NAME);
setState(4169);
match(EQUAL);
setState(4170);
((Create_routeContext)_localctx).route_service_name = match(STRING);
}
break;
}
setState(4179);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,447,_ctx) ) {
case 1:
{
setState(4174);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(4173);
match(COMMA);
}
}
setState(4176);
match(BROKER_INSTANCE);
setState(4177);
match(EQUAL);
setState(4178);
((Create_routeContext)_localctx).broker_instance_identifier = match(STRING);
}
break;
}
setState(4187);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,449,_ctx) ) {
case 1:
{
setState(4182);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(4181);
match(COMMA);
}
}
setState(4184);
match(LIFETIME);
setState(4185);
match(EQUAL);
setState(4186);
match(DECIMAL);
}
break;
}
setState(4190);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(4189);
match(COMMA);
}
}
setState(4192);
match(ADDRESS);
setState(4193);
match(EQUAL);
setState(4194);
_la = _input.LA(1);
if ( !(_la==QUOTED_URL || _la==STRING) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(4199);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(4195);
match(COMMA);
setState(4196);
match(MIRROR_ADDRESS);
setState(4197);
match(EQUAL);
setState(4198);
_la = _input.LA(1);
if ( !(_la==QUOTED_URL || _la==STRING) ) {
_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 Create_ruleContext extends ParserRuleContext {
public IdContext schema_name;
public IdContext rule_name;
public TerminalNode CREATE() { return getToken(TSqlParser.CREATE, 0); }
public TerminalNode RULE() { return getToken(TSqlParser.RULE, 0); }
public TerminalNode AS() { return getToken(TSqlParser.AS, 0); }
public Search_conditionContext search_condition() {
return getRuleContext(Search_conditionContext.class,0);
}
public List