QueryExecution

public struct QueryExecution : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The SQL query statements which the query execution ran.

    Declaration

    Swift

    public let query: String?
  • The database in which the query execution occurred.

    Declaration

    Swift

    public let queryExecutionContext: QueryExecutionContext?
  • The unique identifier for each query execution.

    Declaration

    Swift

    public let queryExecutionId: String?
  • 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.

    Declaration

    Swift

    public let resultConfiguration: ResultConfiguration?
  • 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>.

    Declaration

    Swift

    public let statementType: StatementType?
  • 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.

    Declaration

    Swift

    public let statistics: QueryExecutionStatistics?
  • The completion date, current state, submission time, and state change reason (if applicable) for the query execution.

    Declaration

    Swift

    public let status: QueryExecutionStatus?
  • The name of the workgroup in which the query ran.

    Declaration

    Swift

    public let workGroup: String?
  • Undocumented

    Declaration

    Swift

    public init(query: String? = nil, queryExecutionContext: QueryExecutionContext? = nil, queryExecutionId: String? = nil, resultConfiguration: ResultConfiguration? = nil, statementType: StatementType? = nil, statistics: QueryExecutionStatistics? = nil, status: QueryExecutionStatus? = nil, workGroup: String? = nil)