| Modifier and Type | Field and Description |
|---|---|
static java.lang.Long |
MAX_ATTACHMENT_SIZE_DEFAULT
default max size of binary content is 1 GB.
|
static java.lang.Long |
MAX_RECORDS_PER_BULK_DEFAULT
default: write up to 1000 records to one file bulk.
|
static java.lang.String |
NAME
Name of the worker, used in worker description and workflows.
|
static java.lang.String |
OUTPUT_SLOT_CRAWLED_RECORDS
name of output slot taking the file records to process in ETL.
|
static java.lang.String |
TASK_PARAM_CRAWL_SQL
crawl sql statement
|
static java.lang.String |
TASK_PARAM_DB_PROPS
database properties, e.g. user, password
|
static java.lang.String |
TASK_PARAM_DB_URL
database url
|
static java.lang.String |
TASK_PARAM_DELTA_COLUMNS
delta columns
|
static java.lang.String |
TASK_PARAM_ID_COLUMNS
id columns
|
static java.lang.String |
TASK_PARAM_MAX_ATTACHMENT_SIZE
max. size of binary content (BLOB etc.) in bytes.
|
static java.lang.String |
TASK_PARAM_MAX_RECORDS_PER_BULK
Maximum number of records in one bulk object.
|
| Constructor and Description |
|---|
JdbcCrawlerWorker() |
| 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 |
setDbAccessService(DbAccessService dbAccess)
DS service reference bind method.
|
void |
unsetDbAccessService(DbAccessService dbAccess)
DS service reference unbind method.
|
public static final java.lang.String NAME
public static final java.lang.String OUTPUT_SLOT_CRAWLED_RECORDS
public static final java.lang.String TASK_PARAM_MAX_RECORDS_PER_BULK
public static final java.lang.String TASK_PARAM_DB_URL
public static final java.lang.String TASK_PARAM_DB_PROPS
public static final java.lang.String TASK_PARAM_CRAWL_SQL
public static final java.lang.String TASK_PARAM_ID_COLUMNS
public static final java.lang.String TASK_PARAM_DELTA_COLUMNS
public static final java.lang.String TASK_PARAM_MAX_ATTACHMENT_SIZE
public static final java.lang.Long MAX_RECORDS_PER_BULK_DEFAULT
public static final java.lang.Long MAX_ATTACHMENT_SIZE_DEFAULT
public java.lang.String getName()
public void perform(TaskContext taskContext) throws java.lang.Exception
WorkerTaskContext, 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 setDbAccessService(DbAccessService dbAccess)
public void unsetDbAccessService(DbAccessService dbAccess)