@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonTimestreamQueryAsync extends AbstractAmazonTimestreamQuery implements AmazonTimestreamQueryAsync
AmazonTimestreamQueryAsync
. Convenient method forms pass through to the
corresponding overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<CancelQueryResult> |
cancelQueryAsync(CancelQueryRequest request)
Cancels a query that has been issued.
|
Future<CancelQueryResult> |
cancelQueryAsync(CancelQueryRequest request,
AsyncHandler<CancelQueryRequest,CancelQueryResult> asyncHandler)
Cancels a query that has been issued.
|
Future<DescribeEndpointsResult> |
describeEndpointsAsync(DescribeEndpointsRequest request)
DescribeEndpoints returns a list of available endpoints to make Timestream API calls against.
|
Future<DescribeEndpointsResult> |
describeEndpointsAsync(DescribeEndpointsRequest request,
AsyncHandler<DescribeEndpointsRequest,DescribeEndpointsResult> asyncHandler)
DescribeEndpoints returns a list of available endpoints to make Timestream API calls against.
|
Future<QueryResult> |
queryAsync(QueryRequest request)
Query is a synchronous operation that enables you to execute a query.
|
Future<QueryResult> |
queryAsync(QueryRequest request,
AsyncHandler<QueryRequest,QueryResult> asyncHandler)
Query is a synchronous operation that enables you to execute a query.
|
cancelQuery, describeEndpoints, getCachedResponseMetadata, query, shutdown
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancelQuery, describeEndpoints, getCachedResponseMetadata, query, shutdown
public Future<CancelQueryResult> cancelQueryAsync(CancelQueryRequest request)
AmazonTimestreamQueryAsync
Cancels a query that has been issued. Cancellation is guaranteed only if the query has not completed execution
before the cancellation request was issued. Because cancellation is an idempotent operation, subsequent
cancellation requests will return a CancellationMessage
, indicating that the query has already been
canceled.
cancelQueryAsync
in interface AmazonTimestreamQueryAsync
public Future<CancelQueryResult> cancelQueryAsync(CancelQueryRequest request, AsyncHandler<CancelQueryRequest,CancelQueryResult> asyncHandler)
AmazonTimestreamQueryAsync
Cancels a query that has been issued. Cancellation is guaranteed only if the query has not completed execution
before the cancellation request was issued. Because cancellation is an idempotent operation, subsequent
cancellation requests will return a CancellationMessage
, indicating that the query has already been
canceled.
cancelQueryAsync
in interface AmazonTimestreamQueryAsync
asyncHandler
- 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<DescribeEndpointsResult> describeEndpointsAsync(DescribeEndpointsRequest request)
AmazonTimestreamQueryAsync
DescribeEndpoints returns a list of available endpoints to make Timestream API calls against. This API is available through both Write and Query.
Because Timestream’s SDKs are designed to transparently work with the service’s architecture, including the management and mapping of the service endpoints, it is not recommended that you use this API unless:
Your application uses a programming language that does not yet have SDK support
You require better control over the client-side implementation
For detailed information on how to use DescribeEndpoints, see The Endpoint Discovery Pattern and REST APIs.
describeEndpointsAsync
in interface AmazonTimestreamQueryAsync
public Future<DescribeEndpointsResult> describeEndpointsAsync(DescribeEndpointsRequest request, AsyncHandler<DescribeEndpointsRequest,DescribeEndpointsResult> asyncHandler)
AmazonTimestreamQueryAsync
DescribeEndpoints returns a list of available endpoints to make Timestream API calls against. This API is available through both Write and Query.
Because Timestream’s SDKs are designed to transparently work with the service’s architecture, including the management and mapping of the service endpoints, it is not recommended that you use this API unless:
Your application uses a programming language that does not yet have SDK support
You require better control over the client-side implementation
For detailed information on how to use DescribeEndpoints, see The Endpoint Discovery Pattern and REST APIs.
describeEndpointsAsync
in interface AmazonTimestreamQueryAsync
asyncHandler
- 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<QueryResult> queryAsync(QueryRequest request)
AmazonTimestreamQueryAsync
Query is a synchronous operation that enables you to execute a query. Query will timeout after 60 seconds. You must update the default timeout in the SDK to support a timeout of 60 seconds. The result set will be truncated to 1MB. Service quotas apply. For more information, see Quotas in the Timestream Developer Guide.
queryAsync
in interface AmazonTimestreamQueryAsync
public Future<QueryResult> queryAsync(QueryRequest request, AsyncHandler<QueryRequest,QueryResult> asyncHandler)
AmazonTimestreamQueryAsync
Query is a synchronous operation that enables you to execute a query. Query will timeout after 60 seconds. You must update the default timeout in the SDK to support a timeout of 60 seconds. The result set will be truncated to 1MB. Service quotas apply. For more information, see Quotas in the Timestream Developer Guide.
queryAsync
in interface AmazonTimestreamQueryAsync
asyncHandler
- 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.