Package | Description |
---|---|
com.google.cloud.spanner.spi.v1 | |
com.google.cloud.spanner.v1 |
The interfaces provided are listed below, along with usage samples.
|
com.google.cloud.spanner.v1.stub | |
com.google.spanner.v1 |
Modifier and Type | Method and Description |
---|---|
Transaction |
GapicSpannerRpc.beginTransaction(BeginTransactionRequest request,
Map<SpannerRpc.Option,?> options) |
Transaction |
SpannerRpc.beginTransaction(BeginTransactionRequest request,
Map<SpannerRpc.Option,?> options) |
Modifier and Type | Method and Description |
---|---|
com.google.api.core.ApiFuture<Transaction> |
GapicSpannerRpc.beginTransactionAsync(BeginTransactionRequest request,
Map<SpannerRpc.Option,?> options) |
com.google.api.core.ApiFuture<Transaction> |
SpannerRpc.beginTransactionAsync(BeginTransactionRequest request,
Map<SpannerRpc.Option,?> options) |
Modifier and Type | Method and Description |
---|---|
Transaction |
SpannerClient.beginTransaction(BeginTransactionRequest request)
Begins a new transaction.
|
Transaction |
SpannerClient.beginTransaction(SessionName session,
TransactionOptions options)
Begins a new transaction.
|
Transaction |
SpannerClient.beginTransaction(String session,
TransactionOptions options)
Begins a new transaction.
|
Modifier and Type | Method and Description |
---|---|
UnaryCallable<BeginTransactionRequest,Transaction> |
SpannerClient.beginTransactionCallable()
Begins a new transaction.
|
UnaryCallSettings<BeginTransactionRequest,Transaction> |
SpannerSettings.beginTransactionSettings()
Returns the object with the settings used for calls to beginTransaction.
|
UnaryCallSettings.Builder<BeginTransactionRequest,Transaction> |
SpannerSettings.Builder.beginTransactionSettings()
Returns the builder for the settings used for calls to beginTransaction.
|
Modifier and Type | Method and Description |
---|---|
UnaryCallable<BeginTransactionRequest,Transaction> |
GrpcSpannerStub.beginTransactionCallable() |
UnaryCallable<BeginTransactionRequest,Transaction> |
SpannerStub.beginTransactionCallable() |
UnaryCallSettings<BeginTransactionRequest,Transaction> |
SpannerStubSettings.beginTransactionSettings()
Returns the object with the settings used for calls to beginTransaction.
|
UnaryCallSettings.Builder<BeginTransactionRequest,Transaction> |
SpannerStubSettings.Builder.beginTransactionSettings()
Returns the builder for the settings used for calls to beginTransaction.
|
Modifier and Type | Method and Description |
---|---|
Transaction |
SpannerGrpc.SpannerBlockingStub.beginTransaction(BeginTransactionRequest request)
Begins a new transaction.
|
Transaction |
Transaction.Builder.build() |
Transaction |
Transaction.Builder.buildPartial() |
static Transaction |
Transaction.getDefaultInstance() |
Transaction |
Transaction.getDefaultInstanceForType() |
Transaction |
Transaction.Builder.getDefaultInstanceForType() |
Transaction |
PartitionResponse.getTransaction()
Transaction created by this request.
|
Transaction |
PartitionResponse.Builder.getTransaction()
Transaction created by this request.
|
Transaction |
ResultSetMetadata.getTransaction()
If the read or SQL query began a transaction as a side-effect, the
information about the new transaction is yielded here.
|
Transaction |
ResultSetMetadata.Builder.getTransaction()
If the read or SQL query began a transaction as a side-effect, the
information about the new transaction is yielded here.
|
Transaction |
PartitionResponseOrBuilder.getTransaction()
Transaction created by this request.
|
Transaction |
ResultSetMetadataOrBuilder.getTransaction()
If the read or SQL query began a transaction as a side-effect, the
information about the new transaction is yielded here.
|
static Transaction |
Transaction.parseDelimitedFrom(InputStream input) |
static Transaction |
Transaction.parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Transaction |
Transaction.parseFrom(byte[] data) |
static Transaction |
Transaction.parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Transaction |
Transaction.parseFrom(ByteBuffer data) |
static Transaction |
Transaction.parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Transaction |
Transaction.parseFrom(ByteString data) |
static Transaction |
Transaction.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Transaction |
Transaction.parseFrom(CodedInputStream input) |
static Transaction |
Transaction.parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Transaction |
Transaction.parseFrom(InputStream input) |
static Transaction |
Transaction.parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Transaction> |
SpannerGrpc.SpannerFutureStub.beginTransaction(BeginTransactionRequest request)
Begins a new transaction.
|
static MethodDescriptor<BeginTransactionRequest,Transaction> |
SpannerGrpc.getBeginTransactionMethod() |
Parser<Transaction> |
Transaction.getParserForType() |
static Parser<Transaction> |
Transaction.parser() |
Modifier and Type | Method and Description |
---|---|
Transaction.Builder |
Transaction.Builder.mergeFrom(Transaction other) |
PartitionResponse.Builder |
PartitionResponse.Builder.mergeTransaction(Transaction value)
Transaction created by this request.
|
ResultSetMetadata.Builder |
ResultSetMetadata.Builder.mergeTransaction(Transaction value)
If the read or SQL query began a transaction as a side-effect, the
information about the new transaction is yielded here.
|
static Transaction.Builder |
Transaction.newBuilder(Transaction prototype) |
PartitionResponse.Builder |
PartitionResponse.Builder.setTransaction(Transaction value)
Transaction created by this request.
|
ResultSetMetadata.Builder |
ResultSetMetadata.Builder.setTransaction(Transaction value)
If the read or SQL query began a transaction as a side-effect, the
information about the new transaction is yielded here.
|
Modifier and Type | Method and Description |
---|---|
void |
SpannerGrpc.SpannerImplBase.beginTransaction(BeginTransactionRequest request,
StreamObserver<Transaction> responseObserver)
Begins a new transaction.
|
void |
SpannerGrpc.SpannerStub.beginTransaction(BeginTransactionRequest request,
StreamObserver<Transaction> responseObserver)
Begins a new transaction.
|
Copyright © 2022 Google LLC. All rights reserved.