public class MsSqlFunctions extends DefFunctions
MsSqlDriverDEFAULT_FUNCTION, SCENARIO_VARIABLE_ATTR, SCRIPT_FUNCTION, START_ATTR| Constructor and Description |
|---|
MsSqlFunctions() |
| Modifier and Type | Method and Description |
|---|---|
String |
assignVar(LoadFunctionContext context,
String value)
Assigns value to variable.
|
String[] |
getAfterFunctions()
Gets the array of functions which will be executed after main etl action (insert, update, delete, merge, etc).
|
String |
getAutoInc(LoadFunctionContext context)
Gets the auto increment value.
|
String[] |
getBeforeFunctions()
Gets the array of functions which will be executed before main etl action (insert, update, delete, merge, etc).
|
String[] |
getExcludeFunctions()
Gets the array of functions which will be executed to calculate visibility of the field.
|
String |
getFk(LoadFunctionContext context)
Gets the new value for the field from the corresponding "primary key"
field.
|
String |
getPk(LoadFunctionContext context)
Gets the new value for the field using in-memory map or other mechanism,
for example db sequence.
|
String[] |
getRuntimeFunctions()
Gets the array of functions which will be executed at run time.
|
String |
getValue(LoadFunctionContext context)
Gets the current field value.
|
assignVar, getGlobalVarValue, getSeq, getSql, getSqlType, getValueFromRecordOrVar, getVariableValue, getVarSql, getVarSql, scriptpublic String assignVar(LoadFunctionContext context, String value) throws Exception
DefFunctionsassignVar in class DefFunctionscontext - the contextvalue - the valueException - the exceptionpublic String[] getAfterFunctions()
FunctiongetAfterFunctions in interface FunctiongetAfterFunctions in class DefFunctionspublic String getAutoInc(LoadFunctionContext context) throws Exception
context - the contextException - the exceptionpublic String[] getBeforeFunctions()
FunctiongetBeforeFunctions in interface FunctiongetBeforeFunctions in class DefFunctionspublic String[] getExcludeFunctions()
FunctiongetExcludeFunctions in interface FunctiongetExcludeFunctions in class DefFunctionspublic String getFk(LoadFunctionContext context) throws Exception
DefFunctionsgetFk in class DefFunctionscontext - the contextException - in case of any errorpublic String getPk(LoadFunctionContext context) throws Exception
DefFunctionsgetPk in class DefFunctionscontext - the contextException - in case of any errorpublic String[] getRuntimeFunctions()
FunctiongetRuntimeFunctions in interface FunctiongetRuntimeFunctions in class DefFunctionspublic String getValue(LoadFunctionContext context) throws Exception
DefFunctionsgetValue in class DefFunctionscontext - the contextException - in case of any errorCopyright © 2010-2020 Toolsverse. All Rights Reserved.