Class ModifyColumnFamiliesRequest
java.lang.Object
com.google.cloud.bigtable.admin.v2.models.ModifyColumnFamiliesRequest
Fluent wrapper for
ModifyColumnFamiliesRequest
Allows for the following ColumnFamily modifications:
- create family, optionally with
GCRules.GCRule - update existing family
GCRules.GCRule - drop an existing family
-
Method Summary
Modifier and TypeMethodDescriptionConfigures the name of the newColumnFamilyto be createdaddFamily(String familyId, GCRules.GCRule gcRule) Configures the name andGCRules.GCRuleof the newColumnFamilyto be createdaddFamily(String familyId, GCRules.GCRule gcRule, Type valueType) Configures the name andTypeof the newColumnFamilyto be createddropFamily(String familyId) Drops the specifiedColumnFamilystatic ModifyColumnFamiliesRequestupdateFamily(String familyId, GCRules.GCRule gcRule) Updates theGCRules.GCRuleof existingColumnFamily
-
Method Details
-
of
-
addFamily
Configures the name of the newColumnFamilyto be created -
addFamily
Configures the name andGCRules.GCRuleof the newColumnFamilyto be created -
addFamily
Configures the name andTypeof the newColumnFamilyto be created -
addFamily
public ModifyColumnFamiliesRequest addFamily(@Nonnull String familyId, @Nonnull GCRules.GCRule gcRule, @Nonnull Type valueType) -
updateFamily
Updates theGCRules.GCRuleof existingColumnFamily -
dropFamily
Drops the specifiedColumnFamily -
toProto
@InternalApi public ModifyColumnFamiliesRequest toProto(@Nonnull String projectId, @Nonnull String instanceId)
-