public class StandardShardingStrategy extends java.lang.Object implements ShardingStrategy
| Constructor and Description |
|---|
StandardShardingStrategy(ShardRangeList aShardRangeList,
ShardSplitMethod aShardSplitMethod,
DataNode aDefaultNode) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<DataNode> |
doSharding(java.util.List<java.lang.Comparable<?>> aShardingValues) |
public StandardShardingStrategy(ShardRangeList aShardRangeList, ShardSplitMethod aShardSplitMethod, DataNode aDefaultNode)
public java.util.List<DataNode> doSharding(java.util.List<java.lang.Comparable<?>> aShardingValues) throws java.sql.SQLException
doSharding in interface ShardingStrategyjava.sql.SQLException