Interface ItemCollectionRepository<A>

All Superinterfaces:
Repository<A,Void>
All Known Subinterfaces:
OrderItemCollectionByIndexRepository, OrderItemCollectionRecordRepository, OrderItemCollectionRepository
All Known Implementing Classes:
SimpleItemCollectionRepository

@NoRepositoryBean public interface ItemCollectionRepository<A> extends Repository<A,Void>
Read-only repository that folds one DynamoDB item-collection query page into a view.
Since:
1.0.0
Author:
Matej Nedic
  • Method Details

    • findByPartitionKey

      Optional<A> findByPartitionKey(Object partitionKey)
      Finds and folds one page of items with the partition key.
    • findByPartitionKeyAndSortKey

      Optional<A> findByPartitionKeyAndSortKey(Object partitionKey, Object sortKey)
      Finds and folds the item at the complete key.
    • findByPartitionKeyAndSortKeyBetween

      Optional<A> findByPartitionKeyAndSortKeyBetween(Object partitionKey, Object lo, Object hi)
      Finds and folds one page from the inclusive sort-key range.
    • findByPartitionKeyAndSortKeyStartingWith

      Optional<A> findByPartitionKeyAndSortKeyStartingWith(Object partitionKey, String prefix)
      Finds and folds one page of items whose sort key starts with the prefix.
    • existsByPartitionKey

      boolean existsByPartitionKey(Object partitionKey)
      Checks whether the partition contains at least one matching item.