on 08-07-2008 7:50 AM
Hi
how to save value from a field and used it again in a java code.That i need to use in UDF.
Cheers
MMV
You may use Global Container Variables to store some value to be used in any UDF throughout the mapping. Need to use one UDF to set the Global Container value (at the target field mapping, where the output you want to save for future use) and then in other UDFs you can retrieve the same value from Global Container.
Regards,
Suddha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Simply, u need to map the source field with the input of UDF. Inside the UDF , u can process the input and return the output.
Regards,
chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. Map the field as an input to the java UDF.
2. Also u can store it as an global variable using the UDF.
Thanks
SaNv...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.