public abstract class SpannerStub implements BackgroundResource
Base stub class for the Spanner service API.
This class is for advanced usage and reflects the underlying API directly.
Constructors
SpannerStub()
Methods
batchCreateSessionsCallable()
public UnaryCallable<BatchCreateSessionsRequest,BatchCreateSessionsResponse> batchCreateSessionsCallable()
batchWriteCallable()
public ServerStreamingCallable<BatchWriteRequest,BatchWriteResponse> batchWriteCallable()
beginTransactionCallable()
public UnaryCallable<BeginTransactionRequest,Transaction> beginTransactionCallable()
close()
public abstract void close()
commitCallable()
public UnaryCallable<CommitRequest,CommitResponse> commitCallable()
createSessionCallable()
public UnaryCallable<CreateSessionRequest,Session> createSessionCallable()
deleteSessionCallable()
public UnaryCallable<DeleteSessionRequest,Empty> deleteSessionCallable()
executeBatchDmlCallable()
public UnaryCallable<ExecuteBatchDmlRequest,ExecuteBatchDmlResponse> executeBatchDmlCallable()
executeSqlCallable()
public UnaryCallable<ExecuteSqlRequest,ResultSet> executeSqlCallable()
executeStreamingSqlCallable()
public ServerStreamingCallable<ExecuteSqlRequest,PartialResultSet> executeStreamingSqlCallable()
getSessionCallable()
public UnaryCallable<GetSessionRequest,Session> getSessionCallable()
listSessionsCallable()
public UnaryCallable<ListSessionsRequest,ListSessionsResponse> listSessionsCallable()
listSessionsPagedCallable()
public UnaryCallable<ListSessionsRequest,SpannerClient.ListSessionsPagedResponse> listSessionsPagedCallable()
partitionQueryCallable()
public UnaryCallable<PartitionQueryRequest,PartitionResponse> partitionQueryCallable()
partitionReadCallable()
public UnaryCallable<PartitionReadRequest,PartitionResponse> partitionReadCallable()
readCallable()
public UnaryCallable<ReadRequest,ResultSet> readCallable()
rollbackCallable()
public UnaryCallable<RollbackRequest,Empty> rollbackCallable()
streamingReadCallable()
public ServerStreamingCallable<ReadRequest,PartialResultSet> streamingReadCallable()