net.sf.sparql.benchmarking.operations.gsp
Class GSPPostCallable<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.GSPPostCallable<T>
- Type Parameters:
T
- Options type
- All Implemented Interfaces:
- Callable<OperationRun>, OperationCallable<T>
public class GSPPostCallable<T extends Options>
- extends AbstractGSPCallable<T>
A callable which runs the Graph Store Protocol POST 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 |
GSPPostCallable
public GSPPostCallable(Runner<T> runner,
T options,
Model data)
- Creates a new callable that operates on the default graph
- Parameters:
runner
- Runneroptions
- Optionsdata
- Data to be added
GSPPostCallable
public GSPPostCallable(Runner<T> runner,
T options,
Model data,
String uri)
- Creates a new callable that operates on a specific graph
- Parameters:
runner
- Runneroptions
- Optionsdata
- Data to be addeduri
- 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.