コード例 #1
0
 @Override
 public boolean hasNext() {
   if (!iterator.hasNext() && count == batchSize) {
     iterator = context.bindAndExecute(ps, lastVaryingComponentValue).iterator();
     count = 0;
   }
   return iterator.hasNext();
 }
コード例 #2
0
 private T proxify(T clusteredEntity) {
   CQLPersistenceContext duplicate = context.duplicate(clusteredEntity);
   return proxifier.buildProxy(clusteredEntity, duplicate);
 }