[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1040) Multi-pattern accumulate support

Mark Proctor (JIRA) jira-events at lists.jboss.org
Sat Sep 22 07:57:11 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBRULES-1040?page=comments#action_12378200 ] 
            
Mark Proctor commented on JBRULES-1040:
---------------------------------------

we can't forward chain queries, not even sure if that makes sense in concept :)

queries are already lighter, as they are now stateless and don't store as much memory. The only other idea we had was, when a query has no parameters, was to put the query object as the last patter, instead of the first, and get it to propagate the data on demand - the only advantage this really has is it enabled more potential node sharing.

> Multi-pattern accumulate support
> --------------------------------
>
>                 Key: JBRULES-1040
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-1040
>             Project: JBoss Rules
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Reteoo, Drl Parser/Builder
>    Affects Versions:  4.0.0.GA
>            Reporter: Geoffrey De Smet
>         Assigned To: Edson Tirelli
>             Fix For: 4.0.2
>
>
> [Edson said there might be already such an issue, but I couldn't find it looking through jira.]
> Something like this should be possible:
>   $multipleQueensHorizontal : Long()
>     from accumulate(
>         $q1 : Queen($id : id, $y : y);
>         Queen(id > $id, y == $y);
>       , count($q1)
>     );

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list