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 Session
GapicSpannerRpc. createSession(String databaseName, String databaseRole, Map<String,String> labels, Map<SpannerRpc.Option,?> options)
Session
SpannerRpc. 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 Session
SpannerClient. createSession(CreateSessionRequest request)
Creates a new session.Session
SpannerClient. createSession(DatabaseName database)
Creates a new session.Session
SpannerClient. createSession(String database)
Creates a new session.Session
SpannerClient. getSession(GetSessionRequest request)
Gets a session.Session
SpannerClient. getSession(SessionName name)
Gets a session.Session
SpannerClient. 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.ListSessionsPage
SpannerClient.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 Session
Session.Builder. build()
Session
Session.Builder. buildPartial()
Session
SpannerGrpc.SpannerBlockingStub. createSession(CreateSessionRequest request)
Creates a new session.static Session
Session. getDefaultInstance()
Session
Session.Builder. getDefaultInstanceForType()
Session
Session. getDefaultInstanceForType()
Session
BatchCreateSessionsResponse.Builder. getSession(int index)
The freshly created sessions.Session
BatchCreateSessionsResponse. getSession(int index)
The freshly created sessions.Session
BatchCreateSessionsResponseOrBuilder. getSession(int index)
The freshly created sessions.Session
CreateSessionRequest.Builder. getSession()
Required.Session
CreateSessionRequest. getSession()
Required.Session
CreateSessionRequestOrBuilder. getSession()
Required.Session
SpannerGrpc.SpannerBlockingStub. getSession(GetSessionRequest request)
Gets a session.Session
ListSessionsResponse.Builder. getSessions(int index)
The list of requested sessions.Session
ListSessionsResponse. getSessions(int index)
The list of requested sessions.Session
ListSessionsResponseOrBuilder. getSessions(int index)
The list of requested sessions.Session
BatchCreateSessionsRequest.Builder. getSessionTemplate()
Parameters to be applied to each created session.Session
BatchCreateSessionsRequest. getSessionTemplate()
Parameters to be applied to each created session.Session
BatchCreateSessionsRequestOrBuilder. getSessionTemplate()
Parameters to be applied to each created session.static Session
Session. parseDelimitedFrom(InputStream input)
static Session
Session. parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Session
Session. parseFrom(byte[] data)
static Session
Session. parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Session
Session. parseFrom(com.google.protobuf.ByteString data)
static Session
Session. parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Session
Session. parseFrom(com.google.protobuf.CodedInputStream input)
static Session
Session. parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Session
Session. parseFrom(InputStream input)
static Session
Session. parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Session
Session. parseFrom(ByteBuffer data)
static Session
Session. 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.Builder
BatchCreateSessionsResponse.Builder. addSession(int index, Session value)
The freshly created sessions.BatchCreateSessionsResponse.Builder
BatchCreateSessionsResponse.Builder. addSession(Session value)
The freshly created sessions.ListSessionsResponse.Builder
ListSessionsResponse.Builder. addSessions(int index, Session value)
The list of requested sessions.ListSessionsResponse.Builder
ListSessionsResponse.Builder. addSessions(Session value)
The list of requested sessions.Session.Builder
Session.Builder. mergeFrom(Session other)
CreateSessionRequest.Builder
CreateSessionRequest.Builder. mergeSession(Session value)
Required.BatchCreateSessionsRequest.Builder
BatchCreateSessionsRequest.Builder. mergeSessionTemplate(Session value)
Parameters to be applied to each created session.static Session.Builder
Session. newBuilder(Session prototype)
BatchCreateSessionsResponse.Builder
BatchCreateSessionsResponse.Builder. setSession(int index, Session value)
The freshly created sessions.CreateSessionRequest.Builder
CreateSessionRequest.Builder. setSession(Session value)
Required.ListSessionsResponse.Builder
ListSessionsResponse.Builder. setSessions(int index, Session value)
The list of requested sessions.BatchCreateSessionsRequest.Builder
BatchCreateSessionsRequest.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.Builder
BatchCreateSessionsResponse.Builder. addAllSession(Iterable<? extends Session> values)
The freshly created sessions.ListSessionsResponse.Builder
ListSessionsResponse.Builder. addAllSessions(Iterable<? extends Session> values)
The list of requested sessions.default void
SpannerGrpc.AsyncService. createSession(CreateSessionRequest request, io.grpc.stub.StreamObserver<Session> responseObserver)
Creates a new session.void
SpannerGrpc.SpannerStub. createSession(CreateSessionRequest request, io.grpc.stub.StreamObserver<Session> responseObserver)
Creates a new session.default void
SpannerGrpc.AsyncService. getSession(GetSessionRequest request, io.grpc.stub.StreamObserver<Session> responseObserver)
Gets a session.void
SpannerGrpc.SpannerStub. getSession(GetSessionRequest request, io.grpc.stub.StreamObserver<Session> responseObserver)
Gets a session.
-