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

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

public class GSPPutOperationLoader
extends AbstractGSPDataOperationLoader

An operation loader for GSP Put operations

Author:
rvesse

Constructor Summary
GSPPutOperationLoader()
           
 
Method Summary
protected  Operation createOperation(String name, Model data)
          Create a GSP operation that runs on the default graph
protected  Operation createOperation(String name, Model data, 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.AbstractGSPDataOperationLoader
getArguments, load, loadModel
 
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

GSPPutOperationLoader

public GSPPutOperationLoader()
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

getDescription

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

Returns:
Description of the operation

createOperation

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

Specified by:
createOperation in class AbstractGSPDataOperationLoader
Parameters:
name - Name
data - Data to be added
Returns:
GSP operation

createOperation

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

Specified by:
createOperation in class AbstractGSPDataOperationLoader
Parameters:
name - Name
data - Data to be added
graphUri - Graph URI
Returns:
GSP operation


Copyright © 2014. All Rights Reserved.