@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonAthenaAsyncClient extends AmazonAthenaClient implements AmazonAthenaAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
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.
configFactoryclient, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AmazonAthenaAsyncClientBuilder |
asyncBuilder() |
Future<BatchGetNamedQueryResult> |
batchGetNamedQueryAsync(BatchGetNamedQueryRequest request)
Returns the details of a single named query or a list of up to 50 queries, which you provide as an array of query
ID strings.
|
Future<BatchGetNamedQueryResult> |
batchGetNamedQueryAsync(BatchGetNamedQueryRequest request,
AsyncHandler<BatchGetNamedQueryRequest,BatchGetNamedQueryResult> asyncHandler)
Returns the details of a single named query or a list of up to 50 queries, which you provide as an array of query
ID strings.
|
Future<BatchGetQueryExecutionResult> |
batchGetQueryExecutionAsync(BatchGetQueryExecutionRequest request)
Returns the details of a single query execution or a list of up to 50 query executions, which you provide as an
array of query execution ID strings.
|
Future<BatchGetQueryExecutionResult> |
batchGetQueryExecutionAsync(BatchGetQueryExecutionRequest request,
AsyncHandler<BatchGetQueryExecutionRequest,BatchGetQueryExecutionResult> asyncHandler)
Returns the details of a single query execution or a list of up to 50 query executions, which you provide as an
array of query execution ID strings.
|
Future<CreateNamedQueryResult> |
createNamedQueryAsync(CreateNamedQueryRequest request)
Creates a named query in the specified workgroup.
|
Future<CreateNamedQueryResult> |
createNamedQueryAsync(CreateNamedQueryRequest request,
AsyncHandler<CreateNamedQueryRequest,CreateNamedQueryResult> asyncHandler)
Creates a named query in the specified workgroup.
|
Future<CreateWorkGroupResult> |
createWorkGroupAsync(CreateWorkGroupRequest request)
Creates a workgroup with the specified name.
|
Future<CreateWorkGroupResult> |
createWorkGroupAsync(CreateWorkGroupRequest request,
AsyncHandler<CreateWorkGroupRequest,CreateWorkGroupResult> asyncHandler)
Creates a workgroup with the specified name.
|
Future<DeleteNamedQueryResult> |
deleteNamedQueryAsync(DeleteNamedQueryRequest request)
Deletes the named query if you have access to the workgroup in which the query was saved.
|
Future<DeleteNamedQueryResult> |
deleteNamedQueryAsync(DeleteNamedQueryRequest request,
AsyncHandler<DeleteNamedQueryRequest,DeleteNamedQueryResult> asyncHandler)
Deletes the named query if you have access to the workgroup in which the query was saved.
|
Future<DeleteWorkGroupResult> |
deleteWorkGroupAsync(DeleteWorkGroupRequest request)
Deletes the workgroup with the specified name.
|
Future<DeleteWorkGroupResult> |
deleteWorkGroupAsync(DeleteWorkGroupRequest request,
AsyncHandler<DeleteWorkGroupRequest,DeleteWorkGroupResult> asyncHandler)
Deletes the workgroup with the specified name.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
Future<GetNamedQueryResult> |
getNamedQueryAsync(GetNamedQueryRequest request)
Returns information about a single query.
|
Future<GetNamedQueryResult> |
getNamedQueryAsync(GetNamedQueryRequest request,
AsyncHandler<GetNamedQueryRequest,GetNamedQueryResult> asyncHandler)
Returns information about a single query.
|
Future<GetQueryExecutionResult> |
getQueryExecutionAsync(GetQueryExecutionRequest request)
Returns information about a single execution of a query if you have access to the workgroup in which the query
ran.
|
Future<GetQueryExecutionResult> |
getQueryExecutionAsync(GetQueryExecutionRequest request,
AsyncHandler<GetQueryExecutionRequest,GetQueryExecutionResult> asyncHandler)
Returns information about a single execution of a query if you have access to the workgroup in which the query
ran.
|
Future<GetQueryResultsResult> |
getQueryResultsAsync(GetQueryResultsRequest request)
Returns the results of a single query execution specified by
QueryExecutionId if you have access to
the workgroup in which the query ran. |
Future<GetQueryResultsResult> |
getQueryResultsAsync(GetQueryResultsRequest request,
AsyncHandler<GetQueryResultsRequest,GetQueryResultsResult> asyncHandler)
Returns the results of a single query execution specified by
QueryExecutionId if you have access to
the workgroup in which the query ran. |
Future<GetWorkGroupResult> |
getWorkGroupAsync(GetWorkGroupRequest request)
Returns information about the workgroup with the speficied name.
|
Future<GetWorkGroupResult> |
getWorkGroupAsync(GetWorkGroupRequest request,
AsyncHandler<GetWorkGroupRequest,GetWorkGroupResult> asyncHandler)
Returns information about the workgroup with the speficied name.
|
Future<ListNamedQueriesResult> |
listNamedQueriesAsync(ListNamedQueriesRequest request)
Provides a list of available query IDs only for queries saved in the specified workgroup.
|
Future<ListNamedQueriesResult> |
listNamedQueriesAsync(ListNamedQueriesRequest request,
AsyncHandler<ListNamedQueriesRequest,ListNamedQueriesResult> asyncHandler)
Provides a list of available query IDs only for queries saved in the specified workgroup.
|
Future<ListQueryExecutionsResult> |
listQueryExecutionsAsync(ListQueryExecutionsRequest request)
Provides a list of available query execution IDs for the queries in the specified workgroup.
|
Future<ListQueryExecutionsResult> |
listQueryExecutionsAsync(ListQueryExecutionsRequest request,
AsyncHandler<ListQueryExecutionsRequest,ListQueryExecutionsResult> asyncHandler)
Provides a list of available query execution IDs for the queries in the specified workgroup.
|
Future<ListWorkGroupsResult> |
listWorkGroupsAsync(ListWorkGroupsRequest request)
Lists available workgroups for the account.
|
Future<ListWorkGroupsResult> |
listWorkGroupsAsync(ListWorkGroupsRequest request,
AsyncHandler<ListWorkGroupsRequest,ListWorkGroupsResult> asyncHandler)
Lists available workgroups for the account.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
Future<StartQueryExecutionResult> |
startQueryExecutionAsync(StartQueryExecutionRequest request)
Runs the SQL query statements contained in the
Query. |
Future<StartQueryExecutionResult> |
startQueryExecutionAsync(StartQueryExecutionRequest request,
AsyncHandler<StartQueryExecutionRequest,StartQueryExecutionResult> asyncHandler)
Runs the SQL query statements contained in the
Query. |
Future<StopQueryExecutionResult> |
stopQueryExecutionAsync(StopQueryExecutionRequest request)
Stops a query execution.
|
Future<StopQueryExecutionResult> |
stopQueryExecutionAsync(StopQueryExecutionRequest request,
AsyncHandler<StopQueryExecutionRequest,StopQueryExecutionResult> asyncHandler)
Stops a query execution.
|
Future<UpdateWorkGroupResult> |
updateWorkGroupAsync(UpdateWorkGroupRequest request)
Updates the workgroup with the specified name.
|
Future<UpdateWorkGroupResult> |
updateWorkGroupAsync(UpdateWorkGroupRequest request,
AsyncHandler<UpdateWorkGroupRequest,UpdateWorkGroupResult> asyncHandler)
Updates the workgroup with the specified name.
|
batchGetNamedQuery, batchGetQueryExecution, builder, createNamedQuery, createWorkGroup, deleteNamedQuery, deleteWorkGroup, getCachedResponseMetadata, getNamedQuery, getQueryExecution, getQueryResults, getWorkGroup, listNamedQueries, listQueryExecutions, listWorkGroups, startQueryExecution, stopQueryExecution, updateWorkGroupaddRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchGetNamedQuery, batchGetQueryExecution, createNamedQuery, createWorkGroup, deleteNamedQuery, deleteWorkGroup, getCachedResponseMetadata, getNamedQuery, getQueryExecution, getQueryResults, getWorkGroup, listNamedQueries, listQueryExecutions, listWorkGroups, startQueryExecution, stopQueryExecution, updateWorkGrouppublic static AmazonAthenaAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<BatchGetNamedQueryResult> batchGetNamedQueryAsync(BatchGetNamedQueryRequest request)
AmazonAthenaAsyncReturns the details of a single named query or a list of up to 50 queries, which you provide as an array of query ID strings. Requires you to have access to the workgroup in which the queries were saved. Use ListNamedQueriesInput to get the list of named query IDs in the specified workgroup. If information could not be retrieved for a submitted query ID, information about the query ID submitted is listed under UnprocessedNamedQueryId. Named queries differ from executed queries. Use BatchGetQueryExecutionInput to get details about each unique query execution, and ListQueryExecutionsInput to get a list of query execution IDs.
batchGetNamedQueryAsync in interface AmazonAthenaAsyncpublic Future<BatchGetNamedQueryResult> batchGetNamedQueryAsync(BatchGetNamedQueryRequest request, AsyncHandler<BatchGetNamedQueryRequest,BatchGetNamedQueryResult> asyncHandler)
AmazonAthenaAsyncReturns the details of a single named query or a list of up to 50 queries, which you provide as an array of query ID strings. Requires you to have access to the workgroup in which the queries were saved. Use ListNamedQueriesInput to get the list of named query IDs in the specified workgroup. If information could not be retrieved for a submitted query ID, information about the query ID submitted is listed under UnprocessedNamedQueryId. Named queries differ from executed queries. Use BatchGetQueryExecutionInput to get details about each unique query execution, and ListQueryExecutionsInput to get a list of query execution IDs.
batchGetNamedQueryAsync in interface AmazonAthenaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchGetQueryExecutionResult> batchGetQueryExecutionAsync(BatchGetQueryExecutionRequest request)
AmazonAthenaAsyncReturns the details of a single query execution or a list of up to 50 query executions, which you provide as an array of query execution ID strings. Requires you to have access to the workgroup in which the queries ran. To get a list of query execution IDs, use ListQueryExecutionsInput$WorkGroup. Query executions differ from named (saved) queries. Use BatchGetNamedQueryInput to get details about named queries.
batchGetQueryExecutionAsync in interface AmazonAthenaAsyncpublic Future<BatchGetQueryExecutionResult> batchGetQueryExecutionAsync(BatchGetQueryExecutionRequest request, AsyncHandler<BatchGetQueryExecutionRequest,BatchGetQueryExecutionResult> asyncHandler)
AmazonAthenaAsyncReturns the details of a single query execution or a list of up to 50 query executions, which you provide as an array of query execution ID strings. Requires you to have access to the workgroup in which the queries ran. To get a list of query execution IDs, use ListQueryExecutionsInput$WorkGroup. Query executions differ from named (saved) queries. Use BatchGetNamedQueryInput to get details about named queries.
batchGetQueryExecutionAsync in interface AmazonAthenaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateNamedQueryResult> createNamedQueryAsync(CreateNamedQueryRequest request)
AmazonAthenaAsyncCreates a named query in the specified workgroup. Requires that you have access to the workgroup.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
createNamedQueryAsync in interface AmazonAthenaAsyncpublic Future<CreateNamedQueryResult> createNamedQueryAsync(CreateNamedQueryRequest request, AsyncHandler<CreateNamedQueryRequest,CreateNamedQueryResult> asyncHandler)
AmazonAthenaAsyncCreates a named query in the specified workgroup. Requires that you have access to the workgroup.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
createNamedQueryAsync in interface AmazonAthenaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateWorkGroupResult> createWorkGroupAsync(CreateWorkGroupRequest request)
AmazonAthenaAsyncCreates a workgroup with the specified name.
createWorkGroupAsync in interface AmazonAthenaAsyncpublic Future<CreateWorkGroupResult> createWorkGroupAsync(CreateWorkGroupRequest request, AsyncHandler<CreateWorkGroupRequest,CreateWorkGroupResult> asyncHandler)
AmazonAthenaAsyncCreates a workgroup with the specified name.
createWorkGroupAsync in interface AmazonAthenaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteNamedQueryResult> deleteNamedQueryAsync(DeleteNamedQueryRequest request)
AmazonAthenaAsyncDeletes the named query if you have access to the workgroup in which the query was saved.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
deleteNamedQueryAsync in interface AmazonAthenaAsyncpublic Future<DeleteNamedQueryResult> deleteNamedQueryAsync(DeleteNamedQueryRequest request, AsyncHandler<DeleteNamedQueryRequest,DeleteNamedQueryResult> asyncHandler)
AmazonAthenaAsyncDeletes the named query if you have access to the workgroup in which the query was saved.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
deleteNamedQueryAsync in interface AmazonAthenaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteWorkGroupResult> deleteWorkGroupAsync(DeleteWorkGroupRequest request)
AmazonAthenaAsyncDeletes the workgroup with the specified name. The primary workgroup cannot be deleted.
deleteWorkGroupAsync in interface AmazonAthenaAsyncpublic Future<DeleteWorkGroupResult> deleteWorkGroupAsync(DeleteWorkGroupRequest request, AsyncHandler<DeleteWorkGroupRequest,DeleteWorkGroupResult> asyncHandler)
AmazonAthenaAsyncDeletes the workgroup with the specified name. The primary workgroup cannot be deleted.
deleteWorkGroupAsync in interface AmazonAthenaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetNamedQueryResult> getNamedQueryAsync(GetNamedQueryRequest request)
AmazonAthenaAsyncReturns information about a single query. Requires that you have access to the workgroup in which the query was saved.
getNamedQueryAsync in interface AmazonAthenaAsyncpublic Future<GetNamedQueryResult> getNamedQueryAsync(GetNamedQueryRequest request, AsyncHandler<GetNamedQueryRequest,GetNamedQueryResult> asyncHandler)
AmazonAthenaAsyncReturns information about a single query. Requires that you have access to the workgroup in which the query was saved.
getNamedQueryAsync in interface AmazonAthenaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetQueryExecutionResult> getQueryExecutionAsync(GetQueryExecutionRequest request)
AmazonAthenaAsyncReturns information about a single execution of a query if you have access to the workgroup in which the query ran. Each time a query executes, information about the query execution is saved with a unique ID.
getQueryExecutionAsync in interface AmazonAthenaAsyncpublic Future<GetQueryExecutionResult> getQueryExecutionAsync(GetQueryExecutionRequest request, AsyncHandler<GetQueryExecutionRequest,GetQueryExecutionResult> asyncHandler)
AmazonAthenaAsyncReturns information about a single execution of a query if you have access to the workgroup in which the query ran. Each time a query executes, information about the query execution is saved with a unique ID.
getQueryExecutionAsync in interface AmazonAthenaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetQueryResultsResult> getQueryResultsAsync(GetQueryResultsRequest request)
AmazonAthenaAsync
Returns the results of a single query execution specified by QueryExecutionId if you have access to
the workgroup in which the query ran. This request does not execute the query but returns results. Use
StartQueryExecution to run a query.
getQueryResultsAsync in interface AmazonAthenaAsyncpublic Future<GetQueryResultsResult> getQueryResultsAsync(GetQueryResultsRequest request, AsyncHandler<GetQueryResultsRequest,GetQueryResultsResult> asyncHandler)
AmazonAthenaAsync
Returns the results of a single query execution specified by QueryExecutionId if you have access to
the workgroup in which the query ran. This request does not execute the query but returns results. Use
StartQueryExecution to run a query.
getQueryResultsAsync in interface AmazonAthenaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetWorkGroupResult> getWorkGroupAsync(GetWorkGroupRequest request)
AmazonAthenaAsyncReturns information about the workgroup with the speficied name.
getWorkGroupAsync in interface AmazonAthenaAsyncpublic Future<GetWorkGroupResult> getWorkGroupAsync(GetWorkGroupRequest request, AsyncHandler<GetWorkGroupRequest,GetWorkGroupResult> asyncHandler)
AmazonAthenaAsyncReturns information about the workgroup with the speficied name.
getWorkGroupAsync in interface AmazonAthenaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListNamedQueriesResult> listNamedQueriesAsync(ListNamedQueriesRequest request)
AmazonAthenaAsyncProvides a list of available query IDs only for queries saved in the specified workgroup. Requires that you have access to the workgroup.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
listNamedQueriesAsync in interface AmazonAthenaAsyncpublic Future<ListNamedQueriesResult> listNamedQueriesAsync(ListNamedQueriesRequest request, AsyncHandler<ListNamedQueriesRequest,ListNamedQueriesResult> asyncHandler)
AmazonAthenaAsyncProvides a list of available query IDs only for queries saved in the specified workgroup. Requires that you have access to the workgroup.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
listNamedQueriesAsync in interface AmazonAthenaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListQueryExecutionsResult> listQueryExecutionsAsync(ListQueryExecutionsRequest request)
AmazonAthenaAsyncProvides a list of available query execution IDs for the queries in the specified workgroup. Requires you to have access to the workgroup in which the queries ran.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
listQueryExecutionsAsync in interface AmazonAthenaAsyncpublic Future<ListQueryExecutionsResult> listQueryExecutionsAsync(ListQueryExecutionsRequest request, AsyncHandler<ListQueryExecutionsRequest,ListQueryExecutionsResult> asyncHandler)
AmazonAthenaAsyncProvides a list of available query execution IDs for the queries in the specified workgroup. Requires you to have access to the workgroup in which the queries ran.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
listQueryExecutionsAsync in interface AmazonAthenaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListWorkGroupsResult> listWorkGroupsAsync(ListWorkGroupsRequest request)
AmazonAthenaAsyncLists available workgroups for the account.
listWorkGroupsAsync in interface AmazonAthenaAsyncpublic Future<ListWorkGroupsResult> listWorkGroupsAsync(ListWorkGroupsRequest request, AsyncHandler<ListWorkGroupsRequest,ListWorkGroupsResult> asyncHandler)
AmazonAthenaAsyncLists available workgroups for the account.
listWorkGroupsAsync in interface AmazonAthenaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartQueryExecutionResult> startQueryExecutionAsync(StartQueryExecutionRequest request)
AmazonAthenaAsync
Runs the SQL query statements contained in the Query. Requires you to have access to the workgroup
in which the query ran.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
startQueryExecutionAsync in interface AmazonAthenaAsyncpublic Future<StartQueryExecutionResult> startQueryExecutionAsync(StartQueryExecutionRequest request, AsyncHandler<StartQueryExecutionRequest,StartQueryExecutionResult> asyncHandler)
AmazonAthenaAsync
Runs the SQL query statements contained in the Query. Requires you to have access to the workgroup
in which the query ran.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
startQueryExecutionAsync in interface AmazonAthenaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopQueryExecutionResult> stopQueryExecutionAsync(StopQueryExecutionRequest request)
AmazonAthenaAsyncStops a query execution. Requires you to have access to the workgroup in which the query ran.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
stopQueryExecutionAsync in interface AmazonAthenaAsyncpublic Future<StopQueryExecutionResult> stopQueryExecutionAsync(StopQueryExecutionRequest request, AsyncHandler<StopQueryExecutionRequest,StopQueryExecutionResult> asyncHandler)
AmazonAthenaAsyncStops a query execution. Requires you to have access to the workgroup in which the query ran.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
stopQueryExecutionAsync in interface AmazonAthenaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateWorkGroupResult> updateWorkGroupAsync(UpdateWorkGroupRequest request)
AmazonAthenaAsyncUpdates the workgroup with the specified name. The workgroup's name cannot be changed.
updateWorkGroupAsync in interface AmazonAthenaAsyncpublic Future<UpdateWorkGroupResult> updateWorkGroupAsync(UpdateWorkGroupRequest request, AsyncHandler<UpdateWorkGroupRequest,UpdateWorkGroupResult> asyncHandler)
AmazonAthenaAsyncUpdates the workgroup with the specified name. The workgroup's name cannot be changed.
updateWorkGroupAsync in interface AmazonAthenaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AmazonAthenashutdown in class AmazonWebServiceClientCopyright © 2019. All rights reserved.