public final class AlterEncryptRuleStatementUpdater extends Object implements org.apache.shardingsphere.infra.distsql.update.RuleDefinitionAlterUpdater<AlterEncryptRuleStatement,EncryptRuleConfiguration>
| Constructor and Description |
|---|
AlterEncryptRuleStatementUpdater() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.shardingsphere.infra.config.RuleConfiguration |
buildToBeAlteredRuleConfiguration(AlterEncryptRuleStatement sqlStatement) |
void |
checkSQLStatement(org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData shardingSphereMetaData,
AlterEncryptRuleStatement sqlStatement,
EncryptRuleConfiguration currentRuleConfig) |
Class<EncryptRuleConfiguration> |
getRuleConfigurationClass() |
String |
getType() |
void |
updateCurrentRuleConfiguration(EncryptRuleConfiguration currentRuleConfig,
EncryptRuleConfiguration toBeAlteredRuleConfig) |
public void checkSQLStatement(org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData shardingSphereMetaData,
AlterEncryptRuleStatement sqlStatement,
EncryptRuleConfiguration currentRuleConfig)
throws org.apache.shardingsphere.infra.distsql.exception.DistSQLException
checkSQLStatement in interface org.apache.shardingsphere.infra.distsql.update.RuleDefinitionUpdater<AlterEncryptRuleStatement,EncryptRuleConfiguration>org.apache.shardingsphere.infra.distsql.exception.DistSQLExceptionpublic org.apache.shardingsphere.infra.config.RuleConfiguration buildToBeAlteredRuleConfiguration(AlterEncryptRuleStatement sqlStatement)
buildToBeAlteredRuleConfiguration in interface org.apache.shardingsphere.infra.distsql.update.RuleDefinitionAlterUpdater<AlterEncryptRuleStatement,EncryptRuleConfiguration>public void updateCurrentRuleConfiguration(EncryptRuleConfiguration currentRuleConfig, EncryptRuleConfiguration toBeAlteredRuleConfig)
updateCurrentRuleConfiguration in interface org.apache.shardingsphere.infra.distsql.update.RuleDefinitionAlterUpdater<AlterEncryptRuleStatement,EncryptRuleConfiguration>public Class<EncryptRuleConfiguration> getRuleConfigurationClass()
getRuleConfigurationClass in interface org.apache.shardingsphere.infra.distsql.update.RuleDefinitionUpdater<AlterEncryptRuleStatement,EncryptRuleConfiguration>public String getType()
getType in interface org.apache.shardingsphere.spi.typed.TypedSPICopyright © 2022 The Apache Software Foundation. All rights reserved.