java.lang.Object
org.apache.jena.tdb.TDBLoader
Public interface to the loader functionality.
The bulk loader is not transactional.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
final boolean
boolean
static void
load
(org.apache.jena.tdb.store.DatasetGraphTDB dataset, InputStream input, Lang lang, boolean showProgress, boolean generateStats) Load a dataset from an input stream which must be in N-Quads formstatic void
Load the contents of URL into a dataset.static void
Load the contents of URL into a dataset.static void
Load the contents of URL into a dataset.static void
load
(org.apache.jena.tdb.store.DatasetGraphTDB dataset, List<String> urls, boolean showProgress, boolean generateStats) Load the contents of URL into a dataset.static void
Load the contents of URL into a graphstatic void
Load the contents of URL into a graphstatic void
Load the contents of URL into a graphstatic void
Load the contents of URL into a graphvoid
loadDataset
(org.apache.jena.tdb.store.DatasetGraphTDB dataset, InputStream input, Lang lang) Load a dataset from an input streamvoid
loadDataset
(org.apache.jena.tdb.store.DatasetGraphTDB dataset, String url) Load a dataset from a URL - assumes URL names a quads formatvoid
loadDataset
(org.apache.jena.tdb.store.DatasetGraphTDB dataset, List<String> urls) Load a dataset from a list of URL - assumes the URLs name quads format documentsvoid
loadGraph
(org.apache.jena.tdb.store.GraphTDB graph, InputStream in) Load a graph from a list of URL - assumes the URLs name triples format documentsvoid
Load a graph from a URL - assumes URL names a triples format documentvoid
Load a graph from a list of URL - assumes the URLs name triples format documentsstatic void
Load the contents of URL into a model - may not be as efficient as bulk loading into a TDB graphstatic void
Load the contents of URL into a model - may not be as efficient as bulk loading into a TDB graphstatic void
Load the contents of a list of URLs into a model - may not be as efficient as bulk loading into a TDB graphvoid
setChecking
(boolean checking) final void
setGenerateStats
(boolean generateStats) final void
setShowProgress
(boolean showProgress)
-
Constructor Details
-
TDBLoader
public TDBLoader()
-
-
Method Details
-
load
Load the contents of URL into a dataset. -
load
public static void load(org.apache.jena.tdb.store.DatasetGraphTDB dataset, String url, boolean showProgress) Load the contents of URL into a dataset. -
load
Load the contents of URL into a dataset. -
load
public static void load(org.apache.jena.tdb.store.DatasetGraphTDB dataset, List<String> urls, boolean showProgress, boolean generateStats) Load the contents of URL into a dataset. -
load
public static void load(org.apache.jena.tdb.store.DatasetGraphTDB dataset, InputStream input, 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
public static void load(org.apache.jena.tdb.store.GraphTDB graph, List<String> urls, boolean showProgress) 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
Load the contents of URL into a model - may not be as efficient as bulk loading into a TDB graph -
loadModel
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
public void loadDataset(org.apache.jena.tdb.store.DatasetGraphTDB dataset, InputStream input, Lang lang) 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)
-