public abstract class AbstractParameterizedQueryOperation extends AbstractParameterizedSparqlOperation implements QueryOperation
| Constructor and Description |
|---|
AbstractParameterizedQueryOperation(String sparqlString,
Collection<Binding> parameters,
String name)
Creates a new parameterized query 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
|
QueryRun |
createErrorInformation(String message,
int category,
long runtime)
Creates run information for an error
|
Query |
getQuery()
Gets the actual Query
|
String |
getQueryString()
Gets the Query String used to create this Query
|
getContentString, getParameterizedSparqlgetId, getName, getStats, setIdpublic AbstractParameterizedQueryOperation(String sparqlString, Collection<Binding> parameters, String name)
sparqlString - SPARQL Stringparameters - Parametersname - Namepublic QueryRun createErrorInformation(String message, int category, long runtime)
OperationcreateErrorInformation in interface Operationmessage - Error messagecategory - Error categoryruntime - Runtimepublic Query getQuery()
QueryOperationgetQuery in interface QueryOperationpublic String getQueryString()
QueryOperationgetQueryString in interface QueryOperationpublic <T extends Options> OperationCallable<T> createCallable(Runner<T> runner, T options)
OperationcreateCallable in interface Operationrunner - Runneroptions - OptionsCopyright © 2014. All Rights Reserved.