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