[ 
https://issues.apache.org/jira/browse/KARAF-6864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré resolved KARAF-6864.
-----------------------------------------
    Fix Version/s: decanter-2.6.0
       Resolution: Fixed

> Add a groupBy processor
> -----------------------
>
>                 Key: KARAF-6864
>                 URL: https://issues.apache.org/jira/browse/KARAF-6864
>             Project: Karaf
>          Issue Type: New Feature
>          Components: decanter
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: decanter-2.6.0
>
>
> The user can define a set of properties and we group all events with same 
> properties value, and send at timeout.
> For instance, we can group like:
> {code:java}
>  {'field1': "a", "field2": 'b', "field3": "c"} -> group by: a, b -> 
> Map<Pair<a, b>, List {'field1': "a", "field2": 'b', "field3": "c"} >
> if b = null -> Map<Pair<a, null>,  List {'field1': "a", "field2": null, 
> "field3": "c"} >
> if a = null -> Map<Pair<null, b>, List {'field1': null, "field2": "b", 
> "field3": "c"} >
> if a = null, b = null -> Map<Pair<null, null>, List {'field1': null, 
> "field2": null, "field3": "c"} > {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to