Class ProjectionIterator<T>

java.lang.Object
com.googlecode.objectify.util.TranslatingIterator<F,​T>
com.googlecode.objectify.util.TranslatingQueryResultIterator<com.google.appengine.api.datastore.Entity,​T>
com.googlecode.objectify.impl.ProjectionIterator<T>
All Implemented Interfaces:
com.google.appengine.api.datastore.QueryResultIterator<T>, Iterator<T>

public class ProjectionIterator<T>
extends TranslatingQueryResultIterator<com.google.appengine.api.datastore.Entity,​T>
Projections bypass the session entirely, neither loading nor saving.
  • Constructor Details

    • ProjectionIterator

      public ProjectionIterator(com.google.appengine.api.datastore.QueryResultIterator<com.google.appengine.api.datastore.Entity> base, LoadEngine loadEngine)
  • Method Details

    • translate

      protected T translate(com.google.appengine.api.datastore.Entity from)
      Description copied from class: TranslatingIterator
      You implement this - convert from one object to the other
      Specified by:
      translate in class TranslatingIterator<com.google.appengine.api.datastore.Entity,​T>