ShardingAlgorithm
Fully-qualified class name
org.apache.shardingsphere.sharding.spi.ShardingAlgorithm
Definition
Sharding Algorithm definition
Implementation classes
KeyGenerateAlgorithm
Fully-qualified class name
org.apache.shardingsphere.keygen.core.algorithm.KeyGenerateAlgorithm
Definition
Distributed Key Generating Algorithm definition
Implementation classes
Configuration Type | Description | Fully-qualified class name |
---|---|---|
SNOWFLAKE | Snowflake key generate algorithm | org.apache.shardingsphere.keygen.snowflake.algorithm.SnowflakeKeyGenerateAlgorithm |
UUID | UUID key generate algorithm | org.apache.shardingsphere.keygen.uuid.algorithm.UUIDKeyGenerateAlgorithm |
ShardingAuditAlgorithm
Fully-qualified class name
org.apache.shardingsphere.sharding.spi.ShardingAuditAlgorithm
Definition
Sharding audit algorithm definition
Implementation classes
Configuration Type | Description | Fully-qualified class name |
---|---|---|
DML_SHARDING_CONDITIONS | Prohibit DML auditing algorithm without sharding conditions | org.apache.shardingsphere.sharding.algorithm.audit.DMLShardingConditionsShardingAuditAlgorithm |
DatetimeService
Fully-qualified class name
org.apache.shardingsphere.timeservice.spi.TimestampService
Definition
Obtain the current date for routing definition
Implementation classes
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 |
InlineExpressionParser
Fully-qualified class name
org.apache.shardingsphere.infra.expr.core.InlineExpressionParser
Definition
Row Value Expressions definition
Implementation classes
Configuration Type | Description | Fully-qualified class name |
---|---|---|
GROOVY | Row Value Expressions that uses the Groovy syntax | org.apache.shardingsphere.infra.expr.groovy.GroovyInlineExpressionParser |
LITERAL | Row Value Expressions that uses a standard list | org.apache.shardingsphere.infra.expr.literal.LiteralInlineExpressionParser |
INTERVAL | Row Value Expressions based on fixed interval that uses the Key-Value syntax | org.apache.shardingsphere.infra.expr.interval.IntervalInlineExpressionParser |
ESPRESSO | Row Value Expressions that uses the Groovy syntax based on GraalVM Truffle’s Espresso implementation | org.apache.shardingsphere.infra.expr.espresso.EspressoInlineExpressionParser |
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .