Package com.google.cloud.spanner.v1.stub
Class SpannerStub
java.lang.Object
com.google.cloud.spanner.v1.stub.SpannerStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
- Direct Known Subclasses:
GrpcSpannerStub,HttpJsonSpannerStub
@Generated("by gapic-generator-java")
public abstract class SpannerStub
extends Object
implements BackgroundResource
Base stub class for the Spanner service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidclose()UnaryCallable<DeleteSessionRequest,com.google.protobuf.Empty> UnaryCallable<RollbackRequest,com.google.protobuf.Empty> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.api.gax.core.BackgroundResource
awaitTermination, isShutdown, isTerminated, shutdown, shutdownNow
-
Constructor Details
-
SpannerStub
public SpannerStub()
-
-
Method Details
-
createSessionCallable
-
batchCreateSessionsCallable
public UnaryCallable<BatchCreateSessionsRequest,BatchCreateSessionsResponse> batchCreateSessionsCallable() -
getSessionCallable
-
listSessionsPagedCallable
public UnaryCallable<ListSessionsRequest,SpannerClient.ListSessionsPagedResponse> listSessionsPagedCallable() -
listSessionsCallable
-
deleteSessionCallable
-
executeSqlCallable
-
executeStreamingSqlCallable
-
executeBatchDmlCallable
-
readCallable
-
streamingReadCallable
-
beginTransactionCallable
-
commitCallable
-
rollbackCallable
-
partitionQueryCallable
-
partitionReadCallable
-
batchWriteCallable
-
close
public abstract void close()- Specified by:
closein interfaceAutoCloseable
-