Send feedback
Class CreateTableRequest (2.33.0)
bookmark_border bookmark
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.33.0 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
Inherited Members
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 2025-03-05 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[],[]]