Interface Storage.StreamStatusOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Storage.StreamStatus, Storage.StreamStatus.Builder
    Enclosing class:
    Storage

    public static interface Storage.StreamStatusOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getEstimatedRowCount()
      Number of estimated rows in the current stream.
      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.
      boolean getIsSplittable()
      Whether this stream can be split.
      Storage.Progress getProgress()
      Represents the progress of the current stream.
      Storage.ProgressOrBuilder getProgressOrBuilder()
      Represents the progress of the current stream.
      boolean hasProgress()
      Represents the progress of the current stream.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getEstimatedRowCount

        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:
        The estimatedRowCount.
      • getFractionConsumed

        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:
        The fractionConsumed.
      • hasProgress

        boolean hasProgress()
         Represents the progress of the current stream.
         
        .google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
        Returns:
        Whether the progress field is set.
      • getProgress

        Storage.Progress getProgress()
         Represents the progress of the current stream.
         
        .google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
        Returns:
        The progress.
      • getProgressOrBuilder

        Storage.ProgressOrBuilder getProgressOrBuilder()
         Represents the progress of the current stream.
         
        .google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
      • getIsSplittable

        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:
        The isSplittable.