| <?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>0007-database-lookup</name> |
| <name_sync_with_filename>Y</name_sync_with_filename> |
| <description/> |
| <extended_description/> |
| <pipeline_version/> |
| <pipeline_type>Normal</pipeline_type> |
| <pipeline_status>0</pipeline_status> |
| <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/04/29 15:06:59.515</created_date> |
| <modified_user>-</modified_user> |
| <modified_date>2021/04/29 15:06:59.515</modified_date> |
| <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
| <is_key_private>N</is_key_private> |
| </info> |
| <notepads> |
| </notepads> |
| <order> |
| <hop> |
| <from>lookup row</from> |
| <to>Database lookup</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>check count</from> |
| <to>Abort</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>check count</from> |
| <to>success</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>Database lookup</from> |
| <to>check count</to> |
| <enabled>Y</enabled> |
| </hop> |
| </order> |
| <transform> |
| <name>Abort</name> |
| <type>Abort</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <row_threshold>0</row_threshold> |
| <message/> |
| <always_log_rows>Y</always_log_rows> |
| <abort_option>ABORT_WITH_ERROR</abort_option> |
| <attributes/> |
| <GUI> |
| <xloc>496</xloc> |
| <yloc>176</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>Database lookup</name> |
| <type>DBLookup</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <connection>unit-test-db</connection> |
| <cache>N</cache> |
| <cache_load_all>N</cache_load_all> |
| <cache_size>0</cache_size> |
| <lookup> |
| <schema>public</schema> |
| <table>testtable</table> |
| <orderby/> |
| <fail_on_multiple>N</fail_on_multiple> |
| <eat_row_on_failure>N</eat_row_on_failure> |
| <key> |
| <name>key</name> |
| <field>key</field> |
| <condition>=</condition> |
| <name2/> |
| </key> |
| <value> |
| <name>value</name> |
| <rename>value</rename> |
| <default/> |
| <type>String</type> |
| </value> |
| </lookup> |
| <attributes/> |
| <GUI> |
| <xloc>336</xloc> |
| <yloc>80</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>check count</name> |
| <type>FilterRows</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <send_true_to>success</send_true_to> |
| <send_false_to>Abort</send_false_to> |
| <compare> |
| <condition> |
| <negated>N</negated> |
| <leftvalue>value</leftvalue> |
| <function>=</function> |
| <rightvalue/> |
| <value> |
| <name>constant</name> |
| <type>String</type> |
| <text>aa</text> |
| <length>-1</length> |
| <precision>-1</precision> |
| <isnull>N</isnull> |
| <mask>####0;-####0</mask> |
| </value> |
| </condition> |
| </compare> |
| <attributes/> |
| <GUI> |
| <xloc>496</xloc> |
| <yloc>80</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>lookup row</name> |
| <type>RowGenerator</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <fields> |
| <field> |
| <name>key</name> |
| <type>String</type> |
| <format/> |
| <currency/> |
| <decimal/> |
| <group/> |
| <nullif>10</nullif> |
| <length>-1</length> |
| <precision>-1</precision> |
| <set_empty_string>N</set_empty_string> |
| </field> |
| </fields> |
| <limit>1</limit> |
| <never_ending>N</never_ending> |
| <interval_in_ms>5000</interval_in_ms> |
| <row_time_field>now</row_time_field> |
| <last_time_field>FiveSecondsAgo</last_time_field> |
| <attributes/> |
| <GUI> |
| <xloc>136</xloc> |
| <yloc>80</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>success</name> |
| <type>Dummy</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <attributes/> |
| <GUI> |
| <xloc>640</xloc> |
| <yloc>80</yloc> |
| </GUI> |
| </transform> |
| <transform_error_handling> |
| </transform_error_handling> |
| <attributes/> |
| </pipeline> |