public final class CreateShadowRuleStatementUpdater extends Object implements org.apache.shardingsphere.infra.distsql.update.RuleDefinitionCreateUpdater<CreateShadowRuleStatement,ShadowRuleConfiguration>
| 构造器和说明 |
|---|
CreateShadowRuleStatementUpdater() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.shardingsphere.infra.config.RuleConfiguration |
buildToBeCreatedRuleConfiguration(CreateShadowRuleStatement sqlStatement) |
void |
checkSQLStatement(org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData metaData,
CreateShadowRuleStatement sqlStatement,
ShadowRuleConfiguration currentRuleConfig) |
Class<ShadowRuleConfiguration> |
getRuleConfigurationClass() |
String |
getType() |
void |
updateCurrentRuleConfiguration(ShadowRuleConfiguration currentRuleConfig,
ShadowRuleConfiguration toBeCreatedRuleConfig) |
public org.apache.shardingsphere.infra.config.RuleConfiguration buildToBeCreatedRuleConfiguration(CreateShadowRuleStatement sqlStatement)
buildToBeCreatedRuleConfiguration 在接口中 org.apache.shardingsphere.infra.distsql.update.RuleDefinitionCreateUpdater<CreateShadowRuleStatement,ShadowRuleConfiguration>public void updateCurrentRuleConfiguration(ShadowRuleConfiguration currentRuleConfig, ShadowRuleConfiguration toBeCreatedRuleConfig)
updateCurrentRuleConfiguration 在接口中 org.apache.shardingsphere.infra.distsql.update.RuleDefinitionCreateUpdater<CreateShadowRuleStatement,ShadowRuleConfiguration>public void checkSQLStatement(org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData metaData,
CreateShadowRuleStatement sqlStatement,
ShadowRuleConfiguration currentRuleConfig)
throws org.apache.shardingsphere.infra.distsql.exception.DistSQLException
checkSQLStatement 在接口中 org.apache.shardingsphere.infra.distsql.update.RuleDefinitionUpdater<CreateShadowRuleStatement,ShadowRuleConfiguration>org.apache.shardingsphere.infra.distsql.exception.DistSQLExceptionpublic Class<ShadowRuleConfiguration> getRuleConfigurationClass()
getRuleConfigurationClass 在接口中 org.apache.shardingsphere.infra.distsql.update.RuleDefinitionUpdater<CreateShadowRuleStatement,ShadowRuleConfiguration>public String getType()
getType 在接口中 org.apache.shardingsphere.spi.typed.TypedSPICopyright © 2021 The Apache Software Foundation. All rights reserved.