Examples of ShardSelectImpl


Examples of org.makersoft.shards.select.impl.ShardSelectImpl

    List<Shard> potentialShards = determineShardsViaResolutionStrategyWithReadOperation(
        statement, parameter);

    Assert.notNull(potentialShards, "ShardResolutionStrategy returnd value cann't be null");

    return new ShardSelectImpl(potentialShards, new AdHocSelectFactoryImpl(statement,
        parameter, null, null), shardStrategy.getShardAccessStrategy(),
        shardStrategy.getShardReduceStrategy()).<T> getSingleResult();

  }
View Full Code Here

Examples of org.makersoft.shards.select.impl.ShardSelectImpl

    List<Shard> potentialShards = determineShardsViaResolutionStrategyWithReadOperation(
        statement, parameter);
   
    Assert.notNull(potentialShards, "ShardResolutionStrategy returnd value cann't be null");

    return new ShardSelectImpl(potentialShards, new AdHocSelectFactoryImpl(statement,
        parameter, null, rowBounds), shardStrategy.getShardAccessStrategy(),
        shardStrategy.getShardReduceStrategy()).<E> getResultList();
  }
View Full Code Here

Examples of org.makersoft.shards.select.impl.ShardSelectImpl

  }

  @Override
  public <K, V> Map<K, V> selectMap(String statement, Object parameter, String mapKey,
      RowBounds rowBounds) {
    return new ShardSelectImpl(shards, new AdHocSelectFactoryImpl(statement, parameter, mapKey,
        rowBounds), shardStrategy.getShardAccessStrategy(),
        shardStrategy.getShardReduceStrategy()).getResultMap();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.