public class SailUpdateExecutor extends Object
SailUpdate.execute() using
SailConnection.evaluate(TupleExpr, Dataset, BindingSet, boolean) and
other SailConnection methods. LOAD is handled at the Repository API
level because it requires access to the Rio parser.SailConnection.startUpdate(UpdateContext),
SailConnection.endUpdate(UpdateContext),
SailConnection.addStatement(UpdateContext, Resource, URI, Value,
Resource...),
SailConnection.removeStatement(UpdateContext, Resource, URI, Value,
Resource...),
SailConnection.clear(Resource...),
SailConnection.getContextIDs(),
SailConnection.getStatements(Resource, URI, Value, boolean, Resource...),
SailConnection.evaluate(TupleExpr, Dataset, BindingSet, boolean)| Constructor and Description |
|---|
SailUpdateExecutor(SailConnection con,
ValueFactory vf,
ParserConfig loadConfig)
Implementation of
SailUpdate.execute() using
SailConnection.evaluate(TupleExpr, Dataset, BindingSet, boolean)
and other SailConnection methods. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeAdd(Add add,
UpdateContext uc) |
protected void |
executeClear(Clear clearExpr,
UpdateContext uc) |
protected void |
executeCopy(Copy copy,
UpdateContext uc) |
protected void |
executeCreate(Create create,
UpdateContext uc) |
protected void |
executeDeleteData(DeleteData deleteDataExpr,
UpdateContext uc) |
protected void |
executeInsertData(InsertData insertDataExpr,
UpdateContext uc) |
protected void |
executeLoad(Load load,
UpdateContext uc) |
protected void |
executeModify(Modify modify,
UpdateContext uc) |
protected void |
executeMove(Move move,
UpdateContext uc) |
void |
executeUpdate(UpdateExpr updateExpr,
Dataset dataset,
BindingSet bindings,
boolean includeInferred) |
public SailUpdateExecutor(SailConnection con, ValueFactory vf, ParserConfig loadConfig)
SailUpdate.execute() using
SailConnection.evaluate(TupleExpr, Dataset, BindingSet, boolean)
and other SailConnection methods.con - Used to read data from and write data to.vf - Used to create BNodesloadConfig - public void executeUpdate(UpdateExpr updateExpr, Dataset dataset, BindingSet bindings, boolean includeInferred) throws SailException, RDFParseException, IOException
protected void executeLoad(Load load, UpdateContext uc) throws IOException, RDFParseException, SailException
protected void executeCreate(Create create, UpdateContext uc) throws SailException
SailExceptionprotected void executeCopy(Copy copy, UpdateContext uc) throws SailException
copy - uc - SailExceptionprotected void executeAdd(Add add, UpdateContext uc) throws SailException
add - uc - SailExceptionprotected void executeMove(Move move, UpdateContext uc) throws SailException
move - uc - SailExceptionprotected void executeClear(Clear clearExpr, UpdateContext uc) throws SailException
clearExpr - uc - SailExceptionprotected void executeInsertData(InsertData insertDataExpr, UpdateContext uc) throws SailException
insertDataExpr - uc - SailExceptionprotected void executeDeleteData(DeleteData deleteDataExpr, UpdateContext uc) throws SailException
deleteDataExpr - uc - SailExceptionprotected void executeModify(Modify modify, UpdateContext uc) throws SailException
SailExceptionCopyright © 2001-2014 Aduna. All Rights Reserved.