Send feedback
Class ColumnFamilyModification (2.22.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.22.0 keyboard_arrow_down
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.
Constructors
ColumnFamilyModification(ColumnFamilyModification &&)
Use default constructors and assignments.
Parameter Name Description
ColumnFamilyModification &&
ColumnFamilyModification(ColumnFamilyModification const &)
Use default constructors and assignments.
Parameter Name Description
ColumnFamilyModification const &
Operators
operator=(ColumnFamilyModification &&)
Use default constructors and assignments.
Parameter Name Description
ColumnFamilyModification &&
Returns Type Description ColumnFamilyModification &
operator=(ColumnFamilyModification const &)
Use default constructors and assignments.
Parameter Name Description
ColumnFamilyModification const &
Returns Type Description ColumnFamilyModification &
Functions
static Create(std::string, GcRule)
Return a modification that creates a new column family.
Parameters Name Description id
std::string
gc
GcRule
Returns Type Description ColumnFamilyModification
static Update(std::string, GcRule)
Return a modification that creates a new column family.
Parameters Name Description id
std::string
gc
GcRule
Returns Type Description ColumnFamilyModification
static Drop(std::string)
Return a modification that drops the id
column family.
Parameter Name Description id
std::string
Returns Type Description ColumnFamilyModification
as_proto() const &
Convert to the proto form.
Returns Type Description ::google::bigtable::admin::v2::ModifyColumnFamiliesRequest::Modification const &
as_proto() &&
Move out the underlying proto contents.
Returns Type Description ::google::bigtable::admin::v2::ModifyColumnFamiliesRequest::Modification &&
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-10 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-10 UTC."}