Package nl.vpro.hibernate
Class QueryIterator<T>
- java.lang.Object
-
- nl.vpro.hibernate.ScrollableResultsIterator<T>
-
- nl.vpro.hibernate.QueryIterator<T>
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.util.Iterator<T>,nl.vpro.util.CloseableIterator<T>
public class QueryIterator<T> extends ScrollableResultsIterator<T>
Executes aCriteriaand makes the result accessible as aCloseableIterator.- Since:
- 1.63
- Author:
- Michiel Meeuwissen
-
-
Constructor Summary
Constructors Constructor Description QueryIterator(org.hibernate.Query criteria, java.util.function.Function<org.hibernate.ScrollableResults,T> adapter)
-
-
-
Constructor Detail
-
QueryIterator
public QueryIterator(org.hibernate.Query criteria, java.util.function.Function<org.hibernate.ScrollableResults,T> adapter)
-
-