public class ClusterDaxClient extends AbstractAmazonDynamoDB implements AmazonDaxClient
ENDPOINT_PREFIX
Constructor and Description |
---|
ClusterDaxClient(ClientConfig cfg)
Constructs a ClusterDaxClient with the provided configuration.
|
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
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 ClusterDaxClient(ClientConfig cfg)
cfg
- configurationpublic BatchGetItemResult batchGetItem(BatchGetItemRequest arg0)
batchGetItem
in interface AmazonDynamoDB
batchGetItem
in class AbstractAmazonDynamoDB
public BatchGetItemResult batchGetItem(Map<String,KeysAndAttributes> arg0, String arg1)
batchGetItem
in interface AmazonDynamoDB
batchGetItem
in class AbstractAmazonDynamoDB
public BatchGetItemResult batchGetItem(Map<String,KeysAndAttributes> arg0)
batchGetItem
in interface AmazonDynamoDB
batchGetItem
in class AbstractAmazonDynamoDB
public BatchWriteItemResult batchWriteItem(BatchWriteItemRequest arg0)
batchWriteItem
in interface AmazonDynamoDB
batchWriteItem
in class AbstractAmazonDynamoDB
public BatchWriteItemResult batchWriteItem(Map<String,List<WriteRequest>> arg0)
batchWriteItem
in interface AmazonDynamoDB
batchWriteItem
in class AbstractAmazonDynamoDB
public CreateTableResult createTable(CreateTableRequest arg0)
createTable
in interface AmazonDynamoDB
createTable
in class AbstractAmazonDynamoDB
public CreateTableResult createTable(List<AttributeDefinition> arg0, String arg1, List<KeySchemaElement> arg2, ProvisionedThroughput arg3)
createTable
in interface AmazonDynamoDB
createTable
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 DeleteItemResult deleteItem(DeleteItemRequest arg0)
deleteItem
in interface AmazonDynamoDB
deleteItem
in class AbstractAmazonDynamoDB
public DeleteItemResult deleteItem(String arg0, Map<String,AttributeValue> arg1, String arg2)
deleteItem
in interface AmazonDynamoDB
deleteItem
in class AbstractAmazonDynamoDB
public DeleteItemResult deleteItem(String arg0, Map<String,AttributeValue> arg1)
deleteItem
in interface AmazonDynamoDB
deleteItem
in class AbstractAmazonDynamoDB
public DeleteTableResult deleteTable(DeleteTableRequest arg0)
deleteTable
in interface AmazonDynamoDB
deleteTable
in class AbstractAmazonDynamoDB
public DeleteTableResult deleteTable(String arg0)
deleteTable
in interface AmazonDynamoDB
deleteTable
in class AbstractAmazonDynamoDB
public DescribeLimitsResult describeLimits(DescribeLimitsRequest describeLimitsRequest)
describeLimits
in interface AmazonDynamoDB
describeLimits
in class AbstractAmazonDynamoDB
public DescribeTableResult describeTable(DescribeTableRequest arg0)
describeTable
in interface AmazonDynamoDB
describeTable
in class AbstractAmazonDynamoDB
public DescribeTableResult describeTable(String arg0)
describeTable
in interface AmazonDynamoDB
describeTable
in class AbstractAmazonDynamoDB
public 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 occurredpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest arg0)
getCachedResponseMetadata
in interface AmazonDynamoDB
getCachedResponseMetadata
in class AbstractAmazonDynamoDB
public GetItemResult getItem(GetItemRequest arg0)
getItem
in interface AmazonDynamoDB
getItem
in class AbstractAmazonDynamoDB
public GetItemResult getItem(String arg0, Map<String,AttributeValue> arg1, Boolean arg2)
getItem
in interface AmazonDynamoDB
getItem
in class AbstractAmazonDynamoDB
public GetItemResult getItem(String arg0, Map<String,AttributeValue> arg1)
getItem
in interface AmazonDynamoDB
getItem
in class AbstractAmazonDynamoDB
public ListTablesResult listTables()
listTables
in interface AmazonDynamoDB
listTables
in class AbstractAmazonDynamoDB
public ListTablesResult listTables(Integer arg0)
listTables
in interface AmazonDynamoDB
listTables
in class AbstractAmazonDynamoDB
public ListTablesResult listTables(ListTablesRequest arg0)
listTables
in interface AmazonDynamoDB
listTables
in class AbstractAmazonDynamoDB
public ListTablesResult listTables(String arg0, Integer arg1)
listTables
in interface AmazonDynamoDB
listTables
in class AbstractAmazonDynamoDB
public ListTablesResult listTables(String arg0)
listTables
in interface AmazonDynamoDB
listTables
in class AbstractAmazonDynamoDB
public PutItemResult putItem(PutItemRequest arg0)
putItem
in interface AmazonDynamoDB
putItem
in class AbstractAmazonDynamoDB
public PutItemResult putItem(String arg0, Map<String,AttributeValue> arg1, String arg2)
putItem
in interface AmazonDynamoDB
putItem
in class AbstractAmazonDynamoDB
public PutItemResult putItem(String arg0, Map<String,AttributeValue> arg1)
putItem
in interface AmazonDynamoDB
putItem
in class AbstractAmazonDynamoDB
public QueryResult query(QueryRequest arg0)
query
in interface AmazonDynamoDB
query
in class AbstractAmazonDynamoDB
public ScanResult scan(ScanRequest arg0)
scan
in interface AmazonDynamoDB
scan
in class AbstractAmazonDynamoDB
public ScanResult scan(String arg0, List<String> arg1, Map<String,Condition> arg2)
scan
in interface AmazonDynamoDB
scan
in class AbstractAmazonDynamoDB
public ScanResult scan(String arg0, List<String> arg1)
scan
in interface AmazonDynamoDB
scan
in class AbstractAmazonDynamoDB
public ScanResult scan(String arg0, Map<String,Condition> arg1)
scan
in interface AmazonDynamoDB
scan
in class AbstractAmazonDynamoDB
public TransactGetItemsResult transactGetItems(TransactGetItemsRequest request)
transactGetItems
in interface AmazonDynamoDB
transactGetItems
in class AbstractAmazonDynamoDB
public TransactWriteItemsResult transactWriteItems(TransactWriteItemsRequest request)
transactWriteItems
in interface AmazonDynamoDB
transactWriteItems
in class AbstractAmazonDynamoDB
public UpdateItemResult updateItem(String arg0, Map<String,AttributeValue> arg1, Map<String,AttributeValueUpdate> arg2, String arg3)
updateItem
in interface AmazonDynamoDB
updateItem
in class AbstractAmazonDynamoDB
public UpdateItemResult updateItem(String arg0, Map<String,AttributeValue> arg1, Map<String,AttributeValueUpdate> arg2)
updateItem
in interface AmazonDynamoDB
updateItem
in class AbstractAmazonDynamoDB
public UpdateItemResult updateItem(UpdateItemRequest arg0)
updateItem
in interface AmazonDynamoDB
updateItem
in class AbstractAmazonDynamoDB
public UpdateTableResult updateTable(String arg0, ProvisionedThroughput arg1)
updateTable
in interface AmazonDynamoDB
updateTable
in class AbstractAmazonDynamoDB
public UpdateTableResult updateTable(UpdateTableRequest arg0)
updateTable
in interface AmazonDynamoDB
updateTable
in class AbstractAmazonDynamoDB
public void setEndpoint(String arg0)
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 AmazonDynamoDBWaiters waiters()
waiters
in interface AmazonDynamoDB
waiters
in class AbstractAmazonDynamoDB
public void shutdown()
shutdown
in interface AmazonDynamoDB
shutdown
in class AbstractAmazonDynamoDB