net.sf.sparql.benchmarking.operations.query.callables
Class InMemoryQueryCallable<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.AbstractInMemoryQueryCallable<T>
              extended by 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

Constructor Summary
InMemoryQueryCallable(Query q, Runner<T> runner, T options)
          Creates a new Query Runner
 
Method Summary
protected  Query getQuery()
          Gets the query to be run
 
Methods inherited from class net.sf.sparql.benchmarking.operations.query.callables.AbstractInMemoryQueryCallable
createQueryExecution, getDataset
 
Methods inherited from class net.sf.sparql.benchmarking.operations.query.callables.AbstractQueryCallable
call, countResults, countResults, countResults, customizeRequest
 
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

InMemoryQueryCallable

public InMemoryQueryCallable(Query q,
                             Runner<T> runner,
                             T options)
Creates a new Query Runner

Parameters:
q - Query to run
runner - Runner
options - Options
Method Detail

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.