google.cloud.bigquery.external_config.BigtableColumn¶
-
class
google.cloud.bigquery.external_config.
BigtableColumn
[source]¶ Options for a Bigtable column.
Methods
__init__
()Initialize self.
from_api_repr
(resource)Factory: construct a
BigtableColumn
instance given its API representation.Build an API representation of this object.
Attributes
The encoding of the values when the type is not STRING
An identifier to use if the qualifier is not a valid BigQuery field identifier
If this is set, only the latest version of value in this column are exposed.
The qualifier encoded in binary.
A valid UTF-8 string qualifier
The type to convert the value in cells of this column.
-
property
encoding
¶ 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
- Type
-
property
field_name
¶ 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
- Type
-
classmethod
from_api_repr
(resource)[source]¶ Factory: construct a
BigtableColumn
instance given its API representation.- Parameters
resource (Dict[str, Any]) – Definition of a
BigtableColumn
instance in the same representation as is returned from the API.- Returns
Configuration parsed from
resource
.- Return type
-
property
only_read_latest
¶ If this is set, only the latest version of value in this column are exposed.
- Type
-
property
qualifier_encoded
¶ The qualifier encoded in binary.
The type is
str
(Python 2.x) orbytes
(Python 3.x). The module will handle base64 encoding for you.
-
property
qualifier_string
¶ A valid UTF-8 string qualifier
- Type
-
to_api_repr
()[source]¶ Build an API representation of this object.
- Returns
A dictionary in the format used by the BigQuery API.
- Return type
Dict[str, Any]
-
property
type_
¶ 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
- Type
-
property