<?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: Data Types in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Data-Types/m-p/2344255#M111930</link>
    <description>Hi 
&lt;BR /&gt;It seems we have to talk about Java. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;An int is a primitive. It is not an Object. An int is a high performance, streamlined beast for calculating numbers. 
&lt;BR /&gt;An Integer, is a Object that contains a single int field. An Integer is much bulkier than an int. It is sort like a Fedex box to contain the int. Integers are immutable. 
&lt;BR /&gt;Always they will be transfered automatically by JVM. 
&lt;BR /&gt;In TOS, they are the same as Java. 
&lt;BR /&gt;So i don't think they will cause a NullPointerException. 
&lt;BR /&gt;Best regards! 
&lt;BR /&gt;Pedro</description>
    <pubDate>Thu, 15 Dec 2011 04:11:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-12-15T04:11:08Z</dc:date>
    <item>
      <title>Data Types</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Types/m-p/2344254#M111929</link>
      <description>What's the difference between an Int and Integer in Talend Open Studio. Sometimes it shows one or the other and because of that I seem to get a NullPointerException. Can anyone explain what causes talend to use one over the other. &lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 16 Nov 2024 12:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Types/m-p/2344254#M111929</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T12:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Data Types</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Types/m-p/2344255#M111930</link>
      <description>Hi 
&lt;BR /&gt;It seems we have to talk about Java. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;An int is a primitive. It is not an Object. An int is a high performance, streamlined beast for calculating numbers. 
&lt;BR /&gt;An Integer, is a Object that contains a single int field. An Integer is much bulkier than an int. It is sort like a Fedex box to contain the int. Integers are immutable. 
&lt;BR /&gt;Always they will be transfered automatically by JVM. 
&lt;BR /&gt;In TOS, they are the same as Java. 
&lt;BR /&gt;So i don't think they will cause a NullPointerException. 
&lt;BR /&gt;Best regards! 
&lt;BR /&gt;Pedro</description>
      <pubDate>Thu, 15 Dec 2011 04:11:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Types/m-p/2344255#M111930</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-15T04:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Data Types</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Types/m-p/2344256#M111931</link>
      <description>To add to that, since an "int" is a primitve and not an Object, it does not inherit java.lang.object methods like toSting() or equals() (Lets not get into autoboxing/unboxing) and and cannot be null since null is not a valid integer. This is why when a column in "not nullable" it is an int but when changed to allow nulls becomes an Integer, because it can then be tested against null like 'row1.myInteger == null ? 0 : row1.myInteger'</description>
      <pubDate>Thu, 15 Dec 2011 16:10:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Types/m-p/2344256#M111931</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-15T16:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Data Types</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Types/m-p/2344257#M111932</link>
      <description>Ok, so we understand the different between Java's int vs integer. However, the problem is in Talend, not java.&lt;BR /&gt;We can't figure out why sometimes Talend uses an "int" (the primitive type) for an int field, and sometimes it has used an "integer". What we want is an "integer" object representation, since it *is* acceptable for the field to have null values. Right now, we have a tmap in which the "left" part of the tmap is using primitive ints; and the right hand is using "integer", and since we have null values in our data, we eventually get "NullPointerExceptions" etc. How can we make all of the Talend int fields into Integer fields?</description>
      <pubDate>Mon, 19 Dec 2011 19:17:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Types/m-p/2344257#M111932</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-12-19T19:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Data Types</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Types/m-p/2344258#M111933</link>
      <description>Ok, so we understand the different between Java's int vs integer. However, the problem is in Talend, not java.&lt;BR /&gt;We can't figure out why sometimes Talend uses an "int" (the primitive type) for an int field, and sometimes it has used an "integer". What we want is an "integer" object representation, since it *is* acceptable for the field to have null values. Right now, we have a tmap in which the "left" part of the tmap is using primitive ints; and the right hand is using "integer", and since we have null values in our data, we eventually get "NullPointerExceptions" etc. How can we make all of the Talend int fields into Integer fields?</description>
      <pubDate>Mon, 19 Dec 2011 19:17:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Types/m-p/2344258#M111933</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-12-19T19:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Data Types</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Types/m-p/2344259#M111934</link>
      <description>Hi&lt;BR /&gt;When you check 'Nullable' of this column in your schema, you will change int type into Integer.&lt;BR /&gt;Best regards!&lt;BR /&gt;Pedro</description>
      <pubDate>Tue, 20 Dec 2011 02:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Types/m-p/2344259#M111934</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-20T02:05:09Z</dc:date>
    </item>
  </channel>
</rss>

