This processor takes an array or java.util.Collection, java.util.SortedMap
or java.util.LinkedHashMap as input and creates a java.util.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, java.util.Collection,
java.util.SortedMap, java.util.LinkedHashMap).
Key outParamKey: Key where the output data (java.util.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).
public class ListReducerProcessor extends net.simplace.util.pipeline.FWProcessor { // Public Constructors public ListReducerProcessor(); // Constants public static final String INKEY_SOURCE; public static final String INKEY_OUTKEY; public static final String INKEY_MAXSIZE; // Public Instance Methods