| <?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>0005-non-partitioned-stream-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> |
| <parameter> |
| <name>NR_PARTITIONS</name> |
| <default_value>3</default_value> |
| <description>Number of dynamic partitions</description> |
| </parameter> |
| </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>2020/12/08 22:24:31.635</created_date> |
| <modified_user>-</modified_user> |
| <modified_date>2020/12/08 22:24:31.635</modified_date> |
| <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
| <is_key_private>N</is_key_private> |
| </info> |
| <notepads> |
| </notepads> |
| <order> |
| <hop> |
| <from>10M rows</from> |
| <to>id</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>id</from> |
| <to>lookup value</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>Data grid</from> |
| <to>lookup</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>lookup</from> |
| <to>lookup value</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>lookup value</from> |
| <to>Collect</to> |
| <enabled>Y</enabled> |
| </hop> |
| </order> |
| <transform> |
| <name>10M rows</name> |
| <type>RowGenerator</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <fields> |
| </fields> |
| <limit>10000000</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>176</xloc> |
| <yloc>112</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>Collect</name> |
| <type>Dummy</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name>static3</schema_name> |
| </partitioning> |
| <attributes/> |
| <GUI> |
| <xloc>640</xloc> |
| <yloc>112</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>Data grid</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>#</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>C</item> |
| </line> |
| <line> |
| <item>4</item> |
| <item>D</item> |
| </line> |
| <line> |
| <item>5</item> |
| <item>E</item> |
| </line> |
| <line> |
| <item>6</item> |
| <item>F</item> |
| </line> |
| <line> |
| <item>7</item> |
| <item>G</item> |
| </line> |
| <line> |
| <item>8</item> |
| <item>H</item> |
| </line> |
| <line> |
| <item>9</item> |
| <item>I</item> |
| </line> |
| <line> |
| <item>10</item> |
| <item>J</item> |
| </line> |
| </data> |
| <attributes/> |
| <GUI> |
| <xloc>192</xloc> |
| <yloc>224</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>id</name> |
| <type>Sequence</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <valuename>id</valuename> |
| <use_database>N</use_database> |
| <connection/> |
| <schema/> |
| <seqname>SEQ_</seqname> |
| <use_counter>Y</use_counter> |
| <counter_name/> |
| <start_at>1</start_at> |
| <increment_by>1</increment_by> |
| <max_value>10</max_value> |
| <attributes/> |
| <GUI> |
| <xloc>304</xloc> |
| <yloc>112</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>lookup</name> |
| <type>Dummy</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name>static3</schema_name> |
| </partitioning> |
| <attributes/> |
| <GUI> |
| <xloc>416</xloc> |
| <yloc>224</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>lookup value</name> |
| <type>StreamLookup</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name>static3</schema_name> |
| </partitioning> |
| <from>lookup</from> |
| <input_sorted>N</input_sorted> |
| <preserve_memory>N</preserve_memory> |
| <sorted_list>N</sorted_list> |
| <integer_pair>N</integer_pair> |
| <lookup> |
| <key> |
| <name>id</name> |
| <field>id</field> |
| </key> |
| <value> |
| <name>value</name> |
| <rename>value</rename> |
| <default/> |
| <type>String</type> |
| </value> |
| </lookup> |
| <attributes/> |
| <GUI> |
| <xloc>480</xloc> |
| <yloc>112</yloc> |
| </GUI> |
| </transform> |
| <transform_error_handling> |
| </transform_error_handling> |
| <attributes/> |
| </pipeline> |