<?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: Reading java or protobuf object in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376348#M138545</link>
    <description>I failed to find any solution to pass java object to talend input from outside. Please give me some solution for this. Or for time being how can I pass string to talend input from outside Talend.</description>
    <pubDate>Wed, 02 Jun 2010 10:19:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-06-02T10:19:36Z</dc:date>
    <item>
      <title>Reading java or protobuf object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376329#M138526</link>
      <description>I have a senario where I recieve  real time java or protobuf objects. I need to extract data from those object and store into database. Is there a way in Talend where I can take java object as input and extract fields of that object.</description>
      <pubDate>Sat, 16 Nov 2024 13:25:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376329#M138526</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reading java or protobuf object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376330#M138527</link>
      <description>Hello 
&lt;BR /&gt;There is no component can extract records from an Java object directly, you have to hard code and create an routine to do that, and then call the routine on tJavaRow, for example: 
&lt;BR /&gt;input flow----tJavaRow--tMysqlOutput 
&lt;BR /&gt;on tJavaRow: 
&lt;BR /&gt;output_row.id=RoutineName.getID(input_row.Java object column); 
&lt;BR /&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 14 May 2010 07:17:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376330#M138527</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-14T07:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Reading java or protobuf object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376331#M138528</link>
      <description>What should be content of routine? The method getID which you have specified takes object property and returns string. But how we will take object as input flow.</description>
      <pubDate>Fri, 14 May 2010 07:57:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376331#M138528</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-14T07:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reading java or protobuf object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376332#M138529</link>
      <description>Hello 
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;What should be content of routine? The method getID which you have specified takes object property and returns string. But how we will take object as input flow.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;It is just my thinking, where does your java ojbect come from and what data do you want to extract? 
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 14 May 2010 08:05:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376332#M138529</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-14T08:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Reading java or protobuf object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376333#M138530</link>
      <description>I have created a routine which will read java object and Using reflection I get values of all the fields of object in the form &lt;BR /&gt;id,name,age,course&lt;BR /&gt;2,ss,14,science&lt;BR /&gt;as one string.&lt;BR /&gt;Now I want to use this routine as input so that I can use it in my application which keep on getting object and they are converted into string and we can perform transformation on that data.&lt;BR /&gt;How can I use this routine as input or how to create component from that routine.&lt;BR /&gt;If require that piece of code I can paste it.</description>
      <pubDate>Fri, 21 May 2010 11:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376333#M138530</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-21T11:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Reading java or protobuf object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376334#M138531</link>
      <description>You can use a tfixedflowinput, to read your string, and with a tmap, you can split it in the schema :id,name,age,course</description>
      <pubDate>Fri, 21 May 2010 14:54:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376334#M138531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-21T14:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Reading java or protobuf object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376335#M138532</link>
      <description>how to make my java routine as input flow in talend.</description>
      <pubDate>Mon, 24 May 2010 04:55:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376335#M138532</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-24T04:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Reading java or protobuf object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376336#M138533</link>
      <description>Can I make my java routine as component. How can I create my own component</description>
      <pubDate>Mon, 24 May 2010 05:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376336#M138533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-24T05:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Reading java or protobuf object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376337#M138534</link>
      <description>Please help me. If you want I can send you my java program. i want to use that java program as input</description>
      <pubDate>Mon, 24 May 2010 08:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376337#M138534</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-24T08:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Reading java or protobuf object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376338#M138535</link>
      <description>Hello 
