Annotation Interface ClassBasedShardingStrategy
@Repeatable(ShardingStrategies.class)
@Target(TYPE)
@Retention(RUNTIME)
public @interface ClassBasedShardingStrategy
- Since:
- 1.0.0
- Version:
- 1.0.0
- Author:
- ilikly
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceShardingStrategies. -
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<? extends org.apache.shardingsphere.sharding.spi.ShardingAlgorithm>
-
Element Details
-
scope
ShardingStrategy.Scope scope -
strategy
ShardingStrategy.Strategy strategy -
algorithm
Class<? extends org.apache.shardingsphere.sharding.spi.ShardingAlgorithm> algorithm
-