|
Google Cloud Spanner C++ Client
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().
Definition at line 57 of file connection.h.
|
virtualdefault |
|
pure virtual |
Defines the interface for Client::AnalyzeSql()
|
pure virtual |
Defines the interface for Client::Commit()
|
pure virtual |
Defines the interface for Client::ExecuteBatchDml()
|
pure virtual |
Defines the interface for Client::ExecuteDml()
|
pure virtual |
Defines the interface for Client::ExecutePartitionedDml()
Defines the interface for Client::ExecuteQuery()
|
pure virtual |
Defines the interface for Client::PartitionQuery()
|
pure virtual |
Defines the interface for Client::PartitionRead()
|
pure virtual |
Defines the interface for Client::ProfileDml()
|
pure virtual |
Defines the interface for Client::ProfileQuery()
|
pure virtual |
Defines the interface for Client::Read()
|
pure virtual |
Defines the interface for Client::Rollback()
1.8.15