Package dev.enola.thing.repo
Class AlwaysThingRepositoryStore
java.lang.Object
dev.enola.thing.repo.AlwaysThingProvider
dev.enola.thing.repo.AlwaysThingRepositoryStore
- All Implemented Interfaces:
Provider<String,,Thing> ProviderFromIRI<Thing>,Repository<Thing>,RepositoryRW<Thing>,Store<Thing>,ThingProvider,ThingRepository,ThingRepositoryStore
-
Field Summary
Fields inherited from class dev.enola.thing.repo.AlwaysThingProvider
CTXFields inherited from interface dev.enola.thing.repo.ThingProvider
CTX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlist()list() returns Ts directly (not just the IRIs, likeRepository.listIRI()).listIRI()Store a T.Store multiple Ts; seeStore.store(Object).stream()Methods inherited from class dev.enola.thing.repo.AlwaysThingProvider
getMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.enola.thing.repo.ThingProvider
get, get, get, get, get, getBuilder, getBuilder, getBuilder, getOptional
-
Constructor Details
-
AlwaysThingRepositoryStore
-
-
Method Details
-
listIRI
- Specified by:
listIRIin interfaceRepository<Thing>
-
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>
-
store
Description copied from interface:StoreStore a T.If this store already has this T, then it's replaced (entirely, not "merged").
-
storeAll
Description copied from interface:StoreStore multiple Ts; seeStore.store(Object).
-