Google Cloud Bigtable C++ Client  0.11.0
A C++ Client Library for Google Cloud Bigtable
Public Member Functions | Public Attributes | List of all members
google::cloud::bigtable::v0::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...
 

Public Attributes

size_t max_mutations_per_batch
 
size_t max_size_per_batch
 
size_t max_batches
 
size_t max_outstanding_size
 

Detailed Description

Configuration for MutationBatcher.

Definition at line 55 of file mutation_batcher.h.

Constructor & Destructor Documentation

◆ Options()

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

Definition at line 24 of file mutation_batcher.cc.

Member Function Documentation

◆ SetMaxBatches()

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

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

Definition at line 71 of file mutation_batcher.h.

◆ SetMaxMutationsPerBatch()

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

A single RPC will not have more mutations than this.

Definition at line 59 of file mutation_batcher.h.

◆ SetMaxOutstandingSize()

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

MutationBatcher will at most admit mutations of this total size.

Definition at line 77 of file mutation_batcher.h.

◆ SetMaxSizePerBatch()

Options& google::cloud::bigtable::v0::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 65 of file mutation_batcher.h.

Member Data Documentation

◆ max_batches

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

Definition at line 84 of file mutation_batcher.h.

◆ max_mutations_per_batch

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

Definition at line 82 of file mutation_batcher.h.

◆ max_outstanding_size

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

Definition at line 85 of file mutation_batcher.h.

◆ max_size_per_batch

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

Definition at line 83 of file mutation_batcher.h.