@NotThreadSafe public class EagerIterator extends AbstractIterator
CacheQuery.iterator() using
a FetchOptions.FetchMode.EAGER.
| Constructor and Description |
|---|
EagerIterator(List<org.hibernate.search.query.engine.spi.EntityInfo> entityInfos,
QueryResultLoader resultLoader,
int fetchSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This method must be called on your iterator once you have finished so that any local
or remote resources can be freed up.
|
protected org.hibernate.search.query.engine.spi.EntityInfo |
loadEntityInfo(int index) |
hasNext, next, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic EagerIterator(List<org.hibernate.search.query.engine.spi.EntityInfo> entityInfos, QueryResultLoader resultLoader, int fetchSize)
public void close()
ResultIteratorprotected org.hibernate.search.query.engine.spi.EntityInfo loadEntityInfo(int index)
loadEntityInfo in class AbstractIteratorCopyright © 2016 JBoss, a division of Red Hat. All rights reserved.