Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
class RowHelper_tFileInputDelimited_2{
public void valueToConn(org.talend.fileprocess.FileInputDelimited fid,row1Struct row1) throws Exception{
String temp = "";
temp = fid.get(0).trim();
if(temp.length() > 0){
row1.PNR = temp;
}else{
row1.PNR = ;
}
temp = fid.get(1).trim();
if(temp.length() > 0){
row1.MFC = temp;
}else{
row1.MFC = ;
}
<?xml version="1.0" encoding="UTF-8" ?>
- <schema>
<column comment="Reference Article" default="" key="false" label="PNR" length="70" nullable="true" originalDbColumnName="PNR" pattern=""dd-MM-yyyy"" precision="-1" talendType="id_String" type="" />
<column comment="Code Entreprise" default="" key="false" label="MFC" length="5" nullable="true" originalDbColumnName="MFC" pattern=""dd-MM-yyyy"" precision="-1" talendType="id_String" type="" />
...