net.sf.sparql.benchmarking.operations.query.nvp
Class FixedNvpQueryOperation
java.lang.Object
net.sf.sparql.benchmarking.operations.AbstractOperation
net.sf.sparql.benchmarking.operations.query.AbstractQueryOperation
net.sf.sparql.benchmarking.operations.query.AbstractRemoteQueryOperation
net.sf.sparql.benchmarking.operations.query.FixedQueryOperation
net.sf.sparql.benchmarking.operations.query.nvp.FixedNvpQueryOperation
- All Implemented Interfaces:
- Operation, QueryOperation
public class FixedNvpQueryOperation
- extends FixedQueryOperation
An operation that runs a fixed 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. |
FixedNvpQueryOperation
public FixedNvpQueryOperation(String name,
String queryString,
Map<String,List<String>> nvps)
- Creates a new fixed NVP query operation
- Parameters:
name
- NamequeryString
- Query stringnvps
- Name value pairs
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 FixedQueryOperation
- Returns:
- Type string
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 AbstractRemoteQueryOperation
- Parameters:
runner
- Runneroptions
- Options
- Returns:
- Callable
Copyright © 2014. All Rights Reserved.