Package org.apache.jena.sparql.exec
Class UpdateExecDatasetBuilder
- java.lang.Object
-
- org.apache.jena.sparql.exec.UpdateExecDatasetBuilder
-
- All Implemented Interfaces:
UpdateExecBuilder
public class UpdateExecDatasetBuilder extends java.lang.Object implements UpdateExecBuilder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateExec
build()
UpdateExecDatasetBuilder
context(Context context)
Set theContext
.static UpdateExecDatasetBuilder
create()
UpdateExecDatasetBuilder
dataset(DatasetGraph dsg)
void
execute()
Build and execute.void
execute(DatasetGraph dsg)
UpdateExecDatasetBuilder
initialBinding(Binding initialBinding)
UpdateExecDatasetBuilder
set(Symbol symbol, boolean value)
Set a context entry.UpdateExecDatasetBuilder
set(Symbol symbol, java.lang.Object value)
Set a context entry.UpdateExecDatasetBuilder
substitution(Var var, Node value)
Provide a (Var, Node) for substitution in the query when QueryExec is built.UpdateExecDatasetBuilder
substitution(Binding binding)
Provide a set of (Var, Node) for substitution in the query when QueryExec is built.UpdateExecDatasetBuilder
update(java.lang.String updateRequestString)
Parse and update operations to theUpdateRequest
being built.UpdateExecDatasetBuilder
update(Update update)
Add theUpdate
to theUpdateRequest
being built.UpdateExecDatasetBuilder
update(UpdateRequest updateRequest)
Append the updates in anUpdateRequest
to theUpdateRequest
being built.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.jena.sparql.exec.UpdateExecBuilder
substitution
-
-
-
-
Method Detail
-
create
public static UpdateExecDatasetBuilder create()
-
update
public UpdateExecDatasetBuilder update(UpdateRequest updateRequest)
Append the updates in anUpdateRequest
to theUpdateRequest
being built.- Specified by:
update
in interfaceUpdateExecBuilder
-
update
public UpdateExecDatasetBuilder update(Update update)
Add theUpdate
to theUpdateRequest
being built.- Specified by:
update
in interfaceUpdateExecBuilder
-
update
public UpdateExecDatasetBuilder update(java.lang.String updateRequestString)
Parse and update operations to theUpdateRequest
being built.- Specified by:
update
in interfaceUpdateExecBuilder
-
dataset
public UpdateExecDatasetBuilder dataset(DatasetGraph dsg)
-
context
public UpdateExecDatasetBuilder context(Context context)
Set theContext
. This defaults to the global settings ofARQ.getContext()
. If there was a previous call ofcontext
the multiple contexts are merged.- Specified by:
context
in interfaceUpdateExecBuilder
-
set
public UpdateExecDatasetBuilder set(Symbol symbol, java.lang.Object value)
Description copied from interface:UpdateExecBuilder
Set a context entry.- Specified by:
set
in interfaceUpdateExecBuilder
-
set
public UpdateExecDatasetBuilder set(Symbol symbol, boolean value)
Description copied from interface:UpdateExecBuilder
Set a context entry.- Specified by:
set
in interfaceUpdateExecBuilder
-
substitution
public UpdateExecDatasetBuilder substitution(Binding binding)
Description copied from interface:UpdateExecBuilder
Provide a set of (Var, Node) for substitution in the query when QueryExec is built.- Specified by:
substitution
in interfaceUpdateExecBuilder
-
substitution
public UpdateExecDatasetBuilder substitution(Var var, Node value)
Description copied from interface:UpdateExecBuilder
Provide a (Var, Node) for substitution in the query when QueryExec is built.- Specified by:
substitution
in interfaceUpdateExecBuilder
-
initialBinding
public UpdateExecDatasetBuilder initialBinding(Binding initialBinding)
-
build
public UpdateExec build()
- Specified by:
build
in interfaceUpdateExecBuilder
-
execute
public void execute()
Description copied from interface:UpdateExecBuilder
Build and execute.- Specified by:
execute
in interfaceUpdateExecBuilder
-
execute
public void execute(DatasetGraph dsg)
-
-