|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.sparql.benchmarking.operations.AbstractOperation
net.sf.sparql.benchmarking.operations.gsp.AbstractGSPOperation
public abstract class AbstractGSPOperation
Abstract implementation of a SPARQL Graph Store Protocol operation
Constructor Summary | |
---|---|
AbstractGSPOperation(String name)
Creates a new operation |
|
AbstractGSPOperation(String name,
String uri)
Creates a new operation |
Method Summary | ||
---|---|---|
|
canRun(Runner<T> runner,
T options)
Report whether the operation can run based on the available options |
|
OperationRun |
createErrorInformation(String message,
int category,
long runtime)
Creates run information for an error |
|
protected String |
getGraphUri()
Gets the URI of the graph being operated upon, null is considered
to mean that the default graph is operated upon |
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 |
Methods inherited from interface net.sf.sparql.benchmarking.operations.Operation |
---|
createCallable, getContentString, getType |
Constructor Detail |
---|
public AbstractGSPOperation(String name)
name
- Namepublic AbstractGSPOperation(String name, String uri)
name
- Nameuri
- Graph URIMethod Detail |
---|
protected String getGraphUri()
null
is considered
to mean that the default graph is operated upon
public <T extends Options> boolean canRun(Runner<T> runner, T options)
Operation
runner
- Runneroptions
- Options
public OperationRun createErrorInformation(String message, int category, long runtime)
Operation
message
- Error messagecategory
- Error categoryruntime
- Runtime
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |