Google BigQuery Storage V1 Client - Class AvroRows (1.4.1)

Reference documentation and code samples for the Google BigQuery Storage V1 Client class AvroRows.

Avro rows.

Generated from protobuf message google.cloud.bigquery.storage.v1.AvroRows

Namespace

Google \ Cloud \ BigQuery \ Storage \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ serialized_binary_rows string

Binary serialized rows in a block.

↳ row_count int|string

[Deprecated] The count of rows in the returning block. Please use the format-independent ReadRowsResponse.row_count instead.

getSerializedBinaryRows

Binary serialized rows in a block.

Returns
Type Description
string

setSerializedBinaryRows

Binary serialized rows in a block.

Parameter
Name Description
var string
Returns
Type Description
$this

getRowCount

[Deprecated] The count of rows in the returning block.

Please use the format-independent ReadRowsResponse.row_count instead.

Returns
Type Description
int|string

setRowCount

[Deprecated] The count of rows in the returning block.

Please use the format-independent ReadRowsResponse.row_count instead.

Parameter
Name Description
var int|string
Returns
Type Description
$this

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.