Class: Aws::Athena::Types::QueryExecution
- Inherits:
-
Struct
- Object
- Struct
- Aws::Athena::Types::QueryExecution
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-athena/types.rb
Overview
Information about a single instance of a query execution.
Instance Attribute Summary collapse
-
#query ⇒ String
The SQL query statements which the query execution ran.
-
#query_execution_context ⇒ Types::QueryExecutionContext
The database in which the query execution occurred.
-
#query_execution_id ⇒ String
The unique identifier for each query execution.
-
#result_configuration ⇒ Types::ResultConfiguration
The location in Amazon S3 where query results were stored and the encryption option, if any, used for query results.
-
#statement_type ⇒ String
The type of query statement that was run.
-
#statistics ⇒ Types::QueryExecutionStatistics
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.
-
#status ⇒ Types::QueryExecutionStatus
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
Instance Attribute Details
#query ⇒ String
The SQL query statements which the query execution ran.
538 539 540 541 542 543 544 545 546 547 |
# File 'lib/aws-sdk-athena/types.rb', line 538 class QueryExecution < Struct.new( :query_execution_id, :query, :statement_type, :result_configuration, :query_execution_context, :status, :statistics) include Aws::Structure end |
#query_execution_context ⇒ Types::QueryExecutionContext
The database in which the query execution occurred.
538 539 540 541 542 543 544 545 546 547 |
# File 'lib/aws-sdk-athena/types.rb', line 538 class QueryExecution < Struct.new( :query_execution_id, :query, :statement_type, :result_configuration, :query_execution_context, :status, :statistics) include Aws::Structure end |
#query_execution_id ⇒ String
The unique identifier for each query execution.
538 539 540 541 542 543 544 545 546 547 |
# File 'lib/aws-sdk-athena/types.rb', line 538 class QueryExecution < Struct.new( :query_execution_id, :query, :statement_type, :result_configuration, :query_execution_context, :status, :statistics) include Aws::Structure end |
#result_configuration ⇒ Types::ResultConfiguration
The location in Amazon S3 where query results were stored and the encryption option, if any, used for query results.
538 539 540 541 542 543 544 545 546 547 |
# File 'lib/aws-sdk-athena/types.rb', line 538 class QueryExecution < Struct.new( :query_execution_id, :query, :statement_type, :result_configuration, :query_execution_context, :status, :statistics) include Aws::Structure end |
#statement_type ⇒ 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>`.
538 539 540 541 542 543 544 545 546 547 |
# File 'lib/aws-sdk-athena/types.rb', line 538 class QueryExecution < Struct.new( :query_execution_id, :query, :statement_type, :result_configuration, :query_execution_context, :status, :statistics) include Aws::Structure end |
#statistics ⇒ Types::QueryExecutionStatistics
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.
538 539 540 541 542 543 544 545 546 547 |
# File 'lib/aws-sdk-athena/types.rb', line 538 class QueryExecution < Struct.new( :query_execution_id, :query, :statement_type, :result_configuration, :query_execution_context, :status, :statistics) include Aws::Structure end |
#status ⇒ Types::QueryExecutionStatus
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
538 539 540 541 542 543 544 545 546 547 |
# File 'lib/aws-sdk-athena/types.rb', line 538 class QueryExecution < Struct.new( :query_execution_id, :query, :statement_type, :result_configuration, :query_execution_context, :status, :statistics) include Aws::Structure end |