Class ReadModifyWriteRule (2.11.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
NameDescription
ReadModifyWriteRule &&

ReadModifyWriteRule(ReadModifyWriteRule const &)

Parameter
NameDescription
ReadModifyWriteRule const &

Operators

operator=(ReadModifyWriteRule &&)

Parameter
NameDescription
ReadModifyWriteRule &&
Returns
TypeDescription
ReadModifyWriteRule &

operator=(ReadModifyWriteRule const &)

Parameter
NameDescription
ReadModifyWriteRule const &
Returns
TypeDescription
ReadModifyWriteRule &

Functions

as_proto() const &

Return the filter expression as a protobuf.

Returns
TypeDescription
google::bigtable::v2::ReadModifyWriteRule const &

as_proto() &&

Move out the underlying protobuf value.

Returns
TypeDescription
google::bigtable::v2::ReadModifyWriteRule &&

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

Create an operation that appends a string value.

Parameters
NameDescription
family_name std::string
column_qualifier std::string
value std::string
Returns
TypeDescription
ReadModifyWriteRule

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

Create an operation that increments an integer value.

Parameters
NameDescription
family_name std::string
column_qualifier std::string
amount std::int64_t
Returns
TypeDescription
ReadModifyWriteRule