Configuring the tJavaRow component - 7.3

Java custom code

Version
7.3
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > Custom code components (Integration) > Java custom code components
Data Quality and Preparation > Third-party systems > Custom code components (Integration) > Java custom code components
Design and Development > Third-party systems > Custom code components (Integration) > Java custom code components
Last publication date
2024-02-21

Procedure

  1. Double-click tJavaRow to display its Basic settings view and define the components properties.
  2. Click Sync columns to make sure that the schema is correctly retrieved from the preceding component.
  3. In the Code field, enter the following code to display the content of the input file and pass the data to the next component based on the defined dynamic schema column:
    System.out.println(input_row.dyna);
    output_row.dyna = input_row.dyna;
    Note:

    In the Code field, input_row and output_row correspond to the links to and from tJavaRow.