|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.fc.Function
com.ibm.di.fc.dcs.DataCleanserFC
public class DataCleanserFC
This class initializes Data Cleanser Service and takes a string and gives a standard CDM String corresponding to the inout string.
Field Summary | |
---|---|
static String |
CDM_ATTR_TYPE
This output map attribute is used to override the CDM Attribute name set in the Components configuration panel. |
static String |
CLEANSED_STRING
This input map attribute is the cleansed string of the given input string. |
static String |
INPUT_STRING
This output map attribute is for input string which need to be cleansed. |
Fields inherited from class com.ibm.di.fc.Function |
---|
logger |
Constructor Summary | |
---|---|
DataCleanserFC()
|
Method Summary | |
---|---|
Map<String,Object> |
getAttributeTypes()
Retrieves the Attribute Types which can be cleansed. |
String |
getVersion()
Version information. |
void |
initialize(Object obj)
Called once to initialize the Function Component. |
Object |
perform(Object obj)
The FC takes the string which needs to be cleansed and a CDM Attribute. |
Methods inherited from class com.ibm.di.fc.Function |
---|
debug, getConfiguration, getContext, getDebug, getLog, getParam, getRSInterface, getUI, initialize, logmsg, querySchema, setConfiguration, setContext, setDebug, setLog, setParam, setRSInterface, terminate, updateSchema, verifyInitialized |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CDM_ATTR_TYPE
public static final String INPUT_STRING
public static final String CLEANSED_STRING
Constructor Detail |
---|
public DataCleanserFC()
Method Detail |
---|
public void initialize(Object obj) throws Exception
initialize
in interface FunctionInterface
initialize
in class Function
obj
- -
ignored
Exception
- if an error occurs.public Object perform(Object obj) throws Exception
obj
- the work entry passed to the FC.
Exception
- if a problem occurs.public Map<String,Object> getAttributeTypes() throws Exception
Exception
- if error occurred.public String getVersion()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |