|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.sparql.benchmarking.operations.AbstractOperationCallable<T>
net.sf.sparql.benchmarking.operations.gsp.AbstractGSPCallable<T>
T
- Options typepublic abstract class AbstractGSPCallable<T extends Options>
Abstract callable for GSP operations
Constructor Summary | |
---|---|
AbstractGSPCallable(Runner<T> runner,
T options)
Creates a new callable |
|
AbstractGSPCallable(Runner<T> runner,
T options,
String uri)
Creates a new callable |
Method Summary | |
---|---|
OperationRun |
call()
|
protected abstract long |
doOperation(DatasetAccessor accessor)
Does the operation using the accessor and returns the number of results |
protected DatasetAccessor |
getAccessor()
Gets a DatasetAccessor prepared with the configured options |
protected String |
getGraphUri()
Gets the URI of the graph this callable operates on |
protected boolean |
isDefaultGraphUri()
Gets whether the callable is operating on the default grah |
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 |
---|
public AbstractGSPCallable(Runner<T> runner, T options)
runner
- Runneroptions
- Optionspublic AbstractGSPCallable(Runner<T> runner, T options, String uri)
runner
- Runneroptions
- Optionsuri
- Graph URIMethod Detail |
---|
public OperationRun call()
protected abstract long doOperation(DatasetAccessor accessor)
accessor
- Accessor
protected boolean isDefaultGraphUri()
protected final String getGraphUri()
protected DatasetAccessor getAccessor()
DatasetAccessor
prepared with the configured options
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |