Package com.google.cloud.spanner.spi.v1
Class SpannerRpc.Paginated<T>
- java.lang.Object
-
- com.google.cloud.spanner.spi.v1.SpannerRpc.Paginated<T>
-
- Type Parameters:
T
- the type of result
- Enclosing interface:
- SpannerRpc
public static final class SpannerRpc.Paginated<T> extends Object
Represents results from paginated RPCs, i.e., those where up to a maximum number of items is returned from each call and a followup call must be made to fetch more.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNextPageToken()
Returns the token to use in the request for the next page, or null if this is the last page.Iterable<T>
getResults()
Returns the current page of results.
-