|
||||||||||
| 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.update.FixedUpdateOperation
public class FixedUpdateOperation
An operation that makes a fixed SPARQL Update against a remote SPARQL service via HTTP
| Constructor Summary | |
|---|---|
FixedUpdateOperation(String name,
String updateString)
Creates a new update operation |
|
| Method Summary | ||
|---|---|---|
|
canRun(Runner<T> runner,
T options)
Report whether the operation can run based on the available options |
|
|
createCallable(Runner<T> runner,
T options)
Creates the callable for running the operation in a background thread |
|
OperationRun |
createErrorInformation(String message,
int category,
long runtime)
Creates run information for an error |
|
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. |
|
UpdateRequest |
getUpdate()
Gets the actual update |
|
String |
getUpdateString()
Gets the update string used to create this update |
|
| 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 |
|---|
getId, getName, getStats, setId |
| Constructor Detail |
|---|
public FixedUpdateOperation(String name,
String updateString)
name - NameupdateString - SPARQL Update| Method Detail |
|---|
public <T extends Options> boolean canRun(Runner<T> runner,
T options)
Operation
canRun in interface Operationrunner - Runneroptions - Options
public <T extends Options> OperationCallable<T> createCallable(Runner<T> runner,
T options)
Operation
createCallable in interface Operationrunner - Runneroptions - Options
public OperationRun createErrorInformation(String message,
int category,
long runtime)
Operation
createErrorInformation in interface Operationmessage - Error messagecategory - Error categoryruntime - Runtime
public String getType()
Operation
getType in interface Operationpublic String getContentString()
Operation
getContentString in interface Operationpublic UpdateRequest getUpdate()
UpdateOperation
getUpdate in interface UpdateOperationpublic String getUpdateString()
UpdateOperation
getUpdateString in interface UpdateOperation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||