Class FailedMutation (2.15.1)

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.

Constructors

FailedMutation(google::cloud::Status, int)

Parameters
NameDescription
status google::cloud::Status
index int

FailedMutation(google::rpc::Status const &, int)

Parameters
NameDescription
status google::rpc::Status const &
index int

FailedMutation(FailedMutation &&)

Parameter
NameDescription
FailedMutation &&

FailedMutation(FailedMutation const &)

Parameter
NameDescription
FailedMutation const &

Operators

operator=(FailedMutation &&)

Parameter
NameDescription
FailedMutation &&
Returns
TypeDescription
FailedMutation &

operator=(FailedMutation const &)

Parameter
NameDescription
FailedMutation const &
Returns
TypeDescription
FailedMutation &

Functions

status() const

accessors

Returns
TypeDescription
google::cloud::Status const &

original_index() const

accessors

Returns
TypeDescription
int