/**
* 通过statement和parameter确定分区 如果parameter中可以提取出主键ID,首先通过ID去确定唯一分区
*/
private List<Shard> determineShardsObjectsViaResolutionStrategy(String statement,
Object parameter, Serializable id) {
ShardResolutionStrategyData srsd = new ShardResolutionStrategyDataImpl(statement,
parameter, id);
List<ShardId> shardIds = this.selectShardIdsFromShardResolutionStrategyData(srsd);
return shardIdListToShardList(shardIds);
}