<?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: arrays in globalmap variables in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/arrays-in-globalmap-variables/m-p/2343512#M111260</link>
    <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Why don't you just put all these data into globalMap?&lt;BR /&gt;I don't think it will make things simple to save an array in globalMap.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Hi 
&lt;BR /&gt;Do you mean I should create a one globalmap per row? I can have 1-n rows coming in, and array would be flexible in that regard, as it can store any number of values. 
&lt;BR /&gt;Is it impossible to store arrays in globalmap at all? 
&lt;BR /&gt;Thanks</description>
    <pubDate>Thu, 01 Mar 2012 10:01:41 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2012-03-01T10:01:41Z</dc:date>
    <item>
      <title>arrays in globalmap variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/arrays-in-globalmap-variables/m-p/2343510#M111258</link>
      <description>Hi
&lt;BR /&gt;I'd like to store the value of a column into an array, each row in it's own element. Is there a way to accomplish this? I would need to be able to access the previous rows' values from the same array, so it should be a globalmap variable. 
&lt;BR /&gt;So it should be something like this:
&lt;BR /&gt;globalMap.put("array",input_row.column_1);
&lt;BR /&gt;Then I'd access them as follows:
&lt;BR /&gt;globalMap.get("array")
&lt;BR /&gt;row value
&lt;BR /&gt;1 a
&lt;BR /&gt;2 b
&lt;BR /&gt;3 c
&lt;BR /&gt;4 d 
&lt;BR /&gt;5 e
&lt;BR /&gt;Array would be "c", as the array would be populated starting from 1 only.
&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Thu, 01 Mar 2012 08:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/arrays-in-globalmap-variables/m-p/2343510#M111258</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-03-01T08:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: arrays in globalmap variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/arrays-in-globalmap-variables/m-p/2343511#M111259</link>
      <description>Hi
&lt;BR /&gt;Why don't you just put all these data into globalMap?
&lt;BR /&gt;I don't think it will make things simple to save an array in globalMap.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Pedro</description>
      <pubDate>Thu, 01 Mar 2012 09:02:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/arrays-in-globalmap-variables/m-p/2343511#M111259</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-01T09:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: arrays in globalmap variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/arrays-in-globalmap-variables/m-p/2343512#M111260</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Why don't you just put all these data into globalMap?&lt;BR /&gt;I don't think it will make things simple to save an array in globalMap.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Hi 
&lt;BR /&gt;Do you mean I should create a one globalmap per row? I can have 1-n rows coming in, and array would be flexible in that regard, as it can store any number of values. 
&lt;BR /&gt;Is it impossible to store arrays in globalmap at all? 
&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 01 Mar 2012 10:01:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/arrays-in-globalmap-variables/m-p/2343512#M111260</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-03-01T10:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: arrays in globalmap variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/arrays-in-globalmap-variables/m-p/2343513#M111261</link>
      <description>For people who might end up here, like me, the answer is: as long as it's an object, globalmap accept it. But you have to know its class. For an array, you can use a java.util.List in the old fashioned way of java programming.</description>
      <pubDate>Tue, 27 Aug 2013 08:27:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/arrays-in-globalmap-variables/m-p/2343513#M111261</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-27T08:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: arrays in globalmap variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/arrays-in-globalmap-variables/m-p/2343514#M111262</link>
      <description>you can use List,and put List into globalMap</description>
      <pubDate>Tue, 27 Aug 2013 10:36:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/arrays-in-globalmap-variables/m-p/2343514#M111262</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-27T10:36:06Z</dc:date>
    </item>
  </channel>
</rss>

