All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.query.clustered.commandworkers.CQLazyFetcher Maven / Gradle / Ivy

The newest version!
package org.infinispan.query.clustered.commandworkers;

import org.infinispan.query.clustered.QueryBox;
import org.infinispan.query.clustered.QueryResponse;

/**
 * CQLazyFetcher.
 *
 * Fetch a new result for a lazy iterator
 *
 * @author Israel Lacerra 
 * @since 5.1
 */
public class CQLazyFetcher extends ClusteredQueryCommandWorker {

   @Override
   public QueryResponse perform() {
      QueryBox box = getQueryBox();
      Object value = box.getValue(lazyQueryId, docIndex);
      return new QueryResponse(value);
   }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy