Class: Google::Spanner::V1::TransactionOptions::ReadOnly
- Inherits:
-
Object
- Object
- Google::Spanner::V1::TransactionOptions::ReadOnly
- Defined in:
- lib/google/cloud/spanner/v1/doc/google/spanner/v1/transaction.rb
Overview
Options for read-only transactions.
Instance Attribute Summary collapse
-
#exact_staleness ⇒ Google::Protobuf::Duration
Executes all reads at a timestamp that is
exact_stalenessold. -
#max_staleness ⇒ Google::Protobuf::Duration
Read data at a timestamp >= NOW - max_staleness seconds.
-
#min_read_timestamp ⇒ Google::Protobuf::Timestamp
Executes all reads at a timestamp >=
min_read_timestamp. -
#read_timestamp ⇒ Google::Protobuf::Timestamp
Executes all reads at the given timestamp.
-
#return_read_timestamp ⇒ true, false
If true, the Cloud Spanner-selected read timestamp is included in the Transaction message that describes the transaction.
-
#strong ⇒ true, false
Read at a timestamp where all previously committed transactions are visible.
Instance Attribute Details
#exact_staleness ⇒ Google::Protobuf::Duration
309 |
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/transaction.rb', line 309 class ReadOnly; end |
#max_staleness ⇒ Google::Protobuf::Duration
309 |
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/transaction.rb', line 309 class ReadOnly; end |
#min_read_timestamp ⇒ Google::Protobuf::Timestamp
309 |
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/transaction.rb', line 309 class ReadOnly; end |
#read_timestamp ⇒ Google::Protobuf::Timestamp
309 |
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/transaction.rb', line 309 class ReadOnly; end |
#return_read_timestamp ⇒ true, false
309 |
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/transaction.rb', line 309 class ReadOnly; end |
#strong ⇒ true, false
309 |
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/transaction.rb', line 309 class ReadOnly; end |