net.sf.sparql.benchmarking.operations.query.callables
Class InMemoryQueryCallable<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.AbstractInMemoryQueryCallable<T>
net.sf.sparql.benchmarking.operations.query.callables.InMemoryQueryCallable<T>
- Type Parameters:
T
- Options type
- All Implemented Interfaces:
- Callable<OperationRun>, OperationCallable<T>
public class InMemoryQueryCallable<T extends Options>
- extends AbstractInMemoryQueryCallable<T>
A Callable for queries so we can execute them asynchronously with timeouts
- Author:
- rvesse
Method Summary |
protected Query |
getQuery()
Gets the query to be run |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemoryQueryCallable
public InMemoryQueryCallable(Query q,
Runner<T> runner,
T options)
- Creates a new Query Runner
- Parameters:
q
- Query to runrunner
- Runneroptions
- Options
getQuery
protected Query getQuery()
- Description copied from class:
AbstractQueryCallable
- Gets the query to be run
- Specified by:
getQuery
in class AbstractQueryCallable<T extends Options>
- Returns:
- Query
Copyright © 2014. All Rights Reserved.