| Package | Description |
|---|---|
| com.google.api.services.spanner.v1.model |
| Modifier and Type | Method and Description |
|---|---|
ReadOnly |
ReadOnly.clone() |
ReadOnly |
TransactionOptions.getReadOnly()
Transaction will not write.
|
ReadOnly |
ReadOnly.set(java.lang.String fieldName,
java.lang.Object value) |
ReadOnly |
ReadOnly.setExactStaleness(java.lang.String exactStaleness)
Executes all reads at a timestamp that is `exact_staleness` old.
|
ReadOnly |
ReadOnly.setMaxStaleness(java.lang.String maxStaleness)
Read data at a timestamp >= `NOW - max_staleness` seconds.
|
ReadOnly |
ReadOnly.setMinReadTimestamp(java.lang.String minReadTimestamp)
Executes all reads at a timestamp >= `min_read_timestamp`.
|
ReadOnly |
ReadOnly.setReadTimestamp(java.lang.String readTimestamp)
Executes all reads at the given timestamp.
|
ReadOnly |
ReadOnly.setReturnReadTimestamp(java.lang.Boolean returnReadTimestamp)
If true, the Cloud Spanner-selected read timestamp is included in the Transaction message that
describes the transaction.
|
ReadOnly |
ReadOnly.setStrong(java.lang.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 will not write.
|