Google Cloud Bigtable C++ Client 2.13.0
A C++ Client Library for Google Cloud Bigtable
|
Represent a set of mutations across multiple rows. More...
#include <google/cloud/bigtable/mutations.h>
Public Member Functions | |
BulkMutation ()=default | |
Create an empty set of mutations. More... | |
template<typename Iterator > | |
BulkMutation (Iterator begin, Iterator end) | |
Create a multi-row mutation from a range of SingleRowMutations. More... | |
BulkMutation (std::initializer_list< SingleRowMutation > list) | |
Create a multi-row mutation from a initializer list. More... | |
BulkMutation (SingleRowMutation mutation) | |
Create a multi-row mutation from a SingleRowMutation. More... | |
BulkMutation (SingleRowMutation m1, SingleRowMutation m2) | |
Create a multi-row mutation from two SingleRowMutation. More... | |
template<typename... M> | |
BulkMutation (M &&... m) | |
Create a multi-row mutation from a variadic list. More... | |
BulkMutation & | emplace_back (SingleRowMutation mut) |
BulkMutation & | emplace_back (FailedMutation fm) |
BulkMutation & | push_back (SingleRowMutation mut) |
void | MoveTo (google::bigtable::v2::MutateRowsRequest *request) |
Move the contents into a bigtable::v2::MutateRowsRequest. More... | |
bool | empty () const |
Return true if there are no mutations in this set. More... | |
std::size_t | size () const |
Return the number of mutations in this set. More... | |
std::size_t | estimated_size_in_bytes () const |
Return the estimated size in bytes of all the mutations in this set. More... | |
Represent a set of mutations across multiple rows.
Cloud Bigtable can batch multiple mutations in a single request. The mutations are not atomic, but it is more efficient to send them in a batch than to make multiple smaller requests.
|
default |
Create an empty set of mutations.
|
inline |
Create a multi-row mutation from a range of SingleRowMutations.
|
inline |
Create a multi-row mutation from a initializer list.
|
inlineexplicit |
Create a multi-row mutation from a SingleRowMutation.
|
inline |
Create a multi-row mutation from two SingleRowMutation.
|
inline |
Create a multi-row mutation from a variadic list.
|
inline |
|
inline |
|
inline |
Return true if there are no mutations in this set.
|
inline |
Return the estimated size in bytes of all the mutations in this set.
|
inline |
Move the contents into a bigtable::v2::MutateRowsRequest.
|
inline |
|
inline |
Return the number of mutations in this set.