[
https://jira.jboss.org/browse/JBRULES-2642?page=com.atlassian.jira.plugin...
]
Edson Tirelli commented on JBRULES-2642:
----------------------------------------
For performance purposes and also to reduce verbosity, it should be possible to define
multiple functions in a single accumulate construct, as well as bind variables to results
individually. For instance:
when
accumulate( StockTick( symbol == "RHT", $p : price ),
$min : min( $p ),
$max : max( $p ),
$avg : average( $p ) )
then
...
end
More info here:
http://community.jboss.org/wiki/DroolsLanguageEnhancements#Accumulate_Imp...
Add support to multi-function accumulate
----------------------------------------
Key: JBRULES-2642
URL:
https://jira.jboss.org/browse/JBRULES-2642
Project: Drools
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: All
Affects Versions: 5.1.0.FINAL
Reporter: Edson Tirelli
Assignee: Edson Tirelli
Fix For: FUTURE
Add support to multi-function accumulate
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira