net.sf.sparql.benchmarking.operations.gsp
Class GSPGetCallable<T extends Options>

java.lang.Object
  extended by net.sf.sparql.benchmarking.operations.AbstractOperationCallable<T>
      extended by net.sf.sparql.benchmarking.operations.gsp.AbstractGSPCallable<T>
          extended by 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

Constructor Summary
GSPGetCallable(Runner<T> runner, T options)
          Creates a new callable
GSPGetCallable(Runner<T> runner, T options, String uri)
          Creates a new callable
 
Method Summary
protected  long doOperation(DatasetAccessor accessor)
          Does the operation using the accessor and returns the number of results
 
Methods inherited from class net.sf.sparql.benchmarking.operations.gsp.AbstractGSPCallable
call, getAccessor, getGraphUri, isDefaultGraphUri
 
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

GSPGetCallable

public GSPGetCallable(Runner<T> runner,
                      T options)
Creates a new callable

Parameters:
runner - Runner
options - Options

GSPGetCallable

public GSPGetCallable(Runner<T> runner,
                      T options,
                      String uri)
Creates a new callable

Parameters:
runner - Runner
options - Options
uri - Graph URI
Method Detail

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.