|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.taverna.scuflworkers.jdbc.SQLQueryWorker
net.sourceforge.taverna.scuflworkers.jdbc.SQLUpdateWorker
public class SQLUpdateWorker
This processor is used to execute SQL update/insert statements.
| Field Summary |
|---|
| Fields inherited from interface org.embl.ebi.escience.scuflworkers.java.LocalWorker |
|---|
BINARY, BINARY_ARRAY, HTML, HTML_ARRAY, PNG_IMAGE, PNG_IMAGE_ARRAY, STRING, STRING_ARRAY, UNTYPED, UNTYPED_ARRAY |
| Constructor Summary | |
|---|---|
SQLUpdateWorker()
|
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,DataThing> |
execute(java.util.Map inputMap)
Given a Map of DataThing objects as input, invoke the underlying logic of the task and return a map of DataThing objects as outputs, with the port names acting as keys in the map in both cases. |
java.lang.String[] |
inputNames()
Get an array of the names of input ports for this processor |
java.lang.String[] |
inputTypes()
Get an array of the string types for the inputs defined by the inputNames() method, these should probably use the constants defined in this interface but may use any valid Baclava data type specifier. |
java.lang.String[] |
outputNames()
Names of the output ports |
java.lang.String[] |
outputTypes()
Types of the output ports |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLUpdateWorker()
| Method Detail |
|---|
public java.util.Map<java.lang.String,DataThing> execute(java.util.Map inputMap)
throws TaskExecutionException
LocalWorker
execute in interface LocalWorkerexecute in class SQLQueryWorkerTaskExecutionException - thrown if there is an error during invocation of the task.LocalWorker.execute(java.util.Map)public java.lang.String[] inputNames()
LocalWorker
inputNames in interface LocalWorkerinputNames in class SQLQueryWorkerpublic java.lang.String[] inputTypes()
LocalWorker
inputTypes in interface LocalWorkerinputTypes in class SQLQueryWorkerpublic java.lang.String[] outputNames()
LocalWorker
outputNames in interface LocalWorkeroutputNames in class SQLQueryWorkerpublic java.lang.String[] outputTypes()
LocalWorker
outputTypes in interface LocalWorkeroutputTypes in class SQLQueryWorker
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||