Package com.google.cloud.spanner.v1
Class SpannerClient.ListSessionsPage
java.lang.Object
com.google.api.gax.paging.AbstractPage<ListSessionsRequest,ListSessionsResponse,Session,SpannerClient.ListSessionsPage>
com.google.cloud.spanner.v1.SpannerClient.ListSessionsPage
- Enclosing class:
- SpannerClient
public static class SpannerClient.ListSessionsPage
extends AbstractPage<ListSessionsRequest,ListSessionsResponse,Session,SpannerClient.ListSessionsPage>
-
Method Summary
Modifier and TypeMethodDescriptionprotected SpannerClient.ListSessionsPagecreatePage(PageContext<ListSessionsRequest, ListSessionsResponse, Session> context, ListSessionsResponse response) createPageAsync(PageContext<ListSessionsRequest, ListSessionsResponse, Session> context, ApiFuture<ListSessionsResponse> futureResponse) Methods inherited from class com.google.api.gax.paging.AbstractPage
getNextPage, getNextPage, getNextPageAsync, getNextPageToken, getPageElementCount, getRequest, getResponse, getValues, hasNextPage, iterateAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.api.gax.paging.Page
streamAll, streamValues
-
Method Details
-
createPage
protected SpannerClient.ListSessionsPage createPage(PageContext<ListSessionsRequest, ListSessionsResponse, Session> context, ListSessionsResponse response) - Specified by:
createPagein classAbstractPage<ListSessionsRequest,ListSessionsResponse, Session, SpannerClient.ListSessionsPage>
-
createPageAsync
public ApiFuture<SpannerClient.ListSessionsPage> createPageAsync(PageContext<ListSessionsRequest, ListSessionsResponse, Session> context, ApiFuture<ListSessionsResponse> futureResponse) - Overrides:
createPageAsyncin classAbstractPage<ListSessionsRequest,ListSessionsResponse, Session, SpannerClient.ListSessionsPage>
-