[jboss-jira] [JBoss JIRA] Commented: (JBRULES-2642) Add support to multi-function accumulate
Edson Tirelli (JIRA)
jira-events at lists.jboss.org
Tue Aug 10 11:26:49 EDT 2010
[ https://jira.jboss.org/browse/JBRULES-2642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12544013#action_12544013 ]
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_Improvements_to_Support_Haskell_mapfoldfilter_and_MVEL_projectionfold
> 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
More information about the jboss-jira
mailing list