Retro Eye care Haitian Deep Dark Default

ShardingAlgorithm

Fully-qualified class name

org.apache.shardingsphere.sharding.spi.ShardingAlgorithm

Definition

Sharding Algorithm definition

Implementation classes

Configuration Type Auto Create Tables Description Fully-qualified class name
MOD Y Modulo sharding algorithm org.apache.shardingsphere.sharding.algorithm.sharding.mod.ModShardingAlgorithm
HASH_MOD Y Hash modulo sharding algorithm org.apache.shardingsphere.sharding.algorithm.sharding.mod.HashModShardingAlgorithm
BOUNDARY_RANGE Y Boundary based range sharding algorithm org.apache.shardingsphere.sharding.algorithm.sharding.range.BoundaryBasedRangeShardingAlgorithm
VOLUME_RANGE Y Volume based range sharding algorithm org.apache.shardingsphere.sharding.algorithm.sharding.range.VolumeBasedRangeShardingAlgorithm
AUTO_INTERVAL Y Mutable interval sharding algorithm org.apache.shardingsphere.sharding.algorithm.sharding.datetime.AutoIntervalShardingAlgorithm
INTERVAL N Fixed interval sharding algorithm org.apache.shardingsphere.sharding.algorithm.sharding.datetime.IntervalShardingAlgorithm
CLASS_BASED N Class based sharding algorithm org.apache.shardingsphere.sharding.algorithm.sharding.classbased.ClassBasedShardingAlgorithm
INLINE N Inline sharding algorithm org.apache.shardingsphere.sharding.algorithm.sharding.inline.InlineShardingAlgorithm
COMPLEX_INLINE N Complex inline sharding algorithm org.apache.shardingsphere.sharding.algorithm.sharding.complex.ComplexInlineShardingAlgorithm
HINT_INLINE N Hint inline sharding algorithm org.apache.shardingsphere.sharding.algorithm.sharding.hint.HintInlineShardingAlgorithm

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