Class ReadModifyWriteRule (2.24.0)

Define the interfaces to create ReadWriteModifyRule operations.

Cloud Bigtable has operations to perform atomic updates to a row, such as incrementing an integer value or appending to a string value. The changes are represented by a ReadModifyWriteRule operations. One or much such operations can be sent in a single request. This class helps users create the operations through a more idiomatic C++ interface.

Constructors

ReadModifyWriteRule(ReadModifyWriteRule &&)

Parameter
Name Description
ReadModifyWriteRule &&

ReadModifyWriteRule(ReadModifyWriteRule const &)

Parameter
Name Description
ReadModifyWriteRule const &

Operators

operator=(ReadModifyWriteRule &&)

Parameter
Name Description
ReadModifyWriteRule &&
Returns
Type Description
ReadModifyWriteRule &

operator=(ReadModifyWriteRule const &)

Parameter
Name Description
ReadModifyWriteRule const &
Returns
Type Description
ReadModifyWriteRule &

Functions

as_proto() const &

Return the filter expression as a protobuf.

Returns
Type Description
google::bigtable::v2::ReadModifyWriteRule const &

as_proto() &&

Move out the underlying protobuf value.

Returns
Type Description
google::bigtable::v2::ReadModifyWriteRule &&

static AppendValue(std::string, std::string, std::string)

Create an operation that appends a string value.

Parameters
Name Description
family_name std::string
column_qualifier std::string
value std::string
Returns
Type Description
ReadModifyWriteRule

static IncrementAmount(std::string, std::string, std::int64_t)

Create an operation that increments an integer value.

Parameters
Name Description
family_name std::string
column_qualifier std::string
amount std::int64_t
Returns
Type Description
ReadModifyWriteRule