tJavaFlex
Provides a Java code editor that lets you enter personalized code in order to integrate it in Talend program.
tJavaFlex enables you to add Java code to the Start/Main/End code sections of this component itself. With tJavaFlex, you can enter the three java-code parts (start, main and end) that constitute a kind of component dedicated to do a desired operation.
tJavaFlex Standard properties
These properties are used to configure tJavaFlex running in the Standard Job framework.
The Standard tJavaFlex component belongs to the Custom Code family.
The component in this framework is available in all Talend products.
Basic settings
Properties | Description |
---|---|
Schema and Edit Schema |
|
Data Auto Propagate |
Select this check box to automatically propagate the data to the component that follows. |
Start code |
Enter the Java code that will be called during the initialization phase. |
Main code |
Enter the Java code to be applied for each line in the data flow. |
End code |
Enter the Java code that will be called during the closing phase. |
Advanced settings
Properties | Description |
---|---|
Import |
Enter the Java code that helps to import, if necessary, external libraries used in the Main code box of the Basic settings view. |
tStatCatcher Statistics |
Select this check box to gather the Job processing metadata at a job level as well as at each component level. |
Global Variables
Variables | Description |
---|---|
Global Variables |
ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box. A Flow variable functions during the execution of a component while an After variable functions after the execution of the component. To fill up a field or expression with a variable, press Ctrl+Space to access the variable list and choose the variable to use from it. For more information about variables, see Using contexts and variables. |
Usage
Usage guidance | Description |
---|---|
Usage rule |
You can use this component as a start, intermediate or output component. You can as well use it as a one-component subJob. |
Limitation |
You should know the Java language. |