Defining the properties of tHMap - 7.1

Data mapping

EnrichVersion
7.1
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 tHMap component to define its properties.
  2. Click the [...] button next to the Open Map Editor field to create a new map.
  3. In the tHMap Structure Generate/Select dialog box that opens, select Generate hierarchical mapper structure based on the schema for the input structure, and then click Next and then Finish. This means that Talend Data Mapper will automatically generate a structure for you, based on the schema of the input component (tRowGenerator in this case).
  4. For the output structure, select Select an existing hierarchical mapper structure, and then click Next.
  5. Select the JSON_structure structure that you created earlier, and then click Next and then Finish.
  6. In the Map editor that opens, drag row from Input (Map) to person in Output (JSON) to map each of the input elements to its corresponding output element.
  7. Double click SimpleLoop in Loop tab and, in the properties box that opens, check Stream Input and then click OK.
  8. Press Ctrl+S to save your changes to the map.