net.sf.sparql.benchmarking.operations.query.nvp
Class NvpQueryCallable<T extends Options>
java.lang.Object
net.sf.sparql.benchmarking.operations.AbstractOperationCallable<T>
net.sf.sparql.benchmarking.operations.query.callables.AbstractQueryCallable<T>
net.sf.sparql.benchmarking.operations.query.callables.AbstractRemoteQueryCallable<T>
net.sf.sparql.benchmarking.operations.query.callables.RemoteQueryCallable<T>
net.sf.sparql.benchmarking.operations.query.nvp.NvpQueryCallable<T>
- Type Parameters:
T
- Options type
- All Implemented Interfaces:
- Callable<OperationRun>, OperationCallable<T>
public class NvpQueryCallable<T extends Options>
- extends RemoteQueryCallable<T>
A query callable that adds custom NVPs to the request
- Author:
- rvesse
Method Summary |
protected void |
customizeRequest(QueryExecution qe)
Provides derived implementations the option to customize the query
execution before actually executing the query e.g. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NvpQueryCallable
public NvpQueryCallable(Query q,
Runner<T> runner,
T options,
Map<String,List<String>> nvps)
- Creates a new callable
- Parameters:
q
- Queryrunner
- Runneroptions
- Optionsnvps
- Name value pairs
customizeRequest
protected void customizeRequest(QueryExecution qe)
- Description copied from class:
AbstractQueryCallable
- Provides derived implementations the option to customize the query
execution before actually executing the query e.g. to add custom
parameters
The default implementation does nothing.
- Overrides:
customizeRequest
in class AbstractRemoteQueryCallable<T extends Options>
- Parameters:
qe
- Query Execution
Copyright © 2014. All Rights Reserved.