Class BigtableColumnFamily (2.24.1)

BigtableColumnFamily()

Options for a Bigtable column family.

Inheritance

builtins.object > BigtableColumnFamily

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)

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

Parameter
NameDescription
resource Dict[str, Any]

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

Returns
TypeDescription
`.external_config.BigtableColumnFamily`Configuration parsed from ``resource``.

to_api_repr

to_api_repr()

Build an API representation of this object.

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

__init__

__init__()

Initialize self. See help(type(self)) for accurate signature.