Class BigtableColumn (2.12.0)

BigtableColumn()

Options for a Bigtable column.

Inheritance

builtins.object > BigtableColumn

Properties

encoding

str: The encoding of the values when the type is not STRING

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

field_name

str: An identifier to use if the qualifier is not a valid BigQuery field identifier

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

only_read_latest

bool: If this is set, only the latest version of value in this column are exposed.

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

qualifier_encoded

Union[str, bytes]: The qualifier encoded in binary.

The type is str (Python 2.x) or bytes (Python 3.x). The module will handle base64 encoding for you.

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

qualifier_string

type_

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

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

Methods

from_api_repr

from_api_repr(resource)

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

Parameter
NameDescription
resource Dict[str, Any]

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

Returns
TypeDescription
external_config.BigtableColumnConfiguration 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.