public class ClusterDaxAsyncClient extends AbstractAmazonDynamoDBAsync implements AmazonDaxAsyncClient
AsyncHandler
can be used to receive notification when an asynchronous operation completes.ENDPOINT_PREFIX
Constructor and Description |
---|
ClusterDaxAsyncClient(ClientConfig cfg)
Constructs a new asynchronous client to invoke service methods on DAX.
|
ClusterDaxAsyncClient(ClientConfig cfg,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on DAX using the specified
executor service.
|
batchExecuteStatementAsync, batchExecuteStatementAsync, createBackupAsync, createBackupAsync, createGlobalTableAsync, createGlobalTableAsync, deleteBackupAsync, deleteBackupAsync, describeBackupAsync, describeBackupAsync, describeContinuousBackupsAsync, describeContinuousBackupsAsync, describeContributorInsightsAsync, describeContributorInsightsAsync, describeEndpointsAsync, describeEndpointsAsync, describeExportAsync, describeExportAsync, describeGlobalTableAsync, describeGlobalTableAsync, describeGlobalTableSettingsAsync, describeGlobalTableSettingsAsync, describeKinesisStreamingDestinationAsync, describeKinesisStreamingDestinationAsync, describeTableReplicaAutoScalingAsync, describeTableReplicaAutoScalingAsync, describeTimeToLiveAsync, describeTimeToLiveAsync, disableKinesisStreamingDestinationAsync, disableKinesisStreamingDestinationAsync, enableKinesisStreamingDestinationAsync, enableKinesisStreamingDestinationAsync, executeStatementAsync, executeStatementAsync, executeTransactionAsync, executeTransactionAsync, exportTableToPointInTimeAsync, exportTableToPointInTimeAsync, listBackupsAsync, listBackupsAsync, listContributorInsightsAsync, listContributorInsightsAsync, listExportsAsync, listExportsAsync, listGlobalTablesAsync, listGlobalTablesAsync, listTagsOfResourceAsync, listTagsOfResourceAsync, restoreTableFromBackupAsync, restoreTableFromBackupAsync, restoreTableToPointInTimeAsync, restoreTableToPointInTimeAsync, tagResourceAsync, tagResourceAsync, transactGetItemsAsync, transactWriteItemsAsync, untagResourceAsync, untagResourceAsync, updateContinuousBackupsAsync, updateContinuousBackupsAsync, updateContributorInsightsAsync, updateContributorInsightsAsync, updateGlobalTableAsync, updateGlobalTableAsync, updateGlobalTableSettingsAsync, updateGlobalTableSettingsAsync, updateTableReplicaAutoScalingAsync, updateTableReplicaAutoScalingAsync, updateTimeToLiveAsync, updateTimeToLiveAsync
batchExecuteStatement, createBackup, createGlobalTable, deleteBackup, describeBackup, describeContinuousBackups, describeContributorInsights, describeEndpoints, describeExport, describeGlobalTable, describeGlobalTableSettings, describeKinesisStreamingDestination, describeTableReplicaAutoScaling, describeTimeToLive, disableKinesisStreamingDestination, enableKinesisStreamingDestination, executeStatement, executeTransaction, exportTableToPointInTime, listBackups, listContributorInsights, listExports, listGlobalTables, listTagsOfResource, restoreTableFromBackup, restoreTableToPointInTime, tagResource, untagResource, updateContinuousBackups, updateContributorInsights, updateGlobalTable, updateGlobalTableSettings, updateTableReplicaAutoScaling, updateTimeToLive
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
batchExecuteStatementAsync, batchExecuteStatementAsync, createBackupAsync, createBackupAsync, createGlobalTableAsync, createGlobalTableAsync, deleteBackupAsync, deleteBackupAsync, describeBackupAsync, describeBackupAsync, describeContinuousBackupsAsync, describeContinuousBackupsAsync, describeContributorInsightsAsync, describeContributorInsightsAsync, describeEndpointsAsync, describeEndpointsAsync, describeExportAsync, describeExportAsync, describeGlobalTableAsync, describeGlobalTableAsync, describeGlobalTableSettingsAsync, describeGlobalTableSettingsAsync, describeKinesisStreamingDestinationAsync, describeKinesisStreamingDestinationAsync, describeTableReplicaAutoScalingAsync, describeTableReplicaAutoScalingAsync, describeTimeToLiveAsync, describeTimeToLiveAsync, disableKinesisStreamingDestinationAsync, disableKinesisStreamingDestinationAsync, enableKinesisStreamingDestinationAsync, enableKinesisStreamingDestinationAsync, executeStatementAsync, executeStatementAsync, executeTransactionAsync, executeTransactionAsync, exportTableToPointInTimeAsync, exportTableToPointInTimeAsync, listBackupsAsync, listBackupsAsync, listContributorInsightsAsync, listContributorInsightsAsync, listExportsAsync, listExportsAsync, listGlobalTablesAsync, listGlobalTablesAsync, listTagsOfResourceAsync, listTagsOfResourceAsync, restoreTableFromBackupAsync, restoreTableFromBackupAsync, restoreTableToPointInTimeAsync, restoreTableToPointInTimeAsync, tagResourceAsync, tagResourceAsync, transactGetItemsAsync, transactWriteItemsAsync, untagResourceAsync, untagResourceAsync, updateContinuousBackupsAsync, updateContinuousBackupsAsync, updateContributorInsightsAsync, updateContributorInsightsAsync, updateGlobalTableAsync, updateGlobalTableAsync, updateGlobalTableSettingsAsync, updateGlobalTableSettingsAsync, updateTableReplicaAutoScalingAsync, updateTableReplicaAutoScalingAsync, updateTimeToLiveAsync, updateTimeToLiveAsync
batchExecuteStatement, createBackup, createGlobalTable, deleteBackup, describeBackup, describeContinuousBackups, describeContributorInsights, describeEndpoints, describeExport, describeGlobalTable, describeGlobalTableSettings, describeKinesisStreamingDestination, describeTableReplicaAutoScaling, describeTimeToLive, disableKinesisStreamingDestination, enableKinesisStreamingDestination, executeStatement, executeTransaction, exportTableToPointInTime, listBackups, listContributorInsights, listExports, listGlobalTables, listTagsOfResource, restoreTableFromBackup, restoreTableToPointInTime, tagResource, untagResource, updateContinuousBackups, updateContributorInsights, updateGlobalTable, updateGlobalTableSettings, updateTableReplicaAutoScaling, updateTimeToLive
public ClusterDaxAsyncClient(ClientConfig cfg)
cfg
- Cluster client configurationExecutors.newCachedThreadPool(ThreadFactory)
public ClusterDaxAsyncClient(ClientConfig cfg, ExecutorService executorService)
cfg
- Cluster client configurationexecutorService
- The executor service by which all asynchronous requests will be
executed.public ExecutorService getExecutorService()
public Future<BatchGetItemResult> batchGetItemAsync(BatchGetItemRequest request)
batchGetItemAsync
in interface AmazonDynamoDBAsync
batchGetItemAsync
in class AbstractAmazonDynamoDBAsync
public Future<BatchGetItemResult> batchGetItemAsync(BatchGetItemRequest request, AsyncHandler<BatchGetItemRequest,BatchGetItemResult> asyncHandler)
batchGetItemAsync
in interface AmazonDynamoDBAsync
batchGetItemAsync
in class AbstractAmazonDynamoDBAsync
public Future<BatchGetItemResult> batchGetItemAsync(Map<String,KeysAndAttributes> requestItems, String returnConsumedCapacity)
batchGetItemAsync
in interface AmazonDynamoDBAsync
batchGetItemAsync
in class AbstractAmazonDynamoDBAsync
batchGetItemAsync(BatchGetItemRequest)
public Future<BatchGetItemResult> batchGetItemAsync(Map<String,KeysAndAttributes> requestItems, String returnConsumedCapacity, AsyncHandler<BatchGetItemRequest,BatchGetItemResult> asyncHandler)
batchGetItemAsync
in interface AmazonDynamoDBAsync
batchGetItemAsync
in class AbstractAmazonDynamoDBAsync
batchGetItemAsync(BatchGetItemRequest, AsyncHandler)
public Future<BatchGetItemResult> batchGetItemAsync(Map<String,KeysAndAttributes> requestItems)
batchGetItemAsync
in interface AmazonDynamoDBAsync
batchGetItemAsync
in class AbstractAmazonDynamoDBAsync
batchGetItemAsync(BatchGetItemRequest)
public Future<BatchGetItemResult> batchGetItemAsync(Map<String,KeysAndAttributes> requestItems, AsyncHandler<BatchGetItemRequest,BatchGetItemResult> asyncHandler)
batchGetItemAsync
in interface AmazonDynamoDBAsync
batchGetItemAsync
in class AbstractAmazonDynamoDBAsync
batchGetItemAsync(BatchGetItemRequest, AsyncHandler)
public Future<BatchWriteItemResult> batchWriteItemAsync(BatchWriteItemRequest request)
batchWriteItemAsync
in interface AmazonDynamoDBAsync
batchWriteItemAsync
in class AbstractAmazonDynamoDBAsync
public Future<BatchWriteItemResult> batchWriteItemAsync(BatchWriteItemRequest request, AsyncHandler<BatchWriteItemRequest,BatchWriteItemResult> asyncHandler)
batchWriteItemAsync
in interface AmazonDynamoDBAsync
batchWriteItemAsync
in class AbstractAmazonDynamoDBAsync
public Future<BatchWriteItemResult> batchWriteItemAsync(Map<String,List<WriteRequest>> requestItems)
batchWriteItemAsync
in interface AmazonDynamoDBAsync
batchWriteItemAsync
in class AbstractAmazonDynamoDBAsync
batchWriteItemAsync(BatchWriteItemRequest)
public Future<BatchWriteItemResult> batchWriteItemAsync(Map<String,List<WriteRequest>> requestItems, AsyncHandler<BatchWriteItemRequest,BatchWriteItemResult> asyncHandler)
batchWriteItemAsync
in interface AmazonDynamoDBAsync
batchWriteItemAsync
in class AbstractAmazonDynamoDBAsync
batchWriteItemAsync(BatchWriteItemRequest, AsyncHandler)
public Future<TransactGetItemsResult> transactGetItemsAsync(TransactGetItemsRequest request, AsyncHandler<TransactGetItemsRequest,TransactGetItemsResult> asyncHandler)
transactGetItemsAsync
in interface AmazonDynamoDBAsync
transactGetItemsAsync
in class AbstractAmazonDynamoDBAsync
transactGetItemsAsync(TransactGetItemsRequest, AsyncHandler)
public TransactGetItemsResult transactGetItems(TransactGetItemsRequest request)
transactGetItems
in interface AmazonDynamoDB
transactGetItems
in class AbstractAmazonDynamoDB
public Future<TransactWriteItemsResult> transactWriteItemsAsync(TransactWriteItemsRequest request, AsyncHandler<TransactWriteItemsRequest,TransactWriteItemsResult> asyncHandler)
transactWriteItemsAsync
in interface AmazonDynamoDBAsync
transactWriteItemsAsync
in class AbstractAmazonDynamoDBAsync
transactWriteItemsAsync(TransactWriteItemsRequest, AsyncHandler)
public TransactWriteItemsResult transactWriteItems(TransactWriteItemsRequest request)
transactWriteItems
in interface AmazonDynamoDB
transactWriteItems
in class AbstractAmazonDynamoDB
public Future<CreateTableResult> createTableAsync(CreateTableRequest request)
createTableAsync
in interface AmazonDynamoDBAsync
createTableAsync
in class AbstractAmazonDynamoDBAsync
public Future<CreateTableResult> createTableAsync(CreateTableRequest request, AsyncHandler<CreateTableRequest,CreateTableResult> asyncHandler)
createTableAsync
in interface AmazonDynamoDBAsync
createTableAsync
in class AbstractAmazonDynamoDBAsync
public Future<CreateTableResult> createTableAsync(List<AttributeDefinition> attributeDefinitions, String tableName, List<KeySchemaElement> keySchema, ProvisionedThroughput provisionedThroughput)
createTableAsync
in interface AmazonDynamoDBAsync
createTableAsync
in class AbstractAmazonDynamoDBAsync
createTableAsync(CreateTableRequest)
public Future<CreateTableResult> createTableAsync(List<AttributeDefinition> attributeDefinitions, String tableName, List<KeySchemaElement> keySchema, ProvisionedThroughput provisionedThroughput, AsyncHandler<CreateTableRequest,CreateTableResult> asyncHandler)
createTableAsync
in interface AmazonDynamoDBAsync
createTableAsync
in class AbstractAmazonDynamoDBAsync
createTableAsync(CreateTableRequest, AsyncHandler)
public Future<DeleteItemResult> deleteItemAsync(DeleteItemRequest request)
deleteItemAsync
in interface AmazonDynamoDBAsync
deleteItemAsync
in class AbstractAmazonDynamoDBAsync
public Future<DeleteItemResult> deleteItemAsync(DeleteItemRequest request, AsyncHandler<DeleteItemRequest,DeleteItemResult> asyncHandler)
deleteItemAsync
in interface AmazonDynamoDBAsync
deleteItemAsync
in class AbstractAmazonDynamoDBAsync
public Future<DeleteItemResult> deleteItemAsync(String tableName, Map<String,AttributeValue> key)
deleteItemAsync
in interface AmazonDynamoDBAsync
deleteItemAsync
in class AbstractAmazonDynamoDBAsync
deleteItemAsync(DeleteItemRequest)
public Future<DeleteItemResult> deleteItemAsync(String tableName, Map<String,AttributeValue> key, AsyncHandler<DeleteItemRequest,DeleteItemResult> asyncHandler)
deleteItemAsync
in interface AmazonDynamoDBAsync
deleteItemAsync
in class AbstractAmazonDynamoDBAsync
deleteItemAsync(DeleteItemRequest, AsyncHandler)
public Future<DeleteItemResult> deleteItemAsync(String tableName, Map<String,AttributeValue> key, String returnValues)
deleteItemAsync
in interface AmazonDynamoDBAsync
deleteItemAsync
in class AbstractAmazonDynamoDBAsync
deleteItemAsync(DeleteItemRequest)
public Future<DeleteItemResult> deleteItemAsync(String tableName, Map<String,AttributeValue> key, String returnValues, AsyncHandler<DeleteItemRequest,DeleteItemResult> asyncHandler)
deleteItemAsync
in interface AmazonDynamoDBAsync
deleteItemAsync
in class AbstractAmazonDynamoDBAsync
deleteItemAsync(DeleteItemRequest, AsyncHandler)
public Future<DeleteTableResult> deleteTableAsync(DeleteTableRequest request)
deleteTableAsync
in interface AmazonDynamoDBAsync
deleteTableAsync
in class AbstractAmazonDynamoDBAsync
public Future<DeleteTableResult> deleteTableAsync(DeleteTableRequest request, AsyncHandler<DeleteTableRequest,DeleteTableResult> asyncHandler)
deleteTableAsync
in interface AmazonDynamoDBAsync
deleteTableAsync
in class AbstractAmazonDynamoDBAsync
public Future<DeleteTableResult> deleteTableAsync(String tableName)
deleteTableAsync
in interface AmazonDynamoDBAsync
deleteTableAsync
in class AbstractAmazonDynamoDBAsync
deleteTableAsync(DeleteTableRequest)
public Future<DeleteTableResult> deleteTableAsync(String tableName, AsyncHandler<DeleteTableRequest,DeleteTableResult> asyncHandler)
deleteTableAsync
in interface AmazonDynamoDBAsync
deleteTableAsync
in class AbstractAmazonDynamoDBAsync
deleteTableAsync(DeleteTableRequest, AsyncHandler)
public Future<DescribeLimitsResult> describeLimitsAsync(DescribeLimitsRequest request)
describeLimitsAsync
in interface AmazonDynamoDBAsync
describeLimitsAsync
in class AbstractAmazonDynamoDBAsync
public Future<DescribeLimitsResult> describeLimitsAsync(DescribeLimitsRequest request, AsyncHandler<DescribeLimitsRequest,DescribeLimitsResult> asyncHandler)
describeLimitsAsync
in interface AmazonDynamoDBAsync
describeLimitsAsync
in class AbstractAmazonDynamoDBAsync
public Future<DescribeTableResult> describeTableAsync(DescribeTableRequest request)
describeTableAsync
in interface AmazonDynamoDBAsync
describeTableAsync
in class AbstractAmazonDynamoDBAsync
public Future<DescribeTableResult> describeTableAsync(DescribeTableRequest request, AsyncHandler<DescribeTableRequest,DescribeTableResult> asyncHandler)
describeTableAsync
in interface AmazonDynamoDBAsync
describeTableAsync
in class AbstractAmazonDynamoDBAsync
public Future<DescribeTableResult> describeTableAsync(String tableName)
describeTableAsync
in interface AmazonDynamoDBAsync
describeTableAsync
in class AbstractAmazonDynamoDBAsync
describeTableAsync(DescribeTableRequest)
public Future<DescribeTableResult> describeTableAsync(String tableName, AsyncHandler<DescribeTableRequest,DescribeTableResult> asyncHandler)
describeTableAsync
in interface AmazonDynamoDBAsync
describeTableAsync
in class AbstractAmazonDynamoDBAsync
describeTableAsync(DescribeTableRequest, AsyncHandler)
public Future<GetItemResult> getItemAsync(GetItemRequest request)
getItemAsync
in interface AmazonDynamoDBAsync
getItemAsync
in class AbstractAmazonDynamoDBAsync
public Future<GetItemResult> getItemAsync(GetItemRequest request, AsyncHandler<GetItemRequest,GetItemResult> asyncHandler)
getItemAsync
in interface AmazonDynamoDBAsync
getItemAsync
in class AbstractAmazonDynamoDBAsync
public Future<GetItemResult> getItemAsync(String tableName, Map<String,AttributeValue> key)
getItemAsync
in interface AmazonDynamoDBAsync
getItemAsync
in class AbstractAmazonDynamoDBAsync
getItemAsync(GetItemRequest)
public Future<GetItemResult> getItemAsync(String tableName, Map<String,AttributeValue> key, AsyncHandler<GetItemRequest,GetItemResult> asyncHandler)
getItemAsync
in interface AmazonDynamoDBAsync
getItemAsync
in class AbstractAmazonDynamoDBAsync
getItemAsync(GetItemRequest, AsyncHandler)
public Future<GetItemResult> getItemAsync(String tableName, Map<String,AttributeValue> key, Boolean consistentRead)
getItemAsync
in interface AmazonDynamoDBAsync
getItemAsync
in class AbstractAmazonDynamoDBAsync
getItemAsync(GetItemRequest)
public Future<GetItemResult> getItemAsync(String tableName, Map<String,AttributeValue> key, Boolean consistentRead, AsyncHandler<GetItemRequest,GetItemResult> asyncHandler)
getItemAsync
in interface AmazonDynamoDBAsync
getItemAsync
in class AbstractAmazonDynamoDBAsync
getItemAsync(GetItemRequest, AsyncHandler)
public Future<ListTablesResult> listTablesAsync(ListTablesRequest request)
listTablesAsync
in interface AmazonDynamoDBAsync
listTablesAsync
in class AbstractAmazonDynamoDBAsync
public Future<ListTablesResult> listTablesAsync(ListTablesRequest request, AsyncHandler<ListTablesRequest,ListTablesResult> asyncHandler)
listTablesAsync
in interface AmazonDynamoDBAsync
listTablesAsync
in class AbstractAmazonDynamoDBAsync
public Future<ListTablesResult> listTablesAsync()
listTablesAsync
in interface AmazonDynamoDBAsync
listTablesAsync
in class AbstractAmazonDynamoDBAsync
listTablesAsync(ListTablesRequest)
public Future<ListTablesResult> listTablesAsync(AsyncHandler<ListTablesRequest,ListTablesResult> asyncHandler)
listTablesAsync
in interface AmazonDynamoDBAsync
listTablesAsync
in class AbstractAmazonDynamoDBAsync
listTablesAsync(ListTablesRequest, AsyncHandler)
public Future<ListTablesResult> listTablesAsync(String exclusiveStartTableName)
listTablesAsync
in interface AmazonDynamoDBAsync
listTablesAsync
in class AbstractAmazonDynamoDBAsync
listTablesAsync(ListTablesRequest)
public Future<ListTablesResult> listTablesAsync(String exclusiveStartTableName, AsyncHandler<ListTablesRequest,ListTablesResult> asyncHandler)
listTablesAsync
in interface AmazonDynamoDBAsync
listTablesAsync
in class AbstractAmazonDynamoDBAsync
listTablesAsync(ListTablesRequest, AsyncHandler)
public Future<ListTablesResult> listTablesAsync(String exclusiveStartTableName, Integer limit)
listTablesAsync
in interface AmazonDynamoDBAsync
listTablesAsync
in class AbstractAmazonDynamoDBAsync
listTablesAsync(ListTablesRequest)
public Future<ListTablesResult> listTablesAsync(String exclusiveStartTableName, Integer limit, AsyncHandler<ListTablesRequest,ListTablesResult> asyncHandler)
listTablesAsync
in interface AmazonDynamoDBAsync
listTablesAsync
in class AbstractAmazonDynamoDBAsync
listTablesAsync(ListTablesRequest, AsyncHandler)
public Future<ListTablesResult> listTablesAsync(Integer limit)
listTablesAsync
in interface AmazonDynamoDBAsync
listTablesAsync
in class AbstractAmazonDynamoDBAsync
listTablesAsync(ListTablesRequest)
public Future<ListTablesResult> listTablesAsync(Integer limit, AsyncHandler<ListTablesRequest,ListTablesResult> asyncHandler)
listTablesAsync
in interface AmazonDynamoDBAsync
listTablesAsync
in class AbstractAmazonDynamoDBAsync
listTablesAsync(ListTablesRequest, AsyncHandler)
public Future<PutItemResult> putItemAsync(PutItemRequest request)
putItemAsync
in interface AmazonDynamoDBAsync
putItemAsync
in class AbstractAmazonDynamoDBAsync
public Future<PutItemResult> putItemAsync(PutItemRequest request, AsyncHandler<PutItemRequest,PutItemResult> asyncHandler)
putItemAsync
in interface AmazonDynamoDBAsync
putItemAsync
in class AbstractAmazonDynamoDBAsync
public Future<PutItemResult> putItemAsync(String tableName, Map<String,AttributeValue> item)
putItemAsync
in interface AmazonDynamoDBAsync
putItemAsync
in class AbstractAmazonDynamoDBAsync
putItemAsync(PutItemRequest)
public Future<PutItemResult> putItemAsync(String tableName, Map<String,AttributeValue> item, AsyncHandler<PutItemRequest,PutItemResult> asyncHandler)
putItemAsync
in interface AmazonDynamoDBAsync
putItemAsync
in class AbstractAmazonDynamoDBAsync
putItemAsync(PutItemRequest, AsyncHandler)
public Future<PutItemResult> putItemAsync(String tableName, Map<String,AttributeValue> item, String returnValues)
putItemAsync
in interface AmazonDynamoDBAsync
putItemAsync
in class AbstractAmazonDynamoDBAsync
putItemAsync(PutItemRequest)
public Future<PutItemResult> putItemAsync(String tableName, Map<String,AttributeValue> item, String returnValues, AsyncHandler<PutItemRequest,PutItemResult> asyncHandler)
putItemAsync
in interface AmazonDynamoDBAsync
putItemAsync
in class AbstractAmazonDynamoDBAsync
putItemAsync(PutItemRequest, AsyncHandler)
public Future<QueryResult> queryAsync(QueryRequest request)
queryAsync
in interface AmazonDynamoDBAsync
queryAsync
in class AbstractAmazonDynamoDBAsync
public Future<QueryResult> queryAsync(QueryRequest request, AsyncHandler<QueryRequest,QueryResult> asyncHandler)
queryAsync
in interface AmazonDynamoDBAsync
queryAsync
in class AbstractAmazonDynamoDBAsync
public Future<ScanResult> scanAsync(ScanRequest request)
scanAsync
in interface AmazonDynamoDBAsync
scanAsync
in class AbstractAmazonDynamoDBAsync
public Future<ScanResult> scanAsync(ScanRequest request, AsyncHandler<ScanRequest,ScanResult> asyncHandler)
scanAsync
in interface AmazonDynamoDBAsync
scanAsync
in class AbstractAmazonDynamoDBAsync
public Future<ScanResult> scanAsync(String tableName, List<String> attributesToGet)
scanAsync
in interface AmazonDynamoDBAsync
scanAsync
in class AbstractAmazonDynamoDBAsync
scanAsync(ScanRequest)
public Future<ScanResult> scanAsync(String tableName, List<String> attributesToGet, AsyncHandler<ScanRequest,ScanResult> asyncHandler)
scanAsync
in interface AmazonDynamoDBAsync
scanAsync
in class AbstractAmazonDynamoDBAsync
scanAsync(ScanRequest, AsyncHandler)
public Future<ScanResult> scanAsync(String tableName, Map<String,Condition> scanFilter)
scanAsync
in interface AmazonDynamoDBAsync
scanAsync
in class AbstractAmazonDynamoDBAsync
scanAsync(ScanRequest)
public Future<ScanResult> scanAsync(String tableName, Map<String,Condition> scanFilter, AsyncHandler<ScanRequest,ScanResult> asyncHandler)
scanAsync
in interface AmazonDynamoDBAsync
scanAsync
in class AbstractAmazonDynamoDBAsync
scanAsync(ScanRequest, AsyncHandler)
public Future<ScanResult> scanAsync(String tableName, List<String> attributesToGet, Map<String,Condition> scanFilter)
scanAsync
in interface AmazonDynamoDBAsync
scanAsync
in class AbstractAmazonDynamoDBAsync
scanAsync(ScanRequest)
public Future<ScanResult> scanAsync(String tableName, List<String> attributesToGet, Map<String,Condition> scanFilter, AsyncHandler<ScanRequest,ScanResult> asyncHandler)
scanAsync
in interface AmazonDynamoDBAsync
scanAsync
in class AbstractAmazonDynamoDBAsync
scanAsync(ScanRequest, AsyncHandler)
public Future<UpdateItemResult> updateItemAsync(UpdateItemRequest request)
updateItemAsync
in interface AmazonDynamoDBAsync
updateItemAsync
in class AbstractAmazonDynamoDBAsync
public Future<UpdateItemResult> updateItemAsync(UpdateItemRequest request, AsyncHandler<UpdateItemRequest,UpdateItemResult> asyncHandler)
updateItemAsync
in interface AmazonDynamoDBAsync
updateItemAsync
in class AbstractAmazonDynamoDBAsync
public Future<UpdateItemResult> updateItemAsync(String tableName, Map<String,AttributeValue> key, Map<String,AttributeValueUpdate> attributeUpdates)
updateItemAsync
in interface AmazonDynamoDBAsync
updateItemAsync
in class AbstractAmazonDynamoDBAsync
updateItemAsync(UpdateItemRequest)
public Future<UpdateItemResult> updateItemAsync(String tableName, Map<String,AttributeValue> key, Map<String,AttributeValueUpdate> attributeUpdates, AsyncHandler<UpdateItemRequest,UpdateItemResult> asyncHandler)
updateItemAsync
in interface AmazonDynamoDBAsync
updateItemAsync
in class AbstractAmazonDynamoDBAsync
updateItemAsync(UpdateItemRequest, AsyncHandler)
public Future<UpdateItemResult> updateItemAsync(String tableName, Map<String,AttributeValue> key, Map<String,AttributeValueUpdate> attributeUpdates, String returnValues)
updateItemAsync
in interface AmazonDynamoDBAsync
updateItemAsync
in class AbstractAmazonDynamoDBAsync
updateItemAsync(UpdateItemRequest)
public Future<UpdateItemResult> updateItemAsync(String tableName, Map<String,AttributeValue> key, Map<String,AttributeValueUpdate> attributeUpdates, String returnValues, AsyncHandler<UpdateItemRequest,UpdateItemResult> asyncHandler)
updateItemAsync
in interface AmazonDynamoDBAsync
updateItemAsync
in class AbstractAmazonDynamoDBAsync
updateItemAsync(UpdateItemRequest, AsyncHandler)
public Future<UpdateTableResult> updateTableAsync(UpdateTableRequest request)
updateTableAsync
in interface AmazonDynamoDBAsync
updateTableAsync
in class AbstractAmazonDynamoDBAsync
public Future<UpdateTableResult> updateTableAsync(UpdateTableRequest request, AsyncHandler<UpdateTableRequest,UpdateTableResult> asyncHandler)
updateTableAsync
in interface AmazonDynamoDBAsync
updateTableAsync
in class AbstractAmazonDynamoDBAsync
public Future<UpdateTableResult> updateTableAsync(String tableName, ProvisionedThroughput provisionedThroughput)
updateTableAsync
in interface AmazonDynamoDBAsync
updateTableAsync
in class AbstractAmazonDynamoDBAsync
updateTableAsync(UpdateTableRequest)
public Future<UpdateTableResult> updateTableAsync(String tableName, ProvisionedThroughput provisionedThroughput, AsyncHandler<UpdateTableRequest,UpdateTableResult> asyncHandler)
updateTableAsync
in interface AmazonDynamoDBAsync
updateTableAsync
in class AbstractAmazonDynamoDBAsync
updateTableAsync(UpdateTableRequest, AsyncHandler)
public void shutdown()
shutdown
in interface AmazonDynamoDB
shutdown
in class AbstractAmazonDynamoDB
public void setEndpoint(String endpoint)
setEndpoint
in interface AmazonDynamoDB
setEndpoint
in class AbstractAmazonDynamoDB
public void setRegion(Region region)
setRegion
in interface AmazonDynamoDB
setRegion
in class AbstractAmazonDynamoDB
public void setRegion(String region)
AmazonDaxClient
The region is needed for authentication.
setRegion
in interface AmazonDaxClient
region
- the cluster's regionpublic BatchGetItemResult batchGetItem(BatchGetItemRequest request)
batchGetItem
in interface AmazonDynamoDB
batchGetItem
in class AbstractAmazonDynamoDB
public BatchGetItemResult batchGetItem(Map<String,KeysAndAttributes> requestItems, String returnConsumedCapacity)
batchGetItem
in interface AmazonDynamoDB
batchGetItem
in class AbstractAmazonDynamoDB
public BatchGetItemResult batchGetItem(Map<String,KeysAndAttributes> requestItems)
batchGetItem
in interface AmazonDynamoDB
batchGetItem
in class AbstractAmazonDynamoDB
public BatchWriteItemResult batchWriteItem(BatchWriteItemRequest request)
batchWriteItem
in interface AmazonDynamoDB
batchWriteItem
in class AbstractAmazonDynamoDB
public BatchWriteItemResult batchWriteItem(Map<String,List<WriteRequest>> requestItems)
batchWriteItem
in interface AmazonDynamoDB
batchWriteItem
in class AbstractAmazonDynamoDB
public CreateTableResult createTable(CreateTableRequest request)
createTable
in interface AmazonDynamoDB
createTable
in class AbstractAmazonDynamoDB
public CreateTableResult createTable(List<AttributeDefinition> attributeDefinitions, String tableName, List<KeySchemaElement> keySchema, ProvisionedThroughput provisionedThroughput)
createTable
in interface AmazonDynamoDB
createTable
in class AbstractAmazonDynamoDB
public DeleteItemResult deleteItem(DeleteItemRequest request)
deleteItem
in interface AmazonDynamoDB
deleteItem
in class AbstractAmazonDynamoDB
public DeleteItemResult deleteItem(String tableName, Map<String,AttributeValue> key)
deleteItem
in interface AmazonDynamoDB
deleteItem
in class AbstractAmazonDynamoDB
public DeleteItemResult deleteItem(String tableName, Map<String,AttributeValue> key, String returnValues)
deleteItem
in interface AmazonDynamoDB
deleteItem
in class AbstractAmazonDynamoDB
public DeleteTableResult deleteTable(DeleteTableRequest request)
deleteTable
in interface AmazonDynamoDB
deleteTable
in class AbstractAmazonDynamoDB
public DeleteTableResult deleteTable(String tableName)
deleteTable
in interface AmazonDynamoDB
deleteTable
in class AbstractAmazonDynamoDB
public DescribeLimitsResult describeLimits(DescribeLimitsRequest request)
describeLimits
in interface AmazonDynamoDB
describeLimits
in class AbstractAmazonDynamoDB
public DescribeTableResult describeTable(DescribeTableRequest request)
describeTable
in interface AmazonDynamoDB
describeTable
in class AbstractAmazonDynamoDB
public DescribeTableResult describeTable(String tableName)
describeTable
in interface AmazonDynamoDB
describeTable
in class AbstractAmazonDynamoDB
public GetItemResult getItem(GetItemRequest request)
getItem
in interface AmazonDynamoDB
getItem
in class AbstractAmazonDynamoDB
public GetItemResult getItem(String tableName, Map<String,AttributeValue> key)
getItem
in interface AmazonDynamoDB
getItem
in class AbstractAmazonDynamoDB
public GetItemResult getItem(String tableName, Map<String,AttributeValue> key, Boolean consistentRead)
getItem
in interface AmazonDynamoDB
getItem
in class AbstractAmazonDynamoDB
public ListTablesResult listTables(ListTablesRequest request)
listTables
in interface AmazonDynamoDB
listTables
in class AbstractAmazonDynamoDB
public ListTablesResult listTables()
listTables
in interface AmazonDynamoDB
listTables
in class AbstractAmazonDynamoDB
public ListTablesResult listTables(String exclusiveStartTableName)
listTables
in interface AmazonDynamoDB
listTables
in class AbstractAmazonDynamoDB
public ListTablesResult listTables(String exclusiveStartTableName, Integer limit)
listTables
in interface AmazonDynamoDB
listTables
in class AbstractAmazonDynamoDB
public ListTablesResult listTables(Integer limit)
listTables
in interface AmazonDynamoDB
listTables
in class AbstractAmazonDynamoDB
public PutItemResult putItem(PutItemRequest request)
putItem
in interface AmazonDynamoDB
putItem
in class AbstractAmazonDynamoDB
public PutItemResult putItem(String tableName, Map<String,AttributeValue> item)
putItem
in interface AmazonDynamoDB
putItem
in class AbstractAmazonDynamoDB
public PutItemResult putItem(String tableName, Map<String,AttributeValue> item, String returnValues)
putItem
in interface AmazonDynamoDB
putItem
in class AbstractAmazonDynamoDB
public QueryResult query(QueryRequest request)
query
in interface AmazonDynamoDB
query
in class AbstractAmazonDynamoDB
public ScanResult scan(ScanRequest request)
scan
in interface AmazonDynamoDB
scan
in class AbstractAmazonDynamoDB
public ScanResult scan(String tableName, List<String> attributesToGet)
scan
in interface AmazonDynamoDB
scan
in class AbstractAmazonDynamoDB
public ScanResult scan(String tableName, Map<String,Condition> scanFilter)
scan
in interface AmazonDynamoDB
scan
in class AbstractAmazonDynamoDB
public ScanResult scan(String tableName, List<String> attributesToGet, Map<String,Condition> scanFilter)
scan
in interface AmazonDynamoDB
scan
in class AbstractAmazonDynamoDB
public UpdateItemResult updateItem(UpdateItemRequest request)
updateItem
in interface AmazonDynamoDB
updateItem
in class AbstractAmazonDynamoDB
public UpdateItemResult updateItem(String tableName, Map<String,AttributeValue> key, Map<String,AttributeValueUpdate> attributeUpdates)
updateItem
in interface AmazonDynamoDB
updateItem
in class AbstractAmazonDynamoDB
public UpdateItemResult updateItem(String tableName, Map<String,AttributeValue> key, Map<String,AttributeValueUpdate> attributeUpdates, String returnValues)
updateItem
in interface AmazonDynamoDB
updateItem
in class AbstractAmazonDynamoDB
public UpdateTableResult updateTable(UpdateTableRequest request)
updateTable
in interface AmazonDynamoDB
updateTable
in class AbstractAmazonDynamoDB
public UpdateTableResult updateTable(String tableName, ProvisionedThroughput provisionedThroughput)
updateTable
in interface AmazonDynamoDB
updateTable
in class AbstractAmazonDynamoDB
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
getCachedResponseMetadata
in interface AmazonDynamoDB
getCachedResponseMetadata
in class AbstractAmazonDynamoDB
public AmazonDynamoDBWaiters waiters()
waiters
in interface AmazonDynamoDB
waiters
in class AbstractAmazonDynamoDB
public List<AttributeDefinition> defineKeySchema(String tableName) throws AmazonClientException
AmazonDaxClient
defineKeySchema
in interface AmazonDaxClient
tableName
- the name of the tableAmazonClientException
- if input is invalid or an error occurredpublic Long defineAttributeListId(List<String> attributeNames, List<String> keyNames) throws AmazonClientException
AmazonDaxClient
defineAttributeListId
in interface AmazonDaxClient
attributeNames
- the names of the non-key attributeskeyNames
- the names of the key attributesAmazonClientException
- if input is invalid or an error occurredpublic Long defineAttributeListId(List<String> attributeNames) throws AmazonClientException
AmazonDaxClient
defineAttributeListId
in interface AmazonDaxClient
attributeNames
- the names of the attributesAmazonClientException
- if input is invalid or an error occurredpublic List<String> defineAttributeList(Long attributeListId) throws AmazonClientException
AmazonDaxClient
defineAttributeList
in interface AmazonDaxClient
attributeListId
- the attribute list identifierAmazonClientException
- if input is invalid or an error occurredpublic List<com.amazon.dax.bits.disco.ServiceEndpoint> endpoints() throws AmazonClientException
AmazonDaxClient
endpoints
in interface AmazonDaxClient
AmazonClientException
- if input is invalid or an error occurredpublic List<Integer> services() throws AmazonClientException
AmazonDaxClient
services
in interface AmazonDaxClient
AmazonClientException
- if input is invalid or an error occurredpublic List<Integer> methods(int serviceId) throws AmazonClientException
AmazonDaxClient
methods
in interface AmazonDaxClient
serviceId
- the service who's methods are being requestedAmazonClientException
- if input is invalid or an error occurred