Class FailedMutation (2.32.0-rc)

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
Name Description
status google::cloud::Status
index int

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

Parameters
Name Description
status google::rpc::Status const &
index int

FailedMutation(FailedMutation &&)

Parameter
Name Description
FailedMutation &&

FailedMutation(FailedMutation const &)

Parameter
Name Description
FailedMutation const &

Operators

operator=(FailedMutation &&)

Parameter
Name Description
FailedMutation &&
Returns
Type Description
FailedMutation &

operator=(FailedMutation const &)

Parameter
Name Description
FailedMutation const &
Returns
Type Description
FailedMutation &

Functions

status() const

accessors

Returns
Type Description
google::cloud::Status const &

original_index() const

accessors

Returns
Type Description
int