Package com.googlecode.objectify.util
Class TranslatingQueryResults<F,T>
- java.lang.Object
-
- com.googlecode.objectify.util.TranslatingIterator<F,T>
-
- com.googlecode.objectify.util.TranslatingQueryResults<F,T>
-
- All Implemented Interfaces:
com.google.cloud.datastore.QueryResults<T>,Iterator<T>
public abstract class TranslatingQueryResults<F,T> extends TranslatingIterator<F,T> implements com.google.cloud.datastore.QueryResults<T>
QueryResultIterator wrapper that translates from one type to another- Author:
- Jeff Schnitzer
-
-
Field Summary
-
Fields inherited from class com.googlecode.objectify.util.TranslatingIterator
base
-
-
Constructor Summary
Constructors Constructor Description TranslatingQueryResults(com.google.cloud.datastore.QueryResults<F> base)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.cloud.datastore.CursorgetCursorAfter()com.google.datastore.v1.QueryResultBatch.MoreResultsTypegetMoreResults()Class<?>getResultClass()intgetSkippedResults()-
Methods inherited from class com.googlecode.objectify.util.TranslatingIterator
hasNext, next, remove, translate
-
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 Detail
-
TranslatingQueryResults
public TranslatingQueryResults(com.google.cloud.datastore.QueryResults<F> base)
-
-
Method Detail
-
getCursorAfter
public com.google.cloud.datastore.Cursor getCursorAfter()
- Specified by:
getCursorAfterin interfacecom.google.cloud.datastore.QueryResults<F>
-
getResultClass
public Class<?> getResultClass()
- Specified by:
getResultClassin interfacecom.google.cloud.datastore.QueryResults<F>
-
getSkippedResults
public int getSkippedResults()
- Specified by:
getSkippedResultsin interfacecom.google.cloud.datastore.QueryResults<F>
-
getMoreResults
public com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults()
- Specified by:
getMoreResultsin interfacecom.google.cloud.datastore.QueryResults<F>
-
-