@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonAthena extends Object implements AmazonAthena
AmazonAthena
. Convenient method forms pass through to the corresponding overload
that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
BatchGetNamedQueryResult |
batchGetNamedQuery(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.
|
BatchGetQueryExecutionResult |
batchGetQueryExecution(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.
|
CreateNamedQueryResult |
createNamedQuery(CreateNamedQueryRequest request)
Creates a named query.
|
DeleteNamedQueryResult |
deleteNamedQuery(DeleteNamedQueryRequest request)
Deletes a named query.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetNamedQueryResult |
getNamedQuery(GetNamedQueryRequest request)
Returns information about a single query.
|
GetQueryExecutionResult |
getQueryExecution(GetQueryExecutionRequest request)
Returns information about a single execution of a query.
|
GetQueryResultsResult |
getQueryResults(GetQueryResultsRequest request)
Returns the results of a single query execution specified by
QueryExecutionId . |
ListNamedQueriesResult |
listNamedQueries(ListNamedQueriesRequest request)
Provides a list of all available query IDs.
|
ListQueryExecutionsResult |
listQueryExecutions(ListQueryExecutionsRequest request)
Provides a list of all available query execution IDs.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartQueryExecutionResult |
startQueryExecution(StartQueryExecutionRequest request)
Runs (executes) the SQL query statements contained in the
Query string. |
StopQueryExecutionResult |
stopQueryExecution(StopQueryExecutionRequest request)
Stops a query execution.
|
public BatchGetNamedQueryResult batchGetNamedQuery(BatchGetNamedQueryRequest request)
AmazonAthena
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.
batchGetNamedQuery
in interface AmazonAthena
public BatchGetQueryExecutionResult batchGetQueryExecution(BatchGetQueryExecutionRequest request)
AmazonAthena
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.
batchGetQueryExecution
in interface AmazonAthena
public CreateNamedQueryResult createNamedQuery(CreateNamedQueryRequest request)
AmazonAthena
Creates a named query.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
createNamedQuery
in interface AmazonAthena
public DeleteNamedQueryResult deleteNamedQuery(DeleteNamedQueryRequest request)
AmazonAthena
Deletes a named query.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
deleteNamedQuery
in interface AmazonAthena
public GetNamedQueryResult getNamedQuery(GetNamedQueryRequest request)
AmazonAthena
Returns information about a single query.
getNamedQuery
in interface AmazonAthena
public GetQueryExecutionResult getQueryExecution(GetQueryExecutionRequest request)
AmazonAthena
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.
getQueryExecution
in interface AmazonAthena
public GetQueryResultsResult getQueryResults(GetQueryResultsRequest request)
AmazonAthena
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.
getQueryResults
in interface AmazonAthena
public ListNamedQueriesResult listNamedQueries(ListNamedQueriesRequest request)
AmazonAthena
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.
listNamedQueries
in interface AmazonAthena
public ListQueryExecutionsResult listQueryExecutions(ListQueryExecutionsRequest request)
AmazonAthena
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.
listQueryExecutions
in interface AmazonAthena
public StartQueryExecutionResult startQueryExecution(StartQueryExecutionRequest request)
AmazonAthena
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.
startQueryExecution
in interface AmazonAthena
public StopQueryExecutionResult stopQueryExecution(StopQueryExecutionRequest request)
AmazonAthena
Stops a query execution.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
stopQueryExecution
in interface AmazonAthena
public void shutdown()
AmazonAthena
shutdown
in interface AmazonAthena
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonAthena
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata
in interface AmazonAthena
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.