Uses of Interface
com.google.cloud.spanner.Options.TransactionOption
-
Packages that use Options.TransactionOption Package Description com.google.cloud.spanner A client for Cloud Spanner - A no-compromise relational database service. -
-
Uses of Options.TransactionOption in com.google.cloud.spanner
Subinterfaces of Options.TransactionOption in com.google.cloud.spanner Modifier and Type Interface Description static interfaceOptions.ReadQueryUpdateTransactionOptionMarker interface to mark options applicable to Read, Query, Update and Write operationsMethods in com.google.cloud.spanner that return Options.TransactionOption Modifier and Type Method Description static Options.TransactionOptionOptions. commitStats()Specifying this instructs the transaction to requestCommitStatsfrom the backend.static Options.TransactionOptionOptions. optimisticLock()Specifying this instructs the transaction to request Optimistic Lock from the backend.Methods in com.google.cloud.spanner with parameters of type Options.TransactionOption Modifier and Type Method Description TransactionRunnerDatabaseClient. readWriteTransaction(Options.TransactionOption... options)Returns a transaction runner for executing a single logical transaction with retries.AsyncRunnerDatabaseClient. runAsync(Options.TransactionOption... options)Returns an asynchronous transaction runner for executing a single logical transaction with retries.TransactionManagerDatabaseClient. transactionManager(Options.TransactionOption... options)Returns a transaction manager which allows manual management of transaction lifecycle.AsyncTransactionManagerDatabaseClient. transactionManagerAsync(Options.TransactionOption... options)Returns an asynchronous transaction manager which allows manual management of transaction lifecycle.CommitResponseDatabaseClient. writeAtLeastOnceWithOptions(Iterable<Mutation> mutations, Options.TransactionOption... options)Writes the given mutations atomically to the database without replay protection.CommitResponseDatabaseClient. writeWithOptions(Iterable<Mutation> mutations, Options.TransactionOption... options)Writes the given mutations atomically to the database with the given options.
-