As of January 1, 2020 this library no longer supports Python 2 on the latest released version. Library versions released prior to that date will continue to be available. For more information please visit Python 2 support on Google Cloud.

google.cloud.bigquery.job.Compression

class google.cloud.bigquery.job.Compression[source]

The compression type to use for exported files. The default value is NONE.

DEFLATE and SNAPPY are only supported for Avro.

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

Attributes

DEFLATE

Specifies DEFLATE format.

GZIP

Specifies GZIP format.

NONE

Specifies no compression.

SNAPPY

Specifies SNAPPY format.

DEFLATE = 'DEFLATE'

Specifies DEFLATE format.

GZIP = 'GZIP'

Specifies GZIP format.

NONE = 'NONE'

Specifies no compression.

SNAPPY = 'SNAPPY'

Specifies SNAPPY format.