blob: a974ac10e146c58ec0badfe3f9f6294dbf3d6503 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<pipeline>
<info>
<name>0027-switch-case-basic</name>
<name_sync_with_filename>Y</name_sync_with_filename>
<description/>
<extended_description/>
<pipeline_version/>
<pipeline_type>Normal</pipeline_type>
<parameters>
</parameters>
<capture_transform_performance>N</capture_transform_performance>
<transform_performance_capturing_delay>1000</transform_performance_capturing_delay>
<transform_performance_capturing_size_limit>100</transform_performance_capturing_size_limit>
<created_user>-</created_user>
<created_date>2021/06/03 19:34:57.844</created_date>
<modified_user>-</modified_user>
<modified_date>2021/06/03 19:34:57.844</modified_date>
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key>
<is_key_private>N</is_key_private>
</info>
<notepads>
</notepads>
<order>
<hop>
<from>Sample data</from>
<to>Switch / case</to>
<enabled>Y</enabled>
</hop>
<hop>
<from>A</from>
<to>AAA</to>
<enabled>Y</enabled>
</hop>
<hop>
<from>B</from>
<to>BBB</to>
<enabled>Y</enabled>
</hop>
<hop>
<from>C</from>
<to>CCC</to>
<enabled>Y</enabled>
</hop>
<hop>
<from>D</from>
<to>DDD</to>
<enabled>Y</enabled>
</hop>
<hop>
<from>Rest</from>
<to>Rest </to>
<enabled>Y</enabled>
</hop>
<hop>
<from>AAA</from>
<to>Verify</to>
<enabled>Y</enabled>
</hop>
<hop>
<from>BBB</from>
<to>Verify</to>
<enabled>Y</enabled>
</hop>
<hop>
<from>CCC</from>
<to>Verify</to>
<enabled>Y</enabled>
</hop>
<hop>
<from>DDD</from>
<to>Verify</to>
<enabled>Y</enabled>
</hop>
<hop>
<from>Rest </from>
<to>Verify</to>
<enabled>Y</enabled>
</hop>
<hop>
<from>Switch / case</from>
<to>A</to>
<enabled>Y</enabled>
</hop>
<hop>
<from>Switch / case</from>
<to>B</to>
<enabled>Y</enabled>
</hop>
<hop>
<from>Switch / case</from>
<to>C</to>
<enabled>Y</enabled>
</hop>
<hop>
<from>Switch / case</from>
<to>D</to>
<enabled>Y</enabled>
</hop>
<hop>
<from>Switch / case</from>
<to>Rest</to>
<enabled>Y</enabled>
</hop>
</order>
<transform>
<name>A</name>
<type>Dummy</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<attributes/>
<GUI>
<xloc>544</xloc>
<yloc>80</yloc>
</GUI>
</transform>
<transform>
<name>AAA</name>
<type>Constant</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<fields>
<field>
<name>extra</name>
<type>String</type>
<format/>
<currency/>
<decimal/>
<group/>
<nullif>AAA</nullif>
<length>-1</length>
<precision>-1</precision>
<set_empty_string>N</set_empty_string>
</field>
</fields>
<attributes/>
<GUI>
<xloc>656</xloc>
<yloc>80</yloc>
</GUI>
</transform>
<transform>
<name>B</name>
<type>Dummy</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<attributes/>
<GUI>
<xloc>544</xloc>
<yloc>144</yloc>
</GUI>
</transform>
<transform>
<name>BBB</name>
<type>Constant</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<fields>
<field>
<name>extra</name>
<type>String</type>
<format/>
<currency/>
<decimal/>
<group/>
<nullif>BBB</nullif>
<length>-1</length>
<precision>-1</precision>
<set_empty_string>N</set_empty_string>
</field>
</fields>
<attributes/>
<GUI>
<xloc>656</xloc>
<yloc>144</yloc>
</GUI>
</transform>
<transform>
<name>C</name>
<type>Dummy</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<attributes/>
<GUI>
<xloc>544</xloc>
<yloc>208</yloc>
</GUI>
</transform>
<transform>
<name>CCC</name>
<type>Constant</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<fields>
<field>
<name>extra</name>
<type>String</type>
<format/>
<currency/>
<decimal/>
<group/>
<nullif>CCC</nullif>
<length>-1</length>
<precision>-1</precision>
<set_empty_string>N</set_empty_string>
</field>
</fields>
<attributes/>
<GUI>
<xloc>656</xloc>
<yloc>208</yloc>
</GUI>
</transform>
<transform>
<name>D</name>
<type>Dummy</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<attributes/>
<GUI>
<xloc>544</xloc>
<yloc>272</yloc>
</GUI>
</transform>
<transform>
<name>DDD</name>
<type>Constant</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<fields>
<field>
<name>extra</name>
<type>String</type>
<format/>
<currency/>
<decimal/>
<group/>
<nullif>DDD</nullif>
<length>-1</length>
<precision>-1</precision>
<set_empty_string>N</set_empty_string>
</field>
</fields>
<attributes/>
<GUI>
<xloc>656</xloc>
<yloc>272</yloc>
</GUI>
</transform>
<transform>
<name>Rest</name>
<type>Dummy</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<attributes/>
<GUI>
<xloc>544</xloc>
<yloc>336</yloc>
</GUI>
</transform>
<transform>
<name>Rest </name>
<type>Constant</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<fields>
<field>
<name>extra</name>
<type>String</type>
<format/>
<currency/>
<decimal/>
<group/>
<nullif>Rest</nullif>
<length>-1</length>
<precision>-1</precision>
<set_empty_string>N</set_empty_string>
</field>
</fields>
<attributes/>
<GUI>
<xloc>656</xloc>
<yloc>336</yloc>
</GUI>
</transform>
<transform>
<name>Sample data</name>
<type>DataGrid</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<fields>
<field>
<name>id</name>
<type>Integer</type>
<format/>
<currency/>
<decimal/>
<group/>
<length>-1</length>
<precision>-1</precision>
<set_empty_string>N</set_empty_string>
</field>
<field>
<name>value</name>
<type>String</type>
<format/>
<currency/>
<decimal/>
<group/>
<length>-1</length>
<precision>-1</precision>
<set_empty_string>N</set_empty_string>
</field>
</fields>
<data>
<line>
<item>1</item>
<item>A</item>
</line>
<line>
<item>2</item>
<item>B</item>
</line>
<line>
<item>3</item>
<item>A</item>
</line>
<line>
<item>4</item>
<item>D</item>
</line>
<line>
<item>5</item>
<item>E</item>
</line>
<line>
<item>6</item>
<item>Z</item>
</line>
<line>
<item>7</item>
<item>C</item>
</line>
<line>
<item>8</item>
<item>B</item>
</line>
</data>
<attributes/>
<GUI>
<xloc>144</xloc>
<yloc>80</yloc>
</GUI>
</transform>
<transform>
<name>Switch / case</name>
<type>SwitchCase</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<cases>
<case>
<target_transform>A</target_transform>
<value>A</value>
</case>
<case>
<target_transform>B</target_transform>
<value>B</value>
</case>
<case>
<target_transform>C</target_transform>
<value>C</value>
</case>
<case>
<target_transform>D</target_transform>
<value>D</value>
</case>
</cases>
<case_value_decimal/>
<case_value_format/>
<case_value_group/>
<case_value_type>None</case_value_type>
<default_target_transform>Rest</default_target_transform>
<fieldname>value</fieldname>
<use_contains>N</use_contains>
<attributes/>
<GUI>
<xloc>320</xloc>
<yloc>80</yloc>
</GUI>
</transform>
<transform>
<name>Verify</name>
<type>Dummy</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<attributes/>
<GUI>
<xloc>816</xloc>
<yloc>80</yloc>
</GUI>
</transform>
<transform_error_handling>
</transform_error_handling>
<attributes/>
</pipeline>