Google Cloud Spanner C++ Client
2.0.0
A C++ Client Library for Google Cloud Spanner
|
#include "google/cloud/spanner/keys.h"
#include "google/cloud/spanner/value.h"
#include "google/cloud/spanner/version.h"
#include <google/spanner/v1/mutation.pb.h>
#include <string>
#include <vector>
Go to the source code of this file.
Classes | |
class | google::cloud::spanner::Mutation |
A wrapper for Cloud Spanner mutations. More... | |
Namespaces | |
google::cloud | |
The namespace Google Cloud Platform C++ client libraries. | |
google::cloud::spanner | |
Contains all the Cloud Spanner C++ client types and functions. | |
Typedefs | |
using | google::cloud::spanner::Mutations = std::vector< Mutation > |
An ordered sequence of mutations to pass to Client::Commit() or return from the Client::Commit() mutator. More... | |
using | google::cloud::spanner::InsertMutationBuilder = spanner_internal::WriteMutationBuilder< spanner_internal::InsertOp > |
A helper class to construct "insert" mutations. More... | |
using | google::cloud::spanner::UpdateMutationBuilder = spanner_internal::WriteMutationBuilder< spanner_internal::UpdateOp > |
A helper class to construct "update" mutations. More... | |
using | google::cloud::spanner::InsertOrUpdateMutationBuilder = spanner_internal::WriteMutationBuilder< spanner_internal::InsertOrUpdateOp > |
A helper class to construct "insert_or_update" mutations. More... | |
using | google::cloud::spanner::ReplaceMutationBuilder = spanner_internal::WriteMutationBuilder< spanner_internal::ReplaceOp > |
A helper class to construct "replace" mutations. More... | |
using | google::cloud::spanner::DeleteMutationBuilder = spanner_internal::DeleteMutationBuilder |
A helper class to construct "delete" mutations. More... | |
Functions | |
template<typename... Ts> | |
Mutation | google::cloud::spanner::MakeInsertMutation (std::string table_name, std::vector< std::string > columns, Ts &&... values) |
Creates a simple insert mutation for the values in values . More... | |
template<typename... Ts> | |
Mutation | google::cloud::spanner::MakeUpdateMutation (std::string table_name, std::vector< std::string > columns, Ts &&... values) |
Creates a simple update mutation for the values in values . More... | |
template<typename... Ts> | |
Mutation | google::cloud::spanner::MakeInsertOrUpdateMutation (std::string table_name, std::vector< std::string > columns, Ts &&... values) |
Creates a simple "insert or update" mutation for the values in values . More... | |
template<typename... Ts> | |
Mutation | google::cloud::spanner::MakeReplaceMutation (std::string table_name, std::vector< std::string > columns, Ts &&... values) |
Creates a simple "replace" mutation for the values in values . More... | |
Mutation | google::cloud::spanner::MakeDeleteMutation (std::string table_name, KeySet keys) |
Creates a simple "delete" mutation for the values in keys . More... | |