Package n10s.quadrdf
Class RDFQuadDirectStatementDeleter
- java.lang.Object
-
- n10s.ConfiguredStatementHandler
-
- n10s.RDFToLPGStatementProcessor
-
- n10s.quadrdf.RDFQuadDirectStatementDeleter
-
- All Implemented Interfaces:
org.eclipse.rdf4j.rio.RDFHandler
public class RDFQuadDirectStatementDeleter extends RDFToLPGStatementProcessor
This class implements an RDF handler to statement-wise delete imported RDF data setsCreated on 18/06/2019.
- Author:
- Emre Arkan
-
-
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, statements, totalTriplesMapped, totalTriplesParsed, tx, vf
-
-
Constructor Summary
Constructors Constructor Description RDFQuadDirectStatementDeleter(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 voidendRDF()java.lang.StringgetbNodeInfo()longgetNotDeletedStatementCount()voidhandleStatement(org.eclipse.rdf4j.model.Statement st)protected voidperiodicOperation()java.lang.IntegerrunPartialTx(org.neo4j.graphdb.Transaction inThreadTransaction)-
Methods inherited from class n10s.RDFToLPGStatementProcessor
addRelProp, addStatement, defaultToString, getNamespaces, getObjectValue, getParserConfig, getValueWithDatatype, getWarnings, handleComment, handleIRI, handleNamespace, setLabel, setProp, startRDF, toPropertyValue
-
-
-
-
Constructor Detail
-
RDFQuadDirectStatementDeleter
public RDFQuadDirectStatementDeleter(org.neo4j.graphdb.GraphDatabaseService db, org.neo4j.graphdb.Transaction tx, RDFParserConfig conf, org.neo4j.logging.Log l)
-
-
Method Detail
-
endRDF
public void endRDF() throws org.eclipse.rdf4j.rio.RDFHandlerException- Throws:
org.eclipse.rdf4j.rio.RDFHandlerException
-
runPartialTx
public java.lang.Integer runPartialTx(org.neo4j.graphdb.Transaction inThreadTransaction)
-
periodicOperation
protected void periodicOperation()
-
getNotDeletedStatementCount
public long getNotDeletedStatementCount()
-
getbNodeInfo
public java.lang.String getbNodeInfo()
-
handleStatement
public void handleStatement(org.eclipse.rdf4j.model.Statement st)
- Specified by:
handleStatementin interfaceorg.eclipse.rdf4j.rio.RDFHandler- Overrides:
handleStatementin classRDFToLPGStatementProcessor
-
-