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