Package dev.enola.data
@NullMarked
package dev.enola.data
Generic (non-Thing specific) "Data" API.
-
ClassDescriptionMemoryRepositoryRW is an in-memory
RepositoryRWimplemented using aConcurrentHashMap.Provider<K,V> Providers "provide" (AKA "load" or allow you to "get") a value (V), given a key (K).ProviderFromIRI is aProviderwhere the Key is an IRI as String.Queryable<QL,Q, R> Queryable returns Results (R), given a Query (Q).Repository<T>Repository is a Provider which, in addition to being able to getting a single T given an IRI, can also "list" all such IRIs which it "has".RepositoryBuilder builds immutableRepositoryinstances.RepositoryRW<T>RepositoryRW is a readable & writableRepositorywhich is thus also aStore.Store<T>Stores "store" (AKA "save" or you can "put") Ts in(to) them.StoreKV<K,V> StoreKV store Values so that they can be retrieved again later by Key.Trigger<T>Trigger for updates toStore.