Struct aws_sdk_athena::model::QueryExecutionStatistics
source · #[non_exhaustive]pub struct QueryExecutionStatistics { /* private fields */ }
Expand description
The amount of data scanned during the query execution and the amount of time that it took to execute, and the type of statement that was run.
Implementations§
source§impl QueryExecutionStatistics
impl QueryExecutionStatistics
sourcepub fn engine_execution_time_in_millis(&self) -> Option<i64>
pub fn engine_execution_time_in_millis(&self) -> Option<i64>
The number of milliseconds that the query took to execute.
sourcepub fn data_scanned_in_bytes(&self) -> Option<i64>
pub fn data_scanned_in_bytes(&self) -> Option<i64>
The number of bytes in the data that was queried.
sourcepub fn data_manifest_location(&self) -> Option<&str>
pub fn data_manifest_location(&self) -> Option<&str>
The location and file name of a data manifest file. The manifest file is saved to the Athena query results location in Amazon S3. The manifest file tracks files that the query wrote to Amazon S3. If the query fails, the manifest file also tracks files that the query intended to write. The manifest is useful for identifying orphaned files resulting from a failed query. For more information, see Working with Query Results, Output Files, and Query History in the Amazon Athena User Guide.
sourcepub fn total_execution_time_in_millis(&self) -> Option<i64>
pub fn total_execution_time_in_millis(&self) -> Option<i64>
The number of milliseconds that Athena took to run the query.
sourcepub fn query_queue_time_in_millis(&self) -> Option<i64>
pub fn query_queue_time_in_millis(&self) -> Option<i64>
The number of milliseconds that the query was in your query queue waiting for resources. Note that if transient errors occur, Athena might automatically add the query back to the queue.
sourcepub fn query_planning_time_in_millis(&self) -> Option<i64>
pub fn query_planning_time_in_millis(&self) -> Option<i64>
The number of milliseconds that Athena took to plan the query processing flow. This includes the time spent retrieving table partitions from the data source. Note that because the query engine performs the query planning, query planning time is a subset of engine processing time.
sourcepub fn service_processing_time_in_millis(&self) -> Option<i64>
pub fn service_processing_time_in_millis(&self) -> Option<i64>
The number of milliseconds that Athena took to finalize and publish the query results after the query engine finished running the query.
sourcepub fn result_reuse_information(&self) -> Option<&ResultReuseInformation>
pub fn result_reuse_information(&self) -> Option<&ResultReuseInformation>
Contains information about whether previous query results were reused for the query.
source§impl QueryExecutionStatistics
impl QueryExecutionStatistics
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture QueryExecutionStatistics
.
Trait Implementations§
source§impl Clone for QueryExecutionStatistics
impl Clone for QueryExecutionStatistics
source§fn clone(&self) -> QueryExecutionStatistics
fn clone(&self) -> QueryExecutionStatistics
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QueryExecutionStatistics
impl Debug for QueryExecutionStatistics
source§impl PartialEq<QueryExecutionStatistics> for QueryExecutionStatistics
impl PartialEq<QueryExecutionStatistics> for QueryExecutionStatistics
source§fn eq(&self, other: &QueryExecutionStatistics) -> bool
fn eq(&self, other: &QueryExecutionStatistics) -> bool
self
and other
values to be equal, and is used
by ==
.