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

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.

主站蜘蛛池模板: 昆明市| 益阳市| 泸西县| 大城县| 双城市| 舞钢市| 印江| 上饶市| 枣阳市| 武宁县| 鄂托克前旗| 东乡族自治县| 黔西| 民勤县| 册亨县| 长垣县| 大洼县| 乌苏市| 达拉特旗| 宝清县| 汪清县| 循化| 山阳县| 涟源市| 百色市| 澄城县| 盘山县| 惠水县| 会东县| 克拉玛依市| 梓潼县| 桂平市| 桓仁| 贵州省| 嘉义市| 班戈县| 长葛市| 长丰县| 化州市| 蒙自县| 盱眙县|