Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
Name of the worker, used in worker description and workflows.
|
static java.lang.String |
TASK_PARAM_FETCH_PARAM_ATTRIBUTES
attribute containing the values to use as parameters in the fetch sql (Prepared)statement.
|
static java.lang.String |
TASK_PARAM_FETCH_SQL
sql statement used for fetching.
|
Constructor and Description |
---|
JdbcFetcherWorker() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
void |
perform(TaskContext taskContext)
Performs a computation on the data available in the
TaskContext , such as a task for this worker, input and
(if configured) output slots. |
void |
setJdbcAccessService(JdbcAccessService jdbcAccess)
DS service reference bind method.
|
void |
unsetJdbcAccessService(JdbcAccessService jdbcAccess)
DS service reference unbind method.
|
public static final java.lang.String NAME
public static final java.lang.String TASK_PARAM_FETCH_SQL
public static final java.lang.String TASK_PARAM_FETCH_PARAM_ATTRIBUTES
public java.lang.String getName()
public void perform(TaskContext taskContext) throws java.lang.Exception
Worker
TaskContext
, such as a task for this worker, input and
(if configured) output slots. An implementor must make sure, calls to this method must be thread-safe!public void setJdbcAccessService(JdbcAccessService jdbcAccess)
public void unsetJdbcAccessService(JdbcAccessService jdbcAccess)