Class SingleRowMutation (2.21.0)

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
NameDescription
row_key RowKey &&
typename RowKey

SingleRowMutation(RowKey &&, std::initializer_list< Mutation >)

Create a row mutation from a initializer list.

Parameters
NameDescription
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
NameDescription
row_key RowKey &&
m M &&...
typename RowKey
typename...

SingleRowMutation(::google::bigtable::v2::MutateRowsRequest::Entry)

Create a row mutation from gRPC proto.

Parameter
NameDescription
entry ::google::bigtable::v2::MutateRowsRequest::Entry

SingleRowMutation(::google::bigtable::v2::MutateRowRequest)

Create a row mutation from gRPC proto.

Parameter
NameDescription
request ::google::bigtable::v2::MutateRowRequest

SingleRowMutation(SingleRowMutation &&)

Parameter
NameDescription
SingleRowMutation &&

SingleRowMutation(SingleRowMutation const &)

Parameter
NameDescription
SingleRowMutation const &

Operators

operator=(SingleRowMutation &&)

Parameter
NameDescription
SingleRowMutation &&
Returns
TypeDescription
SingleRowMutation &

operator=(SingleRowMutation const &)

Parameter
NameDescription
SingleRowMutation const &
Returns
TypeDescription
SingleRowMutation &

Functions

emplace_back(Mutation)

Parameter
NameDescription
mut Mutation
Returns
TypeDescription
SingleRowMutation &

row_key() const

Returns
TypeDescription
RowKeyType const &

MoveTo(google::bigtable::v2::MutateRowsRequest::Entry *)

Move the contents into a bigtable::v2::MutateRowsRequest::Entry.

Parameter
NameDescription
entry google::bigtable::v2::MutateRowsRequest::Entry *
Returns
TypeDescription
void

MoveTo(google::bigtable::v2::MutateRowRequest &)

Transfer the contents to request.

Parameter
NameDescription
request google::bigtable::v2::MutateRowRequest &
Returns
TypeDescription
void

Clear()

Remove the contents of the mutation.

Returns
TypeDescription
void