Google Cloud Bigtable C++ Client 2.13.0
A C++ Client Library for Google Cloud Bigtable
|
Defines the interface to control which mutations are idempotent and therefore can be re-tried. More...
#include <google/cloud/bigtable/idempotent_mutation_policy.h>
Public Member Functions | |
virtual | ~IdempotentMutationPolicy ()=default |
virtual std::unique_ptr< IdempotentMutationPolicy > | clone () const =0 |
Return a copy of the policy. More... | |
virtual bool | is_idempotent (google::bigtable::v2::Mutation const &)=0 |
Return true if the mutation is idempotent. More... | |
virtual bool | is_idempotent (google::bigtable::v2::CheckAndMutateRowRequest const &)=0 |
Return true if a conditional mutation is idempotent. More... | |
Defines the interface to control which mutations are idempotent and therefore can be re-tried.
|
virtualdefault |
|
pure virtual |
Return a copy of the policy.
Implemented in google::cloud::bigtable::SafeIdempotentMutationPolicy, and google::cloud::bigtable::AlwaysRetryMutationPolicy.
|
pure virtual |
Return true if a conditional mutation is idempotent.
Implemented in google::cloud::bigtable::SafeIdempotentMutationPolicy, and google::cloud::bigtable::AlwaysRetryMutationPolicy.
|
pure virtual |
Return true if the mutation is idempotent.
Implemented in google::cloud::bigtable::SafeIdempotentMutationPolicy, and google::cloud::bigtable::AlwaysRetryMutationPolicy.