public final class ModifyColumnFamiliesRequest extends Object
ModifyColumnFamiliesRequest
Allows for the following ColumnFamily modifications:
GCRules.GCRule
GCRules.GCRule
Modifier and Type | Method and Description |
---|---|
ModifyColumnFamiliesRequest |
addFamily(String familyId)
Configures the name of the new ColumnFamily to be created
|
ModifyColumnFamiliesRequest |
addFamily(String familyId,
GCRules.GCRule gcRule)
Configures the name and GcRule of the new ColumnFamily to be created
|
ModifyColumnFamiliesRequest |
dropFamily(String familyId)
Drops the specified ColumnFamily
|
static ModifyColumnFamiliesRequest |
of(String tableId) |
com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest |
toProto(String projectId,
String instanceId) |
ModifyColumnFamiliesRequest |
updateFamily(String familyId,
GCRules.GCRule gcRule)
Updates the GCRule of existing ColumnFamily
|
public static ModifyColumnFamiliesRequest of(String tableId)
public ModifyColumnFamiliesRequest addFamily(String familyId)
familyId
- public ModifyColumnFamiliesRequest addFamily(String familyId, GCRules.GCRule gcRule)
familyId
- gcRule
- public ModifyColumnFamiliesRequest updateFamily(String familyId, GCRules.GCRule gcRule)
familyId
- gcRule
- public ModifyColumnFamiliesRequest dropFamily(String familyId)
familyId
- Copyright © 2019 Google LLC. All rights reserved.