<?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 Store a value in the cache and update it frequently in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Store-a-value-in-the-cache-and-update-it-frequently/m-p/2354025#M120090</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When the talent job is run, I want to store a default value (ex: 1) in the cache. I've a table which contains only one row and column. Whenever there is an update in the row (ex:2), this value needs to be updated in the talend job cache. Can you let me know how to implement in Talend?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Dev&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 05:39:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T05:39:15Z</dc:date>
    <item>
      <title>Store a value in the cache and update it frequently</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Store-a-value-in-the-cache-and-update-it-frequently/m-p/2354025#M120090</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When the talent job is run, I want to store a default value (ex: 1) in the cache. I've a table which contains only one row and column. Whenever there is an update in the row (ex:2), this value needs to be updated in the talend job cache. Can you let me know how to implement in Talend?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Dev&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Store-a-value-in-the-cache-and-update-it-frequently/m-p/2354025#M120090</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T05:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Store a value in the cache and update it frequently</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Store-a-value-in-the-cache-and-update-it-frequently/m-p/2354026#M120091</link>
      <description>&lt;P&gt;You could use the Talend component tHashOutpout to store the data and tHashInput to read it.&amp;nbsp; See the documentation on these components here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/LTqBBurBnnkWIPVTY769dA" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/LTqBBurBnnkWIPVTY769dA&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 08:16:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Store-a-value-in-the-cache-and-update-it-frequently/m-p/2354026#M120091</guid>
      <dc:creator>nfz11</dc:creator>
      <dc:date>2019-06-06T08:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Store a value in the cache and update it frequently</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Store-a-value-in-the-cache-and-update-it-frequently/m-p/2354027#M120092</link>
      <description>&lt;P&gt;But records strored into a tHashOutput component cannot be updated.&lt;/P&gt;
&lt;P&gt;As you have a single row to be cached, a simple global variable should be enough for your use case.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 08:28:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Store-a-value-in-the-cache-and-update-it-frequently/m-p/2354027#M120092</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-06-06T08:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Store a value in the cache and update it frequently</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Store-a-value-in-the-cache-and-update-it-frequently/m-p/2354028#M120093</link>
      <description>&lt;P&gt;OK yeah, as&amp;nbsp; &lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;&amp;nbsp;&amp;nbsp;said, if it is just one variable that you want to keep overwriting with the latest value of your column, you can use the globalMap to store it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the tSetGlobalVar component to do this:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/xx0nz4uGJnqyc7dKOLN4Wg" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/xx0nz4uGJnqyc7dKOLN4Wg&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also read or write to the globalMap in a tJavaRow component.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 08:33:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Store-a-value-in-the-cache-and-update-it-frequently/m-p/2354028#M120093</guid>
      <dc:creator>nfz11</dc:creator>
      <dc:date>2019-06-06T08:33:47Z</dc:date>
    </item>
  </channel>
</rss>

