ShardingAlgorithm

SPI NameDescription
ShardingAlgorithmSharding algorithm
Implementation ClassDescription
BoundaryBasedRangeShardingAlgorithmBoundary based range sharding algorithm
VolumeBasedRangeShardingAlgorithmVolume based range sharding algorithm
ComplexInlineShardingAlgorithmComplex inline sharding algorithm
AutoIntervalShardingAlgorithmMutable interval sharding algorithm
ClassBasedShardingAlgorithmClass based sharding algorithm
HintInlineShardingAlgorithmHint inline sharding algorithm
IntervalShardingAlgorithmFixed interval sharding algorithm
HashModShardingAlgorithmHash modulo sharding algorithm
InlineShardingAlgorithmInline sharding algorithm
ModShardingAlgorithmModulo sharding algorithm

KeyGenerateAlgorithm

SPI NameDescription
KeyGenerateAlgorithmKey generate algorithm
Implementation ClassDescription
SnowflakeKeyGenerateAlgorithmSnowflake key generate algorithm
UUIDKeyGenerateAlgorithmUUID key generate algorithm

DatetimeService

SPI NameDescription
DatetimeServiceUse current time for routing
Implementation ClassDescription
DatabaseDatetimeServiceDelegateGet the current time from the database for routing
SystemDatetimeServiceGet the current time from the application system for routing

DatabaseSQLEntry

SPI NameDescription
DatabaseSQLEntryDatabase dialect for get current time
Implementation ClassDescription
MySQLDatabaseSQLEntryMySQL dialect for get current time
PostgreSQLDatabaseSQLEntryPostgreSQL dialect for get current time
OracleDatabaseSQLEntryOracle dialect for get current time
SQLServerDatabaseSQLEntrySQLServer dialect for get current time