com.googlecode.objectify.impl
Class QueryImpl.ToObjectIterator

java.lang.Object
  extended by com.googlecode.objectify.util.TranslatingIterator<F,T>
      extended by com.googlecode.objectify.util.TranslatingQueryResultIterator<com.google.appengine.api.datastore.Entity,T>
          extended by com.googlecode.objectify.impl.QueryImpl.ToObjectIterator
All Implemented Interfaces:
com.google.appengine.api.datastore.QueryResultIterator<T>, java.util.Iterator<T>
Enclosing class:
QueryImpl<T>

protected class QueryImpl.ToObjectIterator
extends TranslatingQueryResultIterator<com.google.appengine.api.datastore.Entity,T>

Iterator that translates from datastore Entity to typed Objects


Field Summary
 
Fields inherited from class com.googlecode.objectify.util.TranslatingIterator
base
 
Constructor Summary
QueryImpl.ToObjectIterator(com.google.appengine.api.datastore.QueryResultIterator<com.google.appengine.api.datastore.Entity> source)
           
 
Method Summary
protected  T translate(com.google.appengine.api.datastore.Entity from)
          You implement this - convert from one object to the other
 
Methods inherited from class com.googlecode.objectify.util.TranslatingQueryResultIterator
getCursor
 
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
hasNext, next, remove
 

Constructor Detail

QueryImpl.ToObjectIterator

public QueryImpl.ToObjectIterator(com.google.appengine.api.datastore.QueryResultIterator<com.google.appengine.api.datastore.Entity> source)
Method Detail

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>


Copyright © 2011 Jeff Schnitzer and a gang of pirates. All Rights Reserved. Build version: 3.1