google.cloud.bigquery.external_config.BigtableOptions¶
-
class
google.cloud.bigquery.external_config.
BigtableOptions
[source]¶ Options that describe how to treat Bigtable tables as BigQuery tables.
Methods
__init__
()Initialize self.
from_api_repr
(resource)Factory: construct a
BigtableOptions
instance given its API representation.Build an API representation of this object.
Attributes
List of column families to expose in the table schema along with their types.
If
True
, ignore columns not specified incolumn_families
list.If
True
, rowkey column families will be read and converted to string.-
property
column_families
¶ List of column families to expose in the table schema along with their types.
- 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
.- Type
-
property