public final class CommonDistSQLParser extends CommonDistSQLStatementParser implements org.apache.shardingsphere.sql.parser.api.parser.SQLParser
CommonDistSQLStatementParser.AddResourceContext, CommonDistSQLStatementParser.AlgorithmDefinitionContext, CommonDistSQLStatementParser.AlgorithmPropertiesContext, CommonDistSQLStatementParser.AlgorithmPropertyContext, CommonDistSQLStatementParser.AlterDefaultSingleTableRuleContext, CommonDistSQLStatementParser.AlterInstanceContext, CommonDistSQLStatementParser.AlterResourceContext, CommonDistSQLStatementParser.AlterSQLParserRuleContext, CommonDistSQLStatementParser.AlterTrafficRuleContext, CommonDistSQLStatementParser.AlterTransactionRuleContext, CommonDistSQLStatementParser.ApplyDistSQLContext, CommonDistSQLStatementParser.CacheOptionContext, CommonDistSQLStatementParser.ClearHintContext, CommonDistSQLStatementParser.ConcurrencyLevelContext, CommonDistSQLStatementParser.CountInstanceRulesContext, CommonDistSQLStatementParser.CountSchemaRulesContext, CommonDistSQLStatementParser.CreateDefaultSingleTableRuleContext, CommonDistSQLStatementParser.CreateTrafficRuleContext, CommonDistSQLStatementParser.DataSourceContext, CommonDistSQLStatementParser.DataSourceNameContext, CommonDistSQLStatementParser.DbNameContext, CommonDistSQLStatementParser.DefaultTypeContext, CommonDistSQLStatementParser.DisableInstanceContext, CommonDistSQLStatementParser.DiscardDistSQLContext, CommonDistSQLStatementParser.DropDefaultSingleTableRuleContext, CommonDistSQLStatementParser.DropResourceContext, CommonDistSQLStatementParser.DropTrafficRuleContext, CommonDistSQLStatementParser.EnableInstanceContext, CommonDistSQLStatementParser.ExecuteContext, CommonDistSQLStatementParser.ExistClauseContext, CommonDistSQLStatementParser.ExportSchemaConfigurationContext, CommonDistSQLStatementParser.FilePathContext, CommonDistSQLStatementParser.HostnameContext, CommonDistSQLStatementParser.IfExistsContext, CommonDistSQLStatementParser.IgnoreSingleTablesContext, CommonDistSQLStatementParser.ImportSchemaConfigurationContext, CommonDistSQLStatementParser.InitialCapacityContext, CommonDistSQLStatementParser.InstanceDefinationContext, CommonDistSQLStatementParser.InstanceIdContext, CommonDistSQLStatementParser.IpContext, CommonDistSQLStatementParser.LabelContext, CommonDistSQLStatementParser.LabelDefinitionContext, CommonDistSQLStatementParser.LabelInstanceContext, CommonDistSQLStatementParser.LoadBalancerDefinitionContext, CommonDistSQLStatementParser.MaximumSizeContext, CommonDistSQLStatementParser.ParseTreeCacheContext, CommonDistSQLStatementParser.PasswordContext, CommonDistSQLStatementParser.PortContext, CommonDistSQLStatementParser.PrepareDistSQLContext, CommonDistSQLStatementParser.PropertiesContext, CommonDistSQLStatementParser.PropertiesDefinitionContext, CommonDistSQLStatementParser.PropertyContext, CommonDistSQLStatementParser.ProviderDefinitionContext, CommonDistSQLStatementParser.ProviderNameContext, CommonDistSQLStatementParser.RefreshScopeContext, CommonDistSQLStatementParser.RefreshTableMetadataContext, CommonDistSQLStatementParser.ResourceNameContext, CommonDistSQLStatementParser.RuleNameContext, CommonDistSQLStatementParser.SchemaNameContext, CommonDistSQLStatementParser.SetVariableContext, CommonDistSQLStatementParser.ShowAllVariablesContext, CommonDistSQLStatementParser.ShowAuthorityRuleContext, CommonDistSQLStatementParser.ShowInstanceContext, CommonDistSQLStatementParser.ShowInstanceModeContext, CommonDistSQLStatementParser.ShowResourcesContext, CommonDistSQLStatementParser.ShowRulesUsedResourceContext, CommonDistSQLStatementParser.ShowSingleTableContext, CommonDistSQLStatementParser.ShowSingleTableRulesContext, CommonDistSQLStatementParser.ShowSQLParserRuleContext, CommonDistSQLStatementParser.ShowTableMetadataContext, CommonDistSQLStatementParser.ShowTrafficRulesContext, CommonDistSQLStatementParser.ShowTransactionRuleContext, CommonDistSQLStatementParser.ShowUnusedResourcesContext, CommonDistSQLStatementParser.ShowVariableContext, CommonDistSQLStatementParser.SimpleSourceContext, CommonDistSQLStatementParser.SqlCommentParseEnableContext, CommonDistSQLStatementParser.SqlParserRuleDefinitionContext, CommonDistSQLStatementParser.SqlStatementCacheContext, CommonDistSQLStatementParser.TableContext, CommonDistSQLStatementParser.TableNameContext, CommonDistSQLStatementParser.TrafficAlgorithmDefinitionContext, CommonDistSQLStatementParser.TrafficRuleDefinitionContext, CommonDistSQLStatementParser.TransactionRuleDefinitionContext, CommonDistSQLStatementParser.TypeNameContext, CommonDistSQLStatementParser.UnlabelInstanceContext, CommonDistSQLStatementParser.UrlContext, CommonDistSQLStatementParser.UrlSourceContext, CommonDistSQLStatementParser.UserContext, CommonDistSQLStatementParser.VariableNameContext, CommonDistSQLStatementParser.VariableValueContext, CommonDistSQLStatementParser.VariableValuesContext_ATN, _decisionToDFA, _serializedATN, _sharedContextCache, ADD, ALL, ALTER, AMPERSAND, AND, APPLY, ASTERISK, AT, AUTHORITY, BACKSLASH, BITNUM, BQ, CARET, CLEAR, COLON, COMMA, CONCURRENCY_LEVEL, CONFIG, CONFIGURATION, COUNT, CREATE, DB, DEFAULT, DEQ, DISABLE, DISCARD, DISTSQL, DL, DOT, DOTASTERISK, DQ, DROP, ENABLE, EQ, EXISTS, EXPORT, FALSE, FILE, FOR_GENERATOR, FROM, GT, GTE, HEX, HEXDIGIT, HINT, HOST, IDENTIFIER, IF, IGNORE, IMPORT, INITIAL_CAPACITY, INSTANCE, INT, IP, JSONSEPARATOR, LABEL, LABELS, LBE, LBT, LIST, LOAD_BALANCER, LP, LT, LTE, MAXIMUM_SIZE, METADATA, MINUS, MOD, MODE, NAME, NEQ, NOT, NUMBER, OR, PARSE_TREE_CACHE, PASSWORD, PLUS, PORT, POUND, PREPARE, PROPERTIES, QUESTION, RBE, RBT, REFRESH, RELABEL, RESOURCE, RESOURCES, RP, RULE, RULE_addResource, RULE_algorithmDefinition, RULE_algorithmProperties, RULE_algorithmProperty, RULE_alterDefaultSingleTableRule, RULE_alterInstance, RULE_alterResource, RULE_alterSQLParserRule, RULE_alterTrafficRule, RULE_alterTransactionRule, RULE_applyDistSQL, RULE_cacheOption, RULE_clearHint, RULE_concurrencyLevel, RULE_countInstanceRules, RULE_countSchemaRules, RULE_createDefaultSingleTableRule, RULE_createTrafficRule, RULE_dataSource, RULE_dataSourceName, RULE_dbName, RULE_defaultType, RULE_disableInstance, RULE_discardDistSQL, RULE_dropDefaultSingleTableRule, RULE_dropResource, RULE_dropTrafficRule, RULE_enableInstance, RULE_execute, RULE_existClause, RULE_exportSchemaConfiguration, RULE_filePath, RULE_hostname, RULE_ifExists, RULE_ignoreSingleTables, RULE_importSchemaConfiguration, RULE_initialCapacity, RULE_instanceDefination, RULE_instanceId, RULE_ip, RULE_label, RULE_labelDefinition, RULE_labelInstance, RULE_loadBalancerDefinition, RULE_maximumSize, RULE_parseTreeCache, RULE_password, RULE_port, RULE_prepareDistSQL, RULE_properties, RULE_propertiesDefinition, RULE_property, RULE_providerDefinition, RULE_providerName, RULE_refreshScope, RULE_refreshTableMetadata, RULE_resourceName, RULE_ruleName, RULE_schemaName, RULE_setVariable, RULE_showAllVariables, RULE_showAuthorityRule, RULE_showInstance, RULE_showInstanceMode, RULE_showResources, RULE_showRulesUsedResource, RULE_showSingleTable, RULE_showSingleTableRules, RULE_showSQLParserRule, RULE_showTableMetadata, RULE_showTrafficRules, RULE_showTransactionRule, RULE_showUnusedResources, RULE_showVariable, RULE_simpleSource, RULE_sqlCommentParseEnable, RULE_sqlParserRuleDefinition, RULE_sqlStatementCache, RULE_table, RULE_tableName, RULE_trafficAlgorithmDefinition, RULE_trafficRuleDefinition, RULE_transactionRuleDefinition, RULE_typeName, RULE_unlabelInstance, RULE_url, RULE_urlSource, RULE_user, RULE_variableName, RULE_variableValue, RULE_variableValues, ruleNames, RULES, SAFEEQ, SCHEMA, SEMI, SET, SHOW, SIGNEDLEFTSHIFT, SIGNEDRIGHTSHIFT, SINGLE, SLASH, SQ, SQL_COMMENT_PARSE_ENABLE, SQL_PARSER, SQL_STATEMENT_CACHE, STRING, TABLE, TABLES, TILDE, tokenNames, TRAFFIC, TRAFFIC_ALGORITHM, TRANSACTION, TRUE, TYPE, UL, UNLABEL, UNUSED, URL, USED, USER, VARIABLE, VARIABLES, VERTICALBAR, VOCABULARY, WITH, WS| Constructor and Description |
|---|
CommonDistSQLParser(org.antlr.v4.runtime.TokenStream input) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.shardingsphere.sql.parser.api.visitor.ASTNode |
parse() |
addResource, algorithmDefinition, algorithmProperties, algorithmProperty, alterDefaultSingleTableRule, alterInstance, alterResource, alterSQLParserRule, alterTrafficRule, alterTransactionRule, applyDistSQL, cacheOption, clearHint, concurrencyLevel, countInstanceRules, countSchemaRules, createDefaultSingleTableRule, createTrafficRule, dataSource, dataSourceName, dbName, defaultType, disableInstance, discardDistSQL, dropDefaultSingleTableRule, dropResource, dropTrafficRule, enableInstance, execute, existClause, exportSchemaConfiguration, filePath, getATN, getGrammarFileName, getRuleNames, getSerializedATN, getTokenNames, getVocabulary, hostname, ifExists, ignoreSingleTables, importSchemaConfiguration, initialCapacity, instanceDefination, instanceId, ip, label, labelDefinition, labelInstance, loadBalancerDefinition, maximumSize, parseTreeCache, password, port, prepareDistSQL, properties, propertiesDefinition, property, providerDefinition, providerName, refreshScope, refreshTableMetadata, resourceName, ruleName, schemaName, setVariable, showAllVariables, showAuthorityRule, showInstance, showInstanceMode, showResources, showRulesUsedResource, showSingleTable, showSingleTableRules, showSQLParserRule, showTableMetadata, showTrafficRules, showTransactionRule, showUnusedResources, showVariable, simpleSource, sqlCommentParseEnable, sqlParserRuleDefinition, sqlStatementCache, table, tableName, trafficAlgorithmDefinition, trafficRuleDefinition, transactionRuleDefinition, typeName, unlabelInstance, url, urlSource, user, variableName, variableValue, variableValuesaddContextToParseTree, addParseListener, compileParseTreePattern, compileParseTreePattern, consume, createErrorNode, createTerminalNode, dumpDFA, enterOuterAlt, enterRecursionRule, enterRecursionRule, enterRule, exitRule, getATNWithBypassAlts, getBuildParseTree, getContext, getCurrentToken, getDFAStrings, getErrorHandler, getExpectedTokens, getExpectedTokensWithinCurrentRule, getInputStream, getInvokingContext, getNumberOfSyntaxErrors, getParseInfo, getParseListeners, getPrecedence, getRuleContext, getRuleIndex, getRuleInvocationStack, getRuleInvocationStack, getSourceName, getTokenFactory, getTokenStream, getTrimParseTree, inContext, isExpectedToken, isMatchedEOF, isTrace, match, matchWildcard, notifyErrorListeners, notifyErrorListeners, precpred, pushNewRecursionContext, removeParseListener, removeParseListeners, reset, setBuildParseTree, setContext, setErrorHandler, setInputStream, setProfile, setTokenFactory, setTokenStream, setTrace, setTrimParseTree, triggerEnterRuleEvent, triggerExitRuleEvent, unrollRecursionContextsaction, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setStatepublic CommonDistSQLParser(org.antlr.v4.runtime.TokenStream input)
public org.apache.shardingsphere.sql.parser.api.visitor.ASTNode parse()
parse in interface org.apache.shardingsphere.sql.parser.api.parser.SQLParserCopyright © 2022 The Apache Software Foundation. All rights reserved.