Interface Storage.SplitReadStreamRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Storage.SplitReadStreamRequest
,Storage.SplitReadStreamRequest.Builder
- Enclosing class:
- Storage
public static interface Storage.SplitReadStreamRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getFraction()
A value in the range (0.0, 1.0) that specifies the fractional point at which the original stream should be split.Storage.Stream
getOriginalStream()
Required.Storage.StreamOrBuilder
getOriginalStreamOrBuilder()
Required.boolean
hasOriginalStream()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasOriginalStream
boolean hasOriginalStream()
Required. Stream to split.
.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the originalStream field is set.
-
getOriginalStream
Storage.Stream getOriginalStream()
Required. Stream to split.
.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The originalStream.
-
getOriginalStreamOrBuilder
Storage.StreamOrBuilder getOriginalStreamOrBuilder()
Required. Stream to split.
.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
-
getFraction
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:
- The fraction.
-
-