Class DateTableCreatorProcessor

java.lang.Object
net.simplace.pipe.control.FWProcessor
net.simplace.pipe.processors.DateTableCreatorProcessor

public class DateTableCreatorProcessor extends FWProcessor
This processor takes Collection<Date> and stores every entry in a database table.
Following parameters are available:
  • datesKey (mandatory)
    Reference key to the Collection<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
Author:
Martin Schmitz
  • Field Details

    • INKEY_DATES_COLLECTION

      public static final String INKEY_DATES_COLLECTION
      Constant for in-channel parameter key "datesKey".
      See Also:
    • INKEY_DB_CONNECTION

      public static final String INKEY_DB_CONNECTION
      Constant for in-channel parameter key "db_conn".
      See Also:
    • INKEY_TABLE_NAME

      public static final String INKEY_TABLE_NAME
      Constant for in-channel parameter key "destTableName".
      See Also:
    • INKEY_COLUMN_NAME

      public static final String INKEY_COLUMN_NAME
      Constant for in-channel parameter key "destDateColumnName".
      See Also:
  • Constructor Details

    • DateTableCreatorProcessor

      public DateTableCreatorProcessor()
      Default constructor for this processor.
  • Method Details