Class AbstractTopiaDao.FindAllIterator<E extends TopiaEntity,O>
java.lang.Object
org.nuiton.topia.persistence.internal.AbstractTopiaDao.FindAllIterator<E,O>
- All Implemented Interfaces:
Iterator<O>
- Enclosing class:
- AbstractTopiaDao<E extends TopiaEntity>
public static class AbstractTopiaDao.FindAllIterator<E extends TopiaEntity,O>
extends Object
implements Iterator<O>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFindAllIterator(AbstractTopiaDao<E> dao, int batchSize, String hql, Map<String, Object> params) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
data
-
dao
-
hql
-
params
-
pager
-
firstPageLoaded
protected boolean firstPageLoaded
-
-
Constructor Details
-
FindAllIterator
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<E extends TopiaEntity>
-
next
- Specified by:
nextin interfaceIterator<E extends TopiaEntity>
-
remove
public void remove()- Specified by:
removein interfaceIterator<E extends TopiaEntity>
-