org.apache.shardingsphere.infra.route.SQLRouter
Used to process routing results
| Configuration type | Description | Fully-qualified class name | 
|---|---|---|
| SingleTableRule.class | Used to process single-table routing results | org.apache.shardingsphere.singletable.route.SingleTableSQLRouter | 
| ShardingRule.class | Used to process sharding routing results | org.apache.shardingsphere.sharding.route.engine.ShardingSQLRouter | 
| ReadwriteSplittingRule.class | Used to process read-write splitting routing results | org.apache.shardingsphere.readwritesplitting.route.ReadwriteSplittingSQLRouter | 
| DatabaseDiscoveryRule.class | Used to process database discovery routing results | org.apache.shardingsphere.dbdiscovery.route.DatabaseDiscoverySQLRouter | 
| ShadowRule.class | Used to process shadow database routing results | org.apache.shardingsphere.shadow.route.ShadowSQLRouter | 
org.apache.shardingsphere.infra.rewrite.context.SQLRewriteContextDecorator
Used to handle SQL rewrite results
| Configuration type | Description | Fully-qualified class name | 
|---|---|---|
| ShardingRule.class | Used to process sharding SQL rewrite results | org.apache.shardingsphere.sharding.rewrite.context.ShardingSQLRewriteContextDecorator | 
| EncryptRule.class | Used to process encryption SQL rewrite results | org.apache.shardingsphere.encrypt.rewrite.context.EncryptSQLRewriteContextDecorator | 
org.apache.shardingsphere.infra.executor.sql.hook.SQLExecutionHook
SQL execution process listener
| Configuration type | Description | Fully-qualified class name | 
|---|---|---|
| Empty | Transaction hook of SQL execution | org.apache.shardingsphere.transaction.base.seata.at.TransactionalSQLExecutionHook | 
org.apache.shardingsphere.infra.merge.engine.ResultProcessEngine
Used to process result sets
| Configuration type | Description | Fully-qualified class name | 
|---|---|---|
| ShardingRule.class | Used to handle sharding result set merge | org.apache.shardingsphere.sharding.merge.ShardingResultMergerEngine | 
| EncryptRule.class | Used to handle encrypted result set overrides | org.apache.shardingsphere.encrypt.merge.EncryptResultDecoratorEngine | 
