Struct rusoto_athena::QueryExecution
source · [−]pub struct QueryExecution {
pub engine_version: Option<EngineVersion>,
pub query: Option<String>,
pub query_execution_context: Option<QueryExecutionContext>,
pub query_execution_id: Option<String>,
pub result_configuration: Option<ResultConfiguration>,
pub statement_type: Option<String>,
pub statistics: Option<QueryExecutionStatistics>,
pub status: Option<QueryExecutionStatus>,
pub work_group: Option<String>,
}
Expand description
Information about a single instance of a query execution.
Fields
engine_version: Option<EngineVersion>
The engine version that executed the query.
query: Option<String>
The SQL query statements which the query execution ran.
query_execution_context: Option<QueryExecutionContext>
The database in which the query execution occurred.
query_execution_id: Option<String>
The unique identifier for each query execution.
result_configuration: 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.
statement_type: Option<String>
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>
.
statistics: 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.
status: Option<QueryExecutionStatus>
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
work_group: Option<String>
The name of the workgroup in which the query ran.
Trait Implementations
sourceimpl Clone for QueryExecution
impl Clone for QueryExecution
sourcefn clone(&self) -> QueryExecution
fn clone(&self) -> QueryExecution
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 QueryExecution
impl Debug for QueryExecution
sourceimpl Default for QueryExecution
impl Default for QueryExecution
sourcefn default() -> QueryExecution
fn default() -> QueryExecution
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for QueryExecution
impl<'de> Deserialize<'de> for QueryExecution
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<QueryExecution> for QueryExecution
impl PartialEq<QueryExecution> for QueryExecution
sourcefn eq(&self, other: &QueryExecution) -> bool
fn eq(&self, other: &QueryExecution) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &QueryExecution) -> bool
fn ne(&self, other: &QueryExecution) -> bool
This method tests for !=
.
impl StructuralPartialEq for QueryExecution
Auto Trait Implementations
impl RefUnwindSafe for QueryExecution
impl Send for QueryExecution
impl Sync for QueryExecution
impl Unpin for QueryExecution
impl UnwindSafe for QueryExecution
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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