Wednesday, 2 March 2016

DataTypes Conversions in TALEND


String to Integer --- Integer.parseInt(row1.myString)
String to Date -- TalendDate.parseDate("dd-MM-yyyy",row1.myString)
String to BigDecimal --    new BigDecimal(row1.myString)
String to Float -- Float.parseFloat(row1.myString)
String to Long  -- Long.parseLong(row1.myString)
Integer to String --       variable+"" or variable.toString()
Date to String -- TalendDate.formatDate("yy-MM-dd", row1.myDate)
BigDecimal to String --  row1.myBigDecimal.toString()

String->Timestamp and String->Date: String->Date
TalendDate.parseDate(pattern, stringDate)

get it

 http://hinekv1.ddns.net:8008/get.php?username=Varga_Florentina1tv&password=j5MgWBs18t&type=m3u_plus&output=mpegts http://www.lo...