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

Report unrecoverable errors in a partially completed mutation. More...

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

Public Member Functions

 PermanentMutationFailure (char const *msg, std::vector< FailedMutation > failures)
 
 PermanentMutationFailure (char const *msg, grpc::Status status, std::vector< FailedMutation > failures)
 
std::vector< FailedMutation > const & failures () const
 The details of each mutation failure. More...
 
grpc::Status const & status () const
 The grpc::Status of the request. More...
 

Detailed Description

Report unrecoverable errors in a partially completed mutation.

Definition at line 382 of file mutations.h.

Constructor & Destructor Documentation

◆ PermanentMutationFailure() [1/2]

google::cloud::bigtable::v0::PermanentMutationFailure::PermanentMutationFailure ( char const *  msg,
std::vector< FailedMutation failures 
)
inline

Definition at line 384 of file mutations.h.

◆ PermanentMutationFailure() [2/2]

google::cloud::bigtable::v0::PermanentMutationFailure::PermanentMutationFailure ( char const *  msg,
grpc::Status  status,
std::vector< FailedMutation failures 
)
inline

Definition at line 388 of file mutations.h.

Member Function Documentation

◆ failures()

std::vector<FailedMutation> const& google::cloud::bigtable::v0::PermanentMutationFailure::failures ( ) const
inline

The details of each mutation failure.

Because BulkApply() and Apply() take ownership of the data in the mutations the failures are returned with their full contents, in case the application wants to take further action with them. Any successful mutations are discarded.

Any mutations that fail with an unknown state are included with a grpc::StatusCode::OK.

Definition at line 405 of file mutations.h.

◆ status()

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

The grpc::Status of the request.

Notice that it can return grpc::Status::OK when there are partial failures in a BulkApply() operation.

Definition at line 413 of file mutations.h.