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
andSNAPPY
are only supported for Avro.- __init__()¶
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
()Initialize self.
Attributes
Specifies DEFLATE format.
Specifies GZIP format.
Specifies no compression.
Specifies SNAPPY format.
- DEFLATE = 'DEFLATE'¶
Specifies DEFLATE format.
- GZIP = 'GZIP'¶
Specifies GZIP format.
- NONE = 'NONE'¶
Specifies no compression.
- SNAPPY = 'SNAPPY'¶
Specifies SNAPPY format.