net.sf.sparql.benchmarking.operations.parameterized.nvp
Class ParameterizedNvpQueryOperation
java.lang.Object
net.sf.sparql.benchmarking.operations.AbstractOperation
net.sf.sparql.benchmarking.operations.parameterized.AbstractParameterizedSparqlOperation
net.sf.sparql.benchmarking.operations.parameterized.AbstractParameterizedQueryOperation
net.sf.sparql.benchmarking.operations.parameterized.ParameterizedQueryOperation
net.sf.sparql.benchmarking.operations.parameterized.nvp.ParameterizedNvpQueryOperation
- All Implemented Interfaces:
- Operation, QueryOperation
public class ParameterizedNvpQueryOperation
- extends ParameterizedQueryOperation
An operation that runs a parameterized query with custom NVPs added to the
request
- Author:
- rvesse
|
Method Summary |
|
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParameterizedNvpQueryOperation
public ParameterizedNvpQueryOperation(String sparqlString,
Collection<Binding> parameters,
String name,
Map<String,List<String>> nvps)
- Creates a new parameterized query operation
- Parameters:
sparqlString - Query stringparameters - Parametersname - Namenvps - Name value pairs
createCallable
public <T extends Options> OperationCallable<T> createCallable(Runner<T> runner,
T options)
- Description copied from interface:
Operation
- Creates the callable for running the operation in a background thread
- Specified by:
createCallable in interface Operation- Overrides:
createCallable in class AbstractParameterizedQueryOperation
- Parameters:
runner - Runneroptions - Options
- Returns:
- Callable
getType
public String getType()
- Description copied from interface:
Operation
- Gets a descriptive type string for the operation e.g. SPARQL Query
- Specified by:
getType in interface Operation- Overrides:
getType in class ParameterizedQueryOperation
- Returns:
- Type string
Copyright © 2014. All Rights Reserved.