java.lang.Object
org.apache.jena.update.UpdateExecutionDatasetBuilder
- All Implemented Interfaces:
UpdateExecutionBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Set theContext.create()voidexecute()Build and executevoidinitialBinding(QuerySolution querySolution) Deprecated, for removal: This API element is subject to removal in a future version.Create a new builder ofQueryExecutionfor 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 theUpdateRequestbeing built.Add theUpdateto theUpdateRequestbeing built.update(UpdateRequest updateRequest) Append the updates in anUpdateRequestto theUpdateRequestbeing built.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jena.update.UpdateExecutionBuilder
timeout
-
Constructor Details
-
UpdateExecutionDatasetBuilder
public UpdateExecutionDatasetBuilder()
-
-
Method Details
-
newBuilder
Create a new builder ofQueryExecutionfor a local dataset. -
create
-
update
Append the updates in anUpdateRequestto theUpdateRequestbeing built.- Specified by:
updatein interfaceUpdateExecutionBuilder
-
update
Add theUpdateto theUpdateRequestbeing built.- Specified by:
updatein interfaceUpdateExecutionBuilder
-
update
Parse and update operations to theUpdateRequestbeing built.- Specified by:
updatein interfaceUpdateExecutionBuilder
-
parseCheck
Description copied from interface:UpdateExecutionBuilderHint whether to immediately parse update strings passed toUpdateExecutionBuilder.update(String).- Specified by:
parseCheckin interfaceUpdateExecutionBuilder
-
dataset
-
set
- Specified by:
setin interfaceUpdateExecutionBuilder
-
set
- Specified by:
setin interfaceUpdateExecutionBuilder
-
context
Set theContext. This defaults to the global settings ofARQ.getContext(). If there was a previous call ofcontextthe multiple contexts are merged.- Specified by:
contextin 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:
substitutionin interfaceUpdateExecutionBuilder
-
substitution
public UpdateExecutionDatasetBuilder substitution(String varName, org.apache.jena.rdf.model.RDFNode value) - Specified by:
substitutionin interfaceUpdateExecutionBuilder
-
timeout
- Specified by:
timeoutin interfaceUpdateExecutionBuilder
-
build
- Specified by:
buildin interfaceUpdateExecutionBuilder
-
execute
public void execute()Description copied from interface:UpdateExecutionBuilderBuild and execute- Specified by:
executein interfaceUpdateExecutionBuilder
-
execute
-
substitution(QuerySolution).