Class ModifyColumnFamiliesRequest (2.39.0)

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
Name Description
tableId String
Returns
Type Description
ModifyColumnFamiliesRequest

Methods

addFamily(String familyId)

public ModifyColumnFamiliesRequest addFamily(String familyId)

Configures the name of the new ColumnFamily to be created

Parameter
Name Description
familyId String
Returns
Type Description
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
Name Description
familyId String
gcRule GCRules.GCRule
Returns
Type Description
ModifyColumnFamiliesRequest

addFamily(String familyId, GCRules.GCRule gcRule, Type valueType)

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

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

Parameters
Name Description
familyId String
gcRule GCRules.GCRule
valueType Type
Returns
Type Description
ModifyColumnFamiliesRequest

addFamily(String familyId, Type valueType)

public ModifyColumnFamiliesRequest addFamily(String familyId, Type valueType)

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

Parameters
Name Description
familyId String
valueType Type
Returns
Type Description
ModifyColumnFamiliesRequest

dropFamily(String familyId)

public ModifyColumnFamiliesRequest dropFamily(String familyId)

Drops the specified ColumnFamily

Parameter
Name Description
familyId String
Returns
Type Description
ModifyColumnFamiliesRequest

toProto(String projectId, String instanceId)

public ModifyColumnFamiliesRequest toProto(String projectId, String instanceId)
Parameters
Name Description
projectId String
instanceId String
Returns
Type Description
com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest

updateFamily(String familyId, GCRules.GCRule gcRule)

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

Updates the GCRule of existing ColumnFamily

Parameters
Name Description
familyId String
gcRule GCRules.GCRule
Returns
Type Description
ModifyColumnFamiliesRequest