You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Athena::Types::QueryExecution

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb

Overview

Information about a single instance of a query execution.

Instance Attribute Summary collapse

Instance Attribute Details

#queryString

The SQL query statements which the query execution ran.

Returns:

  • (String)


524
525
526
527
528
529
530
531
532
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 524

class QueryExecution < Struct.new(
  :query_execution_id,
  :query,
  :result_configuration,
  :query_execution_context,
  :status,
  :statistics)
  include Aws::Structure
end

#query_execution_contextTypes::QueryExecutionContext

The database in which the query execution occurred.



524
525
526
527
528
529
530
531
532
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 524

class QueryExecution < Struct.new(
  :query_execution_id,
  :query,
  :result_configuration,
  :query_execution_context,
  :status,
  :statistics)
  include Aws::Structure
end

#query_execution_idString

The unique identifier for each query execution.

Returns:

  • (String)


524
525
526
527
528
529
530
531
532
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 524

class QueryExecution < Struct.new(
  :query_execution_id,
  :query,
  :result_configuration,
  :query_execution_context,
  :status,
  :statistics)
  include Aws::Structure
end

#result_configurationTypes::ResultConfiguration

The location in Amazon S3 where query results were stored and the encryption option, if any, used for query results.



524
525
526
527
528
529
530
531
532
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 524

class QueryExecution < Struct.new(
  :query_execution_id,
  :query,
  :result_configuration,
  :query_execution_context,
  :status,
  :statistics)
  include Aws::Structure
end

#statisticsTypes::QueryExecutionStatistics

The amount of data scanned during the query execution and the amount of time that it took to execute.



524
525
526
527
528
529
530
531
532
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 524

class QueryExecution < Struct.new(
  :query_execution_id,
  :query,
  :result_configuration,
  :query_execution_context,
  :status,
  :statistics)
  include Aws::Structure
end

#statusTypes::QueryExecutionStatus

The completion date, current state, submission time, and state change reason (if applicable) for the query execution.



524
525
526
527
528
529
530
531
532
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 524

class QueryExecution < Struct.new(
  :query_execution_id,
  :query,
  :result_configuration,
  :query_execution_context,
  :status,
  :statistics)
  include Aws::Structure
end