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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Information about a single instance of a query execution.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#queryString

The SQL query statements which the query execution ran.

Returns:

  • (String)

    The SQL query statements which the query execution ran.

#query_execution_contextTypes::QueryExecutionContext

The database in which the query execution occurred.

Returns:

#query_execution_idString

The unique identifier for each query execution.

Returns:

  • (String)

    The unique identifier for each query execution.

#result_configurationTypes::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.

Returns:

  • (Types::ResultConfiguration)

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

#statement_typeString

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>.

Possible values:

  • DDL
  • DML
  • UTILITY

Returns:

  • (String)

    The type of query statement that was run.

#statisticsTypes::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.

Returns:

  • (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.

#statusTypes::QueryExecutionStatus

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

Returns:

  • (Types::QueryExecutionStatus)

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

#work_groupString

The name of the workgroup in which the query ran.

Returns:

  • (String)

    The name of the workgroup in which the query ran.