org.infinispan.query.clustered.commandworkers.CQLazyFetcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-embedded-query
Show all versions of infinispan-embedded-query
Infinispan Embedded Query All-in-One module
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