Google BigQuery Storage V1 Client - Class ReadRowsResponse (1.8.0)

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

Response from calling ReadRows may include row data, progress and throttling information.

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

Namespace

Google \ Cloud \ BigQuery \ Storage \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ avro_rows Google\Cloud\BigQuery\Storage\V1\AvroRows

Serialized row data in AVRO format.

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

Serialized row data in Arrow RecordBatch format.

↳ row_count int|string

Number of serialized rows in the rows block.

↳ stats Google\Cloud\BigQuery\Storage\V1\StreamStats

Statistics for the stream.

↳ throttle_state Google\Cloud\BigQuery\Storage\V1\ThrottleState

Throttling state. If unset, the latest response still describes the current throttling status.

↳ avro_schema Google\Cloud\BigQuery\Storage\V1\AvroSchema

Output only. Avro schema.

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

Output only. Arrow schema.

getAvroRows

Serialized row data in AVRO format.

Returns
TypeDescription
Google\Cloud\BigQuery\Storage\V1\AvroRows|null

hasAvroRows

setAvroRows

Serialized row data in AVRO format.

Parameter
NameDescription
var Google\Cloud\BigQuery\Storage\V1\AvroRows
Returns
TypeDescription
$this

getArrowRecordBatch

Serialized row data in Arrow RecordBatch format.

Returns
TypeDescription
Google\Cloud\BigQuery\Storage\V1\ArrowRecordBatch|null

hasArrowRecordBatch

setArrowRecordBatch

Serialized row data in Arrow RecordBatch format.

Parameter
NameDescription
var Google\Cloud\BigQuery\Storage\V1\ArrowRecordBatch
Returns
TypeDescription
$this

getRowCount

Number of serialized rows in the rows block.

Returns
TypeDescription
int|string

setRowCount

Number of serialized rows in the rows block.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getStats

Statistics for the stream.

Returns
TypeDescription
Google\Cloud\BigQuery\Storage\V1\StreamStats|null

hasStats

clearStats

setStats

Statistics for the stream.

Parameter
NameDescription
var Google\Cloud\BigQuery\Storage\V1\StreamStats
Returns
TypeDescription
$this

getThrottleState

Throttling state. If unset, the latest response still describes the current throttling status.

Returns
TypeDescription
Google\Cloud\BigQuery\Storage\V1\ThrottleState|null

hasThrottleState

clearThrottleState

setThrottleState

Throttling state. If unset, the latest response still describes the current throttling status.

Parameter
NameDescription
var Google\Cloud\BigQuery\Storage\V1\ThrottleState
Returns
TypeDescription
$this

getAvroSchema

Output only. Avro schema.

Returns
TypeDescription
Google\Cloud\BigQuery\Storage\V1\AvroSchema|null

hasAvroSchema

setAvroSchema

Output only. Avro schema.

Parameter
NameDescription
var Google\Cloud\BigQuery\Storage\V1\AvroSchema
Returns
TypeDescription
$this

getArrowSchema

Output only. Arrow schema.

Returns
TypeDescription
Google\Cloud\BigQuery\Storage\V1\ArrowSchema|null

hasArrowSchema

setArrowSchema

Output only. Arrow schema.

Parameter
NameDescription
var Google\Cloud\BigQuery\Storage\V1\ArrowSchema
Returns
TypeDescription
$this

getRows

Returns
TypeDescription
string

getSchema

Returns
TypeDescription
string