2.17.2: 2011-06-17

net.sf.basedb.core
Class QueryExecutor.FutureScrollIterator<T>

java.lang.Object
  extended by net.sf.basedb.core.QueryExecutor.FutureScrollIterator<T>
All Implemented Interfaces:
Callable<ScrollIterator<T>>
Enclosing class:
QueryExecutor

static class QueryExecutor.FutureScrollIterator<T>
extends Object
implements Callable<ScrollIterator<T>>

Calls Query.scroll(ScrollMode) and returns the result as a ScrollIterator.

Since:
2.7

Field Summary
private  Class<T> clazz
           
private  org.hibernate.Query query
           
 
Constructor Summary
QueryExecutor.FutureScrollIterator(Class<T> clazz, org.hibernate.Query query)
           
 
Method Summary
 ScrollIterator<T> call()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

query

private final org.hibernate.Query query

clazz

private final Class<T> clazz
Constructor Detail

QueryExecutor.FutureScrollIterator

QueryExecutor.FutureScrollIterator(Class<T> clazz,
                                   org.hibernate.Query query)
Method Detail

call

public ScrollIterator<T> call()
Specified by:
call in interface Callable<ScrollIterator<T>>

2.17.2: 2011-06-17