<?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: tMemorizeRows in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tMemorizeRows/m-p/2239820#M27498</link>
    <description>Hi! 
&lt;BR /&gt;Can you pls elaborate . 
&lt;BR /&gt;I have made following change to tJavaFlex:How to reference connected row explicitly? 
&lt;BR /&gt;int i=0; 
&lt;BR /&gt;j1708_idle_time.add(j1708_idle_time_tMemorizeRows_1); 
&lt;BR /&gt;globalMap.put("list",j1708_idle_time); 
&lt;BR /&gt;System.out.println(j1708_idle_time); 
&lt;BR /&gt; 
&lt;BR /&gt;When I use Input_row and output_row in tJavaRow it gives an error that Output_row cant be resolved into a variable. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;srivani</description>
    <pubDate>Thu, 27 Jan 2011 07:21:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-01-27T07:21:37Z</dc:date>
    <item>
      <title>tMemorizeRows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMemorizeRows/m-p/2239818#M27496</link>
      <description>Hi! 
&lt;BR /&gt;I have used tMemorizeRows component and it works pretty well to get the previous row. Thanks Garrett and cantoine I have installed new version 4.2.0 
&lt;BR /&gt;I have used a tJavaFlex, tIterateFlow and tJavaRow to convert the OBJECT into INTEGER and to be able to insert output of tjavaRow to tMAP as a row. 
&lt;BR /&gt; 
&lt;BR /&gt;tMSSqlInput---&amp;gt;tMemorizeRows---&amp;gt;tJavaFlex----&amp;gt;tIterateFlow-----&amp;gt;tJavaRow 
&lt;BR /&gt;The code used in tJavaFlex: 
&lt;BR /&gt;Start: 
&lt;BR /&gt;int i=0; 
&lt;BR /&gt;java.util.List&amp;lt;Integer&amp;gt; list=new java.util.ArrayList&amp;lt;Integer&amp;gt;(); 
&lt;BR /&gt;Main: 
&lt;BR /&gt;list.add(j1708_idle_time_tMemorizeRows_1); 
&lt;BR /&gt;globalMap.put("list",list); 
&lt;BR /&gt;End: 
&lt;BR /&gt;Left it Blank 
&lt;BR /&gt; 
&lt;BR /&gt;tIterateFlow: 
&lt;BR /&gt;globalMap.get("CURRENT_FILE") 
&lt;BR /&gt;tJavaRow: 
&lt;BR /&gt;java.util.List&amp;lt;Integer&amp;gt; retriveList = (java.util.List&amp;lt;Integer&amp;gt; )globalMap.get("list"); 
&lt;BR /&gt;int k=0; 
&lt;BR /&gt;int i=0; 
&lt;BR /&gt;for ( Integer l : retriveList){ 
&lt;BR /&gt;k= retriveList.get(i)==null?0:retriveList.get(i); 
&lt;BR /&gt;System.out.println(i); 
&lt;BR /&gt;System.out.println(k); 
&lt;BR /&gt;i++; 
&lt;BR /&gt;} 
&lt;BR /&gt; 
&lt;BR /&gt;tJavaRow is getting the Object as Integer rows as many times as there are rows in tMSSqlInput. 
&lt;BR /&gt;How to get values in tJavaRow ones and pass on values to tMap as row. 
&lt;BR /&gt; 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Srivani</description>
      <pubDate>Sat, 16 Nov 2024 13:07:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMemorizeRows/m-p/2239818#M27496</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: tMemorizeRows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMemorizeRows/m-p/2239819#M27497</link>
      <description>in a tJavaRow you can use special syntax: 
&lt;BR /&gt;use 
&lt;BR /&gt;input_row.column 
&lt;BR /&gt;and 
&lt;BR /&gt;output_row.column 
&lt;BR /&gt;in a tJavaFlex you need to reference the connected row explicitly</description>
      <pubDate>Tue, 25 Jan 2011 16:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMemorizeRows/m-p/2239819#M27497</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-25T16:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: tMemorizeRows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMemorizeRows/m-p/2239820#M27498</link>
      <description>Hi! 
&lt;BR /&gt;Can you pls elaborate . 
&lt;BR /&gt;I have made following change to tJavaFlex:How to reference connected row explicitly? 
&lt;BR /&gt;int i=0; 
&lt;BR /&gt;j1708_idle_time.add(j1708_idle_time_tMemorizeRows_1); 
&lt;BR /&gt;globalMap.put("list",j1708_idle_time); 
&lt;BR /&gt;System.out.println(j1708_idle_time); 
&lt;BR /&gt; 
&lt;BR /&gt;When I use Input_row and output_row in tJavaRow it gives an error that Output_row cant be resolved into a variable. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;srivani</description>
      <pubDate>Thu, 27 Jan 2011 07:21:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMemorizeRows/m-p/2239820#M27498</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-27T07:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: tMemorizeRows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMemorizeRows/m-p/2239821#M27499</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi!&lt;BR /&gt;Can you pls elaborate .&lt;BR /&gt;I have made following change to tJavaFlex:How to reference connected row explicitly?&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;If you have tFileInput--row1--&amp;gt;tJavaFlex--row2--&amp;gt;dbOutput 
&lt;BR /&gt;in the tJavaFlex you would get incoming rows with: 
&lt;BR /&gt;String column = row1.column; 
&lt;BR /&gt;You would assign output rows with something like: 
&lt;BR /&gt;row2.column = "I got me some data"; 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;int i=0;&lt;BR /&gt;j1708_idle_time.add(j1708_idle_time_tMemorizeRows_1);&lt;BR /&gt;globalMap.put("list",j1708_idle_time);&lt;BR /&gt;System.out.println(j1708_idle_time);&lt;BR /&gt;&lt;BR /&gt;When I use Input_row and output_row in tJavaRow it gives an error that Output_row cant be resolved into a variable.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Case matters-- output_row should be all lower. 
&lt;BR /&gt;Also, if you dont have the component set up with row input and output you wont be able to reference the rows: 
&lt;BR /&gt;tInput --row1--&amp;gt;tJavaRow--row2--&amp;gt;tDBout 
&lt;BR /&gt;here, in a tJavaRow, "input_row" will be rewritten as "row1" 
&lt;BR /&gt;"output_row" will be rewritten as "row2" 
&lt;BR /&gt;if the tJavaRow is not connected, then the input_row/output_row vars wont be overwritten and you'll get an exception.</description>
      <pubDate>Thu, 27 Jan 2011 14:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMemorizeRows/m-p/2239821#M27499</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-27T14:56:41Z</dc:date>
    </item>
  </channel>
</rss>

