Package com.google.cloud.spanner.v1.stub
Class SpannerStub
- java.lang.Object
-
- com.google.cloud.spanner.v1.stub.SpannerStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
- Direct Known Subclasses:
GrpcSpannerStub
,HttpJsonSpannerStub
@Generated("by gapic-generator-java") public abstract class SpannerStub extends Object implements com.google.api.gax.core.BackgroundResource
Base stub class for the Spanner service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Constructor Description SpannerStub()
-
Method Summary
-
-
-
Method Detail
-
createSessionCallable
public com.google.api.gax.rpc.UnaryCallable<CreateSessionRequest,Session> createSessionCallable()
-
batchCreateSessionsCallable
public com.google.api.gax.rpc.UnaryCallable<BatchCreateSessionsRequest,BatchCreateSessionsResponse> batchCreateSessionsCallable()
-
getSessionCallable
public com.google.api.gax.rpc.UnaryCallable<GetSessionRequest,Session> getSessionCallable()
-
listSessionsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListSessionsRequest,SpannerClient.ListSessionsPagedResponse> listSessionsPagedCallable()
-
listSessionsCallable
public com.google.api.gax.rpc.UnaryCallable<ListSessionsRequest,ListSessionsResponse> listSessionsCallable()
-
deleteSessionCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteSessionRequest,com.google.protobuf.Empty> deleteSessionCallable()
-
executeSqlCallable
public com.google.api.gax.rpc.UnaryCallable<ExecuteSqlRequest,ResultSet> executeSqlCallable()
-
executeStreamingSqlCallable
public com.google.api.gax.rpc.ServerStreamingCallable<ExecuteSqlRequest,PartialResultSet> executeStreamingSqlCallable()
-
executeBatchDmlCallable
public com.google.api.gax.rpc.UnaryCallable<ExecuteBatchDmlRequest,ExecuteBatchDmlResponse> executeBatchDmlCallable()
-
readCallable
public com.google.api.gax.rpc.UnaryCallable<ReadRequest,ResultSet> readCallable()
-
streamingReadCallable
public com.google.api.gax.rpc.ServerStreamingCallable<ReadRequest,PartialResultSet> streamingReadCallable()
-
beginTransactionCallable
public com.google.api.gax.rpc.UnaryCallable<BeginTransactionRequest,Transaction> beginTransactionCallable()
-
commitCallable
public com.google.api.gax.rpc.UnaryCallable<CommitRequest,CommitResponse> commitCallable()
-
rollbackCallable
public com.google.api.gax.rpc.UnaryCallable<RollbackRequest,com.google.protobuf.Empty> rollbackCallable()
-
partitionQueryCallable
public com.google.api.gax.rpc.UnaryCallable<PartitionQueryRequest,PartitionResponse> partitionQueryCallable()
-
partitionReadCallable
public com.google.api.gax.rpc.UnaryCallable<PartitionReadRequest,PartitionResponse> partitionReadCallable()
-
close
public abstract void close()
- Specified by:
close
in interfaceAutoCloseable
-
-