Wednesday, 8 December 2021

A peaceful life every human expects WHEN

 



*A Government with zero Corruption

*All Newspapers with no NEWS that hurts any person,that makes any person feel ashamed of,

  that makes anybody cry.

*A world that has no POLLUTION.

*A world that has no DEATHS that happens from DISEASES(Normal Deaths only)

*A world where no COURTS are needed.

Monday, 15 July 2019

GOOD INDIAN SHARES YOU CAN BUY IN 2019

INTELLECT DESIGN ARENA!!!!!!!!!!!!!!!!!!!!!INFOSYS^^^^^^^^^^^VGUARD#########TATA STEEL PP@@@@@@@@

ABOVE  ARE VERY GOOD SHARES.

YOU CAN BUY WHEN EVER THEY ARE DOWN and SELL THEM ONCE THEY ARE UP.

How Mobile FOOD Apps are Cheating People Wisely?




**Go to the corresponding Sweet shop/Restaturant and note the price of the item you wanna buy.
**Open the Food related App on your mobile and search for the corresponding restaurant
**Check for the price of the item which you have noted above.
**You will see much difference you imagine.

This is happening in almost all the Food related Apps.

**They are charging for Delivery.
**They are giving/saying BIG DISCOUNTS.

But finally when you compare the PRICE with the ORIGINAL PRICE of  Restaurant Ultimately CUSTOMER/us  is/are  the BIG LOSER/S.

Tuesday, 5 June 2018

TAC : Scheduling Using CRON TRIGGER with EXAMPLE SCREENSHOTS


* Fire at 10:15am on EVERY DAY of every month during the years 2002, 2003, 2004 and 2005



* Fire at 12pm (noon) every day


*Fire at 11:55Pm every Monday, Tuesday, Wednesday, Thursday and Friday


Wednesday, 25 April 2018

Handling NULL POINTER EXCEPTION

1ST WAY  USAGE:
if( (Relational.ISNULL(test_string)) || ("null".equals(test_string)) || ("".equals(test_string))   )
System.out.println("HAS GOT A NULL VALUE ");
    else
     
        System.out.println("HAS GOT A VALID VALUE ");


2ND WAY USAGE:

( (Relational.ISNULL(test_string)) || ("null".equals(test_string)) || ("".equals(test_string))   )
? "HAVING NULL" :  "HAVING DATA"


=======================================================
Below is the Tested Talend code in DETAIL with various ways of NULL data:
=======================================================

String test_string="TALEND";

System.out.println("\ntest_string=\"TALEND\";");
if( (Relational.ISNULL(test_string)) || ("null".equals(test_string)) || ("".equals(test_string))   )
System.out.println("HAS GOT A NULL VALUE ");
    else
     
        System.out.println("HAS GOT A VALID VALUE ");

test_string="null";

System.out.println("\ntest_string=\"null\";");
if( (Relational.ISNULL(test_string)) || ("null".equals(test_string)) || ("".equals(test_string))   )
System.out.println("HAS GOT A NULL VALUE ");
    else
     
        System.out.println("HAS GOT A VALID VALUE ");

test_string="";
System.out.println("\ntest_string=\"\";");

if( (Relational.ISNULL(test_string)) || ("null".equals(test_string)) || ("".equals(test_string))   )
System.out.println("HAS GOT A NULL VALUE ");
    else
     
        System.out.println("HAS GOT A VALID VALUE ");


test_string=null;

System.out.println("\ntest_string=null;");

if( (Relational.ISNULL(test_string)) || ("null".equals(test_string)) || ("".equals(test_string))   )
System.out.println("HAS GOT A NULL VALUE ");
    else
     
        System.out.println("HAS GOT A VALID VALUE ");
     

Relational.ISNULL() USAGE WITH RESULTS

System.out.println("Relational.ISNULL(null)      : "+Relational.ISNULL(null));

System.out.println("Relational.ISNULL(\"null\")   :  "+Relational.ISNULL("null"));

System.out.println("Relational.ISNULL(\"\")        :"+Relational.ISNULL(""));

System.out.println("Relational.ISNULL(false)     :  "+Relational.ISNULL(false));

System.out.println("Relational.ISNULL(true)     :  "+Relational.ISNULL(true));

============
OUTPUT :
===========
Relational.ISNULL(null)      : true
Relational.ISNULL("null")   :  false
Relational.ISNULL("")        :false
Relational.ISNULL(false)     :  false
Relational.ISNULL(true)     :  false

TALEND CURRENT DATE FORMAT

Various ways of getting Current Date :
===============================


TalendDate.getDate("yyyy-MM-dd HH:mm:ss")

new Date()

TalendDate.getDate("yyyy-MM-dd'T'HH:mm:ss")

Are You Thinking?????????????????????

                      Question Yourself for few Seconds?                         Are you Thinking at all?                              When ...