<?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: check if nullable in schema in tjavaFlex in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/check-if-nullable-in-schema-in-tjavaFlex/m-p/2369439#M132587</link>
    <description>&lt;P&gt;The generated code with or without the nullable checkbox ticked are absolutly the same.&lt;/P&gt; 
&lt;P&gt;Well, at least with a minimal job with a tFixedInputFlowInput and a tJavaRow component.&lt;/P&gt; 
&lt;P&gt;Not sure what you're asking is possible.&lt;/P&gt; 
&lt;P&gt;Maybe this link may helps&amp;nbsp;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCsRmCAK" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Archive/Function-of-nullable-field/td-p/188312&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&amp;nbsp;the question is about nullable fileds detection, not null value detection during row processing.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jun 2019 22:46:28 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2019-06-13T22:46:28Z</dc:date>
    <item>
      <title>check if nullable in schema in tjavaFlex</title>
      <link>https://community.qlik.com/t5/Talend-Studio/check-if-nullable-in-schema-in-tjavaFlex/m-p/2369437#M132585</link>
      <description>&lt;P&gt;Dear helpers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to check if a field is nullable i.e. if a column can have NULL values.&lt;/P&gt;
&lt;P&gt;Although the schema includes the boolean field "nullable", the following code snippet does not return if a field is nullable:&lt;/P&gt;
&lt;P&gt;Field[] fields = row1.getClass().getDeclaredFields();&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any way to retrieve the information if a column&amp;nbsp;&lt;U&gt;according to the schema&lt;/U&gt;&amp;nbsp;is nullable?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards and many thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 15:32:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/check-if-nullable-in-schema-in-tjavaFlex/m-p/2369437#M132585</guid>
      <dc:creator>christ_eprimo</dc:creator>
      <dc:date>2019-06-13T15:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: check if nullable in schema in tjavaFlex</title>
      <link>https://community.qlik.com/t5/Talend-Studio/check-if-nullable-in-schema-in-tjavaFlex/m-p/2369438#M132586</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; If it is a simple check, you can do it in tMap itself like below&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;Relational.ISNULL(row1.field)?"true part":"false part"&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;If you want to check the details with a schema, you can use the tSchemaComplianceCheck component. Could you please share more idea about your use case with some sample data so that we can understand why a tJavaFlex is needed?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 17:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/check-if-nullable-in-schema-in-tjavaFlex/m-p/2369438#M132586</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-13T17:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: check if nullable in schema in tjavaFlex</title>
      <link>https://community.qlik.com/t5/Talend-Studio/check-if-nullable-in-schema-in-tjavaFlex/m-p/2369439#M132587</link>
      <description>&lt;P&gt;The generated code with or without the nullable checkbox ticked are absolutly the same.&lt;/P&gt; 
&lt;P&gt;Well, at least with a minimal job with a tFixedInputFlowInput and a tJavaRow component.&lt;/P&gt; 
&lt;P&gt;Not sure what you're asking is possible.&lt;/P&gt; 
&lt;P&gt;Maybe this link may helps&amp;nbsp;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCsRmCAK" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Archive/Function-of-nullable-field/td-p/188312&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&amp;nbsp;the question is about nullable fileds detection, not null value detection during row processing.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 22:46:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/check-if-nullable-in-schema-in-tjavaFlex/m-p/2369439#M132587</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-06-13T22:46:28Z</dc:date>
    </item>
  </channel>
</rss>

