Package net.simplace.pipe.processors
Klasse DateTableCreatorProcessor
java.lang.Object
net.simplace.pipe.control.FWProcessor
net.simplace.pipe.processors.DateTableCreatorProcessor
This processor takes
Following parameters are available:
Collection<Date> and stores every entry in
a database table.Following parameters are available:
datesKey(mandatory)
Reference key to theCollection<Date>in the parameter map.db_conn(mandatory)
Reference key to the database connection in the parameter map.destTableName(mandatory) Name of the table the dates are stored in. If the table already exists it is droped first.destDateColumnName(optional) Name of the date column in the new table (Default: "DATE").
- Version:
- 1.0
- Autor:
- Martin Schmitz
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final StringConstant for in-channel parameter key "destDateColumnName".static final StringConstant for in-channel parameter key "datesKey".static final StringConstant for in-channel parameter key "db_conn".static final StringConstant for in-channel parameter key "destTableName".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()Stores day in the outputCollection.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
-
INKEY_DATES_COLLECTION
Constant for in-channel parameter key "datesKey".- Siehe auch:
-
INKEY_DB_CONNECTION
Constant for in-channel parameter key "db_conn".- Siehe auch:
-
INKEY_TABLE_NAME
Constant for in-channel parameter key "destTableName".- Siehe auch:
-
INKEY_COLUMN_NAME
Constant for in-channel parameter key "destDateColumnName".- Siehe auch:
-
-
Konstruktordetails
-
DateTableCreatorProcessor
public DateTableCreatorProcessor()Default constructor for this processor.
-
-
Methodendetails
-
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
-
process
Stores day in the outputCollection.- Angegeben von:
processin KlasseFWProcessor- Gibt zurück:
- ever
true - Löst aus:
PipeLineException
-