<?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: Writing data from a tJavaFlex into an output in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Writing-data-from-a-tJavaFlex-into-an-output/m-p/2275469#M51838</link>
    <description>Hi
&lt;BR /&gt;Could you show us the code in tJavaFlex?
&lt;BR /&gt;And normally there must be some workaround to solve this issue without tJavaFlex.
&lt;BR /&gt;Need more info.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Pedro</description>
    <pubDate>Wed, 25 Jul 2012 03:10:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-07-25T03:10:29Z</dc:date>
    <item>
      <title>Writing data from a tJavaFlex into an output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-data-from-a-tJavaFlex-into-an-output/m-p/2275468#M51837</link>
      <description>I have stored inside a routine a Hashmap that contains my data in various stages of completion. at the end on an iteration cycle i need to write the data in memory into a tFileOutputDelimited.
&lt;BR /&gt;I use a tjavaFlex component,in the start section I call the map from the routine and then iterate though the hashmap in order to populate the output in the main section
&lt;BR /&gt;i.e. row8.pk = object.getPK();
&lt;BR /&gt;the problem is that only one row is passed into the tFileOutputDelimited, the last row. does anyone know how I can write the complete hashmap into the tFileOutputDelimited
&lt;BR /&gt;Thank you</description>
      <pubDate>Tue, 24 Jul 2012 14:10:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-data-from-a-tJavaFlex-into-an-output/m-p/2275468#M51837</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-24T14:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Writing data from a tJavaFlex into an output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-data-from-a-tJavaFlex-into-an-output/m-p/2275469#M51838</link>
      <description>Hi
&lt;BR /&gt;Could you show us the code in tJavaFlex?
&lt;BR /&gt;And normally there must be some workaround to solve this issue without tJavaFlex.
&lt;BR /&gt;Need more info.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Pedro</description>
      <pubDate>Wed, 25 Jul 2012 03:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-data-from-a-tJavaFlex-into-an-output/m-p/2275469#M51838</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-25T03:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Writing data from a tJavaFlex into an output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-data-from-a-tJavaFlex-into-an-output/m-p/2275470#M51839</link>
      <description>Start code: 
&lt;BR /&gt;MediationRoutine.flushUDRMap(); // A method that removes all merged data 
&lt;BR /&gt;HashMap&amp;lt;String,ArrayList&amp;lt;UDR&amp;gt;&amp;gt; map = MediationRoutine.getUDRMap().getMap();// retrieves the Map from the routine 
&lt;BR /&gt; 
&lt;BR /&gt;Main code: 
&lt;BR /&gt;for (Iterator&amp;lt;ArrayList&amp;lt;UDR&amp;gt;&amp;gt; iterator = map.values() 
&lt;BR /&gt; .iterator(); iterator.hasNext() 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; { 
&lt;BR /&gt; ArrayList&amp;lt;UDR&amp;gt; list = iterator.next(); 
&lt;BR /&gt; for (Iterator&amp;lt;UDR&amp;gt; iterator2 = list.iterator(); iterator2.hasNext() 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; { 
&lt;BR /&gt; UDR udr = iterator2.next(); 
&lt;BR /&gt; row8.pk = udr.getPk(); 
&lt;BR /&gt; } 
&lt;BR /&gt; } 
&lt;BR /&gt;row8 is the name of the connector that connects to a tFilterRow</description>
      <pubDate>Wed, 25 Jul 2012 08:31:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-data-from-a-tJavaFlex-into-an-output/m-p/2275470#M51839</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-25T08:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Writing data from a tJavaFlex into an output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-data-from-a-tJavaFlex-into-an-output/m-p/2275471#M51840</link>
      <description>Hi&lt;BR /&gt;The reason you get only one row is that the for loop is only in Main code.&lt;BR /&gt;Try to do this. Type the start part of for-loop in start code. Type the end part "}" in the end code.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Wed, 25 Jul 2012 08:39:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-data-from-a-tJavaFlex-into-an-output/m-p/2275471#M51840</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-25T08:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Writing data from a tJavaFlex into an output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-data-from-a-tJavaFlex-into-an-output/m-p/2275472#M51841</link>
      <description>Ah thank you so much Pedro really appreciate the help works like a charm.</description>
      <pubDate>Wed, 25 Jul 2012 09:54:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-data-from-a-tJavaFlex-into-an-output/m-p/2275472#M51841</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-25T09:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Writing data from a tJavaFlex into an output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-data-from-a-tJavaFlex-into-an-output/m-p/2275473#M51842</link>
      <description>Hi&lt;BR /&gt;Great!&lt;BR /&gt;Feel free to ask any question here.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Wed, 25 Jul 2012 09:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-data-from-a-tJavaFlex-into-an-output/m-p/2275473#M51842</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-25T09:57:36Z</dc:date>
    </item>
  </channel>
</rss>

