public class MsSqlLoadTask extends MsSqlBcpTask
Task.POST
task which loads data from the text file. The Microsoft BCP program must be installed in the same
computer which runs etl scenario.Task
CONNECTION_ATTR, SQL_ATTR
CMD_ATTR, ERROR_MASK_ATTR, KEEP_LOG_VAR, SUCCESS_MASK_ATTR
Constructor and Description |
---|
MsSqlLoadTask() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getDefaultValues(Task task)
Gets the default values for the model used to edit task.
|
String |
getResourceName(Task task)
Gets the name of the xml file used to create a model for the task editor.
|
String |
getSql(EtlConfig config,
Task task,
String datFileName,
String params)
Gets the sql to execute.
|
getServer
executePostTask
executeBeforeEtlTask, executeInlineTask, executePreTask, getCodeLanguage, getTitle, init, isInlineTask, isPostTask, isPreEtlTask, isPreTask
public Map<String,Object> getDefaultValues(Task task)
OnTask
getDefaultValues
in interface OnTask
getDefaultValues
in class CmdTask
task
- the taskpublic String getResourceName(Task task)
OnTask
getResourceName
in interface OnTask
getResourceName
in class CmdTask
task
- the taskCopyright © 2010-2020 Toolsverse. All Rights Reserved.