Skip to main content

The tJavaRow component

In some cases, debugging and logging requires more flexibility than what tLogRow provides. You may need to change the format of the output or reformat the fields coming out of the component before displaying them in the log or not be constrained to the fields in the tLogRow schema. tJavaRow provides that additional flexibility. tJavaRow (along with tJava and tJavaFlex) is a set of Talend components that allows you to broaden the functionality of Talend Jobs using the Java language. With tJavaRow, you can enter the Java code to be applied to each row of the flow.

In this section, you output only the rows that meet the criteria Name="DEF", and the output itself is calculated and formatted.
The following figure shows the resulting output.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!