public class RDFSailInserter extends AbstractRDFInserter
contexts
Constructor and Description |
---|
RDFSailInserter(SailConnection con,
ValueFactory vf) |
RDFSailInserter(SailConnection con,
ValueFactory vf,
UpdateContext uc)
Creates a new RDFInserter object that preserves bnode IDs and that does not enforce any context upon statements
that are reported to it.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addNamespace(String prefix,
String name) |
protected void |
addStatement(Resource subj,
IRI pred,
Value obj,
Resource ctxt) |
endRDF, enforceContext, enforcesContext, getContexts, handleNamespace, handleStatement, preservesBNodeIDs, setPreserveBNodeIDs
handleComment, startRDF
public RDFSailInserter(SailConnection con, ValueFactory vf, UpdateContext uc)
con
- The connection to use for the add operations.public RDFSailInserter(SailConnection con, ValueFactory vf)
protected void addNamespace(String prefix, String name) throws RDF4JException
addNamespace
in class AbstractRDFInserter
RDF4JException
protected void addStatement(Resource subj, IRI pred, Value obj, Resource ctxt) throws RDF4JException
addStatement
in class AbstractRDFInserter
RDF4JException
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.