Google BigQuery Storage V1 Client - Class ResponseCompressionCodec (1.10.4)

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;