Interface Storage.StreamStatusOrBuilder (3.5.0)

public static interface Storage.StreamStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEstimatedRowCount()

public abstract long getEstimatedRowCount()

Number of estimated rows in the current stream. May change over time as different readers in the stream progress at rates which are relatively fast or slow.

int64 estimated_row_count = 1;

Returns
Type Description
long

The estimatedRowCount.

getFractionConsumed()

public abstract float getFractionConsumed()

A value in the range [0.0, 1.0] that represents the fraction of rows assigned to this stream that have been processed by the server. In the presence of read filters, the server may process more rows than it returns, so this value reflects progress through the pre-filtering rows.

This value is only populated for sessions created through the BALANCED sharding strategy.

float fraction_consumed = 2;

Returns
Type Description
float

The fractionConsumed.

getIsSplittable()

public abstract boolean getIsSplittable()

Whether this stream can be split. For sessions that use the LIQUID sharding strategy, this value is always false. For BALANCED sessions, this value is false when enough data have been read such that no more splits are possible at that point or beyond. For small tables or streams that are the result of a chain of splits, this value may never be true.

bool is_splittable = 3;

Returns
Type Description
boolean

The isSplittable.

getProgress()

public abstract Storage.Progress getProgress()

Represents the progress of the current stream.

.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;

Returns
Type Description
Storage.Progress

The progress.

getProgressOrBuilder()

public abstract Storage.ProgressOrBuilder getProgressOrBuilder()

Represents the progress of the current stream.

.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;

Returns
Type Description
Storage.ProgressOrBuilder

hasProgress()

public abstract boolean hasProgress()

Represents the progress of the current stream.

.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;

Returns
Type Description
boolean

Whether the progress field is set.