Class SingleRowMutation (2.34.0-rc)

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