Package n10s.rdf.load
Class DirectNodeAdder
- java.lang.Object
-
- n10s.ConfiguredStatementHandler
-
- n10s.RDFToLPGStatementProcessor
-
- n10s.rdf.load.DirectStatementLoader
-
- n10s.rdf.load.DirectNodeAdder
-
- All Implemented Interfaces:
org.eclipse.rdf4j.rio.RDFHandler
public class DirectNodeAdder extends DirectStatementLoader
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class n10s.RDFToLPGStatementProcessor
RDFToLPGStatementProcessor.HeterogeneousDataTyping, RDFToLPGStatementProcessor.NamespacePrefixConflict, RDFToLPGStatementProcessor.PartialCommitException
-
Nested classes/interfaces inherited from class n10s.ConfiguredStatementHandler
ConfiguredStatementHandler.TripleLimitReached
-
-
Field Summary
-
Fields inherited from class n10s.RDFToLPGStatementProcessor
DATATYPE, datatypeConflictFound, graphdb, LABEL, loadWarnings, log, mappedTripleCounter, namespaces, parserConfig, PROPERTY, RELATIONSHIP, relProps, resourceLabels, resourceProps, statements, totalTriplesMapped, totalTriplesParsed, tx, vf
-
-
Constructor Summary
Constructors Constructor Description DirectNodeAdder(org.neo4j.graphdb.GraphDatabaseService db, org.neo4j.graphdb.Transaction tx, RDFParserConfig conf, org.neo4j.logging.Log l)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleStatement(org.eclipse.rdf4j.model.Statement st)protected voidperiodicOperation()NodeResultreturnNode()-
Methods inherited from class n10s.rdf.load.DirectStatementLoader
endRDF, runPartialTx
-
Methods inherited from class n10s.RDFToLPGStatementProcessor
addRelProp, addStatement, defaultToString, getNamespaces, getObjectValue, getParserConfig, getValueWithDatatype, getWarnings, handleComment, handleIRI, handleNamespace, setLabel, setProp, startRDF, toPropertyValue
-
-
-
-
Constructor Detail
-
DirectNodeAdder
public DirectNodeAdder(org.neo4j.graphdb.GraphDatabaseService db, org.neo4j.graphdb.Transaction tx, RDFParserConfig conf, org.neo4j.logging.Log l)
-
-
Method Detail
-
returnNode
public NodeResult returnNode()
-
handleStatement
public void handleStatement(org.eclipse.rdf4j.model.Statement st)
- Specified by:
handleStatementin interfaceorg.eclipse.rdf4j.rio.RDFHandler- Overrides:
handleStatementin classRDFToLPGStatementProcessor
-
periodicOperation
protected void periodicOperation()
- Overrides:
periodicOperationin classDirectStatementLoader
-
-