Google Cloud Bigtable C++ Client 2.13.0
A C++ Client Library for Google Cloud Bigtable
Loading...
Searching...
No Matches
Public Attributes | List of all members
google::cloud::bigtable::RowKeySample Struct Reference

A simple wrapper to represent the response from Table::SampleRowKeys(). More...

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

Public Attributes

RowKeyType row_key
 A row key value strictly larger than all the rows included in this sample. More...
 
std::int64_t offset_bytes
 An estimate of the table size for all the rows smaller than row_key. More...
 

Detailed Description

A simple wrapper to represent the response from Table::SampleRowKeys().

Member Data Documentation

◆ offset_bytes

std::int64_t google::cloud::bigtable::RowKeySample::offset_bytes

An estimate of the table size for all the rows smaller than row_key.

◆ row_key

RowKeyType google::cloud::bigtable::RowKeySample::row_key

A row key value strictly larger than all the rows included in this sample.

Note that the service may return row keys that do not exist in the Cloud Bigtable table. This should be interpreted as "a split point for sharding a Table::ReadRows() call. That is calling Table::ReadRows() to return all the rows in the range [previous-sample-row-key, this-sample-row-key) is expected to produce an efficient sharding of the Table::ReadRows() operation.