|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectslib.sglib.io.loader.GraphLoaderGeneric
public class GraphLoaderGeneric
Graph Loader is a class used to facilitate graph loading.
Field Summary | |
---|---|
static org.slf4j.Logger |
logger
|
static GFormat[] |
supportedFormat
The formats currently supported by the generic loader. |
Constructor Summary | |
---|---|
GraphLoaderGeneric()
|
Method Summary | |
---|---|
static slib.sglib.model.graph.G |
createGraph(org.openrdf.model.URI uri)
Create a graph and register it. |
static GFormat[] |
getSupportedFormat()
Access to the set of supported format. |
static void |
load(Collection<GraphConf> graphConfs)
Load the collection of configurations. |
static slib.sglib.model.graph.G |
load(GraphConf graphConf)
Build the graph considering the given configuration. |
static slib.sglib.model.graph.G |
load(GraphConf graphConf,
slib.sglib.model.graph.G g)
Impact the given graph considering the given configuration. |
static slib.sglib.model.graph.G |
populate(GDataConf dataConf,
slib.sglib.model.graph.G g)
Populate a given graph considering a configuration. |
static boolean |
supportFormat(String format)
Check if the generic loader support the given format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static org.slf4j.Logger logger
public static GFormat[] supportedFormat
Constructor Detail |
---|
public GraphLoaderGeneric()
Method Detail |
---|
public static slib.sglib.model.graph.G populate(GDataConf dataConf, slib.sglib.model.graph.G g) throws slib.utils.ex.SLIB_Exception
dataConf
- the object defining the configuration of the data to loadg
- the graph to populate with the data
slib.utils.ex.SLIB_Exception
- if an error is encountered during loading.public static slib.sglib.model.graph.G createGraph(org.openrdf.model.URI uri)
uri
- the URI of the graph
public static slib.sglib.model.graph.G load(GraphConf graphConf) throws slib.utils.ex.SLIB_Exception
DataRepository
.
graphConf
- the graph configuration
slib.utils.ex.SLIB_Exception
public static slib.sglib.model.graph.G load(GraphConf graphConf, slib.sglib.model.graph.G g) throws slib.utils.ex.SLIB_Exception
graphConf
- the graph configuration
slib.utils.ex.SLIB_Exception
public static void load(Collection<GraphConf> graphConfs) throws slib.utils.ex.SLIB_Exception
graphConfs
- the collection of configurations
slib.utils.ex.SLIB_Exception
public static boolean supportFormat(String format)
format
- the format
public static GFormat[] getSupportedFormat()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |