15 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_CONNECTION_H 16 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_CONNECTION_H 130 virtual StatusOr<std::vector<ReadPartition>> PartitionRead(
137 virtual StatusOr<DmlResult> ExecuteDml(
SqlParams) = 0;
143 virtual StatusOr<ProfileDmlResult> ProfileDml(
SqlParams) = 0;
146 virtual StatusOr<ExecutionPlan> AnalyzeSql(
SqlParams) = 0;
149 virtual StatusOr<PartitionedDmlResult> ExecutePartitionedDml(
153 virtual StatusOr<std::vector<QueryPartition>> PartitionQuery(
160 virtual StatusOr<CommitResult> Commit(
CommitParams) = 0;
171 #endif // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_CONNECTION_H
Wrap the arguments to Rollback().
Wrap the arguments to PartitionQuery().
Wrap the arguments to ExecuteQuery(), ExecuteDml(), ProfileQuery(), ProfileDml(), and AnalyzeSql().
Represents the stream of Rows and profile stats returned from spanner::Client::ProfileQuery().
PartitionOptions partition_options
Wrap the arguments to ExecutePartitionedDml().
std::vector< Mutation > Mutations
An ordered sequence of mutations to pass to Client::Commit() or return from the Client::Commit() muta...
google::cloud::optional< std::string > partition_token
Wrap the arguments to Read().
The KeySet class is a regular type that represents a collection of Keys.
QueryOptions query_options
Wrap the arguments to PartitionRead().
google::cloud::optional< std::string > partition_token
Contains all the Cloud Spanner C++ client types and functions.
Wrap the arguments to Commit().
These QueryOptions allow users to configure features about how their SQL queries executes on the serv...
std::vector< SqlStatement > statements
PartitionOptions partition_options
std::vector< std::string > columns
#define SPANNER_CLIENT_NS
Wrap the arguments to ExecuteBatchDml().
The representation of a Cloud Spanner transaction.
Represents the stream of Rows returned from spanner::Client::Read() or spanner::Client::ExecuteQuery(...
A connection to a Spanner database instance.
Options passed to Client::PartitionRead or Client::PartitionQuery.
Options passed to Client::Read or Client::PartitionRead.
Represents a potentially parameterized SQL statement.