Apama Documentation : Developing Apama Applications : Developing Apama Applications in Event Modeler : Using Standard Blocks : The Utility blocks : Input Merger v2.0
Input Merger v2.0
The Input Merger block collects a number of related field values and outputs them simultaneously.
Description
The input event is a field name/value pair. If the name in a pair matches one of the names in the order parameter, the corresponding value is stored for output. When all of the names in order have been matched at least once, the set of stored values is output. Note that multiple matches (and stores) can occur for any name. In this case, the latest store overwrites the value of the previous store, ensuring that each field has the latest value.
If the incremental update parameter is set, then further outputs are generated on any input that matches a field in the order parameter. If the incremental update parameter is not set, then further outputs are only sent once all fields have been received again (that is, the old input values are discarded). The id field increments with each output event, in either mode.
Parameters
Parameter
Description
order
A comma-separated list of up to 8 field names to match against names on the input stream. The order in which the names are listed is the order in which they appear on the output. Note that fields may not contain commas, but they may be repeated or be an empty string.
incremental input
If true, a change to a single field listed in the order parameter results in an output being generated once all input fields have been received at least once, that is, the first output is still generated only when all fields have been received.
Operations
Operation
Description
start
Activate merger.
stop
Deactivate merger.
Input feeds
Feed
Field
Description
in
name
Field name
value
Field value
Output feeds
The out feed specifies the selected individual values from the input feed, in the order they are listed by the order parameter.
Feed
Field
Description
out
id
Increments each time an output event occurs, even if none of the other fields has changed from the previous output event.
1
Field 1
2
Field 2
3
Field 3
4
Field 4
5
Field 5
6
Field 6
7
Field 7
8
Field 8
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback