Package org.infinispan.query.impl
Class ScrollerIteratorAdaptor<E>
java.lang.Object
org.infinispan.query.impl.ScrollerIteratorAdaptor<E>
- All Implemented Interfaces:
- AutoCloseable,- Iterator<E>,- ClosableIteratorWithCount<E>,- CloseableIterator<E>
Adaptor to use a link 
SearchScroll as an iterator.- Since:
- 12.0
- 
Constructor SummaryConstructorsConstructorDescriptionScrollerIteratorAdaptor(org.hibernate.search.engine.search.query.SearchScroll<E> scroll) 
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.IteratorforEachRemaining, remove
- 
Constructor Details- 
ScrollerIteratorAdaptor
 
- 
- 
Method Details- 
hasNextpublic boolean hasNext()
- 
next
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- CloseableIterator<E>
 
- 
count- Specified by:
- countin interface- ClosableIteratorWithCount<E>
- Returns:
- An object containing information about the number of hits from the query, ignoring pagination.
 
 
-