org.apache.shardingsphere.sharding.spi.ShardingAlgorithm
Sharding Algorithm definition
org.apache.shardingsphere.sharding.spi.KeyGenerateAlgorithm
Distributed Key Generating Algorithm definition
Configuration Type | Description | Fully-qualified class name |
---|---|---|
SNOWFLAKE | Snowflake key generate algorithm | org.apache.shardingsphere.sharding.algorithm.keygen.SnowflakeKeyGenerateAlgorithm |
UUID | UUID key generate algorithm | org.apache.shardingsphere.sharding.algorithm.keygen.UUIDKeyGenerateAlgorithm |
org.apache.shardingsphere.sharding.spi.ShardingAuditAlgorithm
Sharding audit algorithm definition
Configuration Type | Description | Fully-qualified class name |
---|---|---|
DML_SHARDING_CONDITIONS | Prohibit DML auditing algorithm without sharding conditions | org.apache.shardingsphere.sharding.algorithm.audit.DMLShardingConditionsShardingAuditAlgorithm |
org.apache.shardingsphere.timeservice.spi.TimestampService
Obtain the current date for routing definition
Configuration Type | Description | Fully-qualified class name |
---|---|---|
DatabaseTimestampService | Get the current time from the database for routing | org.apache.shardingsphere.timeservice.type.database.DatabaseTimestampService |
SystemTimestampService | Get the current time from the application system for routing | org.apache.shardingsphere.timeservice.type.system.SystemTimestampService |
org.apache.shardingsphere.infra.expr.core.InlineExpressionParser
Row Value Expressions definition
Configuration Type | Description | Fully-qualified class name |
---|---|---|
GROOVY | Row Value Expressions that uses the Groovy syntax | org.apache.shardingsphere.infra.expr.groovy.GroovyInlineExpressionParser |
PURELIST | Row Value Expressions that uses a standard list | org.apache.shardingsphere.infra.expr.purelist.PureListInlineExpressionParser |