public class ClusterDaxClient extends AbstractAmazonDynamoDB implements AmazonDaxClient
| Constructor and Description |
|---|
ClusterDaxClient(ClientConfig cfg)
Constructs a ClusterDaxClient with the provided configuration.
|
| Modifier and Type | Method and Description |
|---|---|
BatchGetItemResult |
batchGetItem(BatchGetItemRequest arg0) |
BatchGetItemResult |
batchGetItem(Map<String,KeysAndAttributes> arg0) |
BatchGetItemResult |
batchGetItem(Map<String,KeysAndAttributes> arg0,
String arg1) |
BatchWriteItemResult |
batchWriteItem(BatchWriteItemRequest arg0) |
BatchWriteItemResult |
batchWriteItem(Map<String,List<WriteRequest>> arg0) |
CreateTableResult |
createTable(CreateTableRequest arg0) |
CreateTableResult |
createTable(List<AttributeDefinition> arg0,
String arg1,
List<KeySchemaElement> arg2,
ProvisionedThroughput arg3) |
List<String> |
defineAttributeList(Long attributeListId)
Returns the attribute names for the provided attribute list identifier
|
Long |
defineAttributeListId(List<String> attributeNames)
Returns the attribute list identifier for the provided attributes.
|
Long |
defineAttributeListId(List<String> attributeNames,
List<String> keyNames)
Returns the attribute list identifier for the provided attributes.
|
List<AttributeDefinition> |
defineKeySchema(String tableName)
Returns definitions of the key attributes for a table.
|
DeleteItemResult |
deleteItem(DeleteItemRequest arg0) |
DeleteItemResult |
deleteItem(String arg0,
Map<String,AttributeValue> arg1) |
DeleteItemResult |
deleteItem(String arg0,
Map<String,AttributeValue> arg1,
String arg2) |
DeleteTableResult |
deleteTable(DeleteTableRequest arg0) |
DeleteTableResult |
deleteTable(String arg0) |
DescribeLimitsResult |
describeLimits(DescribeLimitsRequest describeLimitsRequest) |
DescribeTableResult |
describeTable(DescribeTableRequest arg0) |
DescribeTableResult |
describeTable(String arg0) |
List<ServiceEndpoint> |
endpoints()
Returns the endpoints of the nodes belonging to the DAX cluster.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest arg0) |
GetItemResult |
getItem(GetItemRequest arg0) |
GetItemResult |
getItem(String arg0,
Map<String,AttributeValue> arg1) |
GetItemResult |
getItem(String arg0,
Map<String,AttributeValue> arg1,
Boolean arg2) |
ListTablesResult |
listTables() |
ListTablesResult |
listTables(Integer arg0) |
ListTablesResult |
listTables(ListTablesRequest arg0) |
ListTablesResult |
listTables(String arg0) |
ListTablesResult |
listTables(String arg0,
Integer arg1) |
List<Integer> |
methods(int serviceId)
Returns the DAX RPC method identifiers supported by the service.
|
PutItemResult |
putItem(PutItemRequest arg0) |
PutItemResult |
putItem(String arg0,
Map<String,AttributeValue> arg1) |
PutItemResult |
putItem(String arg0,
Map<String,AttributeValue> arg1,
String arg2) |
QueryResult |
query(QueryRequest arg0) |
ScanResult |
scan(ScanRequest arg0) |
ScanResult |
scan(String arg0,
List<String> arg1) |
ScanResult |
scan(String arg0,
List<String> arg1,
Map<String,Condition> arg2) |
ScanResult |
scan(String arg0,
Map<String,Condition> arg1) |
List<Integer> |
services()
Returns the DAX RPC service identifiers supported by the server.
|
void |
setEndpoint(String arg0) |
void |
setRegion(Region region)
Set the AWS region where DAX cluster exists.
|
void |
shutdown() |
TransactGetItemsResult |
transactGetItems(TransactGetItemsRequest request) |
TransactWriteItemsResult |
transactWriteItems(TransactWriteItemsRequest request) |
UpdateItemResult |
updateItem(String arg0,
Map<String,AttributeValue> arg1,
Map<String,AttributeValueUpdate> arg2) |
UpdateItemResult |
updateItem(String arg0,
Map<String,AttributeValue> arg1,
Map<String,AttributeValueUpdate> arg2,
String arg3) |
UpdateItemResult |
updateItem(UpdateItemRequest arg0) |
UpdateTableResult |
updateTable(String arg0,
ProvisionedThroughput arg1) |
UpdateTableResult |
updateTable(UpdateTableRequest arg0) |
AmazonDynamoDBWaiters |
waiters() |
public ClusterDaxClient(ClientConfig cfg)
cfg - configurationpublic BatchGetItemResult batchGetItem(BatchGetItemRequest arg0)
public BatchGetItemResult batchGetItem(Map<String,KeysAndAttributes> arg0, String arg1)
public BatchWriteItemResult batchWriteItem(BatchWriteItemRequest arg0)
public CreateTableResult createTable(CreateTableRequest arg0)
public CreateTableResult createTable(List<AttributeDefinition> arg0, String arg1, List<KeySchemaElement> arg2, ProvisionedThroughput arg3)
public List<AttributeDefinition> defineKeySchema(String tableName) throws AmazonClientException
AmazonDaxClientdefineKeySchema in interface AmazonDaxClienttableName - the name of the tableAmazonClientException - if input is invalid or an error occurredpublic Long defineAttributeListId(List<String> attributeNames, List<String> keyNames) throws AmazonClientException
AmazonDaxClientdefineAttributeListId in interface AmazonDaxClientattributeNames - 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
AmazonDaxClientdefineAttributeListId in interface AmazonDaxClientattributeNames - the names of the attributesAmazonClientException - if input is invalid or an error occurredpublic List<String> defineAttributeList(Long attributeListId) throws AmazonClientException
AmazonDaxClientdefineAttributeList in interface AmazonDaxClientattributeListId - the attribute list identifierAmazonClientException - if input is invalid or an error occurredpublic DeleteItemResult deleteItem(DeleteItemRequest arg0)
public DeleteItemResult deleteItem(String arg0, Map<String,AttributeValue> arg1, String arg2)
public DeleteTableResult deleteTable(DeleteTableRequest arg0)
public DeleteTableResult deleteTable(String arg0)
public DescribeLimitsResult describeLimits(DescribeLimitsRequest describeLimitsRequest)
public DescribeTableResult describeTable(DescribeTableRequest arg0)
public DescribeTableResult describeTable(String arg0)
public List<ServiceEndpoint> endpoints() throws AmazonClientException
AmazonDaxClientendpoints in interface AmazonDaxClientAmazonClientException - if input is invalid or an error occurredpublic List<Integer> services() throws AmazonClientException
AmazonDaxClientservices in interface AmazonDaxClientAmazonClientException - if input is invalid or an error occurredpublic List<Integer> methods(int serviceId) throws AmazonClientException
AmazonDaxClientmethods in interface AmazonDaxClientserviceId - the service who's methods are being requestedAmazonClientException - if input is invalid or an error occurredpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest arg0)
public GetItemResult getItem(GetItemRequest arg0)
public ListTablesResult listTables()
public ListTablesResult listTables(Integer arg0)
public ListTablesResult listTables(ListTablesRequest arg0)
public ListTablesResult listTables(String arg0)
public PutItemResult putItem(PutItemRequest arg0)
public QueryResult query(QueryRequest arg0)
public ScanResult scan(ScanRequest arg0)
public TransactGetItemsResult transactGetItems(TransactGetItemsRequest request)
public TransactWriteItemsResult transactWriteItems(TransactWriteItemsRequest request)
public UpdateItemResult updateItem(String arg0, Map<String,AttributeValue> arg1, Map<String,AttributeValueUpdate> arg2, String arg3)
public UpdateItemResult updateItem(String arg0, Map<String,AttributeValue> arg1, Map<String,AttributeValueUpdate> arg2)
public UpdateItemResult updateItem(UpdateItemRequest arg0)
public UpdateTableResult updateTable(String arg0, ProvisionedThroughput arg1)
public UpdateTableResult updateTable(UpdateTableRequest arg0)
public void setEndpoint(String arg0)
public void setRegion(Region region)
AmazonDaxClientThe region is needed for authentication.
setRegion in interface AmazonDaxClientregion - the cluster's regionpublic AmazonDynamoDBWaiters waiters()
public void shutdown()