Package dev.enola.thing.repo
Interface ThingsRepository
- All Superinterfaces:
Provider<String,,Thing> ProviderFromIRI<Thing>,Repository<Thing>,ThingProvider,ThingRepository,ThingsProvider
- All Known Implementing Classes:
EmptyThingsRepository
-
Field Summary
Fields inherited from interface dev.enola.thing.repo.ThingProvider
CTX -
Method Summary
Methods inherited from interface dev.enola.thing.repo.ThingProvider
get, get, get, get, getBuilder, getBuilder, getBuilder, getOptionalMethods inherited from interface dev.enola.thing.repo.ThingsProvider
getThings
-
Method Details
-
list
Description copied from interface:Repositorylist() returns Ts directly (not just the IRIs, likeRepository.listIRI()).This default implementation here just combines
Repository.listIRI()andProviderFromIRI.get(String). Your subclass may be able to provide a more efficient and more "direct" implementation?- Specified by:
listin interfaceRepository<Thing>
-
stream
- Specified by:
streamin interfaceRepository<Thing>
-
listIRI
- Specified by:
listIRIin interfaceRepository<Thing>
-
get
Description copied from interface:ProviderGet.- Specified by:
getin interfaceProvider<String,Thing> - Specified by:
getin interfaceProviderFromIRI<Thing>- Specified by:
getin interfaceThingProvider- Parameters:
iri- Key, never null- Returns:
- value, or null if there is no Value for the given key
-