Calling a Java class method - 7.0


Talend Documentation Team
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
Data Governance > Third-party systems > Processing components (Integration) > tMap
Data Quality and Preparation > Third-party systems > Processing components (Integration) > tMap
Design and Development > Third-party systems > Processing components (Integration) > tMap
Talend Studio

You can call a Java class method to transform the input fields in the Expression Builder. For exmaple, you can call a Java method to cut the first 4 characters from the input field of long type, and convert the result to a value of Integer/int type.

The input data will be transformed to output data after being processed in the tMap component.

Input table:

customer_id account_num
1 87462024688
2 87514054179

Output table:

customer_id account_num
1 8746
2 8751