Class ScrollableQueryResult.QueryResultIterator

java.lang.Object
org.datanucleus.store.query.AbstractQueryResultIterator<E>
org.datanucleus.store.rdbms.query.ScrollableQueryResult.QueryResultIterator
All Implemented Interfaces:
Iterator<E>, ListIterator<E>
Enclosing class:
ScrollableQueryResult<E>

private class ScrollableQueryResult.QueryResultIterator extends org.datanucleus.store.query.AbstractQueryResultIterator<E>
An Iterator results of a pm.query.execute().iterator()
  • Field Details

    • iterRowNum

      private int iterRowNum
  • Constructor Details

    • QueryResultIterator

      public QueryResultIterator()
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<E>
      Specified by:
      hasNext in interface ListIterator<E>
      Specified by:
      hasNext in class org.datanucleus.store.query.AbstractQueryResultIterator<E>
    • hasPrevious

      public boolean hasPrevious()
      Specified by:
      hasPrevious in interface ListIterator<E>
      Specified by:
      hasPrevious in class org.datanucleus.store.query.AbstractQueryResultIterator<E>
    • next

      public E next()
      Specified by:
      next in interface Iterator<E>
      Specified by:
      next in interface ListIterator<E>
      Specified by:
      next in class org.datanucleus.store.query.AbstractQueryResultIterator<E>
    • nextIndex

      public int nextIndex()
      Specified by:
      nextIndex in interface ListIterator<E>
      Specified by:
      nextIndex in class org.datanucleus.store.query.AbstractQueryResultIterator<E>
    • previous

      public E previous()
      Specified by:
      previous in interface ListIterator<E>
      Specified by:
      previous in class org.datanucleus.store.query.AbstractQueryResultIterator<E>
    • previousIndex

      public int previousIndex()
      Specified by:
      previousIndex in interface ListIterator<E>
      Specified by:
      previousIndex in class org.datanucleus.store.query.AbstractQueryResultIterator<E>