|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.sparql.benchmarking.loader.AbstractOperationLoader
net.sf.sparql.benchmarking.loader.gsp.AbstractGSPDataOperationLoader
public abstract class AbstractGSPDataOperationLoader
Abstract operation loader for basic GSP operations
Constructor Summary | |
---|---|
AbstractGSPDataOperationLoader()
|
Method Summary | |
---|---|
protected abstract Operation |
createOperation(String name,
Model data)
Create a GSP operation that runs on the default graph |
protected abstract Operation |
createOperation(String name,
Model data,
String graphUri)
Creates a GSP operation that runs on a specified graph |
OperationLoaderArgument[] |
getArguments()
Gets a description of the configuration arguments that this loader expects to receive |
Operation |
load(File baseDir,
String[] args)
Load an operation described by the given arguments |
protected Model |
loadModel(File baseDir,
String file)
Loads the data to be added |
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 |
Methods inherited from interface net.sf.sparql.benchmarking.loader.OperationLoader |
---|
getDescription, getPreferredName |
Constructor Detail |
---|
public AbstractGSPDataOperationLoader()
Method Detail |
---|
public Operation load(File baseDir, String[] args) throws IOException
OperationLoader
baseDir
- Base directoryargs
- Arguments
IOException
protected Model loadModel(File baseDir, String file) throws IOException
baseDir
- Base Directoryfile
- Filename
IOException
protected abstract Operation createOperation(String name, Model data)
name
- Namedata
- Data to be added
protected abstract Operation createOperation(String name, Model data, String graphUri)
name
- Namedata
- Data to be addedgraphUri
- Graph URI
public OperationLoaderArgument[] getArguments()
OperationLoader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |