public final class CreateTableRequest extends Object
CreateTableRequest
Allows for creating table with:
GCRules.GCRule
Modifier and Type | Method and Description |
---|---|
CreateTableRequest |
addFamily(String familyId)
Adds a new columnFamily to the configuration
|
CreateTableRequest |
addFamily(String familyId,
GCRules.GCRule gcRule)
Adds a new columnFamily with
GCRules.GCRule to the configuration. |
CreateTableRequest |
addSplit(ByteString key)
Adds split at the specified key to the configuration
|
boolean |
equals(Object o) |
int |
hashCode() |
static CreateTableRequest |
of(String tableId) |
CreateTableRequest |
toProto(String projectId,
String instanceId) |
public static CreateTableRequest of(String tableId)
public CreateTableRequest addFamily(String familyId)
public CreateTableRequest addFamily(String familyId, GCRules.GCRule gcRule)
GCRules.GCRule
to the configuration. Please note that calling this
method with the same familyId will overwrite the previous family.for available options.
public CreateTableRequest addSplit(ByteString key)
@InternalApi public CreateTableRequest toProto(@Nonnull String projectId, @Nonnull String instanceId)
Copyright © 2019 Google LLC. All rights reserved.