net.sf.sparql.benchmarking.operations.gsp
Class GSPGetCallable<T extends Options>
java.lang.Object
net.sf.sparql.benchmarking.operations.AbstractOperationCallable<T>
net.sf.sparql.benchmarking.operations.gsp.AbstractGSPCallable<T>
net.sf.sparql.benchmarking.operations.gsp.GSPGetCallable<T>
- Type Parameters:
T
- Options type
- All Implemented Interfaces:
- Callable<OperationRun>, OperationCallable<T>
public class GSPGetCallable<T extends Options>
- extends AbstractGSPCallable<T>
A callable which runs the Graph Store Protocol GET operation
- Author:
- rvesse
Method Summary |
protected long |
doOperation(DatasetAccessor accessor)
Does the operation using the accessor and returns the number of results |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GSPGetCallable
public GSPGetCallable(Runner<T> runner,
T options)
- Creates a new callable
- Parameters:
runner
- Runneroptions
- Options
GSPGetCallable
public GSPGetCallable(Runner<T> runner,
T options,
String uri)
- Creates a new callable
- Parameters:
runner
- Runneroptions
- Optionsuri
- Graph URI
doOperation
protected long doOperation(DatasetAccessor accessor)
- Description copied from class:
AbstractGSPCallable
- Does the operation using the accessor and returns the number of results
- Specified by:
doOperation
in class AbstractGSPCallable<T extends Options>
- Parameters:
accessor
- Accessor
- Returns:
- Number of results
Copyright © 2014. All Rights Reserved.