Class IdempotentMutationPolicy (2.28.0)

Defines the interface to control which mutations are idempotent and therefore can be re-tried.

Functions

clone() const

Return a copy of the policy.

Returns
Type Description
std::unique_ptr< IdempotentMutationPolicy >

is_idempotent(google::bigtable::v2::Mutation const &)

Return true if the mutation is idempotent.

Parameter
Name Description
google::bigtable::v2::Mutation const &
Returns
Type Description
bool

is_idempotent(google::bigtable::v2::CheckAndMutateRowRequest const &)

Return true if a conditional mutation is idempotent.

Parameter
Name Description
google::bigtable::v2::CheckAndMutateRowRequest const &
Returns
Type Description
bool