Class: Google::Cloud::Bigquery::Storage::V1::StreamStats::Progress
- Inherits:
-
Object
- Object
- Google::Cloud::Bigquery::Storage::V1::StreamStats::Progress
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/bigquery/storage/v1/storage.rb
Instance Attribute Summary collapse
-
#at_response_end ⇒ ::Float
Similar to
at_response_start
, except that this value includes the rows in the current response. -
#at_response_start ⇒ ::Float
The fraction of rows assigned to the stream that have been processed by the server so far, not including the rows in the current response message.
Instance Attribute Details
#at_response_end ⇒ ::Float
Returns Similar to at_response_start
, except that this value includes the
rows in the current response.
110 111 112 113 |
# File 'proto_docs/google/cloud/bigquery/storage/v1/storage.rb', line 110 class Progress include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#at_response_start ⇒ ::Float
Returns The fraction of rows assigned to the stream that have been processed by the server so far, not including the rows in the current response message.
This value, along with at_response_end
, can be used to interpolate
the progress made as the rows in the message are being processed using
the following formula: at_response_start + (at_response_end -
at_response_start) * rows_processed_from_response / rows_in_response
.
Note that if a filter is provided, the at_response_end
value of the
previous response may not necessarily be equal to the
at_response_start
value of the current response.
110 111 112 113 |
# File 'proto_docs/google/cloud/bigquery/storage/v1/storage.rb', line 110 class Progress include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |