Class BigtableOptions.Builder (2.55.2)
public static final class BigtableOptions.Builder
A builder for BigtableOptions
objects.
Methods
build()
public BigtableOptions build()
setColumnFamilies(List<BigtableColumnFamily> columnFamilies)
public BigtableOptions.Builder setColumnFamilies(List<BigtableColumnFamily> columnFamilies)
List of column families to expose in the table schema along with their types.
This list restricts the column families that can be referenced in queries and specifies
their value types. You can use this list to do type conversions - see the 'type' field for
more details. If you leave this list empty, all column families are present in the table
schema and their values are read as BYTES. During a query only the column families referenced
in that query are read from Bigtable.
setIgnoreUnspecifiedColumnFamilies(Boolean ignoreUnspecifiedColumnFamilies)
public BigtableOptions.Builder setIgnoreUnspecifiedColumnFamilies(Boolean ignoreUnspecifiedColumnFamilies)
If field is true, then the column families that are not specified in columnFamilies list are
not exposed in the table schema. Otherwise, they are read with BYTES type values. The default
value is false.
Parameter |
Name |
Description |
ignoreUnspecifiedColumnFamilies |
Boolean
|
setReadRowkeyAsString(Boolean readRowkeyAsString)
public BigtableOptions.Builder setReadRowkeyAsString(Boolean readRowkeyAsString)
If readRowkeyAsString is true, then the rowkey column families will be read and converted to
string. Otherwise they are read with BYTES type values and users need to manually cast them
with CAST if necessary. The default value is false.
Parameter |
Name |
Description |
readRowkeyAsString |
Boolean
|
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-10-11 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-10-11 UTC."],[],[]]