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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SpannerClient.ListSessionsPage
createPage(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)
-
-
-
Method Detail
-
createPage
protected SpannerClient.ListSessionsPage createPage(com.google.api.gax.rpc.PageContext<ListSessionsRequest,ListSessionsResponse,Session> context, ListSessionsResponse response)
- Specified by:
createPage
in 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:
createPageAsync
in classcom.google.api.gax.paging.AbstractPage<ListSessionsRequest,ListSessionsResponse,Session,SpannerClient.ListSessionsPage>
-
-