Expert Consultancy from Yellow Pelican


A site about Talend

tJava Component

The tJava component is part of the Custom Code family of components. It allows the execution of arbitrary Java code.

From a functional point of view, tJava is most similar to tJavaFlex and tJavaRow.

According to the official Talend documentation: -

You can execute this code only once.

This is not strictly true, as this code may be executed multiple times if, for example, it is placed inside a loop (tLoop).

System.out.println("Hello World!");

Although not appearing to be documented, tJava does support a Schema together with input and output connectors, row and iterate. I would adhere to the documentation and not attempt to use these.

Expert Consultancy from Yellow Pelican
comments powered by Disqus