<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to use tFileInputDelimited and Iterate in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-tFileInputDelimited-and-Iterate/m-p/2360287#M124902</link>
    <description>Well, I identify that when ITERATE is in use and to access a field, you can use&amp;nbsp; 
&lt;BR /&gt; 
&lt;PRE&gt;fid_tFileInputDelimited_1.get(indx)&lt;/PRE&gt; 
&lt;BR /&gt;Where indx is the number of column that you want to access. 
&lt;BR /&gt;I prefer always access direct to the object in the iterate instead of use an tFlowToIterate, because these component sometimes present strange behaviour and for the cost (in memory) of use a proxy (like a tFlowToIterate).</description>
    <pubDate>Mon, 04 May 2015 21:54:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-05-04T21:54:48Z</dc:date>
    <item>
      <title>How to use tFileInputDelimited and Iterate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-tFileInputDelimited-and-Iterate/m-p/2360282#M124897</link>
      <description>Hi,&lt;BR /&gt;i have a question to component tFileInputDelimited (and the other tFileInput components). There can be two row outputs: main and iterate. How to use main is clear. But how can i use iterate? How does it work? I didn't find any example for. Can anyone give me one please? Thank you. I use java projects.&lt;BR /&gt;Regards,&lt;BR /&gt;Falk</description>
      <pubDate>Sat, 16 Nov 2024 13:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-tFileInputDelimited-and-Iterate/m-p/2360282#M124897</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to use tFileInputDelimited and Iterate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-tFileInputDelimited-and-Iterate/m-p/2360283#M124898</link>
      <description>Hello 
&lt;BR /&gt;The 'iterate' link fires the next subJob based on each row, for example
&lt;BR /&gt;tFileInputDelimited--Iteate--tJava
&lt;BR /&gt;if there are three rows come from input component(tFileInputDelimited), tJava component will work three times.
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Mon, 16 Nov 2009 03:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-tFileInputDelimited-and-Iterate/m-p/2360283#M124898</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-16T03:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to use tFileInputDelimited and Iterate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-tFileInputDelimited-and-Iterate/m-p/2360284#M124899</link>
      <description>Hi Shong, 
&lt;BR /&gt;i understand what you mean, but not realy how it works. I looked in the generated source code from TOS and didn't find how i can access the fields each row. I created a simple job. tFileDelimited input (with two culumns named "newColumn" and "newColumn1") and an iterate connection to tJava. I'am using TOS 3.2.1. 
&lt;BR /&gt; 
&lt;PRE&gt;				while (fid_tFileInputDelimited_1.nextRecord()) {&lt;BR /&gt;					/**&lt;BR /&gt;					 *  stop&lt;BR /&gt;					 */&lt;BR /&gt;					/**&lt;BR /&gt;					 *  start&lt;BR /&gt;					 */&lt;BR /&gt;					currentComponent = "tFileInputDelimited_1";&lt;BR /&gt;					tos_count_tFileInputDelimited_1++;&lt;BR /&gt;					/**&lt;BR /&gt;					 *  stop&lt;BR /&gt;					 */&lt;BR /&gt;					NB_ITERATE_tJava_1++;&lt;BR /&gt;					/**&lt;BR /&gt;					 *  start&lt;BR /&gt;					 */&lt;BR /&gt;					ok_Hash.put("tJava_1", false);&lt;BR /&gt;					start_Hash.put("tJava_1", System.currentTimeMillis());&lt;BR /&gt;					currentComponent = "tJava_1";&lt;BR /&gt;					int tos_count_tJava_1 = 0;&lt;BR /&gt;					String foo = "bar";&lt;BR /&gt;					/**&lt;BR /&gt;					 *  stop&lt;BR /&gt;					 */&lt;BR /&gt;					/**&lt;BR /&gt;					 *  start&lt;BR /&gt;					 */&lt;BR /&gt;					currentComponent = "tJava_1";&lt;BR /&gt;					tos_count_tJava_1++;&lt;BR /&gt;					/**&lt;BR /&gt;					 *  stop&lt;BR /&gt;					 */&lt;BR /&gt;					/**&lt;BR /&gt;					 *  start&lt;BR /&gt;					 */&lt;BR /&gt;					currentComponent = "tJava_1";&lt;BR /&gt;					ok_Hash.put("tJava_1", true);&lt;BR /&gt;					end_Hash.put("tJava_1", System.currentTimeMillis());&lt;BR /&gt;					/**&lt;BR /&gt;					 *  stop&lt;BR /&gt;					 */&lt;BR /&gt;					/**&lt;BR /&gt;					 *  start&lt;BR /&gt;					 */&lt;BR /&gt;					currentComponent = "tFileInputDelimited_1";&lt;BR /&gt;				}&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Nov 2009 07:39:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-tFileInputDelimited-and-Iterate/m-p/2360284#M124899</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-16T07:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to use tFileInputDelimited and Iterate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-tFileInputDelimited-and-Iterate/m-p/2360285#M124900</link>
      <description>Hello 
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;I looked in the generated source code from TOS and didn't find how i can access the fields each row&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;If you want to access the fields each row, you can use tFlowToIterate component, about its usage, see 5827.
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Mon, 16 Nov 2009 08:42:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-tFileInputDelimited-and-Iterate/m-p/2360285#M124900</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-16T08:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to use tFileInputDelimited and Iterate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-tFileInputDelimited-and-Iterate/m-p/2360286#M124901</link>
      <description>Hi Shong 
&lt;BR /&gt;thank you for your answer. For me it is not easy to understand why i must send a main stream to a tFlowToIterate, because tFileDelimited already use a iterate. Which information are sending to tJava in our example with iterate? Only the number of rows i see. Is it right? 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Falk</description>
      <pubDate>Mon, 16 Nov 2009 09:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-tFileInputDelimited-and-Iterate/m-p/2360286#M124901</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-16T09:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to use tFileInputDelimited and Iterate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-tFileInputDelimited-and-Iterate/m-p/2360287#M124902</link>
      <description>Well, I identify that when ITERATE is in use and to access a field, you can use&amp;nbsp; 
&lt;BR /&gt; 
&lt;PRE&gt;fid_tFileInputDelimited_1.get(indx)&lt;/PRE&gt; 
&lt;BR /&gt;Where indx is the number of column that you want to access. 
&lt;BR /&gt;I prefer always access direct to the object in the iterate instead of use an tFlowToIterate, because these component sometimes present strange behaviour and for the cost (in memory) of use a proxy (like a tFlowToIterate).</description>
      <pubDate>Mon, 04 May 2015 21:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-tFileInputDelimited-and-Iterate/m-p/2360287#M124902</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-04T21:54:48Z</dc:date>
    </item>
  </channel>
</rss>

