Send feedback
Class CreateTableRequest (2.29.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public final class CreateTableRequest
Fluent wrapper for com.google.bigtable.admin.v2.CreateTableRequest
Allows for creating table with:
optional columnFamilies, including optional GCRule
optional granularity
and optional split points
Inheritance
Object >
CreateTableRequest
Static Methods
of(String tableId)
public static CreateTableRequest of(String tableId)
Parameter Name Description tableId
String
Methods
addChangeStreamRetention(Duration retention)
public CreateTableRequest addChangeStreamRetention(Duration retention)
Add change stream retention period between 1 day and 7 days
Parameter Name Description retention
org.threeten.bp.Duration
addFamily(String familyId)
public CreateTableRequest addFamily(String familyId)
Adds a new columnFamily to the configuration
Parameter Name Description familyId
String
addFamily(String familyId, GCRules.GCRule gcRule)
public CreateTableRequest addFamily(String familyId, GCRules.GCRule gcRule)
Adds a new columnFamily with GCRule to the configuration. Please note that calling this
method with the same familyId will overwrite the previous family.
See Also: GCRulefor available options.
addSplit(ByteString key)
public CreateTableRequest addSplit(ByteString key)
Adds split at the specified key to the configuration
equals(Object o)
public boolean equals(Object o)
Parameter Name Description o
Object
Overrides
hashCode()
Returns Type Description int
Overrides
toProto(String projectId, String instanceId)
public CreateTableRequest toProto(String projectId, String instanceId)
Returns Type Description com.google.bigtable.admin.v2.CreateTableRequest
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-11-08 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?