T
- Options typepublic abstract class AbstractGSPCallable<T extends Options> extends AbstractOperationCallable<T>
Constructor and Description |
---|
AbstractGSPCallable(Runner<T> runner,
T options)
Creates a new callable
|
AbstractGSPCallable(Runner<T> runner,
T options,
String uri)
Creates a new callable
|
Modifier and Type | Method and Description |
---|---|
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
|
cancel, getOptions, getRunner, isCancelled
public AbstractGSPCallable(Runner<T> runner, T options)
runner
- Runneroptions
- Optionspublic OperationRun call()
protected abstract long doOperation(DatasetAccessor accessor)
accessor
- Accessorprotected boolean isDefaultGraphUri()
protected final String getGraphUri()
protected DatasetAccessor getAccessor()
DatasetAccessor
prepared with the configured optionsCopyright © 2015. All rights reserved.