Package n10s.rdf.delete
Class DirectStatementDeleter
java.lang.Object
n10s.ConfiguredStatementHandler
n10s.RDFToLPGStatementProcessor
n10s.rdf.delete.DirectStatementDeleter
- All Implemented Interfaces:
org.eclipse.rdf4j.rio.RDFHandler
This class implements an RDF handler to statement-wise delete imported RDF data
Created on 03/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, resourceLabels, resourceProps, statements, totalTriplesMapped, totalTriplesParsed, tx, vf -
Constructor Summary
ConstructorsConstructorDescriptionDirectStatementDeleter(org.neo4j.graphdb.GraphDatabaseService db, org.neo4j.graphdb.Transaction tx, RDFParserConfig conf, org.neo4j.logging.Log l) -
Method Summary
Modifier and TypeMethodDescriptionvoidendRDF()longprotected voidrunPartialTx(org.neo4j.graphdb.Transaction inThreadTransaction) Methods inherited from class n10s.RDFToLPGStatementProcessor
addRelProp, addStatement, defaultToString, getNamespaces, getObjectValue, getParserConfig, getValueWithDatatype, getWarnings, handleComment, handleIRI, handleNamespace, handleStatement, setLabel, setProp, startRDF, toPropertyValue
-
Constructor Details
-
DirectStatementDeleter
public DirectStatementDeleter(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()- Specified by:
periodicOperationin classRDFToLPGStatementProcessor
-
getNotDeletedStatementCount
public long getNotDeletedStatementCount() -
getbNodeInfo
-