<?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: Getting Started with tSetGlobalVar and tJavaRow components in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Getting-Started-with-tSetGlobalVar-and-tJavaRow-components/m-p/2297652#M70203</link>
    <description>1. If you mean the value example, because it's a string. You can put any expression you want there. 
&lt;BR /&gt;3. To retrieve, use the expression: (YourDataType)globalMap.get("YourVariableName") e.g. (Integer)globalMap.get("Counter") 
&lt;BR /&gt;2. For example: ((Integer)globalMap.get("Counter"))==null?1 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;Integer)globalMap.get("Counter")+1</description>
    <pubDate>Thu, 04 Mar 2010 03:11:23 GMT</pubDate>
    <dc:creator>alevy</dc:creator>
    <dc:date>2010-03-04T03:11:23Z</dc:date>
    <item>
      <title>Getting Started with tSetGlobalVar and tJavaRow components</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-Started-with-tSetGlobalVar-and-tJavaRow-components/m-p/2297651#M70202</link>
      <description>I 'd like to count non empty fields of a column from a sql table&lt;BR /&gt;Question 1 : why , when i want to add tSetGlobalVar , the example is between quotes ? i only want to initialise a integer variable to 0.&lt;BR /&gt;Question 2  : &lt;BR /&gt;how add 1 to this variable when the field is not null ?&lt;BR /&gt;Question 3 : how display this variable ? &lt;BR /&gt;Thanks in advance</description>
      <pubDate>Sat, 16 Nov 2024 13:31:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-Started-with-tSetGlobalVar-and-tJavaRow-components/m-p/2297651#M70202</guid>
      <dc:creator>jeanphi45</dc:creator>
      <dc:date>2024-11-16T13:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Started with tSetGlobalVar and tJavaRow components</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-Started-with-tSetGlobalVar-and-tJavaRow-components/m-p/2297652#M70203</link>
      <description>1. If you mean the value example, because it's a string. You can put any expression you want there. 
&lt;BR /&gt;3. To retrieve, use the expression: (YourDataType)globalMap.get("YourVariableName") e.g. (Integer)globalMap.get("Counter") 
&lt;BR /&gt;2. For example: ((Integer)globalMap.get("Counter"))==null?1 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;Integer)globalMap.get("Counter")+1</description>
      <pubDate>Thu, 04 Mar 2010 03:11:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-Started-with-tSetGlobalVar-and-tJavaRow-components/m-p/2297652#M70203</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2010-03-04T03:11:23Z</dc:date>
    </item>
  </channel>
</rss>

