Package | Description |
---|---|
com.google.cloud.spanner.v1 |
The interfaces provided are listed below, along with usage samples.
|
com.google.spanner.v1 |
Modifier and Type | Method and Description |
---|---|
Transaction |
SpannerClient.beginTransaction(SessionName session,
TransactionOptions options)
Begins a new transaction.
|
Transaction |
SpannerClient.beginTransaction(String session,
TransactionOptions options)
Begins a new transaction.
|
CommitResponse |
SpannerClient.commit(SessionName session,
TransactionOptions singleUseTransaction,
List<Mutation> mutations)
Commits a transaction.
|
CommitResponse |
SpannerClient.commit(String session,
TransactionOptions singleUseTransaction,
List<Mutation> mutations)
Commits a transaction.
|
Modifier and Type | Method and Description |
---|---|
TransactionOptions |
TransactionOptions.Builder.build() |
TransactionOptions |
TransactionOptions.Builder.buildPartial() |
TransactionOptions |
TransactionSelector.getBegin()
Begin a new transaction and execute this read or SQL query in
it.
|
TransactionOptions |
TransactionSelector.Builder.getBegin()
Begin a new transaction and execute this read or SQL query in
it.
|
TransactionOptions |
TransactionSelectorOrBuilder.getBegin()
Begin a new transaction and execute this read or SQL query in
it.
|
static TransactionOptions |
TransactionOptions.getDefaultInstance() |
TransactionOptions |
TransactionOptions.getDefaultInstanceForType() |
TransactionOptions |
TransactionOptions.Builder.getDefaultInstanceForType() |
TransactionOptions |
BeginTransactionRequest.getOptions()
Required.
|
TransactionOptions |
BeginTransactionRequest.Builder.getOptions()
Required.
|
TransactionOptions |
BeginTransactionRequestOrBuilder.getOptions()
Required.
|
TransactionOptions |
TransactionSelector.getSingleUse()
Execute the read or SQL query in a temporary transaction.
|
TransactionOptions |
TransactionSelector.Builder.getSingleUse()
Execute the read or SQL query in a temporary transaction.
|
TransactionOptions |
TransactionSelectorOrBuilder.getSingleUse()
Execute the read or SQL query in a temporary transaction.
|
TransactionOptions |
CommitRequestOrBuilder.getSingleUseTransaction()
Execute mutations in a temporary transaction.
|
TransactionOptions |
CommitRequest.getSingleUseTransaction()
Execute mutations in a temporary transaction.
|
TransactionOptions |
CommitRequest.Builder.getSingleUseTransaction()
Execute mutations in a temporary transaction.
|
static TransactionOptions |
TransactionOptions.parseDelimitedFrom(InputStream input) |
static TransactionOptions |
TransactionOptions.parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static TransactionOptions |
TransactionOptions.parseFrom(byte[] data) |
static TransactionOptions |
TransactionOptions.parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static TransactionOptions |
TransactionOptions.parseFrom(ByteBuffer data) |
static TransactionOptions |
TransactionOptions.parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static TransactionOptions |
TransactionOptions.parseFrom(ByteString data) |
static TransactionOptions |
TransactionOptions.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static TransactionOptions |
TransactionOptions.parseFrom(CodedInputStream input) |
static TransactionOptions |
TransactionOptions.parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static TransactionOptions |
TransactionOptions.parseFrom(InputStream input) |
static TransactionOptions |
TransactionOptions.parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
Modifier and Type | Method and Description |
---|---|
Parser<TransactionOptions> |
TransactionOptions.getParserForType() |
static Parser<TransactionOptions> |
TransactionOptions.parser() |
Modifier and Type | Method and Description |
---|---|
TransactionSelector.Builder |
TransactionSelector.Builder.mergeBegin(TransactionOptions value)
Begin a new transaction and execute this read or SQL query in
it.
|
TransactionOptions.Builder |
TransactionOptions.Builder.mergeFrom(TransactionOptions other) |
BeginTransactionRequest.Builder |
BeginTransactionRequest.Builder.mergeOptions(TransactionOptions value)
Required.
|
TransactionSelector.Builder |
TransactionSelector.Builder.mergeSingleUse(TransactionOptions value)
Execute the read or SQL query in a temporary transaction.
|
CommitRequest.Builder |
CommitRequest.Builder.mergeSingleUseTransaction(TransactionOptions value)
Execute mutations in a temporary transaction.
|
static TransactionOptions.Builder |
TransactionOptions.newBuilder(TransactionOptions prototype) |
TransactionSelector.Builder |
TransactionSelector.Builder.setBegin(TransactionOptions value)
Begin a new transaction and execute this read or SQL query in
it.
|
BeginTransactionRequest.Builder |
BeginTransactionRequest.Builder.setOptions(TransactionOptions value)
Required.
|
TransactionSelector.Builder |
TransactionSelector.Builder.setSingleUse(TransactionOptions value)
Execute the read or SQL query in a temporary transaction.
|
CommitRequest.Builder |
CommitRequest.Builder.setSingleUseTransaction(TransactionOptions value)
Execute mutations in a temporary transaction.
|
Copyright © 2022 Google LLC. All rights reserved.