Configure the tMap component to call the user routine - 8.0

Data Integration Job Examples

Version
8.0
Language
English (United States)
Product
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 Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development > Designing Jobs

Before you begin

  • You have created a user routine.

Procedure

  1. Double-click the tMap to open the map editor.
  2. Click the [+] button to add an output table named out1.
  3. At the bottom right corner (out1) of the Schema editor view, click the [+] button to add a row, picture of type byte.
  4. In the Expression field of the picture column on the output side, type in MyRoutineDemo.ByteArrayFromFile(row1.filepath).
  5. Click OK to validate these changes and accept the propagation prompted by the dialog box that pops up.