Class: Aws::Athena::Types::QueryExecution
- Inherits:
-
Struct
- Object
- Struct
- Aws::Athena::Types::QueryExecution
- Defined in:
- gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb
Overview
Information about a single instance of a query execution.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#engine_version ⇒ Types::EngineVersion
The engine version that executed the query.
-
#execution_parameters ⇒ Array<String>
A list of values for the parameters in a query.
-
#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
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 ⇒ Types::QueryExecutionStatus
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
-
#work_group ⇒ String
The name of the workgroup in which the query ran.
Instance Attribute Details
#engine_version ⇒ Types::EngineVersion
The engine version that executed the query.
1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 |
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 1926 class QueryExecution < Struct.new( :query_execution_id, :query, :statement_type, :result_configuration, :query_execution_context, :status, :statistics, :work_group, :engine_version, :execution_parameters) SENSITIVE = [] include Aws::Structure end |
#execution_parameters ⇒ Array<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.
1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 |
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 1926 class QueryExecution < Struct.new( :query_execution_id, :query, :statement_type, :result_configuration, :query_execution_context, :status, :statistics, :work_group, :engine_version, :execution_parameters) SENSITIVE = [] include Aws::Structure end |
#query ⇒ String
The SQL query statements which the query execution ran.
1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 |
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 1926 class QueryExecution < Struct.new( :query_execution_id, :query, :statement_type, :result_configuration, :query_execution_context, :status, :statistics, :work_group, :engine_version, :execution_parameters) SENSITIVE = [] include Aws::Structure end |
#query_execution_context ⇒ Types::QueryExecutionContext
The database in which the query execution occurred.
1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 |
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 1926 class QueryExecution < Struct.new( :query_execution_id, :query, :statement_type, :result_configuration, :query_execution_context, :status, :statistics, :work_group, :engine_version, :execution_parameters) SENSITIVE = [] include Aws::Structure end |
#query_execution_id ⇒ String
The unique identifier for each query execution.
1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 |
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 1926 class QueryExecution < Struct.new( :query_execution_id, :query, :statement_type, :result_configuration, :query_execution_context, :status, :statistics, :work_group, :engine_version, :execution_parameters) SENSITIVE = [] 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. 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.
1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 |
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 1926 class QueryExecution < Struct.new( :query_execution_id, :query, :statement_type, :result_configuration, :query_execution_context, :status, :statistics, :work_group, :engine_version, :execution_parameters) SENSITIVE = [] 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
.
1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 |
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 1926 class QueryExecution < Struct.new( :query_execution_id, :query, :statement_type, :result_configuration, :query_execution_context, :status, :statistics, :work_group, :engine_version, :execution_parameters) SENSITIVE = [] include Aws::Structure end |
#statistics ⇒ Types::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.
1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 |
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 1926 class QueryExecution < Struct.new( :query_execution_id, :query, :statement_type, :result_configuration, :query_execution_context, :status, :statistics, :work_group, :engine_version, :execution_parameters) SENSITIVE = [] include Aws::Structure end |
#status ⇒ Types::QueryExecutionStatus
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 |
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 1926 class QueryExecution < Struct.new( :query_execution_id, :query, :statement_type, :result_configuration, :query_execution_context, :status, :statistics, :work_group, :engine_version, :execution_parameters) SENSITIVE = [] include Aws::Structure end |
#work_group ⇒ String
The name of the workgroup in which the query ran.
1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 |
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 1926 class QueryExecution < Struct.new( :query_execution_id, :query, :statement_type, :result_configuration, :query_execution_context, :status, :statistics, :work_group, :engine_version, :execution_parameters) SENSITIVE = [] include Aws::Structure end |