atoti_directquery_bigquery.connection module#
- class atoti_directquery_bigquery.BigqueryConnection#
Connection to an external BigQuery database.
Use
atoti.Session.connect_to_external_database()
to create one.Example
>>> from atoti_directquery_bigquery import BigqueryConnectionInfo >>> connection_info = BigqueryConnectionInfo() >>> external_database = session.connect_to_external_database(connection_info)
- property cache: Optional[bool]#
Whether the external database should cache the query results or not.
- property tables: atoti.directquery.external_tables.ExternalDatabaseTables[atoti.directquery.external_table.ExternalTableT]#
All the tables of the external database.
- Return type
ExternalDatabaseTables
[TypeVar
(ExternalTableT
, bound=ExternalTable
, covariant=True)]