Google BigQuery Storage V1 Client - Class ResponseCompressionCodec (1.9.0)

Reference documentation and code samples for the Google BigQuery Storage V1 Client class 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.

Protobuf type google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec

Namespace

Google \ Cloud \ BigQuery \ Storage \ V1 \ ReadSession \ TableReadOptions

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

RESPONSE_COMPRESSION_CODEC_UNSPECIFIED

Value: 0

Default is no compression.

Generated from protobuf enum RESPONSE_COMPRESSION_CODEC_UNSPECIFIED = 0;

RESPONSE_COMPRESSION_CODEC_LZ4

Value: 2

Use raw LZ4 compression.

Generated from protobuf enum RESPONSE_COMPRESSION_CODEC_LZ4 = 2;

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月08日 UTC.