Struct aws_sdk_athena::model::QueryExecution
source · #[non_exhaustive]pub struct QueryExecution { /* private fields */ }
Expand description
Information about a single instance of a query execution.
Implementations§
source§impl QueryExecution
impl QueryExecution
sourcepub fn query_execution_id(&self) -> Option<&str>
pub fn query_execution_id(&self) -> Option<&str>
The unique identifier for each query execution.
sourcepub fn statement_type(&self) -> Option<&StatementType>
pub fn statement_type(&self) -> Option<&StatementType>
The type of query statement that was run. DDL
indicates DDL query statements. DML
indicates DML (Data Manipulation Language) query statements, such as CREATE TABLE AS SELECT
. UTILITY
indicates query statements other than DDL and DML, such as SHOW CREATE TABLE
, or DESCRIBE TABLE
.
sourcepub fn result_configuration(&self) -> Option<&ResultConfiguration>
pub fn result_configuration(&self) -> Option<&ResultConfiguration>
The location in Amazon S3 where query results were stored and the encryption option, if any, used for query results. These are known as "client-side settings". If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup.
sourcepub fn result_reuse_configuration(&self) -> Option<&ResultReuseConfiguration>
pub fn result_reuse_configuration(&self) -> Option<&ResultReuseConfiguration>
Specifies the query result reuse behavior that was used for the query.
sourcepub fn query_execution_context(&self) -> Option<&QueryExecutionContext>
pub fn query_execution_context(&self) -> Option<&QueryExecutionContext>
The database in which the query execution occurred.
sourcepub fn status(&self) -> Option<&QueryExecutionStatus>
pub fn status(&self) -> Option<&QueryExecutionStatus>
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
sourcepub fn statistics(&self) -> Option<&QueryExecutionStatistics>
pub fn statistics(&self) -> Option<&QueryExecutionStatistics>
Query execution statistics, such as the amount of data scanned, the amount of time that the query took to process, and the type of statement that was run.
sourcepub fn work_group(&self) -> Option<&str>
pub fn work_group(&self) -> Option<&str>
The name of the workgroup in which the query ran.
sourcepub fn engine_version(&self) -> Option<&EngineVersion>
pub fn engine_version(&self) -> Option<&EngineVersion>
The engine version that executed the query.
sourcepub fn execution_parameters(&self) -> Option<&[String]>
pub fn execution_parameters(&self) -> Option<&[String]>
A list of values for the parameters in a query. The values are applied sequentially to the parameters in the query in the order in which the parameters occur.
source§impl QueryExecution
impl QueryExecution
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture QueryExecution
.
Trait Implementations§
source§impl Clone for QueryExecution
impl Clone for QueryExecution
source§fn clone(&self) -> QueryExecution
fn clone(&self) -> QueryExecution
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QueryExecution
impl Debug for QueryExecution
source§impl PartialEq<QueryExecution> for QueryExecution
impl PartialEq<QueryExecution> for QueryExecution
source§fn eq(&self, other: &QueryExecution) -> bool
fn eq(&self, other: &QueryExecution) -> bool
self
and other
values to be equal, and is used
by ==
.