Google BigQuery Storage V1 Client - Class AvroRows (1.10.3)

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