Amazon Athena is an interactive query service that lets you use standard SQL to analyze data directly in Amazon S3. You can point Athena at your data in Amazon S3 and run ad-hoc queries and get results in seconds. Athena is serverless, so there is no infrastructure to set up or manage. You pay only for the queries you run. Athena scales automatically—executing queries in parallel—so results are fast, even with large datasets and complex queries. For more information, see What is Amazon Athena in the Amazon Athena User Guide.
If you connect to Athena using the JDBC driver, use version 1.1.0 of the driver or later with the Amazon Athena API. Earlier version drivers do not support the API. For more information and to download the driver, see Accessing Amazon Athena with JDBC.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
A client for the Amazon Athena API.
Information about the columns in a query execution result.
A piece of data (a field in the table).
If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
A query, where
Information about a single instance of a query execution.
The database in which the query execution occurs.
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.
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
The location in Amazon S3 where query results are 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.
The information about the updates in the query results, such as output location and encryption configuration for the query results.
The metadata and rows that comprise a query result set. The metadata describes the column structure and data types.
The metadata that describes the column structure and data types of a table of query results.
The rows that comprise a query result table.
Information about a named query ID that could not be processed.
Describes a query execution that failed to process.
A workgroup, which contains a name, description, creation time, state, and other configuration, listed under WorkGroup$Configuration. Each workgroup enables you to isolate queries for you or your group of users from other queries in the same account, to configure the query results location and the encryption configuration (known as workgroup settings), to enable sending query metrics to Amazon CloudWatch, and to establish per-query data usage control limits for all queries in a workgroup. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup and whether workgroup settings override query settings, and the data usage limit for the amount of data scanned per query, if it is specified. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
The configuration information that will be updated for this workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, whether the workgroup settings override the client-side settings, and the data usage limit for the amount of bytes scanned per query, if it is specified.
The summary information for the workgroup, which includes its name, state, description, and the date and time it was created.
Errors returned by BatchGetNamedQuery
Errors returned by BatchGetQueryExecution
Errors returned by CreateNamedQuery
Errors returned by CreateWorkGroup
Errors returned by DeleteNamedQuery
Errors returned by DeleteWorkGroup
Errors returned by GetNamedQuery
Errors returned by GetQueryExecution
Errors returned by GetQueryResults
Errors returned by GetWorkGroup
Errors returned by ListNamedQueries
Errors returned by ListQueryExecutions
Errors returned by ListWorkGroups
Errors returned by StartQueryExecution
Errors returned by StopQueryExecution
Errors returned by UpdateWorkGroup
Trait representing the capabilities of the Amazon Athena API. Amazon Athena clients implement this trait.