Send feedback
Class BulkMutation (2.30.0-rc)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
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.
Constructors
BulkMutation()
Create an empty set of mutations.
BulkMutation(Iterator, Iterator)
Create a multi-row mutation from a range of SingleRowMutations.
Parameters
Name
Description
begin
Iterator
end
Iterator
typename Iterator
BulkMutation(std::initializer_list< SingleRowMutation >)
Create a multi-row mutation from a initializer list.
Parameter
Name
Description
list
std::initializer_list< SingleRowMutation >
BulkMutation(SingleRowMutation)
Parameter
Name
Description
mutation
SingleRowMutation
BulkMutation(SingleRowMutation, SingleRowMutation)
Parameters
Name
Description
m1
SingleRowMutation
m2
SingleRowMutation
BulkMutation(M &&...)
Create a multi-row mutation from a variadic list.
Parameters
Name
Description
m
M &&...
typename...
Functions
emplace_back(SingleRowMutation)
Parameter
Name
Description
mut
SingleRowMutation
Returns
Type
Description
BulkMutation &
emplace_back(FailedMutation)
Parameter
Name
Description
fm
FailedMutation
Returns
Type
Description
BulkMutation &
push_back(SingleRowMutation)
Parameter
Name
Description
mut
SingleRowMutation
Returns
Type
Description
BulkMutation &
MoveTo(google::bigtable::v2::MutateRowsRequest *)
Move the contents into a bigtable::v2::MutateRowsRequest.
Parameter
Name
Description
request
google::bigtable::v2::MutateRowsRequest *
Returns
Type
Description
void
empty() const
Return true if there are no mutations in this set.
Returns
Type
Description
bool
size() const
Return the number of mutations in this set.
Returns
Type
Description
std::size_t
estimated_size_in_bytes() const
Return the estimated size in bytes of all the mutations in this set.
Returns
Type
Description
std::size_t
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-06 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{
"lastModified": "Last updated 2024-09-06 UTC.",
"confidential": False
}