Google Cloud Bigtable C++ Client 2.13.0
A C++ Client Library for Google Cloud Bigtable
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Friends | List of all members
google::cloud::bigtable::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 &&)=default
 
ReadModifyWriteRuleoperator= (ReadModifyWriteRule &&)=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...
 

Friends

bool operator== (ReadModifyWriteRule const &a, ReadModifyWriteRule const &b) noexcept
 
bool operator!= (ReadModifyWriteRule const &a, ReadModifyWriteRule const &b) noexcept
 

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.

Constructor & Destructor Documentation

◆ ReadModifyWriteRule() [1/2]

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

◆ ReadModifyWriteRule() [2/2]

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

Member Function Documentation

◆ AppendValue()

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

Create an operation that appends a string value.

◆ as_proto() [1/2]

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

Move out the underlying protobuf value.

◆ as_proto() [2/2]

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

Return the filter expression as a protobuf.

◆ IncrementAmount()

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

Create an operation that increments an integer value.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( ReadModifyWriteRule const &  a,
ReadModifyWriteRule const &  b 
)
friend

◆ operator==

bool operator== ( ReadModifyWriteRule const &  a,
ReadModifyWriteRule const &  b 
)
friend