Expression Types - 6.3

Talend Data Mapper User Guide

Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
Design and Development
Talend Studio

Most expressions are made from functions, such as the Copy function in the above example. Here are the types of Expressions:

  1. Functions - Created when a function is dragged to the expression tree or to an output map element.

  2. Map Element Reference - Created when a map element is an argument of a function expression. There can be references to either input or output map elements.

  3. Function Argument - Represents a formal parameter (argument) to a function. This returns the result of its child expression, which is the value of the argument.

Functions can have a fixed or variable number of arguments. If the function has a variable number of arguments, there will be no function argument expressions when you drop the function on the expression tree. A variable argument function expression can have any number of child expressions.

A fixed argument function results in a function expression having a function argument expression for each of its arguments. Each of these arguments takes exactly one child expression, and if the child expression is not specified, the map cannot be executed (you will get an error explaining the problem).