Calling a Java class method
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 |