net.sf.sparql.benchmarking.operations.gsp
Class GSPGetOperation

java.lang.Object
  extended by net.sf.sparql.benchmarking.operations.AbstractOperation
      extended by net.sf.sparql.benchmarking.operations.gsp.AbstractGSPOperation
          extended by net.sf.sparql.benchmarking.operations.gsp.GSPGetOperation
All Implemented Interfaces:
Operation

public class GSPGetOperation
extends AbstractGSPOperation

An operation which runs a Graph Store Protocol GET operation

Author:
rvesse

Constructor Summary
GSPGetOperation(String name)
          Creates a new operation that operates on the default graph
GSPGetOperation(String name, String uri)
          Creates a new operation that operates on a specific graph
 
Method Summary
<T extends Options>
OperationCallable<T>
createCallable(Runner<T> runner, T options)
          Creates the callable for running the operation in a background thread
 String getContentString()
          Gets a string that shows the content of the operation e.g.
 String getType()
          Gets a descriptive type string for the operation e.g.
 
Methods inherited from class net.sf.sparql.benchmarking.operations.gsp.AbstractGSPOperation
canRun, createErrorInformation, getGraphUri
 
Methods inherited from class net.sf.sparql.benchmarking.operations.AbstractOperation
getId, getName, getStats, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GSPGetOperation

public GSPGetOperation(String name)
Creates a new operation that operates on the default graph

Parameters:
name - Name

GSPGetOperation

public GSPGetOperation(String name,
                       String uri)
Creates a new operation that operates on a specific graph

Parameters:
name - Name
uri - Graph URI
Method Detail

getType

public String getType()
Description copied from interface: Operation
Gets a descriptive type string for the operation e.g. SPARQL Query

Returns:
Type string

getContentString

public String getContentString()
Description copied from interface: Operation
Gets a string that shows the content of the operation e.g. SPARQL Query string, SPARQL Update string etc.

Returns:
Content string

createCallable

public <T extends Options> OperationCallable<T> createCallable(Runner<T> runner,
                                                               T options)
Description copied from interface: Operation
Creates the callable for running the operation in a background thread

Parameters:
runner - Runner
options - Options
Returns:
Callable


Copyright © 2014. All Rights Reserved.