Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am trying to adjust the below code into my pipeline:
private static String[][] List = new String[189][2];
if((code.equals("teo")) && !(id.equals("")) ){ for (int k=0;k<List.length;k++) { SuperCode = List[k][0]; if( id.startsWith(SuperCode.trim())) { info = "hey from " + List[k][1]; } }
Have I to use tjava, tjavaflex or tjavaRow? How I will impement this ? Thanks in advance.
Hi
If you need to access incoming data, you will use tJavaRow or tJavaFlex component, here an article that introduces the difference between tjava, tJavaRow and tJavaFlex, it will be helpful for you to understand these three components.
https://help.talend.com/reader/lw17672ujtsKAM3zY5H2oQ/nWbUINqRhQ51bGS2OWMqXA
Regards
Shong
Thank you @shong. This is for the first question. I am looking also an answer for the second one, on how to implement this code into talend.
@shong It's ok. Thank you a lot for the help with the components.