Configuring the tJavaRow component - 6.5

Java custom code

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
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
EnrichPlatform
Talend Studio

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.