<?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: tHMap SimpleLoop Filter by Java function - need to pass entire loop (of Json array) as parameter in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tHMap-SimpleLoop-Filter-by-Java-function-need-to-pass-entire/m-p/2338366#M106611</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think you can do it like that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But what is the algorithm of this java function ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;</description>
    <pubDate>Sun, 13 Aug 2017 11:27:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-08-13T11:27:39Z</dc:date>
    <item>
      <title>tHMap SimpleLoop Filter by Java function - need to pass entire loop (of Json array) as parameter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-SimpleLoop-Filter-by-Java-function-need-to-pass-entire/m-p/2338364#M106609</link>
      <description>&lt;P&gt;In Talend tHMap, we are trying to do custom filtering on a loop of JSON array using a Java function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This Java function needs to have as input as the iteration of the loop being passed in as well as the entire loop itself.&lt;/P&gt;
&lt;P&gt;This is to determine if a certain iteration of the loop should be filtered out based on other sibling instances within the same loop (which may come before or after the current instance)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do we do that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:30:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-SimpleLoop-Filter-by-Java-function-need-to-pass-entire/m-p/2338364#M106609</guid>
      <dc:creator>kknoon</dc:creator>
      <dc:date>2024-11-16T09:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: tHMap SimpleLoop Filter by Java function - need to pass entire loop (of Json array) as parameter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-SimpleLoop-Filter-by-Java-function-need-to-pass-entire/m-p/2338365#M106610</link>
      <description>&lt;P&gt;Look at the mapper functions: I think there is one called LoopIndex that can be used to filter based on a given loop iteration. You can read more about it here:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="http://doc.talend.com/enterprise/talend_data_mapper/3.3/map_iter.php#map_iter_cookbook" target="_blank" rel="nofollow noopener noreferrer"&gt;http://doc.talend.com/enterprise/talend_data_mapper/3.3/map_iter.php#map_iter_cookbook&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;(look for the section titled "Mapping Looping to Non-Looping": it's not quite what you're trying to do, but it describes the component).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Good luck!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2017 13:18:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-SimpleLoop-Filter-by-Java-function-need-to-pass-entire/m-p/2338365#M106610</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-20T13:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: tHMap SimpleLoop Filter by Java function - need to pass entire loop (of Json array) as parameter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-SimpleLoop-Filter-by-Java-function-need-to-pass-entire/m-p/2338366#M106611</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think you can do it like that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But what is the algorithm of this java function ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;</description>
      <pubDate>Sun, 13 Aug 2017 11:27:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-SimpleLoop-Filter-by-Java-function-need-to-pass-entire/m-p/2338366#M106611</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-13T11:27:39Z</dc:date>
    </item>
  </channel>
</rss>

