Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tjava not in a flow

can anyone explain to me, why tjava components (escpecially tjava, tjavarow) don´t have to use in a flow and should predominant used in subjobs?
what are the disadvantages?
thx in advance
Labels (3)
3 Replies
Anonymous
Not applicable
Author

Hi
You can use tJavaRow in a data flow and you are able to access the column value, for example:
tMysqlInput--main--tJavaRow--LogRow
on tJavaRow:
output_row.id=input_row.id;
output_row.name=input_row.name.toUpperCase();
Anonymous
Not applicable
Author

thx!
because in the following post https://community.talend.com/t5/Design-and-Development/Using-routines-with-tJava-TtJavaFlex-and-tJav... they are speaking about not using it in a flow!?
Anonymous
Not applicable
Author

Hi
tJava is used to execute the a piece of Java code, normally, it is used alone as a subjob, because you can't access the column value on tJava component. However, tJavaRow is normally used in a data flow and you are able to access column value.
Shong