&lt;BR /&gt;What's the return type of your routine? You can call the routine on tfixedFlowInput, set the value as: 
&lt;BR /&gt;RoutineName.Methodname(parameters) 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 24 May 2010 11:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376338#M138535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-24T11:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Reading java or protobuf object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376339#M138536</link>
      <description>routine returns string. How to use my routine in tFixedFlowInput.&lt;BR /&gt;my Routine is --&lt;BR /&gt;public class ReadObject {&lt;BR /&gt;    &lt;BR /&gt;    public static String getString(Object obj) {&lt;BR /&gt;    	String str=objectToString(obj);&lt;BR /&gt;    	return str;&lt;BR /&gt;    }&lt;BR /&gt;    public static String objectToString(Object obj)&lt;BR /&gt;	{&lt;BR /&gt;		 StringBuilder result = new StringBuilder();&lt;BR /&gt;		 StringBuilder result1 = new StringBuilder();   &lt;BR /&gt;		&lt;BR /&gt;		    Field[] fields = obj.getClass().getDeclaredFields();&lt;BR /&gt;		    //print field names paired with their values&lt;BR /&gt;		    for ( Field field : fields  ) {&lt;BR /&gt;		        try {&lt;BR /&gt;		        result.append( field.getName() );&lt;BR /&gt;		        result.append(",");&lt;BR /&gt;		        //requires access to private field:&lt;BR /&gt;		        field.setAccessible(true);&lt;BR /&gt;		        result1.append( field.get(obj) );&lt;BR /&gt;		        result1.append(",");&lt;BR /&gt;		      }&lt;BR /&gt;		      catch ( IllegalAccessException ex ) {&lt;BR /&gt;		        System.out.println(ex);&lt;BR /&gt;		      }&lt;BR /&gt;		      &lt;BR /&gt;		    }&lt;BR /&gt;		    result.append("\n");&lt;BR /&gt;		    result.append(result1);&lt;BR /&gt;		    return result.toString();&lt;BR /&gt;	}&lt;BR /&gt;}</description>
      <pubDate>Tue, 25 May 2010 06:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376339#M138536</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-25T06:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reading java or protobuf object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376340#M138537</link>
      <description>Hello
&lt;BR /&gt;Please see my screenshot.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 25 May 2010 08:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376340#M138537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-25T08:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Reading java or protobuf object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376341#M138538</link>
      <description>I want to use this code outside talend in my eclipse which will call this piece of code to pass object.how can I use this code outside talend.</description>
      <pubDate>Tue, 25 May 2010 09:46:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376341#M138538</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-25T09:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Reading java or protobuf object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376342#M138539</link>
      <description>Hello 
&lt;BR /&gt;You can write this piece of code in Eclipse and pass the return string to talend job. See 
&lt;BR /&gt;5932
&lt;BR /&gt;5658
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 25 May 2010 10:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376342#M138539</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-25T10:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Reading java or protobuf object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376343#M138540</link>
      <description>Shong Thx for your valuable help. It really helped me. I want to know one more thing in tFixedflowInput we specify value as routine method. but i want to ReadObject.getString(new Person("shaky", "15")); should get object from outside talend. In eclipse I should also able to pass object to getString() method</description>
      <pubDate>Tue, 25 May 2010 11:44:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376343#M138540</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-25T11:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reading java or protobuf object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376344#M138541</link>
      <description>Hello 
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;ReadObject.getString(new Person("shaky", "15")); should get object from outside talend. In eclipse I should also able to pass object to getString() method&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Why don't you write getString() method in eclipse and call it in eclipse, return a string and pass string to talend job?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 25 May 2010 12:01:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376344#M138541</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-25T12:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Reading java or protobuf object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376345#M138542</link>
      <description>In my design, i get real time object from various networks. I have to pass these object directly to talend job which will perform ETL. That is why I was trying to take java object as input to the talend job. It should be talend job to extract data from object. I need solution around this.</description>
      <pubDate>Tue, 25 May 2010 12:54:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376345#M138542</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-25T12:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Reading java or protobuf object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376346#M138543</link>
      <description>Hello
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;I want to use this code outside talend in my eclipse which will call this piece of code to pass object.how can I use this code outside talend.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;But you said that you want to call this piece of code in Eclipse, outside Talend.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 26 May 2010 02:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376346#M138543</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-26T02:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Reading java or protobuf object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376347#M138544</link>
      <description>ya, so that I can pass my objects to this talend thorugh another application.</description>
      <pubDate>Wed, 26 May 2010 05:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376347#M138544</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-26T05:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reading java or protobuf object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376348#M138545</link>
      <description>I failed to find any solution to pass java object to talend input from outside. Please give me some solution for this. Or for time being how can I pass string to talend input from outside Talend.</description>
      <pubDate>Wed, 02 Jun 2010 10:19:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-java-or-protobuf-object/m-p/2376348#M138545</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-02T10:19:36Z</dc:date>
    </item>
  </channel>
</rss>

