| <?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>0064-set-variables-get-values</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>2022/12/29 16:52:39.898</created_date> |
| <modified_user>-</modified_user> |
| <modified_date>2022/12/29 16:52:39.898</modified_date> |
| </info> |
| <notepads> |
| </notepads> |
| <order> |
| <hop> |
| <from>1 row</from> |
| <to>Get variables</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>Get variables</from> |
| <to>Filter rows</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>Filter rows</from> |
| <to>OK</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>Filter rows</from> |
| <to>Abort</to> |
| <enabled>Y</enabled> |
| </hop> |
| </order> |
| <transform> |
| <name>1 row</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> |
| <limit>1</limit> |
| <never_ending>N</never_ending> |
| <row_time_field>now</row_time_field> |
| <attributes/> |
| <GUI> |
| <xloc>240</xloc> |
| <yloc>160</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>Filter rows</name> |
| <type>FilterRows</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <compare> |
| <condition> |
| <conditions> |
| <condition> |
| <conditions> |
| </conditions> |
| <function>=</function> |
| <leftvalue>A</leftvalue> |
| <negated>N</negated> |
| <operator>-</operator> |
| <value> |
| <isnull>N</isnull> |
| <length>-1</length> |
| <name>constant</name> |
| <precision>-1</precision> |
| <text>A</text> |
| <type>String</type> |
| </value> |
| </condition> |
| <condition> |
| <conditions> |
| </conditions> |
| <function>=</function> |
| <leftvalue>B</leftvalue> |
| <negated>N</negated> |
| <operator>AND</operator> |
| <value> |
| <isnull>N</isnull> |
| <length>-1</length> |
| <name>constant</name> |
| <precision>-1</precision> |
| <text>B</text> |
| <type>String</type> |
| </value> |
| </condition> |
| <condition> |
| <conditions> |
| </conditions> |
| <function>=</function> |
| <leftvalue>C</leftvalue> |
| <negated>N</negated> |
| <operator>AND</operator> |
| <value> |
| <isnull>N</isnull> |
| <length>-1</length> |
| <name>constant</name> |
| <precision>-1</precision> |
| <text>C</text> |
| <type>String</type> |
| </value> |
| </condition> |
| </conditions> |
| <leftvalue>A</leftvalue> |
| <negated>N</negated> |
| <operator>-</operator> |
| <value> |
| <isnull>N</isnull> |
| <length>-1</length> |
| <name>constant</name> |
| <precision>-1</precision> |
| <text>A</text> |
| <type>String</type> |
| </value> |
| </condition> |
| </compare> |
| <send_false_to>Abort</send_false_to> |
| <send_true_to>OK</send_true_to> |
| <attributes/> |
| <GUI> |
| <xloc>544</xloc> |
| <yloc>160</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>Get variables</name> |
| <type>GetVariable</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <fields> |
| <field> |
| <length>-1</length> |
| <name>A</name> |
| <precision>-1</precision> |
| <trim_type>none</trim_type> |
| <type>String</type> |
| <variable>${var_a}</variable> |
| </field> |
| <field> |
| <length>-1</length> |
| <name>B</name> |
| <precision>-1</precision> |
| <trim_type>none</trim_type> |
| <type>String</type> |
| <variable>${var_b}</variable> |
| </field> |
| <field> |
| <length>-1</length> |
| <name>C</name> |
| <precision>-1</precision> |
| <trim_type>none</trim_type> |
| <type>String</type> |
| <variable>${var_c}</variable> |
| </field> |
| </fields> |
| <attributes/> |
| <GUI> |
| <xloc>384</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/> |
| <row_threshold>0</row_threshold> |
| <attributes/> |
| <GUI> |
| <xloc>544</xloc> |
| <yloc>272</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>OK</name> |
| <type>Dummy</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <attributes/> |
| <GUI> |
| <xloc>688</xloc> |
| <yloc>160</yloc> |
| </GUI> |
| </transform> |
| <transform_error_handling> |
| </transform_error_handling> |
| <attributes/> |
| </pipeline> |