Google Cloud Bigtable C++ Client 2.13.0
A C++ Client Library for Google Cloud Bigtable
Loading...
Searching...
No Matches
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.

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.

◆ 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.

◆ 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.

Member Data Documentation

◆ max_batches

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

◆ max_mutations_per_batch

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

◆ max_outstanding_mutations

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

◆ max_outstanding_size

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

◆ max_size_per_batch

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