Google BigQuery Storage V1 Client - Class ArrowData (2.1.0)

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

Arrow schema and data.

Arrow format is an experimental feature only selected for allowlisted customers.

Generated from protobuf message google.cloud.bigquery.storage.v1.AppendRowsRequest.ArrowData

Namespace

Google \ Cloud \ BigQuery \ Storage \ V1 \ AppendRowsRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ writer_schema Google\Cloud\BigQuery\Storage\V1\ArrowSchema

Optional. Arrow Schema used to serialize the data.

↳ rows Google\Cloud\BigQuery\Storage\V1\ArrowRecordBatch

Required. Serialized row data in Arrow format.

getWriterSchema

Optional. Arrow Schema used to serialize the data.

Returns
Type Description
Google\Cloud\BigQuery\Storage\V1\ArrowSchema|null

hasWriterSchema

clearWriterSchema

setWriterSchema

Optional. Arrow Schema used to serialize the data.

Parameter
Name Description
var Google\Cloud\BigQuery\Storage\V1\ArrowSchema
Returns
Type Description
$this

getRows

Required. Serialized row data in Arrow format.

Returns
Type Description
Google\Cloud\BigQuery\Storage\V1\ArrowRecordBatch|null

hasRows

clearRows

setRows

Required. Serialized row data in Arrow format.

Parameter
Name Description
var Google\Cloud\BigQuery\Storage\V1\ArrowRecordBatch
Returns
Type Description
$this