public class MapConcatTransformer extends JoinTransformer<Map>
Map.Entry
s in sequence (best as can supported by LinkedHashMap
).
Note: If the individual elements within a Map
are not in sequence, then
you should use LinkedHashMap
for the maps being merged/added.
TODO: Add unit test casefilter, processors
Constructor and Description |
---|
MapConcatTransformer() |
MapConcatTransformer(List processors) |
Modifier and Type | Method and Description |
---|---|
protected Map |
join(Map result,
Object transformedInput)
Join results of type T
|
cleanDangligngDelimets, getFilter, getProcessors, joinDelimet, setFilter, setProcessors, transform
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
public MapConcatTransformer()
public MapConcatTransformer(List processors)
protected Map join(Map result, Object transformedInput) throws ContinueProcessingException
join
in class JoinTransformer<Map>
result
- as JoinTransformer.processors
as a result of a previous JoinTransformer.join(Object, Object)
or input.transformedInput
- as Object of type T that maybe a literal from the JoinTransformer.processors
or as a result of transformation from a processor that acts on the main input
ContinueProcessingException
- if we want to ignore the call with the param and continue with the mail processing loop in JoinTransformer.transform(Object)
Copyright © 2018. All rights reserved.