Class IdempotentMutationPolicy (2.15.1)

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
TypeDescription
std::unique_ptr< IdempotentMutationPolicy >

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

Return true if the mutation is idempotent.

Parameter
NameDescription
google::bigtable::v2::Mutation const &
Returns
TypeDescription
bool

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

Return true if a conditional mutation is idempotent.

Parameter
NameDescription
google::bigtable::v2::CheckAndMutateRowRequest const &
Returns
TypeDescription
bool