Google Cloud Bigtable C++ Client 2.13.0
A C++ Client Library for Google Cloud Bigtable
|
Define the interfaces to create column family modifications. More...
#include <google/cloud/bigtable/column_family.h>
Public Member Functions | |
::google::bigtable::admin::v2::ModifyColumnFamiliesRequest::Modification const & | as_proto () const & |
Convert to the proto form. More... | |
::google::bigtable::admin::v2::ModifyColumnFamiliesRequest::Modification && | as_proto () && |
Move out the underlying proto contents. More... | |
Use default constructors and assignments. | |
ColumnFamilyModification (ColumnFamilyModification &&)=default | |
ColumnFamilyModification & | operator= (ColumnFamilyModification &&)=default |
ColumnFamilyModification (ColumnFamilyModification const &)=default | |
ColumnFamilyModification & | operator= (ColumnFamilyModification const &)=default |
Static Public Member Functions | |
static ColumnFamilyModification | Create (std::string id, GcRule gc) |
Return a modification that creates a new column family. More... | |
static ColumnFamilyModification | Update (std::string id, GcRule gc) |
Return a modification that creates a new column family. More... | |
static ColumnFamilyModification | Drop (std::string id) |
Return a modification that drops the id column family. More... | |
Friends | |
bool | operator== (ColumnFamilyModification const &a, ColumnFamilyModification const &b) noexcept |
bool | operator!= (ColumnFamilyModification const &a, ColumnFamilyModification const &b) noexcept |
Define the interfaces to create column family modifications.
Applications can modify a Cloud Bigtable schema through a set of column family modifications. These modifications may include creating new column families, deleting existing column families, or changing the garbage collection rules for existing column families.
This class contain helper functions to create the different protos encapsulating these changes.
|
default |
|
default |
|
inline |
Move out the underlying proto contents.
|
inline |
Convert to the proto form.
|
inlinestatic |
Return a modification that creates a new column family.
|
inlinestatic |
Return a modification that drops the id
column family.
|
default |
|
default |
|
inlinestatic |
Return a modification that creates a new column family.
|
friend |
|
friend |