SQLRouter

Fully-qualified class name

org.apache.shardingsphere.infra.route.SQLRouter

Definition

Used to process routing results

Implementation classes

Configuration typeDescriptionFully-qualified class name
SingleRule.classUsed to process single-table routing resultsorg.apache.shardingsphere.singletable.route.SingleTableSQLRouter
ShardingRule.classUsed to process sharding routing resultsorg.apache.shardingsphere.sharding.route.engine.ShardingSQLRouter
ReadwriteSplittingRule.classUsed to process read-write splitting routing resultsorg.apache.shardingsphere.readwritesplitting.route.ReadwriteSplittingSQLRouter
DatabaseDiscoveryRule.classUsed to process database discovery routing resultsorg.apache.shardingsphere.dbdiscovery.route.DatabaseDiscoverySQLRouter
ShadowRule.classUsed to process shadow database routing resultsorg.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 typeDescriptionFully-qualified class name
ShardingRule.classUsed to process sharding SQL rewrite resultsorg.apache.shardingsphere.sharding.rewrite.context.ShardingSQLRewriteContextDecorator
EncryptRule.classUsed to process encryption SQL rewrite resultsorg.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 typeDescriptionFully-qualified class name
EmptyTransaction hook of SQL executionorg.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 typeDescriptionFully-qualified class name
ShardingRule.classUsed to handle sharding result set mergeorg.apache.shardingsphere.sharding.merge.ShardingResultMergerEngine
EncryptRule.classUsed to handle encrypted result set overridesorg.apache.shardingsphere.encrypt.merge.EncryptResultDecoratorEngine