ListReducerProcessor

Top  Previous  Next

This processor takes an array or Collection, SortedMap  or LinkedHashMap as input and creates a LinkedHashMap which contains only a subset of the original data. The keys in the map correspond to the original indexes of remaining data.

 

Required input parameters:

 

Key sourceKey: key where to find the input data (array, Collection, SortedMap, LinkedHashMap).

 

Key outParamKey: Key where the output data (SortedMap is stored under. If not set the input key is overridden.

 

Key maxSize: Maximum number of elements the output map contains. The first element of the original data is always taken to the output data (unless maxSize > 1).