Package net.simplace.pipe.processors
Klasse AsciiToMapProcessor
java.lang.Object
net.simplace.pipe.control.FWProcessor
net.simplace.pipe.processors.AsciiToMapProcessor
This processor transforms data from an ASCII file into the database.
It works in similar way as
Furthermore following configuration is expected (as a subelement in processor element in
the configuration file) to describe the concrete data, that shall be read.
The meaning of all elements and their attributes are the same as in
DatasetLoaderProcessor.
| Parameter | Description |
|---|---|
jdbc_driver |
(optional) JDBC driver used for the communication to the database. Default: org.hsqldb.jdbcDriver |
jdbc_url |
URL for the given JDBC driver. Default: jdbc:hsqldb:mem |
source |
Path or URL to input file(s) |
DatasetLoaderProcessor.
Added <sqlType> elements represent SQL type of appropriate field which is used
for definition of the database table holding the data.
- Autor:
- Martin Uhlir
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final StringConstant for in channel parameter key "DestParamKey".static final StringConstant for in-channel parameter key "sourceFile".Von Klasse geerbte Felder net.simplace.pipe.control.FWProcessor
iAllreadyLoopedCount, iContainer, iInObservable, iObservable, iProgressTasks -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanChecks whether the in-channel contains all required parameters.protected booleanprocess()Must be overridden to implement concrete pipe procedure.Von Klasse geerbte Methoden net.simplace.pipe.control.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
-
Felddetails
-
DESTKEY_KEY
Constant for in channel parameter key "DestParamKey".- Siehe auch:
-
SOURCE_KEY
Constant for in-channel parameter key "sourceFile".- Siehe auch:
-
-
Konstruktordetails
-
AsciiToMapProcessor
public AsciiToMapProcessor()
-
-
Methodendetails
-
process
Beschreibung aus Klasse kopiert:FWProcessorMust be overridden to implement concrete pipe procedure.- Angegeben von:
processin KlasseFWProcessor- Gibt zurück:
- success
- Löst aus:
PipeLineException
-
checkInParameterMap
public boolean checkInParameterMap()Checks whether the in-channel contains all required parameters.- Setzt außer Kraft:
checkInParameterMapin KlasseFWProcessor- Gibt zurück:
- true if not overridden by implementations
-