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

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.

主站蜘蛛池模板: 望都县| 庆安县| 康平县| 景东| 靖江市| 舟曲县| 兰西县| 通山县| 沙雅县| 天水市| 阿鲁科尔沁旗| 水富县| 邯郸市| 锡林浩特市| 江都市| 呼伦贝尔市| 雅安市| 株洲市| 绩溪县| 泗水县| 确山县| 平山县| 临清市| 西乡县| 连城县| 乌拉特前旗| 休宁县| 武鸣县| 固阳县| 泽库县| 延吉市| 九江县| 柘荣县| 涟水县| 稻城县| 岳阳县| 高台县| 盐山县| 永寿县| 建始县| 策勒县|