Interface ItemCollectionRepository<A>
- All Superinterfaces:
Repository<A,Void>
- All Known Subinterfaces:
OrderItemCollectionByIndexRepository, OrderItemCollectionRecordRepository, OrderItemCollectionRepository
- All Known Implementing Classes:
SimpleItemCollectionRepository
Read-only repository that folds one DynamoDB item-collection query page into a view.
- Since:
- 1.0.0
- Author:
- Matej Nedic
-
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.
-
Method Details
-
findByPartitionKey
-
findByPartitionKeyAndSortKey
-
findByPartitionKeyAndSortKeyBetween
-
findByPartitionKeyAndSortKeyStartingWith
-
existsByPartitionKey
Checks whether the partition contains at least one matching item.
-