Post a reply

Write your message and submit

Options

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

agustin
2010-01-28 20:43:10

amaumont wrote:

I hope I understood your request and I built this job, see the screenshots.

can you explain me how do you do that...please...

because i get lost... in the part where you getGloba...

tks...

richiesgr
2008-01-30 20:31:38

I got It !!!!

Thank you very much

amaumont
2008-01-30 17:07:40

I think the new job should response to your need.

richiesgr
2008-01-30 13:59:12

Thanks for your response it's ok for the second part of the problem meaning To get an array back from the API and loop on it
many thanks for this.

But the first part is more complicated :
I need to build a List java object with data from Tmap meaning that Tmap need to output the data to TjavaFlex but it going to make it for each row I need to take these rows data and add them into a list WHEN the list size = 5000 I need to call my java API and pass this list as parameter

If you need more detailled description tell me what could help you

Thanks

amaumont
2008-01-30 10:58:25

I hope I understood your request and I built this job, see the screenshots.

richiesgr
2008-01-30 09:44:17

Hello Nobody have an idea ??
Is there anybody have ever use a list type field ??

Thanks

richiesgr
2008-01-28 14:29:19

Hi

I'm using Talend to manage flow that call Java api. I use TjavaFlex and write java routine to wrap the java api all is fine.

My problem I've an api that receive a List<String> as parameter and return back a String array.
like  String[] call(List<String> data)

In my flow I get the data from 1 column and I need to build a bulk of 5000 string put this into a list an call the API, the API return back String[] this string array need to continue the flow. Of course I need to make this for each 5000 rows.

I've tried to play with Tbuffer but I don't understand how to change 5000 row to a list

I don't know also how to reenter into the flow the string array that I get back from the API

Please help

Board footer

Powered by FluxBB