net.sf.sparql.benchmarking.operations.query.callables
Class AbstractRemoteQueryCallable<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>
- Type Parameters:
T
- Options type
- All Implemented Interfaces:
- Callable<OperationRun>, OperationCallable<T>
- Direct Known Subclasses:
- RemoteQueryCallable
public abstract class AbstractRemoteQueryCallable<T extends Options>
- extends AbstractQueryCallable<T>
Abstract callable for operations that run queries against a remote service
via HTTP
- Author:
- rvesse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRemoteQueryCallable
public AbstractRemoteQueryCallable(Runner<T> runner,
T options)
- Creates a new callable
- Parameters:
runner
- Runneroptions
- Options
createQueryExecution
protected QueryExecution createQueryExecution(Query query)
- Description copied from class:
AbstractQueryCallable
- Creates the query execution to use for the query
- Specified by:
createQueryExecution
in class AbstractQueryCallable<T extends Options>
- Parameters:
query
- Query
- Returns:
- Query execution
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 AbstractQueryCallable<T extends Options>
- Parameters:
qe
- Query Execution
Copyright © 2014. All Rights Reserved.