Class BigtableColumnFamily (3.17.2)

BigtableColumnFamily()

Options for a Bigtable column family.

Properties

columns

List[BigtableColumn]: Lists of columns that should be exposed as individual fields.

See https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#BigtableColumnFamily.FIELDS.columns

encoding

family_id

only_read_latest

bool: If this is set only the latest version of value are exposed for all columns in this column family.

See https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#BigtableColumnFamily.FIELDS.only_read_latest

type_

str: The type to convert the value in cells of this column family.

See https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#BigtableColumnFamily.FIELDS.type

Methods

from_api_repr

from_api_repr(
 resource: dict,
) -> google.cloud.bigquery.external_config.BigtableColumnFamily

Factory: construct a .external_config.BigtableColumnFamily instance given its API representation.

Parameter
Name Description
resource Dict[str, Any]

Definition of a .external_config.BigtableColumnFamily instance in the same representation as is returned from the API.

Returns
Type Description
.external_config.BigtableColumnFamily Configuration parsed from resource.

to_api_repr

to_api_repr() -> dict

Build an API representation of this object.

Returns
Type Description
Dict[str, Any] A dictionary in the format used by the BigQuery API.

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月30日 UTC.