Class Query.QueryPaginator

  • Enclosing class:
    Query

    @BetaApi("This surface is stable yet it might be removed in the future.")
    public static class Query.QueryPaginator
    extends Object
    A Query Paginator that will split a query into small chunks. See Query.createPaginator(int) for example usage.
    • Method Detail

      • getNextQuery

        public Query getNextQuery()
        Return the next query.
      • advance

        public boolean advance​(@Nonnull
                               com.google.protobuf.ByteString lastSeenRowKey)
        Construct the next query. Return true if there are more queries to return. False if we've read everything.