Interface RddRdfLoaderRegistry
- All Known Implementing Classes:
RddRdfLoaderRegistryImpl
public interface RddRdfLoaderRegistry
-
Method Summary
Modifier and TypeMethodDescription<T> RddRdfLoader<T>
Search the registry for a loader that can supply a resource of language 'lang' as records of type rdfType.<T> void
register
(org.apache.jena.riot.Lang lang, Class<T> targetType, RddRdfLoader<T> loader) Registration where the (underlying hadoop inputformat-based) loader loads items of type X and the result type is also X<T,
X> void registerMapped
(org.apache.jena.riot.Lang lang, Class<T> targetType, RddRdfLoader<X> loader) Registration where the (underlying hadoop inputformat-based) loader loads items of type X (such as triples) but the result is mapped to type Y (such as quads)
-
Method Details
-
register
Registration where the (underlying hadoop inputformat-based) loader loads items of type X and the result type is also X -
registerMapped
<T,X> void registerMapped(org.apache.jena.riot.Lang lang, Class<T> targetType, RddRdfLoader<X> loader) Registration where the (underlying hadoop inputformat-based) loader loads items of type X (such as triples) but the result is mapped to type Y (such as quads) -
find
Search the registry for a loader that can supply a resource of language 'lang' as records of type rdfType. Returns null if no such loader is found.
-