public class InMemoryParameterizedQueryOperation extends AbstractParameterizedQueryOperation
Constructor and Description |
---|
InMemoryParameterizedQueryOperation(String sparqlString,
Collection<Binding> parameters,
String name)
Creates a new parameterized query operation
|
Modifier and Type | Method and Description |
---|---|
<T extends Options> |
canRun(Runner<T> runner,
T options)
Report whether the operation can run based on the available options
|
<T extends Options> |
createCallable(Runner<T> runner,
T options)
Creates the callable for running the operation in a background thread
|
String |
getType()
Gets a descriptive type string for the operation e.g.
|
createErrorInformation, getQuery, getQueryString
getContentString, getParameterizedSparql
getId, getName, getStats, setId
public InMemoryParameterizedQueryOperation(String sparqlString, Collection<Binding> parameters, String name)
sparqlString
- SPARQL Stringparameters
- Parametersname
- Namepublic <T extends Options> boolean canRun(Runner<T> runner, T options)
Operation
runner
- Runneroptions
- Optionspublic String getType()
Operation
public <T extends Options> OperationCallable<T> createCallable(Runner<T> runner, T options)
Operation
createCallable
in interface Operation
createCallable
in class AbstractParameterizedQueryOperation
runner
- Runneroptions
- OptionsCopyright © 2015. All rights reserved.