Google BigQuery Storage V1 Client - Class ArrowRecordBatch (1.3.2)

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

Arrow RecordBatch.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ serialized_record_batch string

IPC-serialized Arrow RecordBatch.

↳ row_count int|string

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

getSerializedRecordBatch

IPC-serialized Arrow RecordBatch.

Returns
TypeDescription
string

setSerializedRecordBatch

IPC-serialized Arrow RecordBatch.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRowCount

[Deprecated] The count of rows in serialized_record_batch.

Please use the format-independent ReadRowsResponse.row_count instead.

Returns
TypeDescription
int|string

setRowCount

[Deprecated] The count of rows in serialized_record_batch.

Please use the format-independent ReadRowsResponse.row_count instead.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this