net.sf.sparql.benchmarking.operations.query.nvp
Class NvpQueryCallable<T extends Options>

java.lang.Object
  extended by net.sf.sparql.benchmarking.operations.AbstractOperationCallable<T>
      extended by net.sf.sparql.benchmarking.operations.query.callables.AbstractQueryCallable<T>
          extended by net.sf.sparql.benchmarking.operations.query.callables.AbstractRemoteQueryCallable<T>
              extended by net.sf.sparql.benchmarking.operations.query.callables.RemoteQueryCallable<T>
                  extended by 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

Constructor Summary
NvpQueryCallable(Query q, Runner<T> runner, T options, Map<String,List<String>> nvps)
          Creates a new callable
 
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 net.sf.sparql.benchmarking.operations.query.callables.RemoteQueryCallable
getQuery
 
Methods inherited from class net.sf.sparql.benchmarking.operations.query.callables.AbstractRemoteQueryCallable
createQueryExecution
 
Methods inherited from class net.sf.sparql.benchmarking.operations.query.callables.AbstractQueryCallable
call, countResults, countResults, countResults
 
Methods inherited from class net.sf.sparql.benchmarking.operations.AbstractOperationCallable
cancel, getOptions, getRunner, isCancelled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NvpQueryCallable

public NvpQueryCallable(Query q,
                        Runner<T> runner,
                        T options,
                        Map<String,List<String>> nvps)
Creates a new callable

Parameters:
q - Query
runner - Runner
options - Options
nvps - Name value pairs
Method Detail

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.