Google BigQuery Storage V1 Client - Class AvroRows (1.2.12)

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

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

The count of rows in the returning block.

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

The count of rows in the returning block.

Returns
TypeDescription
int|string

setRowCount

The count of rows in the returning block.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this