google.cloud.bigquery.external_config.BigtableOptions#
Methods
|
Factory: construct a |
Build an API representation of this object. |
Attributes
List of column families to expose in the table schema along with their types. |
|
If |
|
If |
-
class
google.cloud.bigquery.external_config.
BigtableOptions
[source]# Bases:
object
Options that describe how to treat Bigtable tables as BigQuery tables.
-
property
column_families
# List of column families to expose in the table schema along with their types.
See https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.query.tableDefinitions.(key).bigtableOptions.columnFamilies https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#externalDataConfiguration.bigtableOptions.columnFamilies
- Type
List[
BigtableColumnFamily
]
-
classmethod
from_api_repr
(resource)[source]# Factory: construct a
BigtableOptions
instance given its API representation.- Parameters
resource (Dict[str, Any]) – Definition of a
BigtableOptions
instance in the same representation as is returned from the API.- Returns
Configuration parsed from
resource
.- Return type
-
property
ignore_unspecified_column_families
# If
True
, ignore columns not specified incolumn_families
list. Defaults toFalse
.See https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.query.tableDefinitions.(key).bigtableOptions.ignoreUnspecifiedColumnFamilies https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#externalDataConfiguration.bigtableOptions.ignoreUnspecifiedColumnFamilies
- Type
-
property
read_rowkey_as_string
# If
True
, rowkey column families will be read and converted to string. Defaults toFalse
.See https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.query.tableDefinitions.(key).bigtableOptions.readRowkeyAsString https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#externalDataConfiguration.bigtableOptions.readRowkeyAsString
- Type
-
property