public final class ShardingDropIndexStatementValidator extends ShardingDDLStatementValidator<org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.DropIndexStatement>
| Constructor and Description |
|---|
ShardingDropIndexStatementValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
postValidate(ShardingRule shardingRule,
SQLStatementContext<org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.DropIndexStatement> sqlStatementContext,
RouteContext routeContext,
org.apache.shardingsphere.infra.metadata.schema.ShardingSphereSchema schema)
Validate whether sharding operation is supported after route.
|
void |
preValidate(ShardingRule shardingRule,
SQLStatementContext<org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.DropIndexStatement> sqlStatementContext,
List<Object> parameters,
org.apache.shardingsphere.infra.metadata.schema.ShardingSphereSchema schema)
Validate whether sharding operation is supported before route.
|
isRouteUnitDataNodeDifferentSize, isSchemaContainsIndex, validateShardingTable, validateTableExist, validateTableNotExistpublic void preValidate(ShardingRule shardingRule, SQLStatementContext<org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.DropIndexStatement> sqlStatementContext, List<Object> parameters, org.apache.shardingsphere.infra.metadata.schema.ShardingSphereSchema schema)
ShardingStatementValidatorshardingRule - sharding rulesqlStatementContext - SQL statement contextparameters - SQL parametersschema - ShardingSphere schemapublic void postValidate(ShardingRule shardingRule, SQLStatementContext<org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.DropIndexStatement> sqlStatementContext, RouteContext routeContext, org.apache.shardingsphere.infra.metadata.schema.ShardingSphereSchema schema)
ShardingStatementValidatorshardingRule - sharding rulesqlStatementContext - SQL statement contextrouteContext - route contextschema - ShardingSphere schemaCopyright © 2021 The Apache Software Foundation. All rights reserved.