public abstract class AbstractParameterizedUpdateOperation extends AbstractParameterizedSparqlOperation implements UpdateOperation
Constructor and Description |
---|
AbstractParameterizedUpdateOperation(String sparqlString,
Collection<Binding> parameters,
String name)
Creates a new parameterized update operation
|
Modifier and Type | Method and Description |
---|---|
<T extends Options> |
createCallable(Runner<T> runner,
T options)
Creates the callable for running the operation in a background thread
|
UpdateRun |
createErrorInformation(String message,
int category,
long runtime)
Creates run information for an error
|
UpdateRequest |
getUpdate()
Gets the actual update
|
String |
getUpdateString()
Gets the update string used to create this update
|
getContentString, getParameterizedSparql
getId, getName, getStats, setId
public AbstractParameterizedUpdateOperation(String sparqlString, Collection<Binding> parameters, String name)
sparqlString
- SPARQL Stringparameters
- Parametersname
- Namepublic <T extends Options> OperationCallable<T> createCallable(Runner<T> runner, T options)
Operation
createCallable
in interface Operation
runner
- Runneroptions
- Optionspublic UpdateRun createErrorInformation(String message, int category, long runtime)
Operation
createErrorInformation
in interface Operation
message
- Error messagecategory
- Error categoryruntime
- Runtimepublic UpdateRequest getUpdate()
UpdateOperation
getUpdate
in interface UpdateOperation
public String getUpdateString()
UpdateOperation
getUpdateString
in interface UpdateOperation
Copyright © 2015. All rights reserved.