Package n10s.rdf.preview
Class StatementPreviewer
java.lang.Object
n10s.ConfiguredStatementHandler
n10s.RDFToLPGStatementProcessor
n10s.rdf.preview.StatementPreviewer
- All Implemented Interfaces:
org.eclipse.rdf4j.rio.RDFHandler
Created by jbarrasa on 09/11/2016.
-
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
ConstructorsConstructorDescriptionStatementPreviewer(org.neo4j.graphdb.GraphDatabaseService db, org.neo4j.graphdb.Transaction tx, RDFParserConfig conf, Map<String, org.neo4j.graphdb.Node> virtualNodes, List<org.neo4j.graphdb.Relationship> virtualRels, org.neo4j.logging.Log l) -
Method Summary
Modifier and TypeMethodDescriptionvoidendRDF()voidhandleStatement(org.eclipse.rdf4j.model.Statement st) protected voidMethods inherited from class n10s.RDFToLPGStatementProcessor
addRelProp, addStatement, defaultToString, getNamespaces, getObjectValue, getParserConfig, getValueWithDatatype, getWarnings, handleComment, handleIRI, handleNamespace, setLabel, setProp, startRDF, toPropertyValue
-
Constructor Details
-
StatementPreviewer
public StatementPreviewer(org.neo4j.graphdb.GraphDatabaseService db, org.neo4j.graphdb.Transaction tx, RDFParserConfig conf, Map<String, org.neo4j.graphdb.Node> virtualNodes, List<org.neo4j.graphdb.Relationship> virtualRels, org.neo4j.logging.Log l)
-
-
Method Details
-
handleStatement
public void handleStatement(org.eclipse.rdf4j.model.Statement st) - Specified by:
handleStatementin interfaceorg.eclipse.rdf4j.rio.RDFHandler- Overrides:
handleStatementin classRDFToLPGStatementProcessor
-
endRDF
public void endRDF() throws org.eclipse.rdf4j.rio.RDFHandlerException- Throws:
org.eclipse.rdf4j.rio.RDFHandlerException
-
periodicOperation
protected void periodicOperation()- Specified by:
periodicOperationin classRDFToLPGStatementProcessor
-