public class StandardCompositeShardingAlgorithm extends java.lang.Object implements CompositeShardingAlgorithm
| Constructor and Description |
|---|
StandardCompositeShardingAlgorithm(ShardRangeList aShardRangeList) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<DataNode> |
doSharding(java.util.List<java.lang.Comparable<?>> aShardValueList,
java.util.List<ShardSplitMethod> aShardSplitMethodList,
DataNode aDefaultNode,
int aShardValueCnt,
int aShardSubValueCnt) |
public StandardCompositeShardingAlgorithm(ShardRangeList aShardRangeList)
public java.util.List<DataNode> doSharding(java.util.List<java.lang.Comparable<?>> aShardValueList, java.util.List<ShardSplitMethod> aShardSplitMethodList, DataNode aDefaultNode, int aShardValueCnt, int aShardSubValueCnt) throws java.sql.SQLException
doSharding in interface CompositeShardingAlgorithmjava.sql.SQLException