Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BatchReadOnlyTransaction
BatchReadOnlyTransaction can be configured to read at timestamps in the past and allows
for exporting arbitrarily large amounts of data from Cloud Spanner databases. |
Modifier and Type | Method and Description |
---|---|
ReadOnlyTransaction |
DatabaseClient.readOnlyTransaction()
Returns a read-only transaction context in which a multiple reads and/or queries can be
performed using
TimestampBound.strong() concurrency. |
ReadOnlyTransaction |
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.
|
ReadOnlyTransaction |
DatabaseClient.singleUseReadOnlyTransaction()
Returns a read-only transaction context in which a single read or query can be performed using
TimestampBound.strong() concurrency. |
ReadOnlyTransaction |
DatabaseClient.singleUseReadOnlyTransaction(TimestampBound bound)
Returns a read-only transaction context in which a single read or query can be performed at
given timestamp bound.
|
Copyright © 2019 Google LLC. All rights reserved.