Google Cloud Spanner C++ Client 2.13.0
A C++ Client Library for Google Cloud Spanner
|
A connection to a Spanner database instance. More...
#include <google/cloud/spanner/connection.h>
Classes | |
struct | CommitParams |
Wrap the arguments to Commit() . More... | |
struct | ExecuteBatchDmlParams |
Wrap the arguments to ExecuteBatchDml() . More... | |
struct | ExecutePartitionedDmlParams |
Wrap the arguments to ExecutePartitionedDml() . More... | |
struct | PartitionQueryParams |
Wrap the arguments to PartitionQuery() . More... | |
struct | PartitionReadParams |
Wrap the arguments to PartitionRead() . More... | |
struct | ReadParams |
Wrap the arguments to Read() . More... | |
struct | RollbackParams |
Wrap the arguments to Rollback() . More... | |
struct | SqlParams |
Wrap the arguments to ExecuteQuery() , ExecuteDml() , ProfileQuery() , ProfileDml() , and AnalyzeSql() . More... | |
A connection to a Spanner database instance.
This interface defines pure-virtual methods for each of the user-facing overload sets in Client
. That is, all of Client
's Read()
overloads will forward to the one pure-virtual Read()
method declared in this interface, and similar for Client
's other methods. This allows users to inject custom behavior (e.g., with a Google Mock object) in a Client
object for use in their own tests.
To create a concrete instance that connects you to a real Spanner database, see MakeConnection()
.
|
virtualdefault |
|
virtual |
Defines the interface for Client::AnalyzeSql()
|
virtual |
Defines the interface for Client::Commit()
|
virtual |
Defines the interface for Client::ExecuteBatchDml()
Defines the interface for Client::ExecuteDml()
|
virtual |
Defines the interface for Client::ExecutePartitionedDml()
Defines the interface for Client::ExecuteQuery()
|
inlinevirtual |
Returns the options used by the Connection.
|
virtual |
Defines the interface for Client::PartitionQuery()
|
virtual |
Defines the interface for Client::PartitionRead()
|
virtual |
Defines the interface for Client::ProfileDml()
|
virtual |
Defines the interface for Client::ProfileQuery()
|
virtual |
Defines the interface for Client::Read()
|
virtual |
Defines the interface for Client::Rollback()