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

Definition at line 28 of file row_key_sample.h.

Member Data Documentation

◆ offset_bytes

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

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

Definition at line 42 of file row_key_sample.h.

◆ row_key

RowKeyType google::cloud::bigtable::v0::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.

Definition at line 39 of file row_key_sample.h.