Package org.apache.jena.update
Class UpdateExecutionDatasetBuilder
- java.lang.Object
-
- org.apache.jena.update.UpdateExecutionDatasetBuilder
-
- All Implemented Interfaces:
UpdateExecutionBuilder
public class UpdateExecutionDatasetBuilder extends java.lang.Object implements UpdateExecutionBuilder
-
-
Constructor Summary
Constructors Constructor Description UpdateExecutionDatasetBuilder()
-
Method Summary
-
-
-
Method Detail
-
newBuilder
public static UpdateExecutionDatasetBuilder newBuilder()
Create a new builder ofQueryExecution
for a local dataset.
-
create
public static UpdateExecutionDatasetBuilder create()
-
update
public UpdateExecutionDatasetBuilder update(UpdateRequest updateRequest)
Append the updates in anUpdateRequest
to theUpdateRequest
being built.- Specified by:
update
in interfaceUpdateExecutionBuilder
-
update
public UpdateExecutionDatasetBuilder update(Update update)
Add theUpdate
to theUpdateRequest
being built.- Specified by:
update
in interfaceUpdateExecutionBuilder
-
update
public UpdateExecutionDatasetBuilder update(java.lang.String updateRequestString)
Parse and update operations to theUpdateRequest
being built.- Specified by:
update
in interfaceUpdateExecutionBuilder
-
dataset
public UpdateExecutionDatasetBuilder dataset(Dataset dataset)
-
set
public UpdateExecutionDatasetBuilder set(Symbol symbol, java.lang.Object value)
- Specified by:
set
in interfaceUpdateExecutionBuilder
-
set
public UpdateExecutionDatasetBuilder set(Symbol symbol, boolean value)
- Specified by:
set
in interfaceUpdateExecutionBuilder
-
context
public UpdateExecutionDatasetBuilder 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 interfaceUpdateExecutionBuilder
-
initialBinding
public UpdateExecutionDatasetBuilder initialBinding(QuerySolution querySolution)
-
substitution
public UpdateExecutionDatasetBuilder substitution(QuerySolution querySolution)
- Specified by:
substitution
in interfaceUpdateExecutionBuilder
-
substitution
public UpdateExecutionDatasetBuilder substitution(java.lang.String varName, RDFNode value)
- Specified by:
substitution
in interfaceUpdateExecutionBuilder
-
build
public UpdateExecution build()
- Specified by:
build
in interfaceUpdateExecutionBuilder
-
execute
public void execute()
Description copied from interface:UpdateExecutionBuilder
Build and execute- Specified by:
execute
in interfaceUpdateExecutionBuilder
-
execute
public void execute(Dataset dataset)
-
-