Package com.googlecode.objectify.impl
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.
-
Field Summary
Fields inherited from class com.googlecode.objectify.util.TranslatingIterator
base -
Constructor Summary
ConstructorsConstructorDescriptionProjectionIterator(com.google.appengine.api.datastore.QueryResultIterator<com.google.appengine.api.datastore.Entity> base, LoadEngine loadEngine) -
Method Summary
Methods inherited from class com.googlecode.objectify.util.TranslatingQueryResultIterator
getCursor, getIndexListMethods inherited from class com.googlecode.objectify.util.TranslatingIterator
hasNext, next, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Constructor Details
-
ProjectionIterator
public ProjectionIterator(com.google.appengine.api.datastore.QueryResultIterator<com.google.appengine.api.datastore.Entity> base, LoadEngine loadEngine)
-
-
Method Details
-
translate
Description copied from class:TranslatingIteratorYou implement this - convert from one object to the other- Specified by:
translatein classTranslatingIterator<com.google.appengine.api.datastore.Entity,T>
-