Google Cloud Bigtable C++ Client 2.13.0
A C++ Client Library for Google Cloud Bigtable
|
Specify the initial schema for a new table. More...
#include <google/cloud/bigtable/table_config.h>
Public Types | |
using | TimestampGranularity = ::google::bigtable::admin::v2::Table::TimestampGranularity |
Public Member Functions | |
TableConfig () | |
TableConfig (std::map< std::string, GcRule > column_families, std::vector< std::string > initial_splits) | |
::google::bigtable::admin::v2::CreateTableRequest | as_proto () && |
Move the contents to the proto to create tables. More... | |
Accessors and modifiers for all attributes | |
std::map< std::string, GcRule > const & | column_families () const |
Return the timestamp granularity parameter. More... | |
void | add_column_family (std::string column_family_name, GcRule gc_rule) |
Return the timestamp granularity parameter. More... | |
std::vector< std::string > const & | initial_splits () const |
Return the timestamp granularity parameter. More... | |
void | add_initial_split (std::string split) |
Return the timestamp granularity parameter. More... | |
TimestampGranularity | timestamp_granularity () const |
Return the timestamp granularity parameter. More... | |
void | set_timestamp_granularity (TimestampGranularity new_value) |
Set the timestamp granularity parameter. More... | |
Static Public Attributes | |
static constexpr TimestampGranularity | MILLIS |
static constexpr TimestampGranularity | TIMESTAMP_GRANULARITY_UNSPECIFIED |
Specify the initial schema for a new table.
using google::cloud::bigtable::TableConfig::TimestampGranularity = ::google::bigtable::admin::v2::Table::TimestampGranularity |
|
inline |
|
inline |
|
inline |
Return the timestamp granularity parameter.
Cloud Bigtable currently supports only millisecond granularity in the cell timestamps, both TIMESTAMP_GRANULARITY_UNSPECIFIED
and MILLIS
have the same effect.
|
inline |
Return the timestamp granularity parameter.
Cloud Bigtable currently supports only millisecond granularity in the cell timestamps, both TIMESTAMP_GRANULARITY_UNSPECIFIED
and MILLIS
have the same effect.
::google::bigtable::admin::v2::CreateTableRequest google::cloud::bigtable::TableConfig::as_proto | ( | ) | && |
Move the contents to the proto to create tables.
|
inline |
Return the timestamp granularity parameter.
Cloud Bigtable currently supports only millisecond granularity in the cell timestamps, both TIMESTAMP_GRANULARITY_UNSPECIFIED
and MILLIS
have the same effect.
|
inline |
Return the timestamp granularity parameter.
Cloud Bigtable currently supports only millisecond granularity in the cell timestamps, both TIMESTAMP_GRANULARITY_UNSPECIFIED
and MILLIS
have the same effect.
|
inline |
Set the timestamp granularity parameter.
Cloud Bigtable currently supports only millisecond granularity in the cell timestamps, both TIMESTAMP_GRANULARITY_UNSPECIFIED
and MILLIS
have the same effect. Creating cells with higher granularity than the supported value is rejected by the server.
|
inline |
Return the timestamp granularity parameter.
Cloud Bigtable currently supports only millisecond granularity in the cell timestamps, both TIMESTAMP_GRANULARITY_UNSPECIFIED
and MILLIS
have the same effect.
|
staticconstexpr |
|
staticconstexpr |