Defining the properties of tJavaRow - 7.2

Data mapping

EnrichVersion
7.2
EnrichProdName
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
EnrichPlatform
Talend Studio
task
Data Governance > Third-party systems > Processing components (Integration) > Data mapping
Data Quality and Preparation > Third-party systems > Processing components (Integration) > Data mapping
Design and Development > Third-party systems > Processing components (Integration) > Data mapping

Procedure

  1. Select the tJavaRow component to define its properties.
  2. In the Basic settings tab, click the [...] button next to Edit schema to define the schema.
  3. Click the [+]  button to add a column to the input schema on the left, of type String, rename it outputKey, copy it to the output schema on the right, and then click OK.
  4. Add the following code in the Code section.String actualOutput = out.outputKey; System.out.println("======" + actualOutput + "======");