Struct aws_sdk_athena::model::QueryExecutionStatistics
source · [−]#[non_exhaustive]pub struct QueryExecutionStatistics {
pub engine_execution_time_in_millis: Option<i64>,
pub data_scanned_in_bytes: Option<i64>,
pub data_manifest_location: Option<String>,
pub total_execution_time_in_millis: Option<i64>,
pub query_queue_time_in_millis: Option<i64>,
pub query_planning_time_in_millis: Option<i64>,
pub service_processing_time_in_millis: Option<i64>,
}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.
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.engine_execution_time_in_millis: Option<i64>The number of milliseconds that the query took to execute.
data_scanned_in_bytes: Option<i64>The number of bytes in the data that was queried.
data_manifest_location: Option<String>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.
total_execution_time_in_millis: Option<i64>The number of milliseconds that Athena took to run the query.
query_queue_time_in_millis: 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.
query_planning_time_in_millis: 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.
service_processing_time_in_millis: Option<i64>The number of milliseconds that Athena took to finalize and publish the query results after the query engine finished running the query.
Implementations
sourceimpl 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.
sourceimpl QueryExecutionStatistics
impl QueryExecutionStatistics
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture QueryExecutionStatistics
Trait Implementations
sourceimpl Clone for QueryExecutionStatistics
impl Clone for QueryExecutionStatistics
sourcefn clone(&self) -> QueryExecutionStatistics
fn clone(&self) -> QueryExecutionStatistics
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for QueryExecutionStatistics
impl Debug for QueryExecutionStatistics
sourceimpl PartialEq<QueryExecutionStatistics> for QueryExecutionStatistics
impl PartialEq<QueryExecutionStatistics> for QueryExecutionStatistics
sourcefn eq(&self, other: &QueryExecutionStatistics) -> bool
fn eq(&self, other: &QueryExecutionStatistics) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &QueryExecutionStatistics) -> bool
fn ne(&self, other: &QueryExecutionStatistics) -> bool
This method tests for !=.
impl StructuralPartialEq for QueryExecutionStatistics
Auto Trait Implementations
impl RefUnwindSafe for QueryExecutionStatistics
impl Send for QueryExecutionStatistics
impl Sync for QueryExecutionStatistics
impl Unpin for QueryExecutionStatistics
impl UnwindSafe for QueryExecutionStatistics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more