Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
mr_burns
Contributor
Contributor

tJavaFlex - output main vs iterate

Hi,

I just want to know, what is the difference between the main output and the iterate output of a tJavaFlex component.

The main output I used several times but the iterate output not.

What is the use case for the iterate output and how to get access to the iterate output inside the successor component?

Thanks...

Labels (3)
4 Replies
Anonymous
Not applicable

Hello,

There are various types of connections which define either the data to be processed, the data output, or the Job logical sequence.

Please have a look at these online documentations

https://help.talend.com/r/en-US/8.0/studio-user-guide/row-connection

https://help.talend.com/r/en-US/8.0/studio-user-guide/iterate-connection

https://help.talend.com/r/en-US/8.0/studio-user-guide/trigger-connections-for-job

Best regards

Sabrina

mr_burns
Contributor
Contributor
Author

@Xiaodi Shi​: thanks I know that already.

My question was/is:

 

inside tJavaFlex how do I code to trigger the iterate or the Main output.

Inside the 'main code' section I can develop some code to trigger the Main output.

But how I can develop for the iterate output?

 

Anonymous
Not applicable

Hello,

Are you trying to see how a tJavaflex component controls the iterate flow? To control the iterator from inside the tJavaflex component using java?

What exactly is your requirement? Any use case scenario for this? Iterate through ArrayList or set a list in tJavaflex?

Best regards

Sabrina

 

 

mr_burns
Contributor
Contributor
Author

Hi,

 

no right now I do nothing you mentioned.

I just want to know what is a use case for the iterate output compared to the row (Main) output of tJavaFlex component.

Since I am learning Talend and it's components I just want to know when to use iterate output and how to use iterate output.

 

Hope it is more clear now.