[jboss-jira] [JBoss JIRA] (JBRULES-3312) Clearify sliding windows behaviour regarding literal and non-literal values
Mark Proctor (JIRA)
jira-events at lists.jboss.org
Sun Jan 15 23:14:18 EST 2012
[ https://issues.jboss.org/browse/JBRULES-3312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Proctor reassigned JBRULES-3312:
-------------------------------------
Assignee: Edson Tirelli (was: Mark Proctor)
> Clearify sliding windows behaviour regarding literal and non-literal values
> ---------------------------------------------------------------------------
>
> Key: JBRULES-3312
> URL: https://issues.jboss.org/browse/JBRULES-3312
> Project: Drools
> Issue Type: Patch
> Security Level: Public(Everyone can see)
> Affects Versions: 5.3.0.Final
> Reporter: Markus Merder
> Assignee: Edson Tirelli
> Priority: Optional
>
> Regarding JBRULES-2823: I don't know how to supply a patch for the fusion user guide, so I'll just type here:
> To the orginal:
> "For instance, if the user wants to consider only the last 10 IBM Stock Ticks, independent of how old they are, the pattern would look like this:
> StockTick( company == "IBM" ) over window:length( 10 )
> As you can see, the pattern is similar to the one presented in the previous section, but instead of using window:time to define the sliding window, it uses window:length."
> you should append the following to clearify:
> "Be aware that only literal conditions are applied before the window is applied. So the following rule would consider only the IBM stock ticks WITHIN ALL last 10 stock ticks:
> @company : Company(name == "IBM")
> StockTick( company == @company ) over window:length( 10 )
> "
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list