com.googlecode.objectify.impl
Class QueryImpl.ToKeyIterator

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,Key<T>>
          extended by com.googlecode.objectify.impl.QueryImpl.ToKeyIterator
All Implemented Interfaces:
com.google.appengine.api.datastore.QueryResultIterator<Key<T>>, java.util.Iterator<Key<T>>
Enclosing class:
QueryImpl<T>

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

Iterator that translates from datastore Entity to Keys


Field Summary
 
Fields inherited from class com.googlecode.objectify.util.TranslatingIterator
base
 
Constructor Summary
QueryImpl.ToKeyIterator(com.google.appengine.api.datastore.QueryResultIterator<com.google.appengine.api.datastore.Entity> source)
           
 
Method Summary
protected  Key<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.ToKeyIterator

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

translate

protected Key<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,Key<T>>


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