com.googlecode.objectify.util.TranslatingQueryResultIterator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of objectify Show documentation
Show all versions of objectify Show documentation
*** THIS VERSION UPLOADED FOR USE WITH CEDAR-COMMON, TO AVOID DEPENDENCIES ON GOOGLE CODE-BASED MAVEN REPOSITORIES. *** The simplest convenient interface to the Google App Engine datastore
The newest version!
package com.googlecode.objectify.util;
import com.google.appengine.api.datastore.Cursor;
import com.google.appengine.api.datastore.QueryResultIterator;
/**
* QueryResultIterator wrapper that translates from one type to another
*
* @author Jeff Schnitzer
*/
abstract public class TranslatingQueryResultIterator extends TranslatingIterator implements QueryResultIterator
{
/** */
public TranslatingQueryResultIterator(QueryResultIterator base)
{
super(base);
}
@Override
public Cursor getCursor()
{
return ((QueryResultIterator)this.base).getCursor();
}
}