Google BigQuery Storage V1 Client - Class ReadRowsRequest (1.4.1)

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

Namespace

Google \ Cloud \ BigQuery \ Storage \ V1

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

static::build

Parameters
NameDescription
readStream string

Required. Stream to read rows from. Please see Google\Cloud\BigQuery\Storage\V1\BigQueryReadClient::readStreamName() for help formatting this field.

offset int

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
Google\Cloud\BigQuery\Storage\V1\ReadRowsRequest