BigQuery Storage V1 API - Module Google::Cloud::Bigquery::Storage::V1::ReadSession::TableReadOptions::ResponseCompressionCodec (v1.2.0)

Reference documentation and code samples for the BigQuery Storage V1 API module Google::Cloud::Bigquery::Storage::V1::ReadSession::TableReadOptions::ResponseCompressionCodec.

Specifies which compression codec to attempt on the entire serialized response payload (either Arrow record batch or Avro rows). This is not to be confused with the Apache Arrow native compression codecs specified in ArrowSerializationOptions. For performance reasons, when creating a read session requesting Arrow responses, setting both native Arrow compression and application-level response compression will not be allowed - choose, at most, one kind of compression.

Constants

RESPONSE_COMPRESSION_CODEC_UNSPECIFIED

value: 0
Default is no compression.

RESPONSE_COMPRESSION_CODEC_LZ4

value: 2
Use raw LZ4 compression.