Google BigQuery Storage V1 Client - Class AvroRows (1.6.0)

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
NameDescription
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
TypeDescription
string

setSerializedBinaryRows

Binary serialized rows in a block.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRowCount

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

Please use the format-independent ReadRowsResponse.row_count instead.

Returns
TypeDescription
int|string

setRowCount

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

Please use the format-independent ReadRowsResponse.row_count instead.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this