| <?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>0003-add-sequence-child</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/05/10 10:52:28.332</created_date> |
| <modified_user>-</modified_user> |
| <modified_date>2021/05/10 10:52:28.332</modified_date> |
| <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
| <is_key_private>N</is_key_private> |
| </info> |
| <notepads> |
| </notepads> |
| <order> |
| <hop> |
| <from>10 rows</from> |
| <to>sequence</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>sequence</from> |
| <to>minId, maxId</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>minId, maxId</from> |
| <to>minId<>2 or maxId<>7</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>minId<>2 or maxId<>7</from> |
| <to>Abort</to> |
| <enabled>Y</enabled> |
| </hop> |
| </order> |
| <transform> |
| <name>10 rows</name> |
| <type>RowGenerator</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <fields> |
| </fields> |
| <interval_in_ms>5000</interval_in_ms> |
| <last_time_field>FiveSecondsAgo</last_time_field> |
| <never_ending>N</never_ending> |
| <limit>10</limit> |
| <row_time_field>now</row_time_field> |
| <attributes/> |
| <GUI> |
| <xloc>250</xloc> |
| <yloc>160</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>sequence</name> |
| <type>Sequence</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <counter_name/> |
| <use_counter>Y</use_counter> |
| <use_database>N</use_database> |
| <increment_by>1</increment_by> |
| <max_value>9999999</max_value> |
| <schema/> |
| <seqname>SEQ_</seqname> |
| <start_at>1</start_at> |
| <valuename>id</valuename> |
| <attributes/> |
| <GUI> |
| <xloc>416</xloc> |
| <yloc>160</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>minId, maxId</name> |
| <type>GroupBy</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <all_rows>N</all_rows> |
| <ignore_aggregate>N</ignore_aggregate> |
| <field_ignore/> |
| <directory>${java.io.tmpdir}</directory> |
| <prefix>grp</prefix> |
| <add_linenr>N</add_linenr> |
| <linenr_fieldname/> |
| <give_back_row>N</give_back_row> |
| <group> |
| </group> |
| <fields> |
| <field> |
| <aggregate>minId</aggregate> |
| <subject>id</subject> |
| <type>MIN</type> |
| <valuefield/> |
| </field> |
| <field> |
| <aggregate>maxId</aggregate> |
| <subject>id</subject> |
| <type>MAX</type> |
| <valuefield/> |
| </field> |
| </fields> |
| <attributes/> |
| <GUI> |
| <xloc>608</xloc> |
| <yloc>160</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>minId<>2 or maxId<>7</name> |
| <type>FilterRows</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <send_true_to/> |
| <send_false_to/> |
| <compare> |
| <condition> |
| <negated>N</negated> |
| <conditions> |
| <condition> |
| <negated>N</negated> |
| <leftvalue>minId</leftvalue> |
| <function><></function> |
| <rightvalue/> |
| <value> |
| <name>constant</name> |
| <type>Integer</type> |
| <text>2</text> |
| <length>-1</length> |
| <precision>0</precision> |
| <isnull>N</isnull> |
| <mask>####0;-####0</mask> |
| </value> |
| </condition> |
| <condition> |
| <negated>N</negated> |
| <operator>OR</operator> |
| <leftvalue>maxId</leftvalue> |
| <function><></function> |
| <rightvalue/> |
| <value> |
| <name>constant</name> |
| <type>Integer</type> |
| <text>7</text> |
| <length>-1</length> |
| <precision>0</precision> |
| <isnull>N</isnull> |
| <mask>####0;-####0</mask> |
| </value> |
| </condition> |
| </conditions> |
| </condition> |
| </compare> |
| <attributes/> |
| <GUI> |
| <xloc>768</xloc> |
| <yloc>160</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>Abort</name> |
| <type>Abort</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <abort_option>ABORT_WITH_ERROR</abort_option> |
| <always_log_rows>Y</always_log_rows> |
| <message>Add sequence transform MDI didn't work as expected</message> |
| <row_threshold>0</row_threshold> |
| <attributes/> |
| <GUI> |
| <xloc>960</xloc> |
| <yloc>160</yloc> |
| </GUI> |
| </transform> |
| <transform_error_handling> |
| </transform_error_handling> |
| <attributes/> |
| </pipeline> |