public final class ShardingTableRuleStatementChecker extends Object
| Constructor and Description |
|---|
ShardingTableRuleStatementChecker() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkAlteration(org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData shardingSphereMetaData,
Collection<AbstractTableRuleSegment> rules,
ShardingRuleConfiguration currentRuleConfig)
Check alter sharing table rule statement.
|
static void |
checkCreation(org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData shardingSphereMetaData,
Collection<AbstractTableRuleSegment> rules,
ShardingRuleConfiguration currentRuleConfig)
Check create sharing table rule statement.
|
public static void checkCreation(org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData shardingSphereMetaData,
Collection<AbstractTableRuleSegment> rules,
ShardingRuleConfiguration currentRuleConfig)
throws org.apache.shardingsphere.infra.distsql.exception.DistSQLException
shardingSphereMetaData - ShardingSphere meta datarules - rulescurrentRuleConfig - current rule configurationorg.apache.shardingsphere.infra.distsql.exception.DistSQLException - definition violation exceptionpublic static void checkAlteration(org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData shardingSphereMetaData,
Collection<AbstractTableRuleSegment> rules,
ShardingRuleConfiguration currentRuleConfig)
throws org.apache.shardingsphere.infra.distsql.exception.DistSQLException
shardingSphereMetaData - ShardingSphere meta datarules - rulescurrentRuleConfig - current rule configurationorg.apache.shardingsphere.infra.distsql.exception.DistSQLException - definition violation exceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.