Package | Description |
---|---|
com.google.api.services.spanner.v1.model |
Modifier and Type | Method and Description |
---|---|
Transaction |
Transaction.clone() |
Transaction |
Transaction.encodeId(byte[] id)
`id` may be used to identify the transaction in subsequent Read, ExecuteSql, Commit, or
Rollback calls.
|
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 |
PartitionResponse.getTransaction()
Transaction created by this request.
|
Transaction |
Transaction.set(String fieldName,
Object value) |
Transaction |
Transaction.setId(String id)
`id` may be used to identify the transaction in subsequent Read, ExecuteSql, Commit, or
Rollback calls.
|
Transaction |
Transaction.setPrecommitToken(MultiplexedSessionPrecommitToken precommitToken)
A precommit token is included in the response of a BeginTransaction request if the read-write
transaction is on a multiplexed session and a mutation_key was specified in the
BeginTransaction.
|
Transaction |
Transaction.setReadTimestamp(String readTimestamp)
For snapshot read-only transactions, the read timestamp chosen for the transaction.
|
Modifier and Type | Method and Description |
---|---|
ResultSetMetadata |
ResultSetMetadata.setTransaction(Transaction transaction)
If the read or SQL query began a transaction as a side-effect, the information about the new
transaction is yielded here.
|
PartitionResponse |
PartitionResponse.setTransaction(Transaction transaction)
Transaction created by this request.
|
Copyright © 2011–2025 Google. All rights reserved.