Google Cloud Spanner C++ Client  1.32.0
A C++ Client Library for Google Cloud Spanner
Classes | Namespaces | Functions
transaction.h File Reference
#include "google/cloud/spanner/internal/transaction_impl.h"
#include "google/cloud/spanner/timestamp.h"
#include "google/cloud/spanner/version.h"
#include "absl/types/optional.h"
#include <google/spanner/v1/transaction.pb.h>
#include <chrono>
#include <memory>
#include <string>

Go to the source code of this file.

Classes

class  google::cloud::spanner::v1::Transaction
 The representation of a Cloud Spanner transaction. More...
 
class  google::cloud::spanner::v1::Transaction::ReadOnlyOptions
 Options for ReadOnly transactions. More...
 
class  google::cloud::spanner::v1::Transaction::ReadWriteOptions
 Options for ReadWrite transactions. More...
 
class  google::cloud::spanner::v1::Transaction::SingleUseOptions
 Options for "single-use", ReadOnly transactions, where Spanner chooses the read timestamp, subject to user-provided bounds. More...
 

Namespaces

 google
 
 google::cloud
 The namespace Google Cloud Platform C++ client libraries.
 
 google::cloud::spanner
 Contains all the Cloud Spanner C++ client types and functions.
 
 google::cloud::spanner::v1
 The inlined, versioned namespace for the Cloud Spanner C++ client APIs.
 

Functions

Transaction google::cloud::spanner::v1::MakeReadOnlyTransaction (Transaction::ReadOnlyOptions opts={})
 Create a read-only transaction configured with opts. More...
 
Transaction google::cloud::spanner::v1::MakeReadWriteTransaction (Transaction::ReadWriteOptions opts={})
 Create a read-write transaction configured with opts. More...
 
Transaction google::cloud::spanner::v1::MakeReadWriteTransaction (Transaction const &txn, Transaction::ReadWriteOptions opts={})
 Create a read-write transaction configured with opts, and sharing lock priority with txn. More...