public class ColumnAliasMapping extends AbstractImplementation implements MappingValueIF
| Modifier and Type | Field and Description |
|---|---|
protected java.util.HashMap<java.lang.String,java.lang.String> |
aliasMap |
protected java.lang.String |
encoding |
arguments, ctx, descriptor, NEW_LINE| Constructor and Description |
|---|
ColumnAliasMapping() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Execute the program.
|
void |
init()
Initialize the work.
|
TS_Value |
map(TS_Value toMap,
java.lang.String attrName,
int lineNo)
Map the value, the TS_Value is return with possible a modified value.
|
void |
terminate()
Terminate the execution.
|
addAttributesToNameValueUnitArray, addAttributeToNameValueUnitArray, addStringValueToNameValueUnitArray, checkDirectoy, checkDirectoy, checkDirectoy, checkFile, checkFile, checkFile, checkIntValue, checkStringValue, compressNvuArray, createMessageFromPropertyFile, createMessageFromPropertyFile, createMessageFromPropertyFile, createTsUnionFromObject, deleteRowWithAttributes, getArguments, getContext, getDescriptor, getListFromProperty, getMandatoryProperty, getMandatoryProperty, getMandatoryPropertyAsInt, getMandatoryPropertyAsList, getMandatoryPropertyWithRuleException, getNvuArrayFromMap, getNvuArrayFromMap, getNvuObjectWithName, getNvuObjectWithName, getNvuObjectWithName, getOdsCacheFromProperty, getOptioanlPropertyAsInt, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsList, makeUpperCaseKeyword, removeAttributeFromNameValueUnitArray, removeAttributeFromNameValueUnitArray, setArguments, setContext, setDescriptorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContext, getDescriptor, setArguments, setContext, setDescriptorprotected java.lang.String encoding
protected java.util.HashMap<java.lang.String,java.lang.String> aliasMap
public void init()
throws InitializationFailedException
AbstractImplementationinit in interface ImplementationIFinit in class AbstractImplementationInitializationFailedException - if the initialization fails.public void execute()
throws ExecutableException
ExecutableIFexecute in interface ExecutableIFExecutableException - if execution fails.public void terminate()
throws TerminationException
ExecutableIFterminate in interface ExecutableIFTerminationException - if termination fails.public TS_Value map(TS_Value toMap, java.lang.String attrName, int lineNo) throws RuleException
map in interface MappingValueIFtoMap - value to map, the null nothing will be done.attrName - attribute name (not used)lineNo - line number i data set (not used)RuleException - not used.