Google Cloud Bigtable C++ Client 2.13.0
A C++ Client Library for Google Cloud Bigtable
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
google::cloud::bigtable::FailedMutation Class Reference

A SingleRowMutation that failed. More...

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

Public Member Functions

 FailedMutation (google::cloud::Status status, int index)
 
 FailedMutation (google::rpc::Status const &status, int index)
 
 FailedMutation (FailedMutation &&)=default
 
FailedMutationoperator= (FailedMutation &&)=default
 
 FailedMutation (FailedMutation const &)=default
 
FailedMutationoperator= (FailedMutation const &)=default
 
accessors
google::cloud::Status const & status () const
 
int original_index () const
 

Friends

class BulkMutation
 
bool operator== (FailedMutation const &a, FailedMutation const &b) noexcept
 
bool operator!= (FailedMutation const &a, FailedMutation const &b) noexcept
 

Detailed Description

A SingleRowMutation that failed.

A multi-row mutation returns the list of operations that failed, this class encapsulates both the failure and the original mutation. The application can then choose to resend the mutation, or log it, or save it for processing via some other means.

Constructor & Destructor Documentation

◆ FailedMutation() [1/4]

google::cloud::bigtable::FailedMutation::FailedMutation ( google::cloud::Status  status,
int  index 
)
inline

◆ FailedMutation() [2/4]

google::cloud::bigtable::FailedMutation::FailedMutation ( google::rpc::Status const &  status,
int  index 
)
inline

◆ FailedMutation() [3/4]

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

◆ FailedMutation() [4/4]

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ original_index()

int google::cloud::bigtable::FailedMutation::original_index ( ) const
inline

◆ status()

google::cloud::Status const & google::cloud::bigtable::FailedMutation::status ( ) const
inline

Friends And Related Function Documentation

◆ BulkMutation

friend class BulkMutation
friend

◆ operator!=

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

◆ operator==

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