Uses of Class
com.google.cloud.spanner.TimestampBound
-
Packages that use TimestampBound Package Description com.google.cloud.spanner A client for Cloud Spanner - A no-compromise relational database service.com.google.cloud.spanner.connection Internal API for Google Cloud Spanner. -
-
Uses of TimestampBound in com.google.cloud.spanner
Methods in com.google.cloud.spanner that return TimestampBound Modifier and Type Method Description static TimestampBoundTimestampBound. ofExactStaleness(long num, TimeUnit units)Returns a timestamp bound that will perform reads and queries at an exact staleness.static TimestampBoundTimestampBound. ofMaxStaleness(long num, TimeUnit units)Returns a timestamp bound that will perform reads and queries at a timestamp chosen to be at mostnum unitsstale.static TimestampBoundTimestampBound. ofMinReadTimestamp(com.google.cloud.Timestamp timestamp)Returns a timestamp bound that will perform reads and queries at a timestamp chosen to be at leasttimestamp.static TimestampBoundTimestampBound. ofReadTimestamp(com.google.cloud.Timestamp timestamp)Returns a timestamp bound that will perform reads and queries at the given timestamp.static TimestampBoundTimestampBound. strong()Returns a timestamp bound that will perform reads and queries at a timestamp where all previously committed transactions are visible.Methods in com.google.cloud.spanner with parameters of type TimestampBound Modifier and Type Method Description BatchReadOnlyTransactionBatchClient. batchReadOnlyTransaction(TimestampBound bound)Returns aBatchReadOnlyTransactioncontext in which multiple reads and/or queries can be performed.BatchReadOnlyTransactionBatchClientImpl. batchReadOnlyTransaction(TimestampBound bound)ReadOnlyTransactionDatabaseClient. 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.ReadContextDatabaseClient. singleUse(TimestampBound bound)Returns a context in which a single read can be performed at the given timestamp bound.ReadOnlyTransactionDatabaseClient. singleUseReadOnlyTransaction(TimestampBound bound)Returns a read-only transaction context in which a single read or query can be performed at given timestamp bound. -
Uses of TimestampBound in com.google.cloud.spanner.connection
Methods in com.google.cloud.spanner.connection that return TimestampBound Modifier and Type Method Description TimestampBoundConnection. getReadOnlyStaleness()Methods in com.google.cloud.spanner.connection with parameters of type TimestampBound Modifier and Type Method Description voidConnection. setReadOnlyStaleness(TimestampBound staleness)Sets the staleness to use for the current read-only transaction.
-