<?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: convert csv file rows to java map in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/convert-csv-file-rows-to-java-map/m-p/2259059#M40661</link>
    <description>Hi, 
&lt;BR /&gt;I have managed to find a solution through browsing the forum. thanks you very much. 
&lt;BR /&gt;see my attached screen shots. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCsN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154145i3184B4FC12EC03EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCsN.png" alt="0683p000009MCsN.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCWL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133324i1E13D4ADF99BE17A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCWL.png" alt="0683p000009MCWL.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Wed, 19 Feb 2014 12:02:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-02-19T12:02:53Z</dc:date>
    <item>
      <title>convert csv file rows to java map</title>
      <link>https://community.qlik.com/t5/Talend-Studio/convert-csv-file-rows-to-java-map/m-p/2259056#M40658</link>
      <description>I'm working on a medium to large size csv file. i want to transfer each row in the csv file to a java map. i have done some initiative, please see the attached job. 
&lt;BR /&gt;The problem is i'm unable to convert tMap's output table to direct java map. currently, i'm manually assigning each column to a java map (inside tJavaRow_1). 
&lt;BR /&gt;Is there any workaround for this? 
&lt;BR /&gt;appreciate your response. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCrd.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129057i4FC454589281F513/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCrd.png" alt="0683p000009MCrd.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 11:44:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/convert-csv-file-rows-to-java-map/m-p/2259056#M40658</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: convert csv file rows to java map</title>
      <link>https://community.qlik.com/t5/Talend-Studio/convert-csv-file-rows-to-java-map/m-p/2259057#M40659</link>
      <description>I'm not entirely sure I understand correctly, but maybe tJavaFlex is a possible solution for you? 
&lt;BR /&gt;If not, please be more specific about your input schema and the details about your output object. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCrp.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129702i7F79A596E0C2059F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCrp.png" alt="0683p000009MCrp.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 18 Feb 2014 12:19:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/convert-csv-file-rows-to-java-map/m-p/2259057#M40659</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-18T12:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: convert csv file rows to java map</title>
      <link>https://community.qlik.com/t5/Talend-Studio/convert-csv-file-rows-to-java-map/m-p/2259058#M40660</link>
      <description>Hi rretzbach, 
&lt;BR /&gt;Thanks for your input. however, your solution doesn't fit for me. I'll detail my issue. 
&lt;BR /&gt;i have files in a folder. i have to convert each row in files to a java map for my processing. as you can see in previous diagram, i'm transferring row/column combination through tMap and then passing to tJavaRow. then the java code will convert to a map. 
&lt;BR /&gt;please see the attachments for more clarity. 
&lt;BR /&gt; 
&lt;BR /&gt;as you can see i have to hardcode, "column name" to java map. this seems bit ugly for me. what i want is a simple solution as; 
&lt;BR /&gt; 
&lt;BR /&gt;java.util.Map&amp;lt;String, String&amp;gt; newMap = (java.util.HashMap)tMap; 
&lt;BR /&gt; 
&lt;BR /&gt;is it possible? or can you suggest me a better way to achieve this. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCiS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133271iCCBD55A6558087C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCiS.png" alt="0683p000009MCiS.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCw0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139873i612B3C382C323A24/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCw0.png" alt="0683p000009MCw0.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 19 Feb 2014 04:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/convert-csv-file-rows-to-java-map/m-p/2259058#M40660</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-19T04:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: convert csv file rows to java map</title>
      <link>https://community.qlik.com/t5/Talend-Studio/convert-csv-file-rows-to-java-map/m-p/2259059#M40661</link>
      <description>Hi, 
&lt;BR /&gt;I have managed to find a solution through browsing the forum. thanks you very much. 
&lt;BR /&gt;see my attached screen shots. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCsN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154145i3184B4FC12EC03EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCsN.png" alt="0683p000009MCsN.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCWL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133324i1E13D4ADF99BE17A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCWL.png" alt="0683p000009MCWL.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 19 Feb 2014 12:02:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/convert-csv-file-rows-to-java-map/m-p/2259059#M40661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-19T12:02:53Z</dc:date>
    </item>
  </channel>
</rss>

