Read Key Value From CRUDRepo
Inline value class adapter that exposes a ReadCRUDRepo as a ReadKeyValueRepo. Maps key-value read operations to the underlying CRUD repository operations, treating CRUD IDs as keys and CRUD objects as values.
Parameters
The underlying ReadCRUDRepo to delegate operations to
Type Parameters
The type of keys (maps to ReadCRUDRepo ID type)
The type of values (maps to ReadCRUDRepo object type)
Functions
Wraps this ReadKeyValueRepo as a ReadCRUDFromKeyValueRepo, exposing CRUD read operations.
Wraps this ReadKeyValueRepo (mapping keys to iterables) as a ReadKeyValuesFromKeyValueRepo, exposing a one-to-many read interface.
Computes the difference between all entries in this ReadKeyValueRepo and the given other map.
This method should use sorted by Keys search and return the PaginationResult. By default, it should use ascending sort for Keys.
This method should use sorted by Keys search and return the PaginationResult. By default, it should use ascending sort for Keys
Creates a pagination starting from the first page with size equal to the total count of items in this ReadKeyValueRepo. This effectively creates a single page containing all items.
This method should use sorted by Keys search and return the PaginationResult. By default, it should use ascending sort for Keys
Wraps this ReadKeyValueRepo with a MapperRepo to expose a mapped ReadKeyValueRepo.
Wraps this ReadKeyValueRepo with inline conversion lambdas to expose a mapped ReadKeyValueRepo.