Class SpannerStub (6.55.0)

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.

Inheritance

java.lang.Object > SpannerStub

Implements

BackgroundResource

Constructors

SpannerStub()

public SpannerStub()

Methods

batchCreateSessionsCallable()

public UnaryCallable<BatchCreateSessionsRequest,BatchCreateSessionsResponse> batchCreateSessionsCallable()
Returns
TypeDescription
UnaryCallable<BatchCreateSessionsRequest,BatchCreateSessionsResponse>

batchWriteCallable()

public ServerStreamingCallable<BatchWriteRequest,BatchWriteResponse> batchWriteCallable()
Returns
TypeDescription
ServerStreamingCallable<BatchWriteRequest,BatchWriteResponse>

beginTransactionCallable()

public UnaryCallable<BeginTransactionRequest,Transaction> beginTransactionCallable()
Returns
TypeDescription
UnaryCallable<BeginTransactionRequest,Transaction>

close()

public abstract void close()

commitCallable()

public UnaryCallable<CommitRequest,CommitResponse> commitCallable()
Returns
TypeDescription
UnaryCallable<CommitRequest,CommitResponse>

createSessionCallable()

public UnaryCallable<CreateSessionRequest,Session> createSessionCallable()
Returns
TypeDescription
UnaryCallable<CreateSessionRequest,Session>

deleteSessionCallable()

public UnaryCallable<DeleteSessionRequest,Empty> deleteSessionCallable()
Returns
TypeDescription
UnaryCallable<DeleteSessionRequest,Empty>

executeBatchDmlCallable()

public UnaryCallable<ExecuteBatchDmlRequest,ExecuteBatchDmlResponse> executeBatchDmlCallable()
Returns
TypeDescription
UnaryCallable<ExecuteBatchDmlRequest,ExecuteBatchDmlResponse>

executeSqlCallable()

public UnaryCallable<ExecuteSqlRequest,ResultSet> executeSqlCallable()
Returns
TypeDescription
UnaryCallable<ExecuteSqlRequest,ResultSet>

executeStreamingSqlCallable()

public ServerStreamingCallable<ExecuteSqlRequest,PartialResultSet> executeStreamingSqlCallable()
Returns
TypeDescription
ServerStreamingCallable<ExecuteSqlRequest,PartialResultSet>

getSessionCallable()

public UnaryCallable<GetSessionRequest,Session> getSessionCallable()
Returns
TypeDescription
UnaryCallable<GetSessionRequest,Session>

listSessionsCallable()

public UnaryCallable<ListSessionsRequest,ListSessionsResponse> listSessionsCallable()
Returns
TypeDescription
UnaryCallable<ListSessionsRequest,ListSessionsResponse>

listSessionsPagedCallable()

public UnaryCallable<ListSessionsRequest,SpannerClient.ListSessionsPagedResponse> listSessionsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListSessionsRequest,ListSessionsPagedResponse>

partitionQueryCallable()

public UnaryCallable<PartitionQueryRequest,PartitionResponse> partitionQueryCallable()
Returns
TypeDescription
UnaryCallable<PartitionQueryRequest,PartitionResponse>

partitionReadCallable()

public UnaryCallable<PartitionReadRequest,PartitionResponse> partitionReadCallable()
Returns
TypeDescription
UnaryCallable<PartitionReadRequest,PartitionResponse>

readCallable()

public UnaryCallable<ReadRequest,ResultSet> readCallable()
Returns
TypeDescription
UnaryCallable<ReadRequest,ResultSet>

rollbackCallable()

public UnaryCallable<RollbackRequest,Empty> rollbackCallable()
Returns
TypeDescription
UnaryCallable<RollbackRequest,Empty>

streamingReadCallable()

public ServerStreamingCallable<ReadRequest,PartialResultSet> streamingReadCallable()
Returns
TypeDescription
ServerStreamingCallable<ReadRequest,PartialResultSet>