Interface Storage.SplitReadStreamRequestOrBuilder (3.9.3)

public static interface Storage.SplitReadStreamRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFraction()

public abstract float getFraction()

A value in the range (0.0, 1.0) that specifies the fractional point at which the original stream should be split. The actual split point is evaluated on pre-filtered rows, so if a filter is provided, then there is no guarantee that the division of the rows between the new child streams will be proportional to this fractional value. Additionally, because the server-side unit for assigning data is collections of rows, this fraction will always map to to a data storage boundary on the server side.

float fraction = 2;

Returns
Type Description
float

The fraction.

getOriginalStream()

public abstract Storage.Stream getOriginalStream()

Required. Stream to split.

.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Storage.Stream

The originalStream.

getOriginalStreamOrBuilder()

public abstract Storage.StreamOrBuilder getOriginalStreamOrBuilder()

Required. Stream to split.

.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Storage.StreamOrBuilder

hasOriginalStream()

public abstract boolean hasOriginalStream()

Required. Stream to split.

.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the originalStream field is set.