public abstract class BcpTask extends CmdTask
Task
Modifier and Type | Field and Description |
---|---|
static String |
CONNECTION_ATTR |
static String |
SQL_ATTR |
CMD_ATTR, ERROR_MASK_ATTR, KEEP_LOG_VAR, SUCCESS_MASK_ATTR
Constructor and Description |
---|
BcpTask() |
Modifier and Type | Method and Description |
---|---|
TaskResult |
executePostTask(EtlConfig config,
Task task,
DataSet dataSet,
Scenario scenario)
Executes
task after extract or load finished. |
abstract String |
getServer(EtlConfig config,
Task task)
Gets the server name.
|
abstract String |
getSql(EtlConfig config,
Task task,
String datFileName,
String params)
Gets the sql to execute.
|
executeBeforeEtlTask, executeInlineTask, executePreTask, getCodeLanguage, getDefaultValues, getResourceName, getTitle, init, isInlineTask, isPostTask, isPreEtlTask, isPreTask
public static final String SQL_ATTR
public static final String CONNECTION_ATTR
public TaskResult executePostTask(EtlConfig config, Task task, DataSet dataSet, Scenario scenario) throws Exception
OnTask
task
after extract or load finished.executePostTask
in interface OnTask
executePostTask
in class CmdTask
config
- the etl configtask
- the task to executedataSet
- the data setscenario
- the scenarioException
- in case of any errorpublic abstract String getServer(EtlConfig config, Task task)
config
- the etl configtask
- the taskCopyright © 2010-2020 Toolsverse. All Rights Reserved.