Interface RdfSourceFactory
- All Known Implementing Classes:
RdfSourceFactoryImpl
public interface RdfSourceFactory
Turn source references into sources of RDF data.
Note: This interface uses
FileSystem
. It may be possible
to abstract this with a FileSystem
at a later stage.- Author:
- raven
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FileSystem fileSystem, org.apache.jena.riot.Lang lang) default RdfSourceFromResource
default RdfSourceFromResource
default RdfSourceFromResource
default RdfSourceFromResource
get
(org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FileSystem fileSystem, org.apache.jena.riot.Lang lang) Return a collection to which RdfSources can be added from which a union rdd can be obtained
-
Method Details
-
get
-
get
-
get
-
get
default RdfSourceFromResource get(org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FileSystem fileSystem, org.apache.jena.riot.Lang lang) -
create
RdfSourceFromResource create(org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FileSystem fileSystem, org.apache.jena.riot.Lang lang) throws Exception - Throws:
Exception
-
newRdfSourceCollection
RdfSourceCollection newRdfSourceCollection()Return a collection to which RdfSources can be added from which a union rdd can be obtained
-