Google BigQuery Storage V1 Client - Class SplitReadStreamResponse (1.10.3)

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

Response message for SplitReadStream.

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

Namespace

Google \ Cloud \ BigQuery \ Storage \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ primary_stream Google\Cloud\BigQuery\Storage\V1\ReadStream

Primary stream, which contains the beginning portion of |original_stream|. An empty value indicates that the original stream can no longer be split.

↳ remainder_stream Google\Cloud\BigQuery\Storage\V1\ReadStream

Remainder stream, which contains the tail of |original_stream|. An empty value indicates that the original stream can no longer be split.

getPrimaryStream

Primary stream, which contains the beginning portion of |original_stream|. An empty value indicates that the original stream can no longer be split.

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

hasPrimaryStream

clearPrimaryStream

setPrimaryStream

Primary stream, which contains the beginning portion of |original_stream|. An empty value indicates that the original stream can no longer be split.

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

getRemainderStream

Remainder stream, which contains the tail of |original_stream|. An empty value indicates that the original stream can no longer be split.

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

hasRemainderStream

clearRemainderStream

setRemainderStream

Remainder stream, which contains the tail of |original_stream|. An empty value indicates that the original stream can no longer be split.

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