Google Cloud Bigtable C++ Client  0.11.0
A C++ Client Library for Google Cloud Bigtable
Public Member Functions | Static Public Member Functions | List of all members
google::cloud::bigtable::v0::ReadModifyWriteRule Class Reference

Define the interfaces to create ReadWriteModifyRule operations. More...

#include <google/cloud/bigtable/read_modify_write_rule.h>

Public Member Functions

 ReadModifyWriteRule (ReadModifyWriteRule &&) noexcept=default
 
ReadModifyWriteRuleoperator= (ReadModifyWriteRule &&) noexcept=default
 
 ReadModifyWriteRule (ReadModifyWriteRule const &)=default
 
ReadModifyWriteRuleoperator= (ReadModifyWriteRule const &)=default
 
google::bigtable::v2::ReadModifyWriteRule const & as_proto () const &
 Return the filter expression as a protobuf. More...
 
google::bigtable::v2::ReadModifyWriteRule && as_proto () &&
 Move out the underlying protobuf value. More...
 

Static Public Member Functions

static ReadModifyWriteRule AppendValue (std::string family_name, std::string column_qualifier, std::string value)
 Create an operation that appends a string value. More...
 
static ReadModifyWriteRule IncrementAmount (std::string family_name, std::string column_qualifier, std::int64_t amount)
 Create an operation that increments an integer value. More...
 

Detailed Description

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.

Definition at line 35 of file read_modify_write_rule.h.

Constructor & Destructor Documentation

◆ ReadModifyWriteRule() [1/2]

google::cloud::bigtable::v0::ReadModifyWriteRule::ReadModifyWriteRule ( ReadModifyWriteRule &&  )
defaultnoexcept

◆ ReadModifyWriteRule() [2/2]

google::cloud::bigtable::v0::ReadModifyWriteRule::ReadModifyWriteRule ( ReadModifyWriteRule const &  )
default

Member Function Documentation

◆ AppendValue()

static ReadModifyWriteRule google::cloud::bigtable::v0::ReadModifyWriteRule::AppendValue ( std::string  family_name,
std::string  column_qualifier,
std::string  value 
)
inlinestatic

Create an operation that appends a string value.

Definition at line 43 of file read_modify_write_rule.h.

◆ as_proto() [1/2]

google::bigtable::v2::ReadModifyWriteRule const& google::cloud::bigtable::v0::ReadModifyWriteRule::as_proto ( ) const &
inline

Return the filter expression as a protobuf.

Definition at line 65 of file read_modify_write_rule.h.

◆ as_proto() [2/2]

google::bigtable::v2::ReadModifyWriteRule&& google::cloud::bigtable::v0::ReadModifyWriteRule::as_proto ( ) &&
inline

Move out the underlying protobuf value.

Definition at line 70 of file read_modify_write_rule.h.

◆ IncrementAmount()

static ReadModifyWriteRule google::cloud::bigtable::v0::ReadModifyWriteRule::IncrementAmount ( std::string  family_name,
std::string  column_qualifier,
std::int64_t  amount 
)
inlinestatic

Create an operation that increments an integer value.

Definition at line 54 of file read_modify_write_rule.h.

◆ operator=() [1/2]

ReadModifyWriteRule& google::cloud::bigtable::v0::ReadModifyWriteRule::operator= ( ReadModifyWriteRule &&  )
defaultnoexcept

◆ operator=() [2/2]

ReadModifyWriteRule& google::cloud::bigtable::v0::ReadModifyWriteRule::operator= ( ReadModifyWriteRule const &  )
default