<?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: [resolved] how to iterate through ArrayList? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292816#M65853</link>
    <description>Hi 
&lt;BR /&gt;I have scenario to iterate through Arraylist .I have list of customercode where i should check the custcode with the table if it exist it should go to the if condition there i m creating a temporary table to do bulk updation,if it doesn't exist it has to go to else part. 
&lt;BR /&gt;how can i solve this issue? i am facing problem while iterating a list.</description>
    <pubDate>Wed, 20 Apr 2016 04:49:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-20T04:49:14Z</dc:date>
    <item>
      <title>[resolved] how to iterate through ArrayList?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292810#M65847</link>
      <description>Hi,
&lt;BR /&gt;I have an ArrayList I set in a tJavaFlex component
&lt;BR /&gt; globalMap.put("list",list);
&lt;BR /&gt;I can read the "global" value ie: 
&lt;BR /&gt; (java.util.List)globalMap.get("list")
&lt;BR /&gt;I wander how I can iterate through x, y, then z, based on (java.util.List)globalMap.get("list")
&lt;BR /&gt;iteration?
&lt;BR /&gt;thanks in advance for any help.
&lt;BR /&gt;JNB</description>
      <pubDate>Sat, 16 Nov 2024 13:31:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292810#M65847</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to iterate through ArrayList?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292811#M65848</link>
      <description>I managed to iterate the list values that way
&lt;BR /&gt;In a tJava component
&lt;BR /&gt;Object ia[] = ((java.util.List&amp;lt;String&amp;gt;)globalMap.get("list")).toArray(); 
&lt;BR /&gt;for(int k=0; k&amp;lt;ia.length; k++) {
&lt;BR /&gt; context.val = context.val + ia&amp;lt;K&amp;gt; + ";"; 
&lt;BR /&gt;} 
&lt;BR /&gt;Then I can process
&lt;BR /&gt;tFixedFlowInput-&amp;gt;tNormalize ... and iterate through each value of my initial arrayList.
&lt;BR /&gt;I'm not sure it's the best way to do it but that works.
&lt;BR /&gt;JNB</description>
      <pubDate>Mon, 01 Mar 2010 14:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292811#M65848</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-03-01T14:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to iterate through ArrayList?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292812#M65849</link>
      <description>Hello 
&lt;BR /&gt;You can aslo use tLoop to iterate each value of list. see my screenshots.
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
      <pubDate>Tue, 02 Mar 2010 03:35:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292812#M65849</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-03-02T03:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to iterate through ArrayList?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292813#M65850</link>
      <description>Hi. This is similar to the scenario I am trying to develop, except instead of a tJava component, I want to feed each element of the List into a tMap. How do I arrange this? Can't seem to get the flows right to get myself access into the tMap.&lt;BR /&gt;i.e. something like&lt;BR /&gt;tLoop =&amp;gt; . . . =&amp;gt; tMap (for each element)&lt;BR /&gt;Thanks!</description>
      <pubDate>Mon, 18 Jul 2011 15:31:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292813#M65850</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-07-18T15:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to iterate through ArrayList?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292814#M65851</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi. This is similar to the scenario I am trying to develop, except instead of a tJava component, I want to feed each element of the List into a tMap. How do I arrange this? Can't seem to get the flows right to get myself access into the tMap.&lt;BR /&gt;i.e. something like&lt;BR /&gt;tLoop =&amp;gt; . . . =&amp;gt; tMap (for each element)&lt;BR /&gt;Thanks!&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Hi 
&lt;BR /&gt;I am sure the code in tJava should also work in tMap, if you can't get the job work, please upload a screenshot of job.
&lt;BR /&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 19 Jul 2011 07:36:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292814#M65851</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-07-19T07:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to iterate through ArrayList?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292815#M65852</link>
      <description>Apologies for the late response; thanks Shong for your reply. It all worked out as you suggested. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 03 Aug 2011 12:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292815#M65852</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-03T12:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to iterate through ArrayList?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292816#M65853</link>
      <description>Hi 
&lt;BR /&gt;I have scenario to iterate through Arraylist .I have list of customercode where i should check the custcode with the table if it exist it should go to the if condition there i m creating a temporary table to do bulk updation,if it doesn't exist it has to go to else part. 
&lt;BR /&gt;how can i solve this issue? i am facing problem while iterating a list.</description>
      <pubDate>Wed, 20 Apr 2016 04:49:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292816#M65853</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-20T04:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to iterate through ArrayList?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292817#M65854</link>
      <description>This tutorial might help. It was written to demonstrate how to replicate the "Connect By" Oracle functionality in Talend. But the first component receives data as an ArrayList and iterates through the list using a tJavaFlex. Take a look ( 
&lt;A href="https://www.rilhia.com/tutorials/talend-connect-example" rel="nofollow noopener noreferrer"&gt;https://www.rilhia.com/tutorials/talend-connect-example&lt;/A&gt;).</description>
      <pubDate>Wed, 20 Apr 2016 09:50:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292817#M65854</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-20T09:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to iterate through ArrayList?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292818#M65855</link>
      <description>&lt;P&gt;Hi Shong,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you able to share me your screen shot.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rits&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 10:00:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292818#M65855</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-29T10:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to iterate through ArrayList?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292819#M65856</link>
      <description>&lt;P&gt;Hi Shong,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you able to share me your screen shot.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rits&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 10:00:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-iterate-through-ArrayList/m-p/2292819#M65856</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-29T10:00:45Z</dc:date>
    </item>
  </channel>
</rss>

