Package | Description |
---|---|
com.google.spanner.v1 |
Modifier and Type | Class and Description |
---|---|
class |
TransactionOptions
Transactions:
Each session can have at most one active transaction at a time (note that
standalone reads and queries use a transaction internally and do count
towards the one transaction limit).
|
static class |
TransactionOptions.Builder
Transactions:
Each session can have at most one active transaction at a time (note that
standalone reads and queries use a transaction internally and do count
towards the one transaction limit).
|
Modifier and Type | Method and Description |
---|---|
TransactionOptionsOrBuilder |
TransactionSelector.getBeginOrBuilder()
Begin a new transaction and execute this read or SQL query in
it.
|
TransactionOptionsOrBuilder |
TransactionSelector.Builder.getBeginOrBuilder()
Begin a new transaction and execute this read or SQL query in
it.
|
TransactionOptionsOrBuilder |
TransactionSelectorOrBuilder.getBeginOrBuilder()
Begin a new transaction and execute this read or SQL query in
it.
|
TransactionOptionsOrBuilder |
BeginTransactionRequest.getOptionsOrBuilder()
Required.
|
TransactionOptionsOrBuilder |
BeginTransactionRequest.Builder.getOptionsOrBuilder()
Required.
|
TransactionOptionsOrBuilder |
BeginTransactionRequestOrBuilder.getOptionsOrBuilder()
Required.
|
TransactionOptionsOrBuilder |
TransactionSelector.getSingleUseOrBuilder()
Execute the read or SQL query in a temporary transaction.
|
TransactionOptionsOrBuilder |
TransactionSelector.Builder.getSingleUseOrBuilder()
Execute the read or SQL query in a temporary transaction.
|
TransactionOptionsOrBuilder |
TransactionSelectorOrBuilder.getSingleUseOrBuilder()
Execute the read or SQL query in a temporary transaction.
|
TransactionOptionsOrBuilder |
CommitRequestOrBuilder.getSingleUseTransactionOrBuilder()
Execute mutations in a temporary transaction.
|
TransactionOptionsOrBuilder |
CommitRequest.getSingleUseTransactionOrBuilder()
Execute mutations in a temporary transaction.
|
TransactionOptionsOrBuilder |
CommitRequest.Builder.getSingleUseTransactionOrBuilder()
Execute mutations in a temporary transaction.
|
Copyright © 2022 Google LLC. All rights reserved.