Google Cloud Bigtable C++ Client  0.11.0
A C++ Client Library for Google Cloud Bigtable
Public Member Functions | List of all members
google::cloud::bigtable::v0::IdempotentMutationPolicy Class Referenceabstract

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< IdempotentMutationPolicyclone () 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...
 

Detailed Description

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

Definition at line 30 of file idempotent_mutation_policy.h.

Constructor & Destructor Documentation

◆ ~IdempotentMutationPolicy()

virtual google::cloud::bigtable::v0::IdempotentMutationPolicy::~IdempotentMutationPolicy ( )
virtualdefault

Member Function Documentation

◆ clone()

virtual std::unique_ptr<IdempotentMutationPolicy> google::cloud::bigtable::v0::IdempotentMutationPolicy::clone ( ) const
pure virtual

◆ is_idempotent() [1/2]

virtual bool google::cloud::bigtable::v0::IdempotentMutationPolicy::is_idempotent ( google::bigtable::v2::Mutation const &  )
pure virtual

◆ is_idempotent() [2/2]

virtual bool google::cloud::bigtable::v0::IdempotentMutationPolicy::is_idempotent ( google::bigtable::v2::CheckAndMutateRowRequest const &  )
pure virtual

Return true if a conditional mutation is idempotent.

Implemented in google::cloud::bigtable::v0::AlwaysRetryMutationPolicy, and google::cloud::bigtable::v0::SafeIdempotentMutationPolicy.