Package n10s.quadrdf
Class RDFQuadDirectStatementLoader
java.lang.Object
n10s.ConfiguredStatementHandler
n10s.RDFToLPGStatementProcessor
n10s.quadrdf.RDFQuadDirectStatementLoader
- All Implemented Interfaces:
org.eclipse.rdf4j.rio.RDFHandler
Created on 06/06/2019.
- Author:
- Emre Arkan
-
Nested Class Summary
Nested classes/interfaces inherited from class n10s.RDFToLPGStatementProcessor
RDFToLPGStatementProcessor.HeterogeneousDataTyping, RDFToLPGStatementProcessor.NamespacePrefixConflict, RDFToLPGStatementProcessor.PartialCommitExceptionNested 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, statements, totalTriplesMapped, totalTriplesParsed, tx, vf -
Constructor Summary
ConstructorsConstructorDescriptionRDFQuadDirectStatementLoader(org.neo4j.graphdb.GraphDatabaseService db, org.neo4j.graphdb.Transaction tx, RDFParserConfig conf, org.neo4j.logging.Log l) -
Method Summary
Modifier and TypeMethodDescriptionvoidendRDF()voidhandleStatement(org.eclipse.rdf4j.model.Statement st) protected voidrunPartialTx(org.neo4j.graphdb.Transaction txInThread) Methods inherited from class n10s.RDFToLPGStatementProcessor
addRelProp, addStatement, defaultToString, getNamespaces, getObjectValue, getParserConfig, getValueWithDatatype, getWarnings, handleComment, handleIRI, handleNamespace, setLabel, setProp, startRDF, toPropertyValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.rdf4j.rio.RDFHandler
handleComment, handleNamespace, startRDF
-
Constructor Details
-
RDFQuadDirectStatementLoader
public RDFQuadDirectStatementLoader(org.neo4j.graphdb.GraphDatabaseService db, org.neo4j.graphdb.Transaction tx, RDFParserConfig conf, org.neo4j.logging.Log l)
-
-
Method Details
-
endRDF
public void endRDF() throws org.eclipse.rdf4j.rio.RDFHandlerException- Throws:
org.eclipse.rdf4j.rio.RDFHandlerException
-
runPartialTx
-
periodicOperation
protected void periodicOperation() -
handleStatement
public void handleStatement(org.eclipse.rdf4j.model.Statement st) - Specified by:
handleStatementin interfaceorg.eclipse.rdf4j.rio.RDFHandler- Overrides:
handleStatementin classRDFToLPGStatementProcessor
-