Google Cloud Bigtable C++ Client  1.42.0
A C++ Client Library for Google Cloud Bigtable
Public Member Functions | Public Attributes | List of all members
google::cloud::bigtable::MutationBatcher::Options Struct Reference

Configuration for MutationBatcher. More...

#include <google/cloud/bigtable/mutation_batcher.h>

Public Member Functions

 Options ()
 
OptionsSetMaxMutationsPerBatch (size_t max_mutations_per_batch_arg)
 A single RPC will not have more mutations than this. More...
 
OptionsSetMaxSizePerBatch (size_t max_size_per_batch_arg)
 Sum of mutations' sizes in a single RPC will not be larger than this. More...
 
OptionsSetMaxBatches (size_t max_batches_arg)
 There will be no more RPCs outstanding (except for retries) than this. More...
 
OptionsSetMaxOutstandingSize (size_t max_outstanding_size_arg)
 MutationBatcher will at most admit mutations of this total size. More...
 
OptionsSetMaxOutstandingMutations (size_t max_outstanding_mutations_arg)
 MutationBatcher will at most admit this many mutations. More...
 

Public Attributes

std::size_t max_mutations_per_batch
 
std::size_t max_size_per_batch
 
std::size_t max_batches
 
std::size_t max_outstanding_size
 
std::size_t max_outstanding_mutations
 

Detailed Description

Configuration for MutationBatcher.

Definition at line 60 of file mutation_batcher.h.

Constructor & Destructor Documentation

◆ Options()

google::cloud::bigtable::MutationBatcher::Options::Options ( )

Member Function Documentation

◆ SetMaxBatches()

Options& google::cloud::bigtable::MutationBatcher::Options::SetMaxBatches ( size_t  max_batches_arg)
inline

There will be no more RPCs outstanding (except for retries) than this.

Definition at line 73 of file mutation_batcher.h.

◆ SetMaxMutationsPerBatch()

Options& google::cloud::bigtable::MutationBatcher::Options::SetMaxMutationsPerBatch ( size_t  max_mutations_per_batch_arg)

A single RPC will not have more mutations than this.

◆ SetMaxOutstandingMutations()

Options& google::cloud::bigtable::MutationBatcher::Options::SetMaxOutstandingMutations ( size_t  max_outstanding_mutations_arg)

MutationBatcher will at most admit this many mutations.

◆ SetMaxOutstandingSize()

Options& google::cloud::bigtable::MutationBatcher::Options::SetMaxOutstandingSize ( size_t  max_outstanding_size_arg)
inline

MutationBatcher will at most admit mutations of this total size.

Definition at line 79 of file mutation_batcher.h.

◆ SetMaxSizePerBatch()

Options& google::cloud::bigtable::MutationBatcher::Options::SetMaxSizePerBatch ( size_t  max_size_per_batch_arg)
inline

Sum of mutations' sizes in a single RPC will not be larger than this.

Definition at line 67 of file mutation_batcher.h.

Member Data Documentation

◆ max_batches

std::size_t google::cloud::bigtable::MutationBatcher::Options::max_batches

Definition at line 89 of file mutation_batcher.h.

◆ max_mutations_per_batch

std::size_t google::cloud::bigtable::MutationBatcher::Options::max_mutations_per_batch

Definition at line 87 of file mutation_batcher.h.

◆ max_outstanding_mutations

std::size_t google::cloud::bigtable::MutationBatcher::Options::max_outstanding_mutations

Definition at line 91 of file mutation_batcher.h.

◆ max_outstanding_size

std::size_t google::cloud::bigtable::MutationBatcher::Options::max_outstanding_size

Definition at line 90 of file mutation_batcher.h.

◆ max_size_per_batch

std::size_t google::cloud::bigtable::MutationBatcher::Options::max_size_per_batch

Definition at line 88 of file mutation_batcher.h.