DynamoDBTemplate
public interface DynamoDBOperations
Modifier and Type | Method | Description |
---|---|---|
List<com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper.FailedBatch> |
batchDelete(Iterable<?> entities) |
|
<T> List<T> |
batchLoad(Map<Class<?>,List<com.amazonaws.services.dynamodbv2.datamodeling.KeyPair>> itemsToGet) |
|
List<com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper.FailedBatch> |
batchSave(Iterable<?> entities) |
|
<T> int |
count(Class<T> domainClass,
com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBQueryExpression<T> queryExpression) |
|
<T> int |
count(Class<T> domainClass,
com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBScanExpression scanExpression) |
|
<T> int |
count(Class<T> clazz,
com.amazonaws.services.dynamodbv2.model.QueryRequest mutableQueryRequest) |
|
<T> T |
delete(T entity) |
|
<T> String |
getOverriddenTableName(Class<T> domainClass,
String tableName) |
|
<T> com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperTableModel<T> |
getTableModel(Class<T> domainClass) |
Provides access to the DynamoDB mapper table model of the underlying domain
type.
|
<T> T |
load(Class<T> domainClass,
Object hashKey) |
|
<T> T |
load(Class<T> domainClass,
Object hashKey,
Object rangeKey) |
|
<T> com.amazonaws.services.dynamodbv2.datamodeling.PaginatedQueryList<T> |
query(Class<T> domainClass,
com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBQueryExpression<T> queryExpression) |
|
<T> com.amazonaws.services.dynamodbv2.datamodeling.PaginatedQueryList<T> |
query(Class<T> clazz,
com.amazonaws.services.dynamodbv2.model.QueryRequest queryRequest) |
|
<T> T |
save(T entity) |
|
<T> com.amazonaws.services.dynamodbv2.datamodeling.PaginatedScanList<T> |
scan(Class<T> domainClass,
com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBScanExpression scanExpression) |
<T> int count(Class<T> domainClass, com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBQueryExpression<T> queryExpression)
<T> int count(Class<T> domainClass, com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBScanExpression scanExpression)
<T> int count(Class<T> clazz, com.amazonaws.services.dynamodbv2.model.QueryRequest mutableQueryRequest)
<T> com.amazonaws.services.dynamodbv2.datamodeling.PaginatedQueryList<T> query(Class<T> clazz, com.amazonaws.services.dynamodbv2.model.QueryRequest queryRequest)
<T> com.amazonaws.services.dynamodbv2.datamodeling.PaginatedQueryList<T> query(Class<T> domainClass, com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBQueryExpression<T> queryExpression)
<T> com.amazonaws.services.dynamodbv2.datamodeling.PaginatedScanList<T> scan(Class<T> domainClass, com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBScanExpression scanExpression)
<T> List<T> batchLoad(Map<Class<?>,List<com.amazonaws.services.dynamodbv2.datamodeling.KeyPair>> itemsToGet)
<T> T save(T entity)
List<com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper.FailedBatch> batchSave(Iterable<?> entities)
<T> T delete(T entity)
List<com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper.FailedBatch> batchDelete(Iterable<?> entities)
<T> com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperTableModel<T> getTableModel(Class<T> domainClass)
T
- The type of the domain type itselfdomainClass
- A domain typeCopyright © 2018. All rights reserved.