Package org.apache.jena.tdb
Class TDBLoader
- java.lang.Object
-
- org.apache.jena.tdb.TDBLoader
-
public class TDBLoader extends java.lang.ObjectPublic interface to the loader functionality. The bulk loader is not transactional.
-
-
Constructor Summary
Constructors Constructor Description TDBLoader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetChecking()booleangetGenerateStats()booleangetShowProgress()static voidload(org.apache.jena.tdb.store.DatasetGraphTDB dataset, java.io.InputStream input, Lang lang, boolean showProgress, boolean generateStats)Load a dataset from an input stream which must be in N-Quads formstatic voidload(org.apache.jena.tdb.store.DatasetGraphTDB dataset, java.lang.String url)Load the contents of URL into a dataset.static voidload(org.apache.jena.tdb.store.DatasetGraphTDB dataset, java.lang.String url, boolean showProgress)Load the contents of URL into a dataset.static voidload(org.apache.jena.tdb.store.DatasetGraphTDB dataset, java.util.List<java.lang.String> urls)Load the contents of URL into a dataset.static voidload(org.apache.jena.tdb.store.DatasetGraphTDB dataset, java.util.List<java.lang.String> urls, boolean showProgress, boolean generateStats)Load the contents of URL into a dataset.static voidload(org.apache.jena.tdb.store.GraphTDB graph, java.lang.String url)Load the contents of URL into a graphstatic voidload(org.apache.jena.tdb.store.GraphTDB graph, java.lang.String url, boolean showProgress)Load the contents of URL into a graphstatic voidload(org.apache.jena.tdb.store.GraphTDB graph, java.util.List<java.lang.String> urls)Load the contents of URL into a graphstatic voidload(org.apache.jena.tdb.store.GraphTDB graph, java.util.List<java.lang.String> urls, boolean showProgress)Load the contents of URL into a graphvoidloadDataset(org.apache.jena.tdb.store.DatasetGraphTDB dataset, java.io.InputStream input, Lang lang)Load a dataset from an input streamvoidloadDataset(org.apache.jena.tdb.store.DatasetGraphTDB dataset, java.lang.String url)Load a dataset from a URL - assumes URL names a quads formatvoidloadDataset(org.apache.jena.tdb.store.DatasetGraphTDB dataset, java.util.List<java.lang.String> urls)Load a dataset from a list of URL - assumes the URLs name quads format documentsvoidloadGraph(org.apache.jena.tdb.store.GraphTDB graph, java.io.InputStream in)Load a graph from a list of URL - assumes the URLs name triples format documentsvoidloadGraph(org.apache.jena.tdb.store.GraphTDB graph, java.lang.String url)Load a graph from a URL - assumes URL names a triples format documentvoidloadGraph(org.apache.jena.tdb.store.GraphTDB graph, java.util.List<java.lang.String> urls)Load a graph from a list of URL - assumes the URLs name triples format documentsstatic voidloadModel(Model model, java.lang.String url)Load the contents of URL into a model - may not be as efficient as bulk loading into a TDB graphstatic voidloadModel(Model model, java.lang.String url, boolean showProgress)Load the contents of URL into a model - may not be as efficient as bulk loading into a TDB graphstatic voidloadModel(Model model, java.util.List<java.lang.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 graphvoidsetChecking(boolean checking)voidsetGenerateStats(boolean generateStats)voidsetShowProgress(boolean showProgress)
-
-
-
Method Detail
-
load
public static void load(org.apache.jena.tdb.store.DatasetGraphTDB dataset, java.lang.String url)Load the contents of URL into a dataset.
-
load
public static void load(org.apache.jena.tdb.store.DatasetGraphTDB dataset, java.lang.String url, boolean showProgress)Load the contents of URL into a dataset.
-
load
public static void load(org.apache.jena.tdb.store.DatasetGraphTDB dataset, java.util.List<java.lang.String> urls)Load the contents of URL into a dataset.
-
load
public static void load(org.apache.jena.tdb.store.DatasetGraphTDB dataset, java.util.List<java.lang.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, java.io.InputStream input, Lang lang, boolean showProgress, boolean generateStats)Load a dataset from an input stream which must be in N-Quads form
-
load
public static void load(org.apache.jena.tdb.store.GraphTDB graph, java.lang.String url)Load the contents of URL into a graph
-
load
public static void load(org.apache.jena.tdb.store.GraphTDB graph, java.lang.String url, boolean showProgress)Load the contents of URL into a graph
-
load
public static void load(org.apache.jena.tdb.store.GraphTDB graph, java.util.List<java.lang.String> urls)Load the contents of URL into a graph
-
load
public static void load(org.apache.jena.tdb.store.GraphTDB graph, java.util.List<java.lang.String> urls, boolean showProgress)Load the contents of URL into a graph
-
loadModel
public static void loadModel(Model model, java.lang.String url)
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(Model model, java.lang.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(Model model, java.util.List<java.lang.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
public void loadGraph(org.apache.jena.tdb.store.GraphTDB graph, java.lang.String url)Load a graph from a URL - assumes URL names a triples format document
-
loadGraph
public void loadGraph(org.apache.jena.tdb.store.GraphTDB graph, java.util.List<java.lang.String> urls)Load a graph from a list of URL - assumes the URLs name triples format documents
-
loadGraph
public void loadGraph(org.apache.jena.tdb.store.GraphTDB graph, java.io.InputStream in)Load a graph from a list of URL - assumes the URLs name triples format documents
-
loadDataset
public void loadDataset(org.apache.jena.tdb.store.DatasetGraphTDB dataset, java.lang.String url)Load a dataset from a URL - assumes URL names a quads format
-
loadDataset
public void loadDataset(org.apache.jena.tdb.store.DatasetGraphTDB dataset, java.util.List<java.lang.String> urls)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, java.io.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)
-
-