public class LoadFunctionContext extends FunctionContext
LoadFunctionContext is the class that represents execution
context, used primarily by etl functions.Function| Constructor and Description |
|---|
LoadFunctionContext()
Instantiates a new load function context.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
doNotConvert(Object value)
Checks if the given value should be converted before passing to the storage
|
String |
getBindVarName()
Gets the bind variable name.
|
EtlConfig |
getConfig()
Gets the etl config associated with the current etl process.
|
Destination |
getDestination()
Gets the current
Destination. |
Scenario |
getScenario()
Gets the ETL scenario.
|
boolean |
isNullIfEmpty()
If true and the value of the string is "" return null.
|
void |
setBindVarName(String bindVarName)
Sets the bind variable name.
|
void |
setConfig(EtlConfig value)
Sets the etl config associated with the current etl process.
|
void |
setDestination(Destination value)
Sets the current
Destination. |
void |
setNullIfEmpty(boolean nullIfEmpty)
Sets the value of the property "null if empty".
|
void |
setScenario(Scenario value)
Sets the ETL scenario.
|
execute, getCurrentRecord, getCurrentValue, getRow, getScope, getVariable, isDoNotEncode, isFromCursor, setCurrentRecord, setCurrentValue, setDoNotEncode, setFromCursor, setRow, setScope, setVariablepublic LoadFunctionContext()
public EtlConfig getConfig()
public Destination getDestination()
Destination.public Scenario getScenario()
public void setConfig(EtlConfig value)
value - The new etl configpublic void setDestination(Destination value)
Destination.value - The new destinationpublic void setScenario(Scenario value)
value - the new scenariopublic boolean isNullIfEmpty()
public void setNullIfEmpty(boolean nullIfEmpty)
nullIfEmpty - booleanpublic boolean doNotConvert(Object value)
value - Objectpublic String getBindVarName()
public void setBindVarName(String bindVarName)
bindVarName - the new bind variable nameCopyright © 2010-2020 Toolsverse. All Rights Reserved.