Uses of Interface
com.google.cloud.spanner.ReadOnlyTransaction
Packages that use ReadOnlyTransaction
Package
Description
A client for Cloud Spanner - A no-compromise relational database service.
-
Uses of ReadOnlyTransaction in com.google.cloud.spanner
Subinterfaces of ReadOnlyTransaction in com.google.cloud.spannerModifier and TypeInterfaceDescriptioninterfaceBatchReadOnlyTransactioncan be configured to read at timestamps in the past and allows for exporting arbitrarily large amounts of data from Cloud Spanner databases.Methods in com.google.cloud.spanner that return ReadOnlyTransactionModifier and TypeMethodDescriptionDatabaseClient.readOnlyTransaction()Returns a read-only transaction context in which a multiple reads and/or queries can be performed usingTimestampBound.strong()concurrency.DatabaseClient.readOnlyTransaction(TimestampBound bound) Returns a read-only transaction context in which a multiple reads and/or queries can be performed at the given timestamp bound.DatabaseClient.singleUseReadOnlyTransaction()Returns a read-only transaction context in which a single read or query can be performed usingTimestampBound.strong()concurrency.DatabaseClient.singleUseReadOnlyTransaction(TimestampBound bound) Returns a read-only transaction context in which a single read or query can be performed at given timestamp bound.