Class TDBLoader

java.lang.Object
org.apache.jena.tdb.TDBLoader

public class TDBLoader extends Object
Public interface to the loader functionality. The bulk loader is not transactional.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    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 form
    static void
    load(org.apache.jena.tdb.store.DatasetGraphTDB dataset, String url)
    Load the contents of URL into a dataset.
    static void
    load(org.apache.jena.tdb.store.DatasetGraphTDB dataset, String url, boolean showProgress)
    Load the contents of URL into a dataset.
    static void
    load(org.apache.jena.tdb.store.DatasetGraphTDB dataset, List<String> urls)
    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(org.apache.jena.tdb.store.GraphTDB graph, String url)
    Load the contents of URL into a graph
    static void
    load(org.apache.jena.tdb.store.GraphTDB graph, String url, boolean showProgress)
    Load the contents of URL into a graph
    static void
    load(org.apache.jena.tdb.store.GraphTDB graph, List<String> urls)
    Load the contents of URL into a graph
    static void
    load(org.apache.jena.tdb.store.GraphTDB graph, List<String> urls, boolean showProgress)
    Load the contents of URL into a graph
    void
    loadDataset(org.apache.jena.tdb.store.DatasetGraphTDB dataset, InputStream input, Lang lang)
    Load a dataset from an input stream
    void
    loadDataset(org.apache.jena.tdb.store.DatasetGraphTDB dataset, String url)
    Load a dataset from a URL - assumes URL names a quads format
    void
    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 documents
    void
    loadGraph(org.apache.jena.tdb.store.GraphTDB graph, InputStream in)
    Load a graph from a list of URL - assumes the URLs name triples format documents
    void
    loadGraph(org.apache.jena.tdb.store.GraphTDB graph, String url)
    Load a graph from a URL - assumes URL names a triples format document
    void
    loadGraph(org.apache.jena.tdb.store.GraphTDB graph, List<String> urls)
    Load a graph from a list of URL - assumes the URLs name triples format documents
    static void
    loadModel(Model model, String url)
    Load the contents of URL into a model - may not be as efficient as bulk loading into a TDB graph
    static void
    loadModel(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
    static void
    loadModel(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
    void
    setChecking(boolean checking)
     
    final void
    setGenerateStats(boolean generateStats)
     
    final void
    setShowProgress(boolean showProgress)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TDBLoader

      public TDBLoader()
  • Method Details

    • load

      public static void load(org.apache.jena.tdb.store.DatasetGraphTDB dataset, String url)
      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

      public static void load(org.apache.jena.tdb.store.DatasetGraphTDB dataset, List<String> urls)
      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

      public static void load(org.apache.jena.tdb.store.GraphTDB graph, String url)
      Load the contents of URL into a graph
    • load

      public static void load(org.apache.jena.tdb.store.GraphTDB graph, String url, boolean showProgress)
      Load the contents of URL into a graph
    • load

      public static void load(org.apache.jena.tdb.store.GraphTDB graph, List<String> urls)
      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

      public static void loadModel(Model model, 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, 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, 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

      public void loadGraph(org.apache.jena.tdb.store.GraphTDB graph, 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, List<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, 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, 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, List<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, 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)