Class QueryResultIteratorWrapper<T>

java.lang.Object
com.googlecode.objectify.util.cmd.QueryResultIteratorWrapper<T>
All Implemented Interfaces:
com.google.appengine.api.datastore.QueryResultIterator<T>, Iterator<T>

public class QueryResultIteratorWrapper<T>
extends Object
implements com.google.appengine.api.datastore.QueryResultIterator<T>
Simple wrapper/decorator for a QueryResultIterator.
Author:
Jeff Schnitzer
  • Constructor Details

    • QueryResultIteratorWrapper

      public QueryResultIteratorWrapper(com.google.appengine.api.datastore.QueryResultIterator<T> base)
  • Method Details

    • getCursor

      public com.google.appengine.api.datastore.Cursor getCursor()
      Specified by:
      getCursor in interface com.google.appengine.api.datastore.QueryResultIterator<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>
    • getIndexList

      public List<com.google.appengine.api.datastore.Index> getIndexList()
      Specified by:
      getIndexList in interface com.google.appengine.api.datastore.QueryResultIterator<T>