Class ModifyColumnFamiliesRequest (2.5.3)

public final class ModifyColumnFamiliesRequest

Fluent wrapper for com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest

Allows for the following ColumnFamily modifications:

  • create family, optionally with GCRule
  • update existing family GCRule
  • drop an existing family

Inheritance

java.lang.Object > ModifyColumnFamiliesRequest

Static Methods

of(String tableId)

public static ModifyColumnFamiliesRequest of(String tableId)
Parameter
NameDescription
tableIdString
Returns
TypeDescription
ModifyColumnFamiliesRequest

Methods

addFamily(String familyId)

public ModifyColumnFamiliesRequest addFamily(String familyId)

Configures the name of the new ColumnFamily to be created

Parameter
NameDescription
familyIdString
Returns
TypeDescription
ModifyColumnFamiliesRequest

addFamily(String familyId, GCRules.GCRule gcRule)

public ModifyColumnFamiliesRequest addFamily(String familyId, GCRules.GCRule gcRule)

Configures the name and GCRule of the new ColumnFamily to be created

Parameters
NameDescription
familyIdString
gcRuleGCRules.GCRule
Returns
TypeDescription
ModifyColumnFamiliesRequest

dropFamily(String familyId)

public ModifyColumnFamiliesRequest dropFamily(String familyId)

Drops the specified ColumnFamily

Parameter
NameDescription
familyIdString
Returns
TypeDescription
ModifyColumnFamiliesRequest

toProto(String projectId, String instanceId)

public ModifyColumnFamiliesRequest toProto(String projectId, String instanceId)
Parameters
NameDescription
projectIdString
instanceIdString
Returns
TypeDescription
ModifyColumnFamiliesRequest

updateFamily(String familyId, GCRules.GCRule gcRule)

public ModifyColumnFamiliesRequest updateFamily(String familyId, GCRules.GCRule gcRule)

Updates the GCRule of existing ColumnFamily

Parameters
NameDescription
familyIdString
gcRuleGCRules.GCRule
Returns
TypeDescription
ModifyColumnFamiliesRequest