Class CreateTableRequest
java.lang.Object
com.google.cloud.bigtable.admin.v2.models.CreateTableRequest
Fluent wrapper for
CreateTableRequest
Allows for creating table with:
- optional columnFamilies, including optional
GCRules.GCRule
- optional granularity
- and optional split points
-
Method Summary
Modifier and TypeMethodDescriptionaddChangeStreamRetention
(org.threeten.bp.Duration retention) Add change stream retention period between 1 day and 7 daysAdds a new columnFamily to the configurationaddFamily
(String familyId, GCRules.GCRule gcRule) Adds a new columnFamily withGCRules.GCRule
to the configuration.addSplit
(com.google.protobuf.ByteString key) Adds split at the specified key to the configurationboolean
int
hashCode()
static CreateTableRequest
com.google.bigtable.admin.v2.CreateTableRequest
-
Method Details
-
of
-
addFamily
Adds a new columnFamily to the configuration -
addFamily
Adds a new columnFamily withGCRules.GCRule
to the configuration. Please note that calling this method with the same familyId will overwrite the previous family.- See Also:
-
addSplit
Adds split at the specified key to the configuration -
addChangeStreamRetention
Add change stream retention period between 1 day and 7 days -
equals
-
hashCode
public int hashCode() -
toProto
-