Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class CreateTableRequest (2.29.1)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.29.1keyboard_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 )
Parameters
Name
Description
projectId
String
instanceId
String
Returns
Type
Description
com.google.bigtable.admin.v2.CreateTableRequest
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-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]