public class RAMGraphLoader extends GraphLoader
RAMStatementHandler
.
TODO It is not possible to parallelize the load since the mutation operations
on the RAMGASEngine.RAMGraph
assume a single writer (there is no built in
synchronization). This makes load performance quite slow.GraphLoader.AddStatementHandler
Constructor and Description |
---|
RAMGraphLoader(RAMGASEngine.RAMGraph g) |
Modifier and Type | Method and Description |
---|---|
protected org.openrdf.model.ValueFactory |
getValueFactory()
Return the
ValueFactory that will be set on the RDFParser
. |
protected GraphLoader.AddStatementHandler |
newStatementHandler()
Factory for the helper class that adds statements to the target
graph.
|
loadGraph, loadGraph
public RAMGraphLoader(RAMGASEngine.RAMGraph g)
protected GraphLoader.AddStatementHandler newStatementHandler()
GraphLoader
newStatementHandler
in class GraphLoader
protected org.openrdf.model.ValueFactory getValueFactory()
GraphLoader
ValueFactory
that will be set on the RDFParser
. This is necessary for the RDR parser.getValueFactory
in class GraphLoader
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.