Send feedback
Class SingleRowMutation (2.23.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.23.0 keyboard_arrow_down
Represent a single row mutation.
Bigtable can perform multiple changes to a single row atomically. This class represents 0 or more changes to apply to a single row. The changes may include setting cells (which implicitly insert the values), deleting values, etc.
Constructors
SingleRowMutation(RowKey &&)
Create an empty mutation.
Parameters
Name
Description
row_key
RowKey &&
typename RowKey
SingleRowMutation(RowKey &&, std::initializer_list< Mutation >)
Create a row mutation from a initializer list.
Parameters
Name
Description
row_key
RowKey &&
list
std::initializer_list< Mutation >
typename RowKey
SingleRowMutation(RowKey &&, M &&...)
Create a single-row multiple-cell mutation from a variadic list.
Parameters
Name
Description
row_key
RowKey &&
m
M &&...
typename RowKey
typename...
SingleRowMutation(::google::bigtable::v2::MutateRowsRequest::Entry)
Create a row mutation from gRPC proto.
Parameter
Name
Description
entry
::google::bigtable::v2::MutateRowsRequest::Entry
SingleRowMutation(::google::bigtable::v2::MutateRowRequest)
Create a row mutation from gRPC proto.
Parameter
Name
Description
request
::google::bigtable::v2::MutateRowRequest
SingleRowMutation(SingleRowMutation &&)
Parameter
Name
Description
SingleRowMutation &&
SingleRowMutation(SingleRowMutation const &)
Parameter
Name
Description
SingleRowMutation const &
Operators
operator=(SingleRowMutation &&)
Parameter
Name
Description
SingleRowMutation &&
Returns
Type
Description
SingleRowMutation &
operator=(SingleRowMutation const &)
Parameter
Name
Description
SingleRowMutation const &
Returns
Type
Description
SingleRowMutation &
Functions
emplace_back(Mutation)
Parameter
Name
Description
mut
Mutation
Returns
Type
Description
SingleRowMutation &
row_key() const
Returns
Type
Description
RowKeyType const &
MoveTo(google::bigtable::v2::MutateRowsRequest::Entry *)
Move the contents into a bigtable::v2::MutateRowsRequest::Entry.
Parameter
Name
Description
entry
google::bigtable::v2::MutateRowsRequest::Entry *
Returns
Type
Description
void
MoveTo(google::bigtable::v2::MutateRowRequest &)
Transfer the contents to request
.
Parameter
Name
Description
request
google::bigtable::v2::MutateRowRequest &
Returns
Type
Description
void
Clear()
Remove the contents of the mutation.
Returns
Type
Description
void
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-11-26 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-26 UTC."],[],[]]