Uses of Class
com.google.spanner.v1.Session
-
Packages that use Session Package Description com.google.cloud.spanner.spi.v1 com.google.cloud.spanner.v1 A client to Cloud Spanner APIcom.google.cloud.spanner.v1.stub com.google.spanner.v1 -
-
Uses of Session in com.google.cloud.spanner.spi.v1
Methods in com.google.cloud.spanner.spi.v1 that return Session Modifier and Type Method Description SessionGapicSpannerRpc. createSession(String databaseName, String databaseRole, Map<String,String> labels, Map<SpannerRpc.Option,?> options)SessionSpannerRpc. createSession(String databaseName, String databaseRole, Map<String,String> labels, Map<SpannerRpc.Option,?> options)Methods in com.google.cloud.spanner.spi.v1 that return types with arguments of type Session Modifier and Type Method Description List<Session>GapicSpannerRpc. batchCreateSessions(String databaseName, int sessionCount, String databaseRole, Map<String,String> labels, Map<SpannerRpc.Option,?> options)List<Session>SpannerRpc. batchCreateSessions(String databaseName, int sessionCount, String databaseRole, Map<String,String> labels, Map<SpannerRpc.Option,?> options) -
Uses of Session in com.google.cloud.spanner.v1
Methods in com.google.cloud.spanner.v1 that return Session Modifier and Type Method Description SessionSpannerClient. createSession(CreateSessionRequest request)Creates a new session.SessionSpannerClient. createSession(DatabaseName database)Creates a new session.SessionSpannerClient. createSession(String database)Creates a new session.SessionSpannerClient. getSession(GetSessionRequest request)Gets a session.SessionSpannerClient. getSession(SessionName name)Gets a session.SessionSpannerClient. getSession(String name)Gets a session.Methods in com.google.cloud.spanner.v1 that return types with arguments of type Session Modifier and Type Method Description com.google.api.gax.rpc.UnaryCallable<CreateSessionRequest,Session>SpannerClient. createSessionCallable()Creates a new session.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSessionRequest,Session>SpannerSettings.Builder. createSessionSettings()Returns the builder for the settings used for calls to createSession.com.google.api.gax.rpc.UnaryCallSettings<CreateSessionRequest,Session>SpannerSettings. createSessionSettings()Returns the object with the settings used for calls to createSession.com.google.api.gax.rpc.UnaryCallable<GetSessionRequest,Session>SpannerClient. getSessionCallable()Gets a session.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSessionRequest,Session>SpannerSettings.Builder. getSessionSettings()Returns the builder for the settings used for calls to getSession.com.google.api.gax.rpc.UnaryCallSettings<GetSessionRequest,Session>SpannerSettings. getSessionSettings()Returns the object with the settings used for calls to getSession.Method parameters in com.google.cloud.spanner.v1 with type arguments of type Session Modifier and Type Method Description static com.google.api.core.ApiFuture<SpannerClient.ListSessionsPagedResponse>SpannerClient.ListSessionsPagedResponse. createAsync(com.google.api.gax.rpc.PageContext<ListSessionsRequest,ListSessionsResponse,Session> context, com.google.api.core.ApiFuture<ListSessionsResponse> futureResponse)protected SpannerClient.ListSessionsPageSpannerClient.ListSessionsPage. createPage(com.google.api.gax.rpc.PageContext<ListSessionsRequest,ListSessionsResponse,Session> context, ListSessionsResponse response)com.google.api.core.ApiFuture<SpannerClient.ListSessionsPage>SpannerClient.ListSessionsPage. createPageAsync(com.google.api.gax.rpc.PageContext<ListSessionsRequest,ListSessionsResponse,Session> context, com.google.api.core.ApiFuture<ListSessionsResponse> futureResponse) -
Uses of Session in com.google.cloud.spanner.v1.stub
Methods in com.google.cloud.spanner.v1.stub that return types with arguments of type Session Modifier and Type Method Description com.google.api.gax.rpc.UnaryCallable<CreateSessionRequest,Session>GrpcSpannerStub. createSessionCallable()com.google.api.gax.rpc.UnaryCallable<CreateSessionRequest,Session>HttpJsonSpannerStub. createSessionCallable()com.google.api.gax.rpc.UnaryCallable<CreateSessionRequest,Session>SpannerStub. createSessionCallable()com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSessionRequest,Session>SpannerStubSettings.Builder. createSessionSettings()Returns the builder for the settings used for calls to createSession.com.google.api.gax.rpc.UnaryCallSettings<CreateSessionRequest,Session>SpannerStubSettings. createSessionSettings()Returns the object with the settings used for calls to createSession.com.google.api.gax.rpc.UnaryCallable<GetSessionRequest,Session>GrpcSpannerStub. getSessionCallable()com.google.api.gax.rpc.UnaryCallable<GetSessionRequest,Session>HttpJsonSpannerStub. getSessionCallable()com.google.api.gax.rpc.UnaryCallable<GetSessionRequest,Session>SpannerStub. getSessionCallable()com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSessionRequest,Session>SpannerStubSettings.Builder. getSessionSettings()Returns the builder for the settings used for calls to getSession.com.google.api.gax.rpc.UnaryCallSettings<GetSessionRequest,Session>SpannerStubSettings. getSessionSettings()Returns the object with the settings used for calls to getSession. -
Uses of Session in com.google.spanner.v1
Methods in com.google.spanner.v1 that return Session Modifier and Type Method Description SessionSession.Builder. build()SessionSession.Builder. buildPartial()SessionSpannerGrpc.SpannerBlockingStub. createSession(CreateSessionRequest request)Creates a new session.static SessionSession. getDefaultInstance()SessionSession.Builder. getDefaultInstanceForType()SessionSession. getDefaultInstanceForType()SessionBatchCreateSessionsResponse.Builder. getSession(int index)The freshly created sessions.SessionBatchCreateSessionsResponse. getSession(int index)The freshly created sessions.SessionBatchCreateSessionsResponseOrBuilder. getSession(int index)The freshly created sessions.SessionCreateSessionRequest.Builder. getSession()Required.SessionCreateSessionRequest. getSession()Required.SessionCreateSessionRequestOrBuilder. getSession()Required.SessionSpannerGrpc.SpannerBlockingStub. getSession(GetSessionRequest request)Gets a session.SessionListSessionsResponse.Builder. getSessions(int index)The list of requested sessions.SessionListSessionsResponse. getSessions(int index)The list of requested sessions.SessionListSessionsResponseOrBuilder. getSessions(int index)The list of requested sessions.SessionBatchCreateSessionsRequest.Builder. getSessionTemplate()Parameters to be applied to each created session.SessionBatchCreateSessionsRequest. getSessionTemplate()Parameters to be applied to each created session.SessionBatchCreateSessionsRequestOrBuilder. getSessionTemplate()Parameters to be applied to each created session.static SessionSession. parseDelimitedFrom(InputStream input)static SessionSession. parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SessionSession. parseFrom(byte[] data)static SessionSession. parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SessionSession. parseFrom(com.google.protobuf.ByteString data)static SessionSession. parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SessionSession. parseFrom(com.google.protobuf.CodedInputStream input)static SessionSession. parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SessionSession. parseFrom(InputStream input)static SessionSession. parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SessionSession. parseFrom(ByteBuffer data)static SessionSession. parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Methods in com.google.spanner.v1 that return types with arguments of type Session Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<Session>SpannerGrpc.SpannerFutureStub. createSession(CreateSessionRequest request)Creates a new session.static io.grpc.MethodDescriptor<CreateSessionRequest,Session>SpannerGrpc. getCreateSessionMethod()static io.grpc.MethodDescriptor<GetSessionRequest,Session>SpannerGrpc. getGetSessionMethod()com.google.protobuf.Parser<Session>Session. getParserForType()com.google.common.util.concurrent.ListenableFuture<Session>SpannerGrpc.SpannerFutureStub. getSession(GetSessionRequest request)Gets a session.List<Session>BatchCreateSessionsResponse.Builder. getSessionList()The freshly created sessions.List<Session>BatchCreateSessionsResponse. getSessionList()The freshly created sessions.List<Session>BatchCreateSessionsResponseOrBuilder. getSessionList()The freshly created sessions.List<Session>ListSessionsResponse.Builder. getSessionsList()The list of requested sessions.List<Session>ListSessionsResponse. getSessionsList()The list of requested sessions.List<Session>ListSessionsResponseOrBuilder. getSessionsList()The list of requested sessions.static com.google.protobuf.Parser<Session>Session. parser()Methods in com.google.spanner.v1 with parameters of type Session Modifier and Type Method Description BatchCreateSessionsResponse.BuilderBatchCreateSessionsResponse.Builder. addSession(int index, Session value)The freshly created sessions.BatchCreateSessionsResponse.BuilderBatchCreateSessionsResponse.Builder. addSession(Session value)The freshly created sessions.ListSessionsResponse.BuilderListSessionsResponse.Builder. addSessions(int index, Session value)The list of requested sessions.ListSessionsResponse.BuilderListSessionsResponse.Builder. addSessions(Session value)The list of requested sessions.Session.BuilderSession.Builder. mergeFrom(Session other)CreateSessionRequest.BuilderCreateSessionRequest.Builder. mergeSession(Session value)Required.BatchCreateSessionsRequest.BuilderBatchCreateSessionsRequest.Builder. mergeSessionTemplate(Session value)Parameters to be applied to each created session.static Session.BuilderSession. newBuilder(Session prototype)BatchCreateSessionsResponse.BuilderBatchCreateSessionsResponse.Builder. setSession(int index, Session value)The freshly created sessions.CreateSessionRequest.BuilderCreateSessionRequest.Builder. setSession(Session value)Required.ListSessionsResponse.BuilderListSessionsResponse.Builder. setSessions(int index, Session value)The list of requested sessions.BatchCreateSessionsRequest.BuilderBatchCreateSessionsRequest.Builder. setSessionTemplate(Session value)Parameters to be applied to each created session.Method parameters in com.google.spanner.v1 with type arguments of type Session Modifier and Type Method Description BatchCreateSessionsResponse.BuilderBatchCreateSessionsResponse.Builder. addAllSession(Iterable<? extends Session> values)The freshly created sessions.ListSessionsResponse.BuilderListSessionsResponse.Builder. addAllSessions(Iterable<? extends Session> values)The list of requested sessions.default voidSpannerGrpc.AsyncService. createSession(CreateSessionRequest request, io.grpc.stub.StreamObserver<Session> responseObserver)Creates a new session.voidSpannerGrpc.SpannerStub. createSession(CreateSessionRequest request, io.grpc.stub.StreamObserver<Session> responseObserver)Creates a new session.default voidSpannerGrpc.AsyncService. getSession(GetSessionRequest request, io.grpc.stub.StreamObserver<Session> responseObserver)Gets a session.voidSpannerGrpc.SpannerStub. getSession(GetSessionRequest request, io.grpc.stub.StreamObserver<Session> responseObserver)Gets a session.
-