[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1153) Accumulate/Collect can't be used in queries

Mark Proctor (JIRA) jira-events at lists.jboss.org
Sun Sep 9 18:47:23 EDT 2007


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

This now works. BaseNode no longer has the field hasMemory() intead ObjectSink and TupleSink now have isObjectMemoryEnabled() and isTupleMemoryEnabled(). I then configure the various nodes to make things work for sequential execution and querries. So querries no longer use memory, and thus DroolsQuery object does not need to be retracted.

> Accumulate/Collect can't be used in queries
> -------------------------------------------
>
>                 Key: JBRULES-1153
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-1153
>             Project: JBoss Rules
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.0.1
>            Reporter: Edson Tirelli
>         Assigned To: Edson Tirelli
>             Fix For: 4.0.2
>
>
> query "Count possible cell values"( $row, $col )
>     # A superclass or interface can be used to match any derived classes
>     $count : Number() from accumulate( $a : AbstractCellValue( row == $row, col == $col ),
>                                       count( $a ) )
> end

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