slib.sglib.io.loader.csv
Class GraphLoader_CSV

java.lang.Object
  extended by slib.sglib.io.loader.csv.GraphLoader_CSV
All Implemented Interfaces:
GraphLoader

public class GraphLoader_CSV
extends Object
implements GraphLoader

Author:
seb

Constructor Summary
GraphLoader_CSV()
           
 
Method Summary
 void addMapping(int id, String prefix)
           
 void addStatementTemplate(int src_id, int target_id, org.openrdf.model.URI predicate_URI)
           
 slib.sglib.model.graph.G load(GraphConf conf)
          Load a new Graph considering the given configuration
 void populate(GDataConf conf, slib.sglib.model.graph.G g)
          Populate an existing graph considering the given configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphLoader_CSV

public GraphLoader_CSV()
Method Detail

addMapping

public void addMapping(int id,
                       String prefix)
Parameters:
id -
prefix -

addStatementTemplate

public void addStatementTemplate(int src_id,
                                 int target_id,
                                 org.openrdf.model.URI predicate_URI)
Parameters:
src_id -
target_id -
predicate_URI -

load

public slib.sglib.model.graph.G load(GraphConf conf)
                              throws slib.utils.ex.SLIB_Exception
Description copied from interface: GraphLoader
Load a new Graph considering the given configuration

Specified by:
load in interface GraphLoader
Parameters:
conf - a GraphConf object specifying the configuration the loader must takes into account
Returns:
a graph G
Throws:
slib.utils.ex.SLIB_Exception

populate

public void populate(GDataConf conf,
                     slib.sglib.model.graph.G g)
              throws slib.utils.ex.SLIB_Exception
Description copied from interface: GraphLoader
Populate an existing graph considering the given configuration

Specified by:
populate in interface GraphLoader
Parameters:
conf - a GraphConf object specifying the configuration the loader must takes into account
Throws:
slib.utils.ex.SLIB_Exception


Copyright © 2013. All Rights Reserved.