Choice - 6.3

Talend Data Mapper User Guide

EnrichVersion
6.3
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
task
Design and Development
EnrichPlatform
Talend Studio

Name

Choice

Purpose

Chooses a value from a set of values based on conditions.

Description

This function is used to provide a value according to a condition from a list of conditions. It's essentially the same as a collection of nested IfThenElse functions but more compact. Any number of ChoiceValue functions are provided as arguments. Each ChoiceValue function provides the a condition and value pair; the value is emitted when the first condition is satisfied. One of the ChoiceValue functions may be marked as a default value and that value is emitted if no other condition is satisfied.

Return Type

Depends on ChoiceValue functions

Variable Arguments

 

Variable Argument Type

ChoiceValue function