Package-level declarations
Types
Full CRUD repository combining read and write capabilities.
Delegate-based implementation of CRUDRepo that composes separate read and write delegates.
Delegate-based implementation of KeyValueRepo that composes separate read and write delegates.
Delegate-based implementation of KeyValuesRepo that composes separate read and write delegates.
Files watching will not correctly works on Android with version of API lower than API 26
Full version of standard key-value repository with all set/unset/clear/get methods
Full one-to-many key-values repository combining read and write capabilities. Provides default implementations for clearWithValue, removeWithValue, and set.
MutableMap-based MapCRUDRepo. All internal operations will be locked with locker
MutableMap-based KeyValueRepo. All internal operations will be locked with locker
MutableMap-based KeyValuesRepo. All internal operations will be locked with locker
Interface for repositories that provide bidirectional mapping between two sets of key-value types. This is useful for adapting repositories to work with different key and value types.
Map-based ReadKeyValuesRepo. All internal operations will be locked with locker (mostly with SmartRWLocker.withReadAcquire)
MutableMap-based WriteKeyValuesRepo. All internal operations will be locked with locker (mostly with SmartRWLocker.withWriteLock)
Read-only part of a standard CRUD repository.
Read part of KeyValueRepo
Read part of KeyValuesRepo for one-to-many key-value relationships. This repository type allows multiple values to be associated with a single key.
Map-based ReadMapCRUDRepo. All internal operations will be locked with locker (mostly with SmartRWLocker.withReadAcquire)
Map-based ReadKeyValueRepo. All internal operations will be locked with locker (mostly with SmartRWLocker.withReadAcquire)
Type alias for ReadKeyValuesRepo emphasizing one-to-many relationships.
Base marker interface for all repository types in the MicroUtils library. This interface serves as a common ancestor for specialized repository interfaces like ReadCRUDRepo, WriteCRUDRepo, ReadKeyValueRepo, WriteKeyValueRepo, etc.
Simple implementation of MapperRepo that uses provided conversion functions.
Write part of a standard CRUD repository. Provides create, update, and delete operations with reactive flows for change notifications.
Write part of KeyValueRepo
Write part of KeyValuesRepo for one-to-many key-value relationships. Provides methods for adding, removing, and clearing values associated with keys.
MutableMap-based WriteMapCRUDRepo. All internal operations will be locked with locker (mostly with SmartRWLocker.withWriteLock)
MutableMap-based WriteKeyValueRepo. All internal operations will be locked with locker (mostly with SmartRWLocker.withWriteLock)
Type alias for WriteKeyValuesRepo emphasizing one-to-many relationships.
Properties
Returns the ID component of an UpdatedValuePair.
Mirrors WriteCRUDRepo.deletedObjectsIdsFlow under the name onDeletedObjectsIds for consistency with KV repos naming.
Mirrors WriteCRUDRepo.newObjectsFlow under the name onNewObjects for consistency with KV repos naming.
Mirrors WriteCRUDRepo.updatedObjectsFlow under the name onUpdatedObjects for consistency with KV repos naming.
Returns the value component of an UpdatedValuePair.
Functions
List-of-pairs overload of WriteKeyValuesRepo.add.
Vararg overload of WriteKeyValuesRepo.add.
Single-key overload of WriteKeyValuesRepo.add accepting a list of values.
Single-key vararg overload of WriteKeyValuesRepo.add.
MutableMap-based MapCRUDRepo. All internal operations will be locked with locker
MutableMap-based KeyValueRepo. All internal operations will be locked with locker
MutableMap-based KeyValuesRepo. All internal operations will be locked with locker
Vararg overload of WriteCRUDRepo.create for convenience.
Vararg overload of WriteCRUDRepo.deleteById for convenience.
Factory function for creating a SimpleMapperRepo with custom conversion functions.
MutableMap-based MapCRUDRepo. All internal operations will be locked with locker
Creates a MapperRepo with optional custom conversion functions. By default, uses casting for type conversions.
List-of-pairs overload of WriteKeyValuesRepo.remove.
Vararg overload of WriteKeyValuesRepo.remove.
Single-key overload of WriteKeyValuesRepo.remove accepting a list of values.
Single-key vararg overload of WriteKeyValuesRepo.remove.
List-of-pairs overload of WriteKeyValuesRepo.set.
Vararg overload of WriteKeyValuesRepo.set.
List overload of WriteKeyValueRepo.set accepting a list of pairs.
Vararg overload of WriteKeyValueRepo.set accepting pairs.
Single-entry overload of WriteKeyValueRepo.set.
Single-key overload of WriteKeyValuesRepo.set accepting a list of values.
Single-key vararg overload of WriteKeyValuesRepo.set.
Vararg overload of WriteKeyValueRepo.unset.
Vararg overload of WriteKeyValueRepo.unsetWithValues.
Vararg overload of WriteCRUDRepo.update for convenience.