public class JdbcLoggingPipelet extends AbstractJdbcPipelet
JdbcWriterService for each input
record.
The values for the PreparedStatement are selected from the input record by following the configured value paths.
If a value path references a single value, this is used. If it references a sequence of values, the first value is
used. In any other case, the value is set 'null'._configuration, PARAM_DB_PROPS, PARAM_DB_URL, PARAM_STMT, PARAM_VALUE_PATHS, VALUE_PATH_SEPARATOR| Constructor and Description |
|---|
JdbcLoggingPipelet() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
process(Blackboard blackboard,
java.lang.String[] recordIds)
process given records.
|
configure, getDbProps, getDbUrl, getStatement, getStatementValuespublic java.lang.String[] process(Blackboard blackboard, java.lang.String[] recordIds) throws ProcessingException
Pipeletblackboard - Blackboard holding and managing the records.recordIds - Ids of records to process.ProcessingException - error during processing.