java.lang.Object
org.apache.jena.tdb1.TDB1Loader
Public interface to the loader functionality.
The bulk loader is not transactional.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfinal booleanbooleanstatic voidload(DatasetGraphTDB dataset, InputStream input, org.apache.jena.riot.Lang lang, boolean showProgress, boolean generateStats) Load a dataset from an input stream which must be in N-Quads formstatic voidload(DatasetGraphTDB dataset, String url) Load the contents of URL into a dataset.static voidload(DatasetGraphTDB dataset, String url, boolean showProgress) Load the contents of URL into a dataset.static voidload(DatasetGraphTDB dataset, List<String> urls) Load the contents of URL into a dataset.static voidload(DatasetGraphTDB dataset, List<String> urls, boolean showProgress, boolean generateStats) Load the contents of URL into a dataset.static voidLoad the contents of URL into a graphstatic voidLoad the contents of URL into a graphstatic voidLoad the contents of URL into a graphstatic voidLoad the contents of URL into a graphvoidloadDataset(DatasetGraphTDB dataset, InputStream input, org.apache.jena.riot.Lang lang) Load a dataset from an input streamvoidloadDataset(DatasetGraphTDB dataset, String url) Load a dataset from a URL - assumes URL names a quads formatvoidloadDataset(DatasetGraphTDB dataset, List<String> urls) Load a dataset from a list of URL - assumes the URLs name quads format documentsvoidloadGraph(GraphTDB graph, InputStream in) Load a graph from a list of URL - assumes the URLs name triples format documentsvoidLoad a graph from a URL - assumes URL names a triples format documentvoidLoad a graph from a list of URL - assumes the URLs name triples format documentsstatic voidLoad the contents of URL into a model - may not be as efficient as bulk loading into a TDB graphstatic voidLoad the contents of URL into a model - may not be as efficient as bulk loading into a TDB graphstatic voidLoad the contents of a list of URLs into a model - may not be as efficient as bulk loading into a TDB graphvoidsetChecking(boolean checking) final voidsetGenerateStats(boolean generateStats) final voidsetShowProgress(boolean showProgress)
-
Constructor Details
-
TDB1Loader
public TDB1Loader()
-
-
Method Details
-
load
Load the contents of URL into a dataset. -
load
Load the contents of URL into a dataset. -
load
Load the contents of URL into a dataset. -
load
public static void load(DatasetGraphTDB dataset, List<String> urls, boolean showProgress, boolean generateStats) Load the contents of URL into a dataset. -
load
public static void load(DatasetGraphTDB dataset, InputStream input, org.apache.jena.riot.Lang lang, boolean showProgress, boolean generateStats) Load a dataset from an input stream which must be in N-Quads form -
load
Load the contents of URL into a graph -
load
Load the contents of URL into a graph -
load
Load the contents of URL into a graph -
load
Load the contents of URL into a graph -
loadModel
Load the contents of URL into a model - may not be as efficient as bulk loading into a TDB graph -
loadModel
public static void loadModel(org.apache.jena.rdf.model.Model model, String url, boolean showProgress) Load the contents of URL into a model - may not be as efficient as bulk loading into a TDB graph -
loadModel
public static void loadModel(org.apache.jena.rdf.model.Model model, List<String> urls, boolean showProgress) Load the contents of a list of URLs into a model - may not be as efficient as bulk loading into a TDB graph -
loadGraph
Load a graph from a URL - assumes URL names a triples format document -
loadGraph
Load a graph from a list of URL - assumes the URLs name triples format documents -
loadGraph
Load a graph from a list of URL - assumes the URLs name triples format documents -
loadDataset
Load a dataset from a URL - assumes URL names a quads format -
loadDataset
Load a dataset from a list of URL - assumes the URLs name quads format documents -
loadDataset
Load a dataset from an input stream -
getChecking
public boolean getChecking() -
setChecking
public void setChecking(boolean checking) -
getShowProgress
public boolean getShowProgress() -
setShowProgress
public final void setShowProgress(boolean showProgress) -
getGenerateStats
public final boolean getGenerateStats() -
setGenerateStats
public final void setGenerateStats(boolean generateStats)
-