Class 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
    • 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 interface com.google.cloud.datastore.QueryResults<F>
      • getResultClass

        public Class<?> getResultClass()
        Specified by:
        getResultClass in interface com.google.cloud.datastore.QueryResults<F>
      • getSkippedResults

        public int getSkippedResults()
        Specified by:
        getSkippedResults in interface com.google.cloud.datastore.QueryResults<F>
      • getMoreResults

        public com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults()
        Specified by:
        getMoreResults in interface com.google.cloud.datastore.QueryResults<F>