on 03-16-2007 5:33 PM
Hi all,
I am suppose to write a java function for the following source and target structure:
<u>Source Structure</u>
Root A (0..unbounded)
|_ A
Root B (0..unbounded)
|_ B
Root C (0..unbounded)
|_ C
<u>Target Structure</u>
Root_target (0..unbounded)
|_ T
Based upon every occurrence of A, B and C, i have to first compare their values and for every unique value i have to create a separate instance of 'T'
i.e. if all the three A, B and C are different the output should be:
Root_target (0..unbounded)
|_ T (for A)
Root_target (0..unbounded)
|_ T (for B)
Root_target (0..unbounded)
|_ T (for C)
I am writing a java function in the graphical mapping for it, but i am stuck with the code to create target segments dynamically.
Any help in this regards is appreciated.
Regards,
Varun
Done
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
i am not clear with your requirement.Could you please send me the source and target structures.
i have small doubt in your question i.e
if A Root A occurs 3 times, even B and C nodes will occur 3 times or is there no such contrains?
please let's know as soon as possible.
Cheers,
Jag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Varun,
I understood unique values form A,B,C need to map to T.
In this case change the context of all these A,B,C to their respective parent node.
write a user define function to accept these 3 queues , write a java logic to fiund uniqueness among all the records, add the resulkt to Resultset , which is output map to T.
Thanks,
venu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.