public final class DropShardingKeyGeneratorStatementUpdater extends Object implements org.apache.shardingsphere.infra.distsql.update.RuleDefinitionDropUpdater<DropShardingKeyGeneratorStatement,ShardingRuleConfiguration>
| Constructor and Description |
|---|
DropShardingKeyGeneratorStatementUpdater() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkSQLStatement(org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData shardingSphereMetaData,
DropShardingKeyGeneratorStatement sqlStatement,
ShardingRuleConfiguration currentRuleConfig) |
Class<ShardingRuleConfiguration> |
getRuleConfigurationClass() |
String |
getType() |
boolean |
hasAnyOneToBeDropped(DropShardingKeyGeneratorStatement sqlStatement,
ShardingRuleConfiguration currentRuleConfig) |
boolean |
updateCurrentRuleConfiguration(DropShardingKeyGeneratorStatement sqlStatement,
ShardingRuleConfiguration currentRuleConfig) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic DropShardingKeyGeneratorStatementUpdater()
public void checkSQLStatement(org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData shardingSphereMetaData,
DropShardingKeyGeneratorStatement sqlStatement,
ShardingRuleConfiguration currentRuleConfig)
throws org.apache.shardingsphere.infra.distsql.exception.DistSQLException
checkSQLStatement in interface org.apache.shardingsphere.infra.distsql.update.RuleDefinitionUpdater<DropShardingKeyGeneratorStatement,ShardingRuleConfiguration>org.apache.shardingsphere.infra.distsql.exception.DistSQLExceptionpublic boolean updateCurrentRuleConfiguration(DropShardingKeyGeneratorStatement sqlStatement, ShardingRuleConfiguration currentRuleConfig)
updateCurrentRuleConfiguration in interface org.apache.shardingsphere.infra.distsql.update.RuleDefinitionDropUpdater<DropShardingKeyGeneratorStatement,ShardingRuleConfiguration>public Class<ShardingRuleConfiguration> getRuleConfigurationClass()
getRuleConfigurationClass in interface org.apache.shardingsphere.infra.distsql.update.RuleDefinitionUpdater<DropShardingKeyGeneratorStatement,ShardingRuleConfiguration>public String getType()
getType in interface org.apache.shardingsphere.spi.typed.TypedSPIpublic boolean hasAnyOneToBeDropped(DropShardingKeyGeneratorStatement sqlStatement, ShardingRuleConfiguration currentRuleConfig)
hasAnyOneToBeDropped in interface org.apache.shardingsphere.infra.distsql.update.RuleDefinitionDropUpdater<DropShardingKeyGeneratorStatement,ShardingRuleConfiguration>Copyright © 2022 The Apache Software Foundation. All rights reserved.