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, IRI, Value, Resource...),
SailConnection.removeStatement(UpdateContext, Resource, IRI, Value, Resource...),
SailConnection.clear(Resource...),
SailConnection.getContextIDs(),
SailConnection.getStatements(Resource, IRI, 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,
int maxExecTime) |
protected void |
executeClear(Clear clearExpr,
UpdateContext uc,
int maxExecutionTime) |
protected void |
executeCopy(Copy copy,
UpdateContext uc,
int maxExecutionTime) |
protected void |
executeCreate(Create create,
UpdateContext uc) |
protected void |
executeDeleteData(DeleteData deleteDataExpr,
UpdateContext uc,
int maxExecutionTime) |
protected void |
executeInsertData(InsertData insertDataExpr,
UpdateContext uc,
int maxExecutionTime) |
protected void |
executeLoad(Load load,
UpdateContext uc) |
protected void |
executeModify(Modify modify,
UpdateContext uc,
int maxExecutionTime) |
protected void |
executeMove(Move move,
UpdateContext uc,
int maxExecutionTime) |
void |
executeUpdate(UpdateExpr updateExpr,
Dataset dataset,
BindingSet bindings,
boolean includeInferred,
int maxExecutionTime) |
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, int maxExecutionTime) throws SailException, RDFParseException, IOException
maxExecutionTime - in seconds.SailExceptionRDFParseExceptionIOExceptionprotected 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, int maxExecutionTime) throws SailException
copy - uc - SailExceptionprotected void executeAdd(Add add, UpdateContext uc, int maxExecTime) throws SailException
add - uc - SailExceptionprotected void executeMove(Move move, UpdateContext uc, int maxExecutionTime) throws SailException
move - uc - SailExceptionprotected void executeClear(Clear clearExpr, UpdateContext uc, int maxExecutionTime) throws SailException
clearExpr - uc - SailExceptionprotected void executeInsertData(InsertData insertDataExpr, UpdateContext uc, int maxExecutionTime) throws SailException
insertDataExpr - uc - SailExceptionprotected void executeDeleteData(DeleteData deleteDataExpr, UpdateContext uc, int maxExecutionTime) throws SailException
deleteDataExpr - uc - SailExceptionprotected void executeModify(Modify modify, UpdateContext uc, int maxExecutionTime) throws SailException
SailExceptionCopyright © 2015-2021 Eclipse Foundation. All Rights Reserved.