com.bigdata.rdf.rio
Interface IRioLoader

All Known Implementing Classes:
BasicRioLoader, PresortRioLoader

public interface IRioLoader

Interface for parsing RDF data using the Sesame RIO parser.

Version:
$Id: IRioLoader.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Field Summary
static boolean DEBUG
          True iff the log level is DEBUG or less.
static boolean INFO
          True iff the log level is INFO or less.
static org.apache.log4j.Logger log
           
 
Method Summary
 void addRioLoaderListener(RioLoaderListener l)
          Register a listener.
 long getInsertRate()
           
 long getInsertTime()
           
 long getStatementsAdded()
           
 void loadRdf(InputStream is, String baseURI, RDFFormat rdfFormat, boolean verify)
          Parse RDF data.
 void loadRdf(Reader reader, String baseURL, RDFFormat rdfFormat, boolean verify)
          Parse RDF data.
 void removeRioLoaderListener(RioLoaderListener l)
          Remove a listener.
 

Field Detail

log

static final org.apache.log4j.Logger log

INFO

static final boolean INFO
True iff the log level is INFO or less.


DEBUG

static final boolean DEBUG
True iff the log level is DEBUG or less.

Method Detail

getStatementsAdded

long getStatementsAdded()

getInsertTime

long getInsertTime()

getInsertRate

long getInsertRate()

addRioLoaderListener

void addRioLoaderListener(RioLoaderListener l)
Register a listener.

Parameters:
l - The listener.

removeRioLoaderListener

void removeRioLoaderListener(RioLoaderListener l)
Remove a listener.

Parameters:
l - The listener.

loadRdf

void loadRdf(Reader reader,
             String baseURL,
             RDFFormat rdfFormat,
             boolean verify)
             throws Exception
Parse RDF data.

Parameters:
reader - The source from which the data will be read.
baseURL - The base URL for those data.
rdfFormat - The interchange format.
verify - Verification is enabled when true.
Throws:
Exception

loadRdf

void loadRdf(InputStream is,
             String baseURI,
             RDFFormat rdfFormat,
             boolean verify)
             throws Exception
Parse RDF data.

Parameters:
is - The source from which the data will be read.
baseURL - The base URL for those data.
rdfFormat - The interchange format.
verify - Verification is enabled when true.
Throws:
Exception


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