Class Query

Describes a query job, which executes a SQL-like query.

Attributes
NameDescription
strquery
The SQL query to run.
google.cloud.bigquery_logging_v1.types.TableNamedestination_table
The table where results are written.
strcreate_disposition
Describes when a job is allowed to create a table: ``CREATE_IF_NEEDED``, ``CREATE_NEVER``.
strwrite_disposition
Describes how writes affect existing tables: ``WRITE_TRUNCATE``, ``WRITE_APPEND``, ``WRITE_EMPTY``.
google.cloud.bigquery_logging_v1.types.DatasetNamedefault_dataset
If a table name is specified without a dataset in a query, this dataset will be added to table name.
Sequence[google.cloud.bigquery_logging_v1.types.TableDefinition]table_definitions
Describes data sources outside BigQuery, if needed.
strquery_priority
Describes the priority given to the query: ``QUERY_INTERACTIVE`` or ``QUERY_BATCH``.
google.cloud.bigquery_logging_v1.types.EncryptionInfodestination_table_encryption
Result table encryption information. Set when non-default encryption is used.
strstatement_type
Type of the statement (e.g. SELECT, INSERT, CREATE_TABLE, CREATE_MODEL..)

Inheritance

builtins.object > proto.message.Message > Query