Defining the properties of tJavaRow - 7.0
Data mapping
- EnrichVersion
- 7.0
- 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
-
Select the tJavaRow component to define its
properties.
-
In the Basic settings tab, click the
[...] button next to Edit schema to define the schema.
-
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.
-
Add the following code in the Code
section.
String actualOutput = out.outputKey;
System.out.println("======" + actualOutput + "======");