public class InformixFunctions extends DefFunctions
InformixDriver| Modifier and Type | Field and Description |
|---|---|
static String[] |
AFTER_FUNCTIONS
The AFTER_FUNCTIONS.
|
static String[] |
BEFORE_FUNCTIONS
The BEFORE_FUNCTIONS.
|
static String[] |
EXCLUDE_FUNCTIONS
The EXCLUDE_FUNCTIONS.
|
DEFAULT_FUNCTION, SCENARIO_VARIABLE_ATTR, SCRIPT_FUNCTION, START_ATTR| Constructor and Description |
|---|
InformixFunctions() |
| 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[] |
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 |
getSerial(LoadFunctionContext context)
Gets the new value for the field using dbinfo('sqlca.sqlerrd1') or dbinfo('serial8').
|
String |
getValue(LoadFunctionContext context)
Gets the current field value.
|
assignVar, getGlobalVarValue, getSeq, getSql, getSqlType, getValueFromRecordOrVar, getVariableValue, getVarSql, getVarSql, scriptpublic static final String[] BEFORE_FUNCTIONS
public static final String[] AFTER_FUNCTIONS
public static final String[] EXCLUDE_FUNCTIONS
public 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[] getBeforeFunctions()
FunctiongetBeforeFunctions in interface FunctiongetBeforeFunctions in class DefFunctionspublic String[] getExcludeFunctions()
FunctiongetExcludeFunctions in interface FunctiongetExcludeFunctions in class DefFunctionspublic String getFk(LoadFunctionContext context)
DefFunctionsgetFk in class DefFunctionscontext - the contextpublic String getPk(LoadFunctionContext context)
DefFunctionsgetPk in class DefFunctionscontext - the contextpublic String[] getRuntimeFunctions()
FunctiongetRuntimeFunctions in interface FunctiongetRuntimeFunctions in class DefFunctionspublic String getSerial(LoadFunctionContext context) throws Exception
context - the contextException - the exceptionpublic String getValue(LoadFunctionContext context) throws Exception
DefFunctionsgetValue in class DefFunctionscontext - the contextException - in case of any errorCopyright © 2010-2020 Toolsverse. All Rights Reserved.