Package org.makersoft.shards.strategy.exit.impl

Examples of org.makersoft.shards.strategy.exit.impl.ExitOperationsSelectCollector


    List<ShardId> shardIds = selectShardIdsFromShardResolutionStrategyData(srsd);
    return shardStrategy.getShardAccessStrategy().<T> apply(
        this.shardIdListToShardList(shardIds),
        shardOp,
        new FirstNonNullResultExitStrategy<T>(),
        new ExitOperationsSelectCollector(new AdHocSelectFactoryImpl(
            srsd.getStatement(), srsd.getParameter(), null, RowBounds.DEFAULT), shardStrategy.getShardReduceStrategy()));
  }
View Full Code Here


  public ShardSelectImpl(List<Shard> shards, SelectFactory selectFactory,
      ShardAccessStrategy shardAccessStrategy, ShardReduceStrategy shardReduceStrategy) {
    this.shards = shards;
    this.selectFactory = selectFactory;
    this.shardAccessStrategy = shardAccessStrategy;
    this.selectCollector = new ExitOperationsSelectCollector(selectFactory, shardReduceStrategy);
  }
View Full Code Here

TOP

Related Classes of org.makersoft.shards.strategy.exit.impl.ExitOperationsSelectCollector

Copyright © 2018 www.massapicom. 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.