Interface Storage.SplitReadStreamRequestOrBuilder (2.43.0)

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the originalStream field is set.