官术网_书友最值得收藏!

Router transformation

Router transformation is a single input and multiple output group transformation. Router can be used in place of multiple filter transformations. Router transformation accepts the data once through the input group, and based on the output groups you define, it sends the data to multiple output ports. You need to define the filter condition in each output group.

A mapping using router transformation where we wish to load all the records from LOCATION as INDIA in one target records from UK in another target, and all other non-matching records in the third target is indicated in the following screenshot:

When you drag the columns to the router, the router transformation creates an input group with only input ports and no output port. To add the output groups, click on the Groups tab, and add two new groups. Mention the name of each group under the group name, and define the filter condition for each group. Click on OK to get the output groups created in router transformation:

When you add the group, a default group gets created automatically. All non-matching records from the other groups will pass through the default group if you connect the default group output ports to the target.

When you pass the records to router transformation through the input group, the router transformation checks the records based on the Filter condition you define in each output group. For each record matching, the condition passes further. For each record that fails, the condition is passed to the default group.

As you can understand now, router transformation is used in place of multiple Filter transformations.

主站蜘蛛池模板: 应城市| 读书| 金门县| 深圳市| 丹巴县| 池州市| 乌鲁木齐县| 藁城市| 衡山县| 互助| 仁寿县| 荣成市| 合作市| 比如县| 河津市| 乌兰浩特市| 日喀则市| 稷山县| 龙江县| 潜江市| 错那县| 汽车| 维西| 朔州市| 新巴尔虎右旗| 凭祥市| 荣昌县| 云梦县| 枣阳市| 光山县| 西宁市| 通江县| 绵阳市| 苍梧县| 蒙阴县| 鄂伦春自治旗| 富阳市| 静海县| 河池市| 崇明县| 菏泽市|