public interface AmazonDaxClient extends AmazonDynamoDB
With the exception of setRegion(java.lang.String)
, the methods on this interface are used internally by the DAX smart client
when interacting with the DAX server. Application code should use the methods defined on
AmazonDynamoDB
.
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
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.
|
List<com.amazon.dax.bits.disco.ServiceEndpoint> |
endpoints()
Returns the endpoints of the nodes belonging to the DAX cluster.
|
List<Integer> |
methods(int serviceId)
Returns the DAX RPC method identifiers supported by the service.
|
List<Integer> |
services()
Returns the DAX RPC service identifiers supported by the server.
|
void |
setRegion(String region)
Set the AWS region where DAX cluster exists.
|
batchExecuteStatement, batchGetItem, batchGetItem, batchGetItem, batchWriteItem, batchWriteItem, createBackup, createGlobalTable, createTable, createTable, deleteBackup, deleteItem, deleteItem, deleteItem, deleteTable, deleteTable, describeBackup, describeContinuousBackups, describeContributorInsights, describeEndpoints, describeExport, describeGlobalTable, describeGlobalTableSettings, describeKinesisStreamingDestination, describeLimits, describeTable, describeTable, describeTableReplicaAutoScaling, describeTimeToLive, disableKinesisStreamingDestination, enableKinesisStreamingDestination, executeStatement, executeTransaction, exportTableToPointInTime, getCachedResponseMetadata, getItem, getItem, getItem, listBackups, listContributorInsights, listExports, listGlobalTables, listTables, listTables, listTables, listTables, listTables, listTagsOfResource, putItem, putItem, putItem, query, restoreTableFromBackup, restoreTableToPointInTime, scan, scan, scan, scan, setEndpoint, setRegion, shutdown, tagResource, transactGetItems, transactWriteItems, untagResource, updateContinuousBackups, updateContributorInsights, updateGlobalTable, updateGlobalTableSettings, updateItem, updateItem, updateItem, updateTable, updateTable, updateTableReplicaAutoScaling, updateTimeToLive, waiters
void setRegion(String region) throws AmazonClientException
The region is needed for authentication.
region
- the cluster's regionAmazonClientException
- if input is invalid or an error occurredList<AttributeDefinition> defineKeySchema(String tableName) throws AmazonClientException
tableName
- the name of the tableAmazonClientException
- if input is invalid or an error occurredLong defineAttributeListId(List<String> attributeNames, List<String> keyNames) throws AmazonClientException
attributeNames
- the names of the non-key attributeskeyNames
- the names of the key attributesAmazonClientException
- if input is invalid or an error occurredLong defineAttributeListId(List<String> attributeNames) throws AmazonClientException
attributeNames
- the names of the attributesAmazonClientException
- if input is invalid or an error occurredList<String> defineAttributeList(Long attributeListId) throws AmazonClientException
attributeListId
- the attribute list identifierAmazonClientException
- if input is invalid or an error occurredList<com.amazon.dax.bits.disco.ServiceEndpoint> endpoints() throws AmazonClientException
AmazonClientException
- if input is invalid or an error occurredList<Integer> services() throws AmazonClientException
AmazonClientException
- if input is invalid or an error occurredList<Integer> methods(int serviceId) throws AmazonClientException
serviceId
- the service who's methods are being requestedAmazonClientException
- if input is invalid or an error occurred