SQLRouter

SPI NameDescription
SQLRouterUsed to process routing results
Implementation ClassDescription
ReadwriteSplittingSQLRouterUsed to process read-write separation routing results
DatabaseDiscoverySQLRouterUsed to process database discovery routing results
SingleTableSQLRouterUsed to process single-table routing results
ShardingSQLRouterUsed to process sharding routing results
ShadowSQLRouterUsed to process shadow database routing results

SQLRewriteContextDecorator

SPI NameDescription
SQLRewriteContextDecoratorUsed to process SQL rewrite results
SPI NameDescription
ShardingSQLRewriteContextDecoratorUsed to process sharding SQL rewrite results
EncryptSQLRewriteContextDecoratorUsed to process encryption SQL rewrite results
ShadowSQLRewriteContextDecoratorUsed to process shadow SQL rewrite results

SQLExecutionHook

SPI NameDescription
SQLExecutionHookHook of SQL execution
Implementation ClassDescription
TransactionalSQLExecutionHookTransaction hook of SQL execution

ResultProcessEngine

SPI NameDescription
ResultProcessEngineUsed by merge engine to process result set
Implementation ClassDescription
ShardingResultMergerEngineUsed by merge engine to process sharding result set
EncryptResultDecoratorEngineUsed by merge engine to process encryption result set

StoragePrivilegeHandler

SPI NameDescription
StoragePrivilegeHandlerUse SQL dialect to process privilege metadata
Implementation ClassDescription
PostgreSQLPrivilegeHandlerUse PostgreSQL dialect to process privilege metadata
SQLServerPrivilegeHandlerUse SQLServer dialect to process privilege metadata
OraclePrivilegeHandlerUse Oracle dialect to process privilege metadata
MySQLPrivilegeHandlerUse MySQL dialect to process privilege metadata