Google BigQuery Storage V1 Client - Class ReadRowsRequest (1.2.12)

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

Request message for ReadRows.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ read_stream string

Required. Stream to read rows from.

↳ offset int|string

The offset requested must be less than the last row read from Read. Requesting a larger offset is undefined. If not specified, start reading from offset zero.

getReadStream

Required. Stream to read rows from.

Returns
TypeDescription
string

setReadStream

Required. Stream to read rows from.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOffset

The offset requested must be less than the last row read from Read.

Requesting a larger offset is undefined. If not specified, start reading from offset zero.

Returns
TypeDescription
int|string

setOffset

The offset requested must be less than the last row read from Read.

Requesting a larger offset is undefined. If not specified, start reading from offset zero.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this