Struct aws_sdk_timestreamquery::types::QueryStatus
source · #[non_exhaustive]pub struct QueryStatus {
pub progress_percentage: f64,
pub cumulative_bytes_scanned: i64,
pub cumulative_bytes_metered: i64,
}
Expand description
Information about the status of the query, including progress and bytes scanned.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.progress_percentage: f64
The progress of the query, expressed as a percentage.
cumulative_bytes_scanned: i64
The amount of data scanned by the query in bytes. This is a cumulative sum and represents the total amount of bytes scanned since the query was started.
cumulative_bytes_metered: i64
The amount of data scanned by the query in bytes that you will be charged for. This is a cumulative sum and represents the total amount of data that you will be charged for since the query was started. The charge is applied only once and is either applied when the query completes running or when the query is cancelled.
Implementations§
source§impl QueryStatus
impl QueryStatus
sourcepub fn progress_percentage(&self) -> f64
pub fn progress_percentage(&self) -> f64
The progress of the query, expressed as a percentage.
sourcepub fn cumulative_bytes_scanned(&self) -> i64
pub fn cumulative_bytes_scanned(&self) -> i64
The amount of data scanned by the query in bytes. This is a cumulative sum and represents the total amount of bytes scanned since the query was started.
sourcepub fn cumulative_bytes_metered(&self) -> i64
pub fn cumulative_bytes_metered(&self) -> i64
The amount of data scanned by the query in bytes that you will be charged for. This is a cumulative sum and represents the total amount of data that you will be charged for since the query was started. The charge is applied only once and is either applied when the query completes running or when the query is cancelled.
source§impl QueryStatus
impl QueryStatus
sourcepub fn builder() -> QueryStatusBuilder
pub fn builder() -> QueryStatusBuilder
Creates a new builder-style object to manufacture QueryStatus
.
Trait Implementations§
source§impl Clone for QueryStatus
impl Clone for QueryStatus
source§fn clone(&self) -> QueryStatus
fn clone(&self) -> QueryStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QueryStatus
impl Debug for QueryStatus
source§impl PartialEq for QueryStatus
impl PartialEq for QueryStatus
source§fn eq(&self, other: &QueryStatus) -> bool
fn eq(&self, other: &QueryStatus) -> bool
self
and other
values to be equal, and is used
by ==
.