Google Cloud Bigtable C++ Client  0.11.0
A C++ Client Library for Google Cloud Bigtable
Public Member Functions | Friends | List of all members
google::cloud::bigtable::v0::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
 

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.

Definition at line 352 of file mutations.h.

Constructor & Destructor Documentation

◆ FailedMutation() [1/4]

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

Definition at line 354 of file mutations.h.

◆ FailedMutation() [2/4]

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

Definition at line 357 of file mutations.h.

◆ FailedMutation() [3/4]

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

◆ FailedMutation() [4/4]

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ original_index()

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

Definition at line 369 of file mutations.h.

◆ status()

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

Definition at line 368 of file mutations.h.

Friends And Related Function Documentation

◆ BulkMutation

friend class BulkMutation
friend

Definition at line 372 of file mutations.h.