Interface Update
- All Superinterfaces:
Operation
- All Known Implementing Classes:
AbstractHTTPUpdate, AbstractParserUpdate, AbstractParserUpdate, AbstractUpdate, ClearableAwareUpdate, DelegatingUpdate, HTTPUpdate, LoggingUpdate, SailUpdate, SPARQLUpdate
An update operation on a repository that can be formulated in one of the supported query languages (for example
SPARQL).
- Author:
- Jeen
-
Method Summary
Methods inherited from interface Operation
clearBindings, getBindings, getDataset, getIncludeInferred, getMaxExecutionTime, removeBinding, setBinding, setDataset, setIncludeInferred, setMaxExecutionTimeModifier and TypeMethodDescriptionvoidRemoves all previously set bindings.Retrieves the bindings that have been set on this operation.Gets the dataset that has been set usingOperation.setDataset(Dataset), if any.booleanReturns whether or not this operation will return inferred statements (if any are present in the repository).intReturns the maximum operation execution time.voidremoveBinding(String name) Removes a previously set binding on the supplied variable.voidsetBinding(String name, Value value) Binds the specified variable to the supplied value.voidsetDataset(Dataset dataset) Specifies the dataset against which to execute an operation, overriding any dataset that is specified in the operation itself.voidsetIncludeInferred(boolean includeInferred) Determine whether evaluation results of this operation should include inferred statements (if any inferred statements are present in the repository).voidsetMaxExecutionTime(int maxExecutionTimeSeconds) Specifies the maximum time that an operation is allowed to run.
-
Method Details
-
execute
Execute this update on the repository.- Throws:
UpdateExecutionException- if the update could not be successfully completed.
-