|
Google Cloud Spanner C++ Client
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.
Definition at line 48 of file mutations.h.
|
default |
Creates an empty mutation.
|
default |
|
default |
|
inline |
Convert the mutation to the underlying proto.
Definition at line 68 of file mutations.h.
|
inline |
Definition at line 69 of file mutations.h.
Definition at line 63 of file mutations.h.
Definition at line 24 of file mutations.cc.
|
friend |
Allows Google Test to print internal debugging information when test assertions fail.
Definition at line 29 of file mutations.cc.
1.8.15