[ 
https://issues.apache.org/jira/browse/KARAF-6864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17248391#comment-17248391
 ] 

ASF subversion and git services commented on KARAF-6864:
--------------------------------------------------------

Commit 5d9d4a72f2fc4a555ea45057c7efd95f88ab672d in karaf-decanter's branch 
refs/heads/master from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=karaf-decanter.git;h=5d9d4a7 ]

Merge pull request #214 from jbonofre/KARAF-6864

[KARAF-6864] Create groupBy processor

> 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
>
> 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