java.lang.Object
org.apache.jena.update.UpdateExecutionDatasetBuilder
- All Implemented Interfaces:
UpdateExecutionBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Set theContext
.create()
void
execute()
Build and executevoid
initialBinding
(QuerySolution querySolution) Deprecated, for removal: This API element is subject to removal in a future version.Create a new builder ofQueryExecution
for a local dataset.parseCheck
(boolean parseCheck) Hint whether to immediately parse update strings passed toUpdateExecutionBuilder.update(String)
.substitution
(String varName, org.apache.jena.rdf.model.RDFNode value) substitution
(QuerySolution querySolution) Parse and update operations to theUpdateRequest
being built.Add theUpdate
to theUpdateRequest
being built.update
(UpdateRequest updateRequest) Append the updates in anUpdateRequest
to theUpdateRequest
being built.
-
Constructor Details
-
UpdateExecutionDatasetBuilder
public UpdateExecutionDatasetBuilder()
-
-
Method Details
-
newBuilder
Create a new builder ofQueryExecution
for a local dataset. -
create
-
update
Append the updates in anUpdateRequest
to theUpdateRequest
being built.- Specified by:
update
in interfaceUpdateExecutionBuilder
-
update
Add theUpdate
to theUpdateRequest
being built.- Specified by:
update
in interfaceUpdateExecutionBuilder
-
update
Parse and update operations to theUpdateRequest
being built.- Specified by:
update
in interfaceUpdateExecutionBuilder
-
parseCheck
Description copied from interface:UpdateExecutionBuilder
Hint whether to immediately parse update strings passed toUpdateExecutionBuilder.update(String)
.- Specified by:
parseCheck
in interfaceUpdateExecutionBuilder
-
dataset
-
set
- Specified by:
set
in interfaceUpdateExecutionBuilder
-
set
- Specified by:
set
in interfaceUpdateExecutionBuilder
-
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
@Deprecated(forRemoval=true) public UpdateExecutionDatasetBuilder initialBinding(QuerySolution querySolution) Deprecated, for removal: This API element is subject to removal in a future version.Prefersubstitution(QuerySolution)
. -
substitution
- Specified by:
substitution
in interfaceUpdateExecutionBuilder
-
substitution
public UpdateExecutionDatasetBuilder substitution(String varName, org.apache.jena.rdf.model.RDFNode value) - Specified by:
substitution
in interfaceUpdateExecutionBuilder
-
build
- Specified by:
build
in interfaceUpdateExecutionBuilder
-
execute
public void execute()Description copied from interface:UpdateExecutionBuilder
Build and execute- Specified by:
execute
in interfaceUpdateExecutionBuilder
-
execute
-
substitution(QuerySolution)
.