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
GCRules.GCRule of the new ColumnFamily to be created |
ModifyColumnFamiliesRequest |
dropFamily(String familyId)
Drops the specified
ColumnFamily |
static ModifyColumnFamiliesRequest |
of(String tableId) |
ModifyColumnFamiliesRequest |
toProto(String projectId,
String instanceId) |
ModifyColumnFamiliesRequest |
updateFamily(String familyId,
GCRules.GCRule gcRule)
Updates the
GCRules.GCRule of existing ColumnFamily |
public static ModifyColumnFamiliesRequest of(String tableId)
public ModifyColumnFamiliesRequest addFamily(String familyId)
ColumnFamily
to be createdpublic ModifyColumnFamiliesRequest addFamily(String familyId, GCRules.GCRule gcRule)
GCRules.GCRule
of the new ColumnFamily
to be createdpublic ModifyColumnFamiliesRequest updateFamily(String familyId, GCRules.GCRule gcRule)
GCRules.GCRule
of existing ColumnFamily
public ModifyColumnFamiliesRequest dropFamily(String familyId)
ColumnFamily
@InternalApi public ModifyColumnFamiliesRequest toProto(@Nonnull String projectId, @Nonnull String instanceId)
Copyright © 2019 Google LLC. All rights reserved.