Package dev.enola.data
Interface Repository<T>
- All Superinterfaces:
Provider<String,,T> ProviderFromIRI<T>
- All Known Subinterfaces:
DatatypeRepository,NamespaceRepository,ProtoThingRepository,RepositoryRW<T>,ResourceRepository,ThingRepository,ThingRepositoryStore,ThingsRepository
- All Known Implementing Classes:
AlwaysThingRepositoryStore,CachingNamespaceRepository,DatatypeRepositoryBuilder,EmptyNamespaceRepository,EmptyThingsRepository,EnolaThingProvider,MemoryRepositoryRW,MetaThingProvider,NamespaceRepositoryBuilder,ProtoToThingRepository,RepositoryBuilder,RepositoryBuilder.RepositoryImpl,TemplateThingRepository,ThingMemoryRepositoryROBuilder,ThingMemoryRepositoryRW,ThingNamespaceRepository
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".
This is not quite a real full Queryable, but kind of like a subset of it, because it's
"queryable" for "everything" (without any "query", really).
-
Method Summary
Methods inherited from interface dev.enola.data.ProviderFromIRI
get
-
Method Details
-
listIRI
-
list
list() returns Ts directly (not just the IRIs, likelistIRI()).This default implementation here just combines
listIRI()andProviderFromIRI.get(String). Your subclass may be able to provide a more efficient and more "direct" implementation? -
stream
-