<?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] ArrayList - How can I retrieve objects? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-ArrayList-How-can-I-retrieve-objects/m-p/2255140#M37940</link>
    <description>Thanks Shong! 
&lt;BR /&gt;I define the ArrayList in the tJavaFlex: 
&lt;BR /&gt; 
&lt;B&gt;java.util.List&lt;BR /&gt;list=new java.util.ArrayList();&lt;/B&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Using 
&lt;B&gt;row2&lt;/B&gt; instead of 
&lt;B&gt;list&lt;/B&gt; for calling the Array items worked great! 
&lt;BR /&gt;"*2011"+((String)globalMap.get(" 
&lt;B&gt;row2&lt;/B&gt;.myMonth"))+((String)globalMap.get(" 
&lt;B&gt;row2&lt;/B&gt;.myDay"))+"*.out"</description>
    <pubDate>Thu, 02 Jun 2011 18:01:23 GMT</pubDate>
    <dc:creator>talendtester</dc:creator>
    <dc:date>2011-06-02T18:01:23Z</dc:date>
    <item>
      <title>[resolved] ArrayList - How can I retrieve objects?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-ArrayList-How-can-I-retrieve-objects/m-p/2255138#M37938</link>
      <description>When my job looks like this: 
&lt;BR /&gt;tFileInputDelimited &amp;gt; tJavaFlex &amp;gt; tLogRow 
&lt;BR /&gt;My output is: 
&lt;BR /&gt;|-------+-----| 
&lt;BR /&gt;|myMonth|myDay| 
&lt;BR /&gt;|=------+-----| 
&lt;BR /&gt;|05 |31 | 
&lt;BR /&gt;|05 |27 | 
&lt;BR /&gt;'-------+-----' 
&lt;BR /&gt;When I change my job to the following: 
&lt;BR /&gt;tFileInputDelimited &amp;gt; tJavaFlex &amp;gt; tFileList &amp;gt; tIterateToFlow &amp;gt; tMap &amp;gt; tLogRow 
&lt;BR /&gt; 
&lt;B&gt;How can I use the objects in the ArrayList as a FileMask for the tFileList?&lt;/B&gt; 
&lt;BR /&gt;Is this close? 
&lt;BR /&gt;"*2011"+globalMap.get("list.myMonth")+globalMap.get("list.myDay")+".out"</description>
      <pubDate>Sat, 16 Nov 2024 12:53:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-ArrayList-How-can-I-retrieve-objects/m-p/2255138#M37938</guid>
      <dc:creator>talendtester</dc:creator>
      <dc:date>2024-11-16T12:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] ArrayList - How can I retrieve objects?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-ArrayList-How-can-I-retrieve-objects/m-p/2255139#M37939</link>
      <description>Hi 
&lt;BR /&gt;I don't see where you define the ArrayList, I think the job should be: 
&lt;BR /&gt;tFileInputDelimited---row1--&amp;gt;tJavaFlex--row2--&amp;gt;tFlowToIterate--iterate--&amp;gt;tFileList--tIterateToFlow---main---&amp;gt;tMap--&amp;gt; 
&lt;BR /&gt;Assuming the data type of myMonth/myDay is Integer/int, set the filemask of tFileList as: "*2011"+(Integer)globalMap.get("row2.myMonth")+(Integer)globalMap.get("row2.myDay")+".out" 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 01 Jun 2011 02:29:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-ArrayList-How-can-I-retrieve-objects/m-p/2255139#M37939</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-01T02:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] ArrayList - How can I retrieve objects?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-ArrayList-How-can-I-retrieve-objects/m-p/2255140#M37940</link>
      <description>Thanks Shong! 
&lt;BR /&gt;I define the ArrayList in the tJavaFlex: 
&lt;BR /&gt; 
&lt;B&gt;java.util.List&lt;BR /&gt;list=new java.util.ArrayList();&lt;/B&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Using 
&lt;B&gt;row2&lt;/B&gt; instead of 
&lt;B&gt;list&lt;/B&gt; for calling the Array items worked great! 
&lt;BR /&gt;"*2011"+((String)globalMap.get(" 
&lt;B&gt;row2&lt;/B&gt;.myMonth"))+((String)globalMap.get(" 
&lt;B&gt;row2&lt;/B&gt;.myDay"))+"*.out"</description>
      <pubDate>Thu, 02 Jun 2011 18:01:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-ArrayList-How-can-I-retrieve-objects/m-p/2255140#M37940</guid>
      <dc:creator>talendtester</dc:creator>
      <dc:date>2011-06-02T18:01:23Z</dc:date>
    </item>
  </channel>
</rss>

