Class ScrollableResultsIterator<T>

java.lang.Object
com.querydsl.jpa.ScrollableResultsIterator<T>
Type Parameters:
T -
All Implemented Interfaces:
com.mysema.commons.lang.CloseableIterator<T>, Closeable, AutoCloseable, Iterator<T>

public class ScrollableResultsIterator<T> extends Object implements com.mysema.commons.lang.CloseableIterator<T>
ScrollableResultsIterator is a CloseableIterator adapter for ScrollableResults
Author:
tiwe
  • Constructor Details

    • ScrollableResultsIterator

      public ScrollableResultsIterator(org.hibernate.ScrollableResults results)
    • ScrollableResultsIterator

      public ScrollableResultsIterator(org.hibernate.ScrollableResults results, boolean asArray)
  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface com.mysema.commons.lang.CloseableIterator<T>
    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<T>
    • next

      public T next()
      Specified by:
      next in interface Iterator<T>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<T>