Class SpannerStub (6.83.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
Type Description
UnaryCallable<BatchCreateSessionsRequest,BatchCreateSessionsResponse>

batchWriteCallable()

public ServerStreamingCallable<BatchWriteRequest,BatchWriteResponse> batchWriteCallable()
Returns
Type Description
ServerStreamingCallable<BatchWriteRequest,BatchWriteResponse>

beginTransactionCallable()

public UnaryCallable<BeginTransactionRequest,Transaction> beginTransactionCallable()
Returns
Type Description
UnaryCallable<BeginTransactionRequest,Transaction>

close()

public abstract void close()

commitCallable()

public UnaryCallable<CommitRequest,CommitResponse> commitCallable()
Returns
Type Description
UnaryCallable<CommitRequest,CommitResponse>

createSessionCallable()

public UnaryCallable<CreateSessionRequest,Session> createSessionCallable()
Returns
Type Description
UnaryCallable<CreateSessionRequest,Session>

deleteSessionCallable()

public UnaryCallable<DeleteSessionRequest,Empty> deleteSessionCallable()
Returns
Type Description
UnaryCallable<DeleteSessionRequest,Empty>

executeBatchDmlCallable()

public UnaryCallable<ExecuteBatchDmlRequest,ExecuteBatchDmlResponse> executeBatchDmlCallable()
Returns
Type Description
UnaryCallable<ExecuteBatchDmlRequest,ExecuteBatchDmlResponse>

executeSqlCallable()

public UnaryCallable<ExecuteSqlRequest,ResultSet> executeSqlCallable()
Returns
Type Description
UnaryCallable<ExecuteSqlRequest,ResultSet>

executeStreamingSqlCallable()

public ServerStreamingCallable<ExecuteSqlRequest,PartialResultSet> executeStreamingSqlCallable()
Returns
Type Description
ServerStreamingCallable<ExecuteSqlRequest,PartialResultSet>

getSessionCallable()

public UnaryCallable<GetSessionRequest,Session> getSessionCallable()
Returns
Type Description
UnaryCallable<GetSessionRequest,Session>

listSessionsCallable()

public UnaryCallable<ListSessionsRequest,ListSessionsResponse> listSessionsCallable()
Returns
Type Description
UnaryCallable<ListSessionsRequest,ListSessionsResponse>

listSessionsPagedCallable()

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

partitionQueryCallable()

public UnaryCallable<PartitionQueryRequest,PartitionResponse> partitionQueryCallable()
Returns
Type Description
UnaryCallable<PartitionQueryRequest,PartitionResponse>

partitionReadCallable()

public UnaryCallable<PartitionReadRequest,PartitionResponse> partitionReadCallable()
Returns
Type Description
UnaryCallable<PartitionReadRequest,PartitionResponse>

readCallable()

public UnaryCallable<ReadRequest,ResultSet> readCallable()
Returns
Type Description
UnaryCallable<ReadRequest,ResultSet>

rollbackCallable()

public UnaryCallable<RollbackRequest,Empty> rollbackCallable()
Returns
Type Description
UnaryCallable<RollbackRequest,Empty>

streamingReadCallable()

public ServerStreamingCallable<ReadRequest,PartialResultSet> streamingReadCallable()
Returns
Type Description
ServerStreamingCallable<ReadRequest,PartialResultSet>