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
- All Implemented Interfaces:
com.google.api.gax.paging.AsyncPage<Session>,com.google.api.gax.paging.Page<Session>
- Enclosing class:
- SpannerClient
public static class SpannerClient.ListSessionsPage
extends com.google.api.gax.paging.AbstractPage<ListSessionsRequest,ListSessionsResponse,Session,SpannerClient.ListSessionsPage>
-
Method Summary
Modifier and TypeMethodDescriptionprotected SpannerClient.ListSessionsPagecreatePage(com.google.api.gax.rpc.PageContext<ListSessionsRequest, ListSessionsResponse, Session> context, ListSessionsResponse response) com.google.api.core.ApiFuture<SpannerClient.ListSessionsPage>createPageAsync(com.google.api.gax.rpc.PageContext<ListSessionsRequest, ListSessionsResponse, Session> context, com.google.api.core.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(com.google.api.gax.rpc.PageContext<ListSessionsRequest, ListSessionsResponse, Session> context, ListSessionsResponse response) - Specified by:
createPagein classcom.google.api.gax.paging.AbstractPage<ListSessionsRequest,ListSessionsResponse, Session, SpannerClient.ListSessionsPage>
-
createPageAsync
public com.google.api.core.ApiFuture<SpannerClient.ListSessionsPage> createPageAsync(com.google.api.gax.rpc.PageContext<ListSessionsRequest, ListSessionsResponse, Session> context, com.google.api.core.ApiFuture<ListSessionsResponse> futureResponse) - Overrides:
createPageAsyncin classcom.google.api.gax.paging.AbstractPage<ListSessionsRequest,ListSessionsResponse, Session, SpannerClient.ListSessionsPage>
-