Google Cloud Spanner C++ Client 2.13.0
A C++ Client Library for Google Cloud Spanner
|
A wrapper for Cloud Spanner mutations. More...
#include <google/cloud/spanner/mutations.h>
Public Member Functions | |
Mutation ()=default | |
Creates an empty mutation. More... | |
Mutation (Mutation &&)=default | |
Mutation & | operator= (Mutation &&)=default |
Mutation (Mutation const &)=default | |
Mutation & | operator= (Mutation const &)=default |
google::spanner::v1::Mutation | as_proto () && |
Convert the mutation to the underlying proto. More... | |
google::spanner::v1::Mutation | as_proto () const & |
Friends | |
bool | operator== (Mutation const &lhs, Mutation const &rhs) |
bool | operator!= (Mutation const &lhs, Mutation const &rhs) |
void | PrintTo (Mutation const &m, std::ostream *os) |
Allows Google Test to print internal debugging information when test assertions fail. More... | |
A wrapper for Cloud Spanner mutations.
In addition to the Data Manipulation Language (DML) based APIs, Cloud Spanner supports the mutation API, where the application describes data modification using a data structure instead of a SQL statement.
This class serves as a wrapper for all mutations types. Use the builders, such as InsertMutationBuilder
or UpdateMutationBuilder
to create objects of this class.
|
default |
Creates an empty mutation.
|
default |
|
default |
|
inline |
Convert the mutation to the underlying proto.
|
inline |
|
friend |
Allows Google Test to print internal debugging information when test assertions fail.