com.bigdata.samples
Class LoadNamedGraphs

java.lang.Object
  extended by com.bigdata.samples.SampleCode
      extended by com.bigdata.samples.LoadNamedGraphs

public class LoadNamedGraphs
extends SampleCode

Sample code for loading RDF data using the BigdataSail and the openrdf API.

Version:
$Id: LoadNamedGraphs.java 4833 2011-07-03 20:55:49Z thompsonbry $
Author:
Bryan Thompson
See Also:
DataLoader

Field Summary
 
Fields inherited from class com.bigdata.samples.SampleCode
log
 
Constructor Summary
LoadNamedGraphs()
           
 
Method Summary
 void loadAll(Properties properties, File file)
          Load all data from some directory.
static void main(String[] args)
          Loads a bunch of data from a file, zip file, or directory (non-recursive).
 
Methods inherited from class com.bigdata.samples.SampleCode
compare, createBindingSet, doLUBMTest, doU1, doU10, executeConstructQuery, executeFreeTextQuery, executeHistoricalQuery, executeProvenanceQuery, executeSelectQuery, getReader, loadProperties, loadSomeData, loadSomeDataFromADocument, readSomeData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadNamedGraphs

public LoadNamedGraphs()
Method Detail

loadAll

public void loadAll(Properties properties,
                    File file)
             throws Exception
Load all data from some directory.

Parameters:
dir -
Throws:
Exception

main

public static void main(String[] args)
Loads a bunch of data from a file, zip file, or directory (non-recursive). You can use quad.properties as the properties file or anything else that you like.

Parameters:
args - The name of the property and the name of the file or directory to load.
Throws:
Exception


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.