Class CopyTableProcessor
java.lang.Object
net.simplace.pipe.control.FWProcessor
net.simplace.pipe.processors.CopyTableProcessor
This processor performs SQL-Statements on two existing Databases to copy the content of one table
| Parameter | Description |
|---|---|
db_conn_source |
JDBC sonnection of source database from Pipeline. |
db_conn_target |
JDBC sonnection of target database from Pipeline. |
table_name |
Tablename of source table in source database. |
target_table_name |
(optional) Tablename of target table in target database. If not given same name is used |
- Author:
- Andreas Enders
-
Field Summary
Fields inherited from class FWProcessor
iAllreadyLoopedCount, iContainer, iInObservable, iObservable, iProgressTasks -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether the in-channel contains all required parameters.protected booleanprocess()Must be overridden to implement the concrete processing step.Methods inherited from class FWProcessor
checkOutParameterMap, clone, containsParameter, createProcessor, createProcessor, fireTaskEvent, getAllStringInParameters, getConfiguration, getInitialParameters, getInParameter, getInParameter, getInParameters, getNewProgressTask, getOutParameter, getOutParameterKeys, getPipeLine, getProgressTask, getStringInParameter, getStringInParameter, getSystemID, hasConfiguration, isEndOfPipe, pipe, removeOutParameter, setConfiguration, setEndOfPipeFlag, setInitialParameters, setInParameterMap, setLoopedCount, setOutParameter, setStateOfTask, setStateProgressing, toXML
-
Constructor Details
-
CopyTableProcessor
public CopyTableProcessor()
-
-
Method Details
-
process
Description copied from class:FWProcessorMust be overridden to implement the concrete processing step. Reads from the in parameters and writes results withFWProcessor.setOutParameter(String, Object).- Specified by:
processin classFWProcessor- Returns:
trueon success;falsemakesFWProcessor.pipe(FWObservable, Integer)fail- Throws:
PipeLineException- if processing fails
-
checkInParameterMap
public boolean checkInParameterMap()Checks whether the in-channel contains all required parameters.- Overrides:
checkInParameterMapin classFWProcessor- Returns:
trueif the input is valid; the default returnstrue
-