SQLRouter
Fully-qualified class name
org.apache.shardingsphere.infra.route.SQLRouter
Definition
Used to process routing results
Implementation classes
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 |
SQLRewriteContextDecorator
Fully-qualified class name
org.apache.shardingsphere.infra.rewrite.context.SQLRewriteContextDecorator
Definition
Used to handle SQL rewrite results
Implementation classes
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 |
SQLExecutionHook
Fully-qualified class name
org.apache.shardingsphere.infra.executor.sql.hook.SQLExecutionHook
Definition
SQL execution process listener
Implementation classes
Configuration type | Description | Fully-qualified class name |
---|---|---|
Empty | Transaction hook of SQL execution | org.apache.shardingsphere.transaction.base.seata.at.TransactionalSQLExecutionHook |
ResultProcessEngine
Fully-qualified class name
org.apache.shardingsphere.infra.merge.engine.ResultProcessEngine
Definition
Used to process result sets
Implementation classes
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 |
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .