Package | Description |
---|---|
com.google.api.services.spanner.v1.model |
Modifier and Type | Method and Description |
---|---|
ReadOnly |
ReadOnly.clone() |
ReadOnly |
TransactionOptions.getReadOnly()
Transaction does not write.
|
ReadOnly |
ReadOnly.set(String fieldName,
Object value) |
ReadOnly |
ReadOnly.setExactStaleness(String exactStaleness)
Executes all reads at a timestamp that is `exact_staleness` old.
|
ReadOnly |
ReadOnly.setMaxStaleness(String maxStaleness)
Read data at a timestamp >= `NOW - max_staleness` seconds.
|
ReadOnly |
ReadOnly.setMinReadTimestamp(String minReadTimestamp)
Executes all reads at a timestamp >= `min_read_timestamp`.
|
ReadOnly |
ReadOnly.setReadTimestamp(String readTimestamp)
Executes all reads at the given timestamp.
|
ReadOnly |
ReadOnly.setReturnReadTimestamp(Boolean returnReadTimestamp)
If true, the Cloud Spanner-selected read timestamp is included in the Transaction message that
describes the transaction.
|
ReadOnly |
ReadOnly.setStrong(Boolean strong)
Read at a timestamp where all previously committed transactions are visible.
|
Modifier and Type | Method and Description |
---|---|
TransactionOptions |
TransactionOptions.setReadOnly(ReadOnly readOnly)
Transaction does not write.
|
Copyright © 2011–2025 Google. All rights reserved.