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 BNode
sloadConfig
- 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
SailException
protected void executeCopy(Copy copy, UpdateContext uc) throws SailException
copy
- uc
- SailException
protected void executeAdd(Add add, UpdateContext uc) throws SailException
add
- uc
- SailException
protected void executeMove(Move move, UpdateContext uc) throws SailException
move
- uc
- SailException
protected void executeClear(Clear clearExpr, UpdateContext uc) throws SailException
clearExpr
- uc
- SailException
protected void executeInsertData(InsertData insertDataExpr, UpdateContext uc) throws SailException
insertDataExpr
- uc
- SailException
protected void executeDeleteData(DeleteData deleteDataExpr, UpdateContext uc) throws SailException
deleteDataExpr
- uc
- SailException
protected void executeModify(Modify modify, UpdateContext uc) throws SailException
SailException
Copyright © 2001-2016 Aduna. All Rights Reserved.