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, getIndexList
Methods inherited from class com.googlecode.objectify.util.TranslatingIterator
hasNext, next, remove
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:TranslatingIterator
You implement this - convert from one object to the other- Specified by:
translate
in classTranslatingIterator<com.google.appengine.api.datastore.Entity,T>
-