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.Cursor
getCursorAfter()
com.google.datastore.v1.QueryResultBatch.MoreResultsType
getMoreResults()
Class<?>
getResultClass()
int
getSkippedResults()
-
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:
getCursorAfter
in interfacecom.google.cloud.datastore.QueryResults<F>
-
getResultClass
public Class<?> getResultClass()
- Specified by:
getResultClass
in interfacecom.google.cloud.datastore.QueryResults<F>
-
getSkippedResults
public int getSkippedResults()
- Specified by:
getSkippedResults
in interfacecom.google.cloud.datastore.QueryResults<F>
-
getMoreResults
public com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults()
- Specified by:
getMoreResults
in interfacecom.google.cloud.datastore.QueryResults<F>
-
-