@Generated(value="software.amazon.awssdk:codegen") public interface AthenaAsyncClient extends SdkClient, SdkAutoCloseable
builder()
method.
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.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
default CompletableFuture<BatchGetNamedQueryResponse> |
batchGetNamedQuery(BatchGetNamedQueryRequest batchGetNamedQueryRequest)
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.
|
default CompletableFuture<BatchGetNamedQueryResponse> |
batchGetNamedQuery(Consumer<BatchGetNamedQueryRequest.Builder> batchGetNamedQueryRequest)
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.
|
default CompletableFuture<BatchGetQueryExecutionResponse> |
batchGetQueryExecution(BatchGetQueryExecutionRequest batchGetQueryExecutionRequest)
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.
|
default CompletableFuture<BatchGetQueryExecutionResponse> |
batchGetQueryExecution(Consumer<BatchGetQueryExecutionRequest.Builder> batchGetQueryExecutionRequest)
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.
|
static AthenaAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
AthenaAsyncClient . |
static AthenaAsyncClient |
create()
Create a
AthenaAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from
the DefaultCredentialsProvider . |
default CompletableFuture<CreateNamedQueryResponse> |
createNamedQuery(Consumer<CreateNamedQueryRequest.Builder> createNamedQueryRequest)
Creates a named query.
|
default CompletableFuture<CreateNamedQueryResponse> |
createNamedQuery(CreateNamedQueryRequest createNamedQueryRequest)
Creates a named query.
|
default CompletableFuture<DeleteNamedQueryResponse> |
deleteNamedQuery(Consumer<DeleteNamedQueryRequest.Builder> deleteNamedQueryRequest)
Deletes a named query.
|
default CompletableFuture<DeleteNamedQueryResponse> |
deleteNamedQuery(DeleteNamedQueryRequest deleteNamedQueryRequest)
Deletes a named query.
|
default CompletableFuture<GetNamedQueryResponse> |
getNamedQuery(Consumer<GetNamedQueryRequest.Builder> getNamedQueryRequest)
Returns information about a single query.
|
default CompletableFuture<GetNamedQueryResponse> |
getNamedQuery(GetNamedQueryRequest getNamedQueryRequest)
Returns information about a single query.
|
default CompletableFuture<GetQueryExecutionResponse> |
getQueryExecution(Consumer<GetQueryExecutionRequest.Builder> getQueryExecutionRequest)
Returns information about a single execution of a query.
|
default CompletableFuture<GetQueryExecutionResponse> |
getQueryExecution(GetQueryExecutionRequest getQueryExecutionRequest)
Returns information about a single execution of a query.
|
default CompletableFuture<GetQueryResultsResponse> |
getQueryResults(Consumer<GetQueryResultsRequest.Builder> getQueryResultsRequest)
Returns the results of a single query execution specified by
QueryExecutionId . |
default CompletableFuture<GetQueryResultsResponse> |
getQueryResults(GetQueryResultsRequest getQueryResultsRequest)
Returns the results of a single query execution specified by
QueryExecutionId . |
default GetQueryResultsPublisher |
getQueryResultsPaginator(GetQueryResultsRequest getQueryResultsRequest)
Returns the results of a single query execution specified by
QueryExecutionId . |
default CompletableFuture<ListNamedQueriesResponse> |
listNamedQueries()
Provides a list of all available query IDs.
|
default CompletableFuture<ListNamedQueriesResponse> |
listNamedQueries(Consumer<ListNamedQueriesRequest.Builder> listNamedQueriesRequest)
Provides a list of all available query IDs.
|
default CompletableFuture<ListNamedQueriesResponse> |
listNamedQueries(ListNamedQueriesRequest listNamedQueriesRequest)
Provides a list of all available query IDs.
|
default ListNamedQueriesPublisher |
listNamedQueriesPaginator()
Provides a list of all available query IDs.
|
default ListNamedQueriesPublisher |
listNamedQueriesPaginator(ListNamedQueriesRequest listNamedQueriesRequest)
Provides a list of all available query IDs.
|
default CompletableFuture<ListQueryExecutionsResponse> |
listQueryExecutions()
Provides a list of all available query execution IDs.
|
default CompletableFuture<ListQueryExecutionsResponse> |
listQueryExecutions(Consumer<ListQueryExecutionsRequest.Builder> listQueryExecutionsRequest)
Provides a list of all available query execution IDs.
|
default CompletableFuture<ListQueryExecutionsResponse> |
listQueryExecutions(ListQueryExecutionsRequest listQueryExecutionsRequest)
Provides a list of all available query execution IDs.
|
default ListQueryExecutionsPublisher |
listQueryExecutionsPaginator()
Provides a list of all available query execution IDs.
|
default ListQueryExecutionsPublisher |
listQueryExecutionsPaginator(ListQueryExecutionsRequest listQueryExecutionsRequest)
Provides a list of all available query execution IDs.
|
default CompletableFuture<StartQueryExecutionResponse> |
startQueryExecution(Consumer<StartQueryExecutionRequest.Builder> startQueryExecutionRequest)
Runs (executes) the SQL query statements contained in the
Query string. |
default CompletableFuture<StartQueryExecutionResponse> |
startQueryExecution(StartQueryExecutionRequest startQueryExecutionRequest)
Runs (executes) the SQL query statements contained in the
Query string. |
default CompletableFuture<StopQueryExecutionResponse> |
stopQueryExecution(Consumer<StopQueryExecutionRequest.Builder> stopQueryExecutionRequest)
Stops a query execution.
|
default CompletableFuture<StopQueryExecutionResponse> |
stopQueryExecution(StopQueryExecutionRequest stopQueryExecutionRequest)
Stops a query execution.
|
serviceName
close
static final String SERVICE_NAME
static AthenaAsyncClient create()
AthenaAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from
the DefaultCredentialsProvider
.static AthenaAsyncClientBuilder builder()
AthenaAsyncClient
.default CompletableFuture<BatchGetNamedQueryResponse> batchGetNamedQuery(BatchGetNamedQueryRequest batchGetNamedQueryRequest)
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. Use ListNamedQueries to get the list of named query IDs. If information could not be retrieved for a submitted query ID, information about the query ID submitted is listed under UnprocessedNamedQueryId. Named queries are different from executed queries. Use BatchGetQueryExecution to get details about each unique query execution, and ListQueryExecutions to get a list of query execution IDs.
batchGetNamedQueryRequest
- default CompletableFuture<BatchGetNamedQueryResponse> batchGetNamedQuery(Consumer<BatchGetNamedQueryRequest.Builder> batchGetNamedQueryRequest)
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. Use ListNamedQueries to get the list of named query IDs. If information could not be retrieved for a submitted query ID, information about the query ID submitted is listed under UnprocessedNamedQueryId. Named queries are different from executed queries. Use BatchGetQueryExecution to get details about each unique query execution, and ListQueryExecutions to get a list of query execution IDs.
BatchGetNamedQueryRequest.Builder
avoiding the
need to create one manually via BatchGetNamedQueryRequest.builder()
batchGetNamedQueryRequest
- a Consumer
that will call methods on BatchGetNamedQueryInput.Builder
.default CompletableFuture<BatchGetQueryExecutionResponse> batchGetQueryExecution(BatchGetQueryExecutionRequest batchGetQueryExecutionRequest)
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. To get a list of query execution IDs, use ListQueryExecutions. Query executions are different from named (saved) queries. Use BatchGetNamedQuery to get details about named queries.
batchGetQueryExecutionRequest
- default CompletableFuture<BatchGetQueryExecutionResponse> batchGetQueryExecution(Consumer<BatchGetQueryExecutionRequest.Builder> batchGetQueryExecutionRequest)
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. To get a list of query execution IDs, use ListQueryExecutions. Query executions are different from named (saved) queries. Use BatchGetNamedQuery to get details about named queries.
BatchGetQueryExecutionRequest.Builder
avoiding the
need to create one manually via BatchGetQueryExecutionRequest.builder()
batchGetQueryExecutionRequest
- a Consumer
that will call methods on BatchGetQueryExecutionInput.Builder
.default CompletableFuture<CreateNamedQueryResponse> createNamedQuery(CreateNamedQueryRequest createNamedQueryRequest)
Creates a named query.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
createNamedQueryRequest
- default CompletableFuture<CreateNamedQueryResponse> createNamedQuery(Consumer<CreateNamedQueryRequest.Builder> createNamedQueryRequest)
Creates a named query.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
CreateNamedQueryRequest.Builder
avoiding the need
to create one manually via CreateNamedQueryRequest.builder()
createNamedQueryRequest
- a Consumer
that will call methods on CreateNamedQueryInput.Builder
.default CompletableFuture<DeleteNamedQueryResponse> deleteNamedQuery(DeleteNamedQueryRequest deleteNamedQueryRequest)
Deletes a named query.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
deleteNamedQueryRequest
- default CompletableFuture<DeleteNamedQueryResponse> deleteNamedQuery(Consumer<DeleteNamedQueryRequest.Builder> deleteNamedQueryRequest)
Deletes a named query.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
DeleteNamedQueryRequest.Builder
avoiding the need
to create one manually via DeleteNamedQueryRequest.builder()
deleteNamedQueryRequest
- a Consumer
that will call methods on DeleteNamedQueryInput.Builder
.default CompletableFuture<GetNamedQueryResponse> getNamedQuery(GetNamedQueryRequest getNamedQueryRequest)
Returns information about a single query.
getNamedQueryRequest
- default CompletableFuture<GetNamedQueryResponse> getNamedQuery(Consumer<GetNamedQueryRequest.Builder> getNamedQueryRequest)
Returns information about a single query.
GetNamedQueryRequest.Builder
avoiding the need to
create one manually via GetNamedQueryRequest.builder()
getNamedQueryRequest
- a Consumer
that will call methods on GetNamedQueryInput.Builder
.default CompletableFuture<GetQueryExecutionResponse> getQueryExecution(GetQueryExecutionRequest getQueryExecutionRequest)
Returns information about a single execution of a query. Each time a query executes, information about the query execution is saved with a unique ID.
getQueryExecutionRequest
- default CompletableFuture<GetQueryExecutionResponse> getQueryExecution(Consumer<GetQueryExecutionRequest.Builder> getQueryExecutionRequest)
Returns information about a single execution of a query. Each time a query executes, information about the query execution is saved with a unique ID.
GetQueryExecutionRequest.Builder
avoiding the need
to create one manually via GetQueryExecutionRequest.builder()
getQueryExecutionRequest
- a Consumer
that will call methods on GetQueryExecutionInput.Builder
.default CompletableFuture<GetQueryResultsResponse> getQueryResults(GetQueryResultsRequest getQueryResultsRequest)
Returns the results of a single query execution specified by QueryExecutionId
. This request does not
execute the query but returns results. Use StartQueryExecution to run a query.
getQueryResultsRequest
- default CompletableFuture<GetQueryResultsResponse> getQueryResults(Consumer<GetQueryResultsRequest.Builder> getQueryResultsRequest)
Returns the results of a single query execution specified by QueryExecutionId
. This request does not
execute the query but returns results. Use StartQueryExecution to run a query.
GetQueryResultsRequest.Builder
avoiding the need
to create one manually via GetQueryResultsRequest.builder()
getQueryResultsRequest
- a Consumer
that will call methods on GetQueryResultsInput.Builder
.default GetQueryResultsPublisher getQueryResultsPaginator(GetQueryResultsRequest getQueryResultsRequest)
Returns the results of a single query execution specified by QueryExecutionId
. This request does not
execute the query but returns results. Use StartQueryExecution to run a query.
This is a variant of
getQueryResults(software.amazon.awssdk.services.athena.model.GetQueryResultsRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.athena.paginators.GetQueryResultsPublisher publisher = client.getQueryResultsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.athena.paginators.GetQueryResultsPublisher publisher = client.getQueryResultsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.athena.model.GetQueryResultsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.athena.model.GetQueryResultsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
getQueryResults(software.amazon.awssdk.services.athena.model.GetQueryResultsRequest)
operation.
getQueryResultsRequest
- default CompletableFuture<ListNamedQueriesResponse> listNamedQueries(ListNamedQueriesRequest listNamedQueriesRequest)
Provides a list of all available query IDs.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
listNamedQueriesRequest
- default CompletableFuture<ListNamedQueriesResponse> listNamedQueries()
Provides a list of all available query IDs.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
default CompletableFuture<ListNamedQueriesResponse> listNamedQueries(Consumer<ListNamedQueriesRequest.Builder> listNamedQueriesRequest)
Provides a list of all available query IDs.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
ListNamedQueriesRequest.Builder
avoiding the need
to create one manually via ListNamedQueriesRequest.builder()
listNamedQueriesRequest
- a Consumer
that will call methods on ListNamedQueriesInput.Builder
.default ListNamedQueriesPublisher listNamedQueriesPaginator(ListNamedQueriesRequest listNamedQueriesRequest)
Provides a list of all available query IDs.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
This is a variant of
listNamedQueries(software.amazon.awssdk.services.athena.model.ListNamedQueriesRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.athena.paginators.ListNamedQueriesPublisher publisher = client.listNamedQueriesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.athena.paginators.ListNamedQueriesPublisher publisher = client.listNamedQueriesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.athena.model.ListNamedQueriesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.athena.model.ListNamedQueriesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listNamedQueries(software.amazon.awssdk.services.athena.model.ListNamedQueriesRequest)
operation.
listNamedQueriesRequest
- default ListNamedQueriesPublisher listNamedQueriesPaginator()
Provides a list of all available query IDs.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
This is a variant of
listNamedQueries(software.amazon.awssdk.services.athena.model.ListNamedQueriesRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.athena.paginators.ListNamedQueriesPublisher publisher = client.listNamedQueriesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.athena.paginators.ListNamedQueriesPublisher publisher = client.listNamedQueriesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.athena.model.ListNamedQueriesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.athena.model.ListNamedQueriesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listNamedQueries(software.amazon.awssdk.services.athena.model.ListNamedQueriesRequest)
operation.
default CompletableFuture<ListQueryExecutionsResponse> listQueryExecutions(ListQueryExecutionsRequest listQueryExecutionsRequest)
Provides a list of all available query execution IDs.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
listQueryExecutionsRequest
- default CompletableFuture<ListQueryExecutionsResponse> listQueryExecutions()
Provides a list of all available query execution IDs.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
default CompletableFuture<ListQueryExecutionsResponse> listQueryExecutions(Consumer<ListQueryExecutionsRequest.Builder> listQueryExecutionsRequest)
Provides a list of all available query execution IDs.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
ListQueryExecutionsRequest.Builder
avoiding the
need to create one manually via ListQueryExecutionsRequest.builder()
listQueryExecutionsRequest
- a Consumer
that will call methods on ListQueryExecutionsInput.Builder
.default ListQueryExecutionsPublisher listQueryExecutionsPaginator(ListQueryExecutionsRequest listQueryExecutionsRequest)
Provides a list of all available query execution IDs.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
This is a variant of
listQueryExecutions(software.amazon.awssdk.services.athena.model.ListQueryExecutionsRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.athena.paginators.ListQueryExecutionsPublisher publisher = client.listQueryExecutionsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.athena.paginators.ListQueryExecutionsPublisher publisher = client.listQueryExecutionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.athena.model.ListQueryExecutionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.athena.model.ListQueryExecutionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listQueryExecutions(software.amazon.awssdk.services.athena.model.ListQueryExecutionsRequest)
operation.
listQueryExecutionsRequest
- default ListQueryExecutionsPublisher listQueryExecutionsPaginator()
Provides a list of all available query execution IDs.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
This is a variant of
listQueryExecutions(software.amazon.awssdk.services.athena.model.ListQueryExecutionsRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.athena.paginators.ListQueryExecutionsPublisher publisher = client.listQueryExecutionsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.athena.paginators.ListQueryExecutionsPublisher publisher = client.listQueryExecutionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.athena.model.ListQueryExecutionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.athena.model.ListQueryExecutionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listQueryExecutions(software.amazon.awssdk.services.athena.model.ListQueryExecutionsRequest)
operation.
default CompletableFuture<StartQueryExecutionResponse> startQueryExecution(StartQueryExecutionRequest startQueryExecutionRequest)
Runs (executes) the SQL query statements contained in the Query
string.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
startQueryExecutionRequest
- default CompletableFuture<StartQueryExecutionResponse> startQueryExecution(Consumer<StartQueryExecutionRequest.Builder> startQueryExecutionRequest)
Runs (executes) the SQL query statements contained in the Query
string.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
StartQueryExecutionRequest.Builder
avoiding the
need to create one manually via StartQueryExecutionRequest.builder()
startQueryExecutionRequest
- a Consumer
that will call methods on StartQueryExecutionInput.Builder
.default CompletableFuture<StopQueryExecutionResponse> stopQueryExecution(StopQueryExecutionRequest stopQueryExecutionRequest)
Stops a query execution.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
stopQueryExecutionRequest
- default CompletableFuture<StopQueryExecutionResponse> stopQueryExecution(Consumer<StopQueryExecutionRequest.Builder> stopQueryExecutionRequest)
Stops a query execution.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
StopQueryExecutionRequest.Builder
avoiding the
need to create one manually via StopQueryExecutionRequest.builder()
stopQueryExecutionRequest
- a Consumer
that will call methods on StopQueryExecutionInput.Builder
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.