Class CriteriaIterator<T>

java.lang.Object
nl.vpro.hibernate.ScrollableResultsIterator<T>
nl.vpro.hibernate.CriteriaIterator<T>
All Implemented Interfaces:
AutoCloseable, Iterator<T>, nl.vpro.util.CloseableIterator<T>

public class CriteriaIterator<T> extends ScrollableResultsIterator<T>
Executes a Criteria and makes the result accessible as a CloseableIterator.
Since:
1.63
Author:
Michiel Meeuwissen
  • Constructor Details

    • CriteriaIterator

      public CriteriaIterator(org.hibernate.Criteria criteria, Function<org.hibernate.ScrollableResults,T> adapter)
  • Method Details