net.sf.sparql.benchmarking.loader.gsp
Class GSPGetOperationLoader

java.lang.Object
  extended by net.sf.sparql.benchmarking.loader.AbstractOperationLoader
      extended by net.sf.sparql.benchmarking.loader.gsp.AbstractGSPOperationLoader
          extended by net.sf.sparql.benchmarking.loader.gsp.GSPGetOperationLoader
All Implemented Interfaces:
OperationLoader

public class GSPGetOperationLoader
extends AbstractGSPOperationLoader

A loader for GSP Get operations

Author:
rvesse

Constructor Summary
GSPGetOperationLoader()
           
 
Method Summary
protected  Operation createOperation(String name)
          Create a GSP operation that runs on the default graph
protected  Operation createOperation(String name, String graphUri)
          Creates a GSP operation that runs on a specified graph
 String getDescription()
          Gets a description of the operation that this loader loads
 String getPreferredName()
          Gets the name that this loader prefers to be referenced by
 
Methods inherited from class net.sf.sparql.benchmarking.loader.gsp.AbstractGSPOperationLoader
getArguments, load
 
Methods inherited from class net.sf.sparql.benchmarking.loader.AbstractOperationLoader
getInputStream, getNameArgument, readFile, resolveFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GSPGetOperationLoader

public GSPGetOperationLoader()
Method Detail

getPreferredName

public String getPreferredName()
Description copied from interface: OperationLoader
Gets the name that this loader prefers to be referenced by

This is the preferred name used in certain circumstances such as when registering using OperationLoaderRegistry.addLoader(OperationLoader) but users may register a loader with any name they want.

Returns:
Preferred name

createOperation

protected Operation createOperation(String name)
Description copied from class: AbstractGSPOperationLoader
Create a GSP operation that runs on the default graph

Specified by:
createOperation in class AbstractGSPOperationLoader
Parameters:
name - Name
Returns:
GSP operation

createOperation

protected Operation createOperation(String name,
                                    String graphUri)
Description copied from class: AbstractGSPOperationLoader
Creates a GSP operation that runs on a specified graph

Specified by:
createOperation in class AbstractGSPOperationLoader
Parameters:
name - Name
graphUri - Graph URI
Returns:
GSP operation

getDescription

public String getDescription()
Description copied from interface: OperationLoader
Gets a description of the operation that this loader loads

Returns:
Description of the operation


Copyright © 2014. All Rights Reserved.