Class SimpleItemCollectionRepository<A>
java.lang.Object
io.awspring.spring.data.dynamodb.repository.SimpleItemCollectionRepository<A>
- All Implemented Interfaces:
ItemCollectionRepository<A>, Repository<A,Void>
public class SimpleItemCollectionRepository<A>
extends Object
implements ItemCollectionRepository<A>
- Since:
- 1.0.0
- Author:
- Matej Nedic
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleItemCollectionRepository(DynamoDbEntityInformation<A, ?> entityInformation, DynamoDbOperations operations) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexistsByPartitionKey(Object partitionKey) Checks whether the partition contains at least one matching item.findByPartitionKey(Object partitionKey) Finds and folds one page of items with the partition key.findByPartitionKeyAndSortKey(Object partitionKey, Object sortKey) Finds and folds the item at the complete key.findByPartitionKeyAndSortKeyBetween(Object partitionKey, Object lo, Object hi) Finds and folds one page from the inclusive sort-key range.findByPartitionKeyAndSortKeyStartingWith(Object partitionKey, String prefix) Finds and folds one page of items whose sort key starts with the prefix.
-
Constructor Details
-
SimpleItemCollectionRepository
public SimpleItemCollectionRepository(DynamoDbEntityInformation<A, ?> entityInformation, DynamoDbOperations operations)
-
-
Method Details
-
findByPartitionKey
Description copied from interface:ItemCollectionRepositoryFinds and folds one page of items with the partition key.- Specified by:
findByPartitionKeyin interfaceItemCollectionRepository<A>
-
findByPartitionKeyAndSortKey
Description copied from interface:ItemCollectionRepositoryFinds and folds the item at the complete key.- Specified by:
findByPartitionKeyAndSortKeyin interfaceItemCollectionRepository<A>
-
findByPartitionKeyAndSortKeyBetween
Description copied from interface:ItemCollectionRepositoryFinds and folds one page from the inclusive sort-key range.- Specified by:
findByPartitionKeyAndSortKeyBetweenin interfaceItemCollectionRepository<A>
-
findByPartitionKeyAndSortKeyStartingWith
Description copied from interface:ItemCollectionRepositoryFinds and folds one page of items whose sort key starts with the prefix.- Specified by:
findByPartitionKeyAndSortKeyStartingWithin interfaceItemCollectionRepository<A>
-
existsByPartitionKey
Description copied from interface:ItemCollectionRepositoryChecks whether the partition contains at least one matching item.- Specified by:
existsByPartitionKeyin interfaceItemCollectionRepository<A>
